Вопрос в том как понять чего где не так :насколько понятно из лога, У бота закончились Аваки, и он пошел делать autobuy. Первыми в конфиге прописаны silver arrow, сначала он заходит , покупает Их, после этого чешет в левый магаз закупать Аваки, но доходя до Лавочника, не инициирует разговор с ним, а делает Calculating auto-storage route to. А после этого торжественно дисконектится.Код: Выделить всё
[Feb 19 13:12:35 2007.70] You used Item: Awakening Potion (2) x 1 - 0 left [Feb 19 13:12:45 2007.28] You are standing. [COLOR="Red"][Feb 19 13:12:45 2007.54] Teleporting to auto-buy[/COLOR] [Feb 19 13:12:45 2007.70] Permitted to use Teleport (26), level 2 [Feb 19 13:12:45 2007.70] You used Item: Butterfly Wing (0) x 16 - 5 left [Feb 19 13:12:46 2007.46] Sound alert: map change [Feb 19 13:12:46 2007.46] ---------Map Change Info---------- MAP Name: prontera.gat MAP IP: 81.177.13.46 MAP Port: 5000 ------------------------------- [Feb 19 13:12:46 2007.46] Closing connection to Map Server [Feb 19 13:12:46 2007.46] Disconnecting (81.177.13.49:5000)...[Feb 19 13:12:46 2007.46] disconnected [Feb 19 13:12:46 2007.62] Pausing for 1 second(s)... [Feb 19 13:12:47 2007.62] Connecting to Map Server... [Feb 19 13:12:47 2007.62] checking patchserver access control... [Feb 19 13:12:47 2007.62] contacting patchserver... [Feb 19 13:12:47 2007.28] patchserver grants login. [Feb 19 13:12:47 2007.28] Connecting (81.177.13.46:5000)... [Feb 19 13:12:47 2007.39] connected [Feb 19 13:12:47 2007.51] You are now in the game [Feb 19 13:12:47 2007.51] Your Coordinates: 280, 199 [Feb 19 13:12:47 2007.51] Autodetected attackDistance = 1 [Feb 19 13:12:47 2007.56] Autodetected attackDistance = 15 [Feb 19 13:12:47 2007.59] You are now: Improve Concentration [Feb 19 13:12:47 2007.59] You are now: Angelus [Feb 19 13:12:47 2007.59] You are now: Blessing [Feb 19 13:12:47 2007.59] You are now: Increase AGI [Feb 19 13:12:47 2007.60] You are now: Awakening Potion [Feb 19 13:12:47 2007.79] You are now: Falcon [Feb 19 13:12:47 2007.79] All Players ignored [Feb 19 13:12:47 2007.81] Portal Exists: prontera -> prt_fild06 (289, 203) - (0) [Feb 19 13:12:47 2007.81] NPC Exists: Служащая Кафры (282, 200) (ID 54967) - (0) [Feb 19 13:12:47 2007.81] NPC Exists: Гид Восточных ворот (282, 208) (ID 55005) - (1) [COLOR="Red"] [Feb 19 13:12:49 2007.53] Calculating auto-buy route to: Inside Prontera (prt_in): 168, 135[/COLOR] [Feb 19 13:12:55 2007.40] NPC Exists: Продавец зоотоваров (218, 211) (ID 54871) - (0) [Feb 19 13:12:56 2007.98] Portal Exists: prontera -> prt_in (204, 192) - (0) [Feb 19 13:13:00 2007.84] Portal Exists: prontera -> prt_in (177, 221) - (0) [Feb 19 13:13:01 2007.46] NPC Exists: Линдерхоф (167, 203) (ID 58004) - (0) [Feb 19 13:13:03 2007.0] NPC Exists: Фиа (165, 232) (ID 55042) - (1) [Feb 19 13:13:03 2007.0] Map Change: prt_in.gat (168, 128) [Feb 19 13:13:03 2007.20] You are again: Falcon [Feb 19 13:13:03 2007.21] Portal Exists: prt_in -> prontera (168, 124) - (0) [Feb 19 13:13:03 2007.21] NPC Exists: Торговец оружием (172, 130) (ID 54876) - (0) [Feb 19 13:13:03 2007.23] NPC Exists: Торговец оружием (171, 140) (ID 54877) - (1) [Feb 19 13:13:03 2007.23] NPC Exists: Торговец броней (172, 132) (ID 54878) - (2) [Feb 19 13:13:06 2007.87] Торговец оружием: Type 'store' to start buying, or type 'sell' to start selling [Feb 19 13:13:07 2007.48] ----------Торговец оружием's Store List----------- # Name Type Price [Feb 19 13:13:07 2007.48] 0 Arrow Arrows 1z [Feb 19 13:13:07 2007.48] 1 Silver Arrow Arrows 3z [Feb 19 13:13:07 2007.48] 2 Bow Weapon 1000z [Feb 19 13:13:07 2007.48] 3 Knife Weapon 50z [Feb 19 13:13:07 2007.48] 4 Cutter Weapon 1250z [Feb 19 13:13:07 2007.48] 5 Main Gauche Weapon 2400z [Feb 19 13:13:07 2007.48] 6 Rod Weapon 50z [Feb 19 13:13:07 2007.48] 7 Sword Weapon 100z [Feb 19 13:13:07 2007.48] 8 Falchion Weapon 1500z [Feb 19 13:13:07 2007.48] 9 Blade Weapon 2900z [Feb 19 13:13:07 2007.48] 10 Rapier Weapon 10000z [Feb 19 13:13:07 2007.48] 11 Scimiter Weapon 17000z [Feb 19 13:13:07 2007.48] 12 Ring Pommel Saber Weapon 24000z [Feb 19 13:13:07 2007.48] 13 Tsurugi Weapon 51000z [Feb 19 13:13:07 2007.48] 14 Haedonggum Weapon 50000z [Feb 19 13:13:07 2007.48] 15 Saber Weapon 49000z [Feb 19 13:13:07 2007.50] 16 Flamberge Weapon 60000z [Feb 19 13:13:07 2007.50] 17 Katana Weapon 2000z [Feb 19 13:13:07 2007.50] 18 Axe Weapon 500z [Feb 19 13:13:07 2007.50] ------------------------------- [Feb 19 13:13:07 2007.76] Done talking with Торговец оружием. [Feb 19 13:13:08 2007.57] Item added to inventory: Silver Arrow (13) x 813 - Arrows [Feb 19 13:13:08 2007.57] You lost 2,439 zeny. [Feb 19 13:13:08 2007.57] Buy completed. [COLOR="Red"][Feb 19 13:13:13 2007.32] Calculating auto-buy route to: Inside Prontera (prt_in): 126, 76[/COLOR] [Feb 19 13:13:14 2007.75] Map Change: prontera.gat (174, 218) [Feb 19 13:13:14 2007.93] You are again: Falcon [Feb 19 13:13:14 2007.95] Portal Exists: prontera -> prt_in (177, 221) - (0) [Feb 19 13:13:14 2007.95] NPC Exists: Фиа (165, 232) (ID 55042) - (0) [Feb 19 13:13:16 2007.54] You are no longer: Angelus [Feb 19 13:13:20 2007.25] Portal Exists: prontera -> prt_in (132, 222) - (0) [Feb 19 13:13:21 2007.65] Map Change: prt_in.gat (131, 71) [Feb 19 13:13:21 2007.92] You are again: Falcon [Feb 19 13:13:21 2007.92] Portal Exists: prt_in -> prontera (135, 71) - (0) [Feb 19 13:13:21 2007.93] NPC Exists: Лавочник (126, 76) (ID 54874) - (0) [Feb 19 13:13:38 2007.35] You are again: Blessing [COLOR="Red"] [Feb 19 13:13:39 2007.45] Calculating auto-storage route to: Prontera City, Capitol of Rune-Midgarts (prontera): 146, 89[/COLOR] [Feb 19 13:13:48 2007.56] You are no longer: Improve Concentration [Feb 19 13:14:02 2007.15] Timeout on Map Server, [Feb 19 13:14:02 2007.15] connecting to Account Server in 30 seconds... [COLOR="Blue"][Feb 19 13:14:02 2007.15] Disconnecting (81.177.13.46:5000)...[Feb 19 13:14:02 2007.15] disconnected[/COLOR] [Feb 19 13:14:32 2007.31] Connecting to Account Server... [Feb 19 13:14:32 2007.31] checking patchserver access control... [Feb 19 13:14:32 2007.31] contacting patchserver... [Feb 19 13:14:32 2007.20] patchserver grants login. [Feb 19 13:14:32 2007.20] Connecting (81.177.13.7:6900)... [Feb 19 13:14:32 2007.31] connected
autobuy в config.txt:Код: Выделить всё
buyAuto Silver Arrow { npc prt_in 172 130 standpoint prt_in 168 135 # distance 5 minAmount 50 maxAmount 3000 } buyAuto Awakening Potion { npc prt_in 126 76 standpoint distance 5 minAmount 0 maxAmount 10 }
Происходит это при достижении лимита веса.
кафра не полная все условия для корректного autobuy соблюдены.
После авто-рекконекта бот, очутившись в пронте рядом с Лавочником в левом магазе идет к кафре, сдает на склад вещи, потом идет в этот левый магаз и все покупает без дисконектов. установка standpoint не помогает.
Почему же бота клинит ?