AgBot Loop problem

02/17/2009 21:09 MewMew7#1
Well I haven't used AgBot or played sro is a while so I decided I'd play again.

I got everything set up with AgBot but when I open silkroad and start the walkscript this happens.

[Only registered and activated users can see links. Click Here To Register...]

Here's my script
Code:
"//","..............^^.............................^^..............","//"
"//",".......................... AgDev ..........................","//"
"//","........ The agbot-Scripts Constructor ........","//"
"//","........... Coded by: Hussert & KillaH ..........","//"
"//",".......................Version 4.2 ....................","//"
"//",".................................................................","//"
"//","Town: Jangan","//"
"//","Monster: Lvl-01 ----- Mangyang.txt","//"
"//","Using: Walk and Run","//"
"//","Protect off","//"
"//","Starts autoparty","//"
"//","Starts autopotion","//"
"//",".................................................................","//"
"ConditionScript","6433;1095;20","1"
"cmd","[protect off]",""
"cmd","[stop bot]",""
"cmd","[clear hunting]",""
"cmd","[start autoparty]",""
"cmd","[start autopotion]",""
"LogData","Statistics","1"
"Inject","7017","03"
"Inject","7738","01A861CA030000E204"
"cmd","[delay]","5"
"Inject","7738","01A861CA0300004C04"
"cmd","[delay]","5"
"Inject","7017","02"
"Inject","7738","01A861CA0300001004"
"cmd","[delay]","5"
"cmd","[stop walking]",""
"store open","0104000000","Storage-Keeper Wangu"
"store storage","",""
"store close","",""
"Inject","7017","03"
"Inject","7738","01A861E4020000BA04"
"cmd","[delay]","5"
"Inject","7738","01A86194020000EC04"
"cmd","[delay]","5"
"Inject","7738","01A861EA0100003C05"
"cmd","[delay]","5"
"Inject","7017","02"
"Inject","7738","01A861680100006405"
"cmd","[delay]","5"
"cmd","[stop walking]",""
"store open","0101000000","Blacksmith Chulsan"
"store sell","",""
"store repair","",""
"store close","",""
"Inject","7017","03"
"Inject","7738","01A861C20100004605"
"cmd","[delay]","5"
"Inject","7738","01A861B2020000CE04"
"cmd","[delay]","5"
"Inject","7738","01A861340300009204"
"cmd","[delay]","5"
"Inject","7738","01A8612E0400008804"
"cmd","[delay]","5"
"Inject","7738","01A861EC040000E204"
"cmd","[delay]","5"
"Inject","7738","01A8615A0500000005"
"cmd","[delay]","5"
"Inject","7738","01A861C80500007805"
"cmd","[delay]","5"
"Inject","7017","02"
"Inject","7738","01A861040600007805"
"cmd","[delay]","5"
"cmd","[stop walking]",""
"Inject","7017","03"
"Inject","7738","01A861BE0500007805"
"cmd","[delay]","5"
"Inject","7738","01A8618C050000CE04"
"cmd","[delay]","5"
"Inject","7738","01A861D20500009C04"
"cmd","[delay]","5"
"Inject","7017","02"
"Inject","7738","01A861360600006004"
"cmd","[delay]","5"
"cmd","[stop walking]",""
"Inject","7017","03"
"Inject","7738","01A861BE0500006A04"
"cmd","[delay]","5"
"Inject","7738","01A8610A0500002404"
"cmd","[delay]","5"
"Inject","7738","01A8619C040000F802"
"cmd","[delay]","5"
"Inject","7738","01A861DE030000F401"
"cmd","[delay]","5"
"Inject","7738","01A86166030000F000"
"cmd","[delay]","5"
"Inject","7738","01A861020300008C00"
"cmd","[delay]","5"
"Inject","7738","01A8614E020000C800"
"cmd","[delay]","5"
"Inject","7738","01A861A40100007C01"
"cmd","[delay]","5"
"Inject","7017","02"
"Inject","7738","01A86168010000A401"
"cmd","[delay]","5"
"cmd","[stop walking]",""
"Inject","7017","03"
"//","......^^.........................^^......","//"
"//","...This was the Townscript...","//"
"//",".....Here is the Walkscript.....","//"
"//",".....Starting place: Stable......","//"
"//",".............................................","//"
"Inject","7738","01A861AE0100009001"
"cmd","[delay]","5"
"Inject","7738","01A861C00300007800"
"cmd","[delay]","5"
"Inject","7738","01A860D4030000EA06"
"cmd","[delay]","5"
"Inject","7738","01A860D4030000E605"
"cmd","[delay]","5"
"//","Out Of Town","//"
"Inject","7738","01A860FC030000C404"
"cmd","[delay]","5"
"Inject","7738","01A860FC0300007602"
"cmd","[delay]","5"
"Inject","7738","01A85F100400000807"
"cmd","[delay]","5"
"cmd","[stop walking]",""
"cmd","[add hunting]","6440;756;150"
"cmd","[start bot]",""
"//","......^^.........................^^......","//"
"//",".......Thank you for using.......","//"
"//",".................AgDev.................","//"
"//",".............................................","//"
02/20/2009 10:14 IRever#2
wrong conditions prob.
Check when you spawn the coords of where you spawn.
For exapmle 112 : 36
then change
"ConditionScript","6433;1095;20","1"
to
"ConditionScript","112;36;20","1"

(if that doesnt work try increasing the radius from 20 to 50 or something)
02/21/2009 20:06 doublea500#3
does this always happen to you? sometimes this happens to me