What is wrong in this script?

10/18/2008 09:34 ogysss#1
Code:
"//","..............^^.............................^^..............","//"
"//",".......................... AgDev ..........................","//"
"//","........ The agbot-Scripts Constructor ........","//"
"//","........... Coded by: Hussert & KillaH ..........","//"
"//",".......................Version 3.2 ....................","//"
"//",".................................................................","//"
"//","Town: Hotan","//"
"//","Monster: (Roc) ----- Wing Tribe Attacker 4 by hussert .txt","//"
"//","Buys 150 HP X-Large Potions","//"
"//","Buys 900 MP Large Potions","//"
"//","Buys 3000 Arrows","//"
"//","Buys 1 Normal Return Scrolls","//"
"//","Protect off","//"
"//","Starts autoparty","//"
"//","Starts autopotion","//"
"//",".................................................................","//"
"cmd","[protect off]",""
"cmd","[stop bot]",""
"cmd","[clear hunting]",""
"cmd","[start autoparty]",""
"cmd","[start autopotion]",""
"LogData","Statistics","1"
"89","43","0"
"97","58","0"
"101","62","0"
"111","67","0"
"cmd","[stop walking]",""
"store open","0104000000","Storage-Keeper Auisan"
"store storage","",""
"store close","",""
"69","68","0"
"60","71","0"
"cmd","[stop walking]",""
"store open","0101000000","Blacksmith Soboi"
"store sell","",""
"store repair","",""
"store buy","Arrow","3000"
"store close","",""
"66","68","0"
"87","94","0"
"85","100","0"
"cmd","[stop walking]",""
"store open","0101000000","Potion Merchant Manina"
"store buy","HP recovery potion (X-large)","150"
"store buy","MP recovery Potion (large)","900"
"store close","",""
"88","87","0"
"91","11","0"
"88","0","0"
"cmd","[stop walking]",""
"store open","0101000000","Jewel Lapidary Mamoje"
"store buy","Return Scroll","1"
"store close","",""
"134","13","0"
"145","3","0"
"cmd","[stop walking]",""
"//","......^^.........................^^......","//"
"//","...This was the Townscript...","//"
"//",".....Here is the Walkscript.....","//"
"//",".....Starting place: Stable......","//"
"//",".............................................","//"
"119","9",""
"80","37",""
"57","48",""
"19","47",""
"-8","47",""
"-32","46",""
"-61","47",""
"-98","47",""
"-129","47",""
"-169","47",""
"-200","47",""
"cmd","[stop walking]",""
"Cast Buff","Grass walk-Speed LvL 85",""
"-232","48",""
"-287","45",""
"-335","71",""
"-378","69",""
"-421","96",""
"-462","102",""
"-505","92",""
"-545","106",""
"-582","111",""
"-628","106",""
"-676","104",""
"-738","104",""
"-800","104",""
"-857","109",""
"-879","165",""
"-902","234",""
"-930","266",""
"-963","287",""
"-1004","299",""
"-1051","321",""
"-1090","342",""
"-1141","369",""
"-1160","392",""
"-1200","423",""
"-1233","456",""
"-1304","475",""
"-1367","480",""
"-1416","453",""
"-1442","427",""
"-1485","420",""
"-1523","413",""
"-1588","374",""
"-1657","372",""
"-1696","348",""
"-1725","332",""
"-1773","301",""
"-1844","280",""
"-1875","289",""
"-1897","276",""
"-1938","278",""
"-2002","292",""
"-2074","306",""
"-2130","268",""
"-2183","231",""
"-2207","204",""
"-2229","165",""
"-2279","189",""
"-2332","214",""
"-2369","240",""
"-2416","272",""
"-2473","296",""
"-2546","318",""
"-2588","328",""
"-2612","362",""
"-2625","383",""
"Inject","745A","65020000"
"Inject","7495","650200000217000000"
"cmd","[delay]","10"
"-3179","-931",""
"-3211","-928",""
"-3258","-969",""
"-3290","-1004",""
"-3316","-1033",""
"-3341","-1074",""
"-3370","-1125",""
"-3469","-1185",""
"-3509","-1192",""
"-3561","-1188",""
"-3601","-1193",""
"-3643","-1198",""
"-3684","-1193",""
"-3725","-1173",""
"-3754","-1146",""
"-3781","-1118",""
"-3798","-1087",""
"-3804","-1039",""
"-3788","-996",""
"-3770","-951",""
"-3752","-916",""
"-3732","-881",""
"-3707","-854",""
"-3701","-826",""
"-3675","-803",""
"-3655","-789",""
"-3625","-777",""
"-3603","-775",""
"-3551","-782",""
"-3529","-789",""
"-3499","-824",""
"-3479","-835",""
"-3459","-864",""
"-3450","-902",""
"-3446","-933",""
"-3445","-963",""
"-3463","-1008",""
"-3495","-1020",""
"cmd","[stop walking]",""
"cmd","[add hunting]","-3495;-1020;65"
"cmd","[start bot]",""
"//","......^^.........................^^......","//"
"//",".......Thank you for using.......","//"
"//",".................AgDev.................","//"
"//",".............................................","//"
The problem is that I get arg error or something like that on NPC stable HT.I see that error in bot console.Can anyone help me solve this problem?
Thank you
10/18/2008 10:17 theoneofgod#2
use this to cast grass walk

Code:
"cast buff","Grass walk-Speed
Thing is in this script you don't go to stable.. so how is there an error?
10/18/2008 10:38 ogysss#3
Quote:
Originally Posted by theoneofgod View Post
use this to cast grass walk

Code:
"cast buff","Grass walk-Speed
Thing is in this script you don't go to stable.. so how is there an error?
Hm dont know but the bot goes to stable and i get errors unknown command arg1,arg2,arg3.I have set it to dont buy horse or pet recovery etc.. but he still goes there?
10/18/2008 10:44 theoneofgod#4
No idea then.....remake the script :)
10/18/2008 11:04 ogysss#5
Quote:
Originally Posted by theoneofgod View Post
No idea then.....remake the script :)
I will try to make new script :) Hope that will help.Anyway you tried to help me.
10/18/2008 18:15 EvoSpider#6
Quote:
Originally Posted by ogysss View Post
Hm dont know but the bot goes to stable and i get errors unknown command arg1,arg2,arg3.I have set it to dont buy horse or pet recovery etc.. but he still goes there?
Probably there's an extra space, but you are not using this script