Problems with AgBot loops

01/05/2009 02:37 crossman#1
Hi:)
I have a problem with AgBot.
When it teleport somewhere my bot start instead of starting wallscript.
How can i do to fix it?
Thanks.
01/05/2009 09:54 Eckoro#2
well lets see a copy paste of your script. then we can identify the problem.
01/05/2009 13:09 crossman#3
"//","..............^^.............................^^ ..............","//"
"//",".......................... AgDev ..........................","//"
"//","........ The agbot-Scripts Constructor ........","//"
"//","........... Coded by: Hussert & KillaH ..........","//"
"//",".......................Version 4.2 ....................","//"
"//","............................................... ..................","//"
"//","Town: Samarkand","//"
"//","Monster: ongsplvl.txt","//"
"//","Buys 400 HP Medium Potions","//"
"//","Buys 800 MP Medium Potions","//"
"//","Buys 50 Large Recovery kits","//"
"//","Buys 2 Dragon Horses","//"
"//","Buys 5 Normal Return Scrolls","//"
"//","Protect off","//"
"//","Starts autopotion","//"
"//","Casts horse","//"
"//","............................................... ..................","//"
"ConditionScript","-5157;2831;20","1"
"cmd","[protect off]",""
"cmd","[stop bot]",""
"cmd","[clear hunting]",""
"cmd","[start autopotion]",""
"LogData","Statistics","1"
"-5146","2802","1"
"-5134","2801","1"
"cmd","[stop walking]",""
"store open","0104000000","Storage-Keeper Saesa"
"store storage","",""
"store close","",""
"-5140","2801","1"
"-5163","2891","1"
"-5180","2930","1"
"-5196","2954","1"
"cmd","[stop walking]",""
"store open","0101000000","Weapon Trader Tricia"
"store sell","",""
"store repair","",""
"store close","",""
"-5190","2952","1"
"-5223","2879","1"
"-5230","2875","1"
"cmd","[stop walking]",""
"store open","0101000000","Nun Martel"
"store buy","HP recovery potion (Medium)","400"
"store buy","MP recovery Potion (Medium)","800"
"store close","",""
"-5224","2878","1"
"-5207","2851","1"
"-5210","2841","1"
"cmd","[stop walking]",""
"store open","0101000000","Grocery Trader Saha"
"store buy","Return Scroll","5"
"store close","",""
"-5194","2842","1"
"-5185","2841","1"
"-5169","2845","1"
"-5155","2856","1"
"-5143","2868","1"
"-5132","2882","1"
"-5123","2893","1"
"cmd","[stop walking]",""
"store open","0101000000","Stable-Keeper Hoyun"
"store buy","Recovery kit (Large)","50"
"store buy","Dragon Horse","2"
"store close","",""
"//","......^^.........................^^......", "//"
"//","...This was the Townscript...","//"
"//",".....Here is the Walkscript.....","//"
"//",".....Starting place: Stable......","//"
"//",".............................................", "//"
"-5137","2881","1"
"-5162","2858","1"
"-5183","2836","1"
"-5185","2716","1"
"-5185","2682","1"
"cmd","[stop walking]",""
"cmd","[cast horse]",""
"-5184","2574","1"
"-5196","2513","0"
"-5276","2504","0"
"-5371","2502","0"
"-5516","2506","0"
"-5675","2501","0"
"-5725","2476","0"
"-5736","2409","0"
"cmd","[kill horse]",""
"cmd","[stop walking]",""
"cmd","[add hunting]","-5736;2409;25"
"cmd","[start bot]",""
"//","......^^.........................^^......", "//"
"//",".......Thank you for using.......","//"
"//",".................AgDev.................","//"
"//",".............................................", "//"


I don't see any problems :s
01/05/2009 14:58 Eckoro#4
so your saying when it uses return scroll and comes back to city, it doesnt do the script but starts the bot/

Quote:
When it teleport somewhere my bot start instead of starting wallscript.
Have you ticked it to Loop after returning to town?
01/05/2009 20:34 crossman#5
yeah sure i did
01/05/2009 22:07 theoneofgod#6
Quote:
Originally Posted by crossman View Post
yeah sure i did
crossman remove the first line with the condition script.
01/05/2009 23:36 crossman#7
thanks theoneofgod i will try this during the night :)