Help with my script please

06/14/2008 22:40 cale69er#1
Below is my script, it should start me outside Donwhang south exit and cast a redhorse to run me down to the western west ferry to kill chakjis, but when i click start bot outside donwhang it just runs my character to kill the level 27 mobs outside donwhang... :S have i done something wrong? should i start the bot down by the ferry first ?
This is my first script, thanks in advance.


"//","*************************",""
"//","Script Information",""
"//","Town Name: Donwhang",""
"//","Buys 400 HP Potion (Medium)",""
"//","Buys 400 MP Potion (Medium)",""
"//","Buys 50 Red Horse",""
"//","Buys 3000 Arrows",""
"//","Buys 50 Return Scroll",""
"//","Sell Items",""
"//","Enable Auto Party",""
"//","Enable Auto Potions",""
"//","Summons Horse",""
"//","##############################",""
"cmd","[protect off]",""
"cmd","[stop bot]",""
"cmd","[clear hunting]",""
"cmd","[start autoparty]",""
"cmd","[start autopotion]",""
"3554","2070","1"
"3554","2070","1"
"3555","2067","1"
"3557","2065","1"
"3559","2061","1"
"3561","2058","1"
"3563","2055","1"
"3564","2053","1"
"3566","2050","1"
"3569","2045","1"
"3570","2044","1"
"3573","2044","1"
"cmd","[stop walking]",""
"Inject","745A","1A020000"
"store open","0101000000","1A020000|Blacksmith Agol"
"store sell","Blacksmith Agol","1A020000"
"store buy","01080200010D0100|3E000000|Arrow","250|3000"
"store repair","Blacksmith Agol","1A020000"
"store close","Blacksmith Agol","1A020000"
"3574","2043","1"
"3574","2043","1"
"3572","2043","1"
"3568","2044","1"
"3564","2044","1"
"3560","2044","1"
"3556","2044","1"
"3552","2044","1"
"3548","2044","1"
"3543","2044","1"
"3538","2043","1"
"3535","2042","1"
"3530","2042","1"
"3524","2037","1"
"cmd","[stop walking]",""
"Inject","745A","7F010000"
"store open","0101000000","7F010000|Herbalist Bori"
"store buy","01080001010D0100|06000000|HP recovery potion (medium)","50|400"
"store buy","01080003010D0100|0D000000|MP recovery potion (medium)","50|400"
"store close","Herbalist Bori","7F010000"
"3520","2036","1"
"3520","2035","1"
"3520","2032","1"
"3520","2028","1"
"3520","2024","1"
"3520","2020","1"
"3520","2017","1"
"3520","2012","1"
"3519","2008","1"
"3518","2004","1"
"3517","2002","1"
"3515","1998","1"
"cmd","[stop walking]",""
"Inject","745A","62010000"
"store open","0101000000","62010000|Grocery Trader Yeosun"
"store buy","01080100010D0100|3D000000|Return Scroll","50|50"
"store close","Grocery Trader Yeosun","62010000"
"3514","1995","1"
"3514","1995","1"
"3515","1997","1"
"3520","1999","1"
"3524","2002","1"
"3528","2006","1"
"3532","2010","1"
"3535","2015","1"
"3535","2016","1"
"3537","2020","1"
"3538","2024","1"
"3543","2037","1"
"3543","2038","1"
"3545","2042","1"
"3547","2046","1"
"3550","2050","1"
"3552","2055","1"
"3554","2059","1"
"3555","2063","1"
"3557","2068","1"
"3559","2074","1"
"3560","2078","1"
"3565","2083","1"
"3571","2088","1"
"3575","2088","1"
"3580","2089","1"
"3584","2089","1"
"3588","2088","1"
"3592","2088","1"
"cmd","[stop walking]",""
"Inject","745A","4D010000"
"store open","0101000000","4D010000|Stable-Keeper Makgo"
"store buy","01080000010D0100|59080000|Red Horse","50|50"
"store close","Stable-Keeper Makgo","4D010000"
"3593","2088","1"
"3593","2088","1"
"3589","2090","1"
"3586","2091","1"
"3584","2092","1"
"3582","2093","1"
"3574","2090","1"
"3570","2089","1"
"3567","2087","1"
"3561","2085","1"
"3551","2083","1"
"3545","2080","1"
"3541","2075","1"
"3538","2070","1"
"3537","2059","1"
"3537","2048","1"
"3537","2038","1"
"3537","2035","1"
"3537","2031","1"
"3537","2028","1"
"3538","2023","1"
"3538","2024","1"
"3540","2004","1"
"3540","2005","1"
"3541","2001","1"
"3541","1996","1"
"3542","1992","1"
"3542","1989","1"
"3544","1978","1"
"3544","1974","1"
"3545","1969","1"
"3545","1963","1"
"3546","1958","1"
"3546","1954","1"
"3546","1950","1"
"3546","1946","1"
"3546","1942","1"
"3546","1938","1"
"3546","1933","1"
"3546","1928","1"
"3546","1924","1"
"cmd","[stop walking]",""
"cmd","[cast horse]",""
"3547","1921","1"
"3547","1918","1"
"3549","1895","1"
"3550","1885","1"
"3550","1884","1"
"3556","1875","1"
"3560","1869","1"
"3564","1863","1"
"3573","1853","1"
"3580","1849","1"
"3595","1846","1"
"3612","1844","1"
"3652","1844","1"
"3660","1844","1"
"3678","1845","1"
"3701","1839","1"
"3716","1839","1"
"3726","1840","1"
"3734","1841","1"
"3743","1841","1"
"3754","1842","1"
"3754","1842","1"
"3770","1842","1"
"3779","1842","1"
"3790","1842","1"
"3806","1842","1"
"3824","1842","1"
"3855","1842","1"
"3858","1841","1"
"3863","1841","1"
"3871","1840","1"
"3907","1836","1"
"3941","1832","1"
"3937","1832","1"
"3943","1832","1"
"3962","1832","1"
"3989","1826","1"
"3991","1826","1"
"4015","1820","1"
"4035","1817","1"
"4035","1817","1"
"4077","1815","1"
"4089","1815","1"
"4111","1817","1"
"4126","1815","1"
"4141","1812","1"
"4154","1809","1"
"4184","1803","1"
"4202","1797","1"
"4213","1792","1"
"4225","1783","1"
"4245","1770","1"
"4256","1762","1"
"4270","1753","1"
"4291","1736","1"
"4299","1728","1"
"4306","1720","1"
"4319","1704","1"
"4339","1674","1"
"4337","1664","1"
"4308","1640","1"
"4289","1634","1"
"4284","1631","1"
"4277","1625","1"
"4264","1608","1"
"4258","1576","1"
"4262","1558","1"
"4265","1554","1"
"4268","1549","1"
"4270","1546","1"
"4270","1545","1"
"4273","1536","1"
"4284","1495","1"
"4285","1493","1"
"4287","1483","1"
"4281","1465","1"
"4276","1455","1"
"4270","1445","1"
"4261","1435","1"
"4259","1433","1"
"4250","1423","1"
"4246","1417","1"
"4237","1381","1"
"4236","1373","1"
"4236","1373","1"
"cmd","[stop walking]",""
"cmd","[kill horse]",""
"cmd","[add hunting]","4238;1372;200"
"cmd","[start bot]",""
06/15/2008 02:54 theworm#2
"cmd","[start autopotion]",""
"cmd","[start autoparty]",""
"cmd","[protect off]",""
"cmd","[stop bot]",""
"ConditionScript","3550;2070;100","1"
"3554","2070","1"
"3554","2070","1"
"3555","2067","1"
"3557","2065","1"
"3559","2061","1"
"3561","2058","1"
"3563","2055","1"
"3564","2053","1"
"3566","2050","1"
"3569","2045","1"
"3570","2044","1"
"3573","2044","1"
"cmd","[stop walking]",""
"Inject","745A","1A020000"
"store open","0101000000","1A020000|Blacksmith Agol"
"store sell","Blacksmith Agol","1A020000"
"store buy","01080200010D0100|3E000000|Arrow","250|3000"
"store repair","Blacksmith Agol","1A020000"
"store close","Blacksmith Agol","1A020000"
"3574","2043","1"
"3574","2043","1"
"3572","2043","1"
"3568","2044","1"
"3564","2044","1"
"3560","2044","1"
"3556","2044","1"
"3552","2044","1"
"3548","2044","1"
"3543","2044","1"
"3538","2043","1"
"3535","2042","1"
"3530","2042","1"
"3524","2037","1"
"cmd","[stop walking]",""
"Inject","745A","7F010000"
"store open","0101000000","7F010000|Herbalist Bori"
"store buy","01080001010D0100|06000000|HP recovery potion (medium)","50|400"
"store buy","01080003010D0100|0D000000|MP recovery potion (medium)","50|400"
"store close","Herbalist Bori","7F010000"
"3520","2036","1"
"3520","2035","1"
"3520","2032","1"
"3520","2028","1"
"3520","2024","1"
"3520","2020","1"
"3520","2017","1"
"3520","2012","1"
"3519","2008","1"
"3518","2004","1"
"3517","2002","1"
"3515","1998","1"
"cmd","[stop walking]",""
"Inject","745A","62010000"
"store open","0101000000","62010000|Grocery Trader Yeosun"
"store buy","01080100010D0100|3D000000|Return Scroll","50|50"
"store close","Grocery Trader Yeosun","62010000"
"3514","1995","1"
"3514","1995","1"
"3515","1997","1"
"3520","1999","1"
"3524","2002","1"
"3528","2006","1"
"3532","2010","1"
"3535","2015","1"
"3535","2016","1"
"3537","2020","1"
"3538","2024","1"
"3543","2037","1"
"3543","2038","1"
"3545","2042","1"
"3547","2046","1"
"3550","2050","1"
"3552","2055","1"
"3554","2059","1"
"3555","2063","1"
"3557","2068","1"
"3559","2074","1"
"3560","2078","1"
"3565","2083","1"
"3571","2088","1"
"3575","2088","1"
"3580","2089","1"
"3584","2089","1"
"3588","2088","1"
"3592","2088","1"
"cmd","[stop walking]",""
"Inject","745A","4D010000"
"store open","0101000000","4D010000|Stable-Keeper Makgo"
"store buy","01080000010D0100|59080000|Red Horse","50|50"
"store close","Stable-Keeper Makgo","4D010000"
"3593","2088","1"
"3593","2088","1"
"3589","2090","1"
"3586","2091","1"
"3584","2092","1"
"3582","2093","1"
"3574","2090","1"
"3570","2089","1"
"3567","2087","1"
"3561","2085","1"
"3551","2083","1"
"3545","2080","1"
"3541","2075","1"
"3538","2070","1"
"3537","2059","1"
"3537","2048","1"
"3537","2038","1"
"3537","2035","1"
"3537","2031","1"
"3537","2028","1"
"3538","2023","1"
"3538","2024","1"
"3540","2004","1"
"3540","2005","1"
"3541","2001","1"
"3541","1996","1"
"3542","1992","1"
"3542","1989","1"
"3544","1978","1"
"3544","1974","1"
"3545","1969","1"
"3545","1963","1"
"3546","1958","1"
"3546","1954","1"
"3546","1950","1"
"3546","1946","1"
"3546","1942","1"
"3546","1938","1"
"3546","1933","1"
"3546","1928","1"
"3546","1924","1"
"cmd","[stop walking]",""
"cmd","[cast horse]",""
"3547","1921","1"
"3547","1918","1"
"3549","1895","1"
"3550","1885","1"
"3550","1884","1"
"3556","1875","1"
"3560","1869","1"
"3564","1863","1"
"3573","1853","1"
"3580","1849","1"
"3595","1846","1"
"3612","1844","1"
"3652","1844","1"
"3660","1844","1"
"3678","1845","1"
"3701","1839","1"
"3716","1839","1"
"3726","1840","1"
"3734","1841","1"
"3743","1841","1"
"3754","1842","1"
"3754","1842","1"
"3770","1842","1"
"3779","1842","1"
"3790","1842","1"
"3806","1842","1"
"3824","1842","1"
"3855","1842","1"
"3858","1841","1"
"3863","1841","1"
"3871","1840","1"
"3907","1836","1"
"3941","1832","1"
"3937","1832","1"
"3943","1832","1"
"3962","1832","1"
"3989","1826","1"
"3991","1826","1"
"4015","1820","1"
"4035","1817","1"
"4035","1817","1"
"4077","1815","1"
"4089","1815","1"
"4111","1817","1"
"4126","1815","1"
"4141","1812","1"
"4154","1809","1"
"4184","1803","1"
"4202","1797","1"
"4213","1792","1"
"4225","1783","1"
"4245","1770","1"
"4256","1762","1"
"4270","1753","1"
"4291","1736","1"
"4299","1728","1"
"4306","1720","1"
"4319","1704","1"
"4339","1674","1"
"4337","1664","1"
"4308","1640","1"
"4289","1634","1"
"4284","1631","1"
"4277","1625","1"
"4264","1608","1"
"4258","1576","1"
"4262","1558","1"
"4265","1554","1"
"4268","1549","1"
"4270","1546","1"
"4270","1545","1"
"4273","1536","1"
"4284","1495","1"
"4285","1493","1"
"4287","1483","1"
"4281","1465","1"
"4276","1455","1"
"4270","1445","1"
"4261","1435","1"
"4259","1433","1"
"4250","1423","1"
"4246","1417","1"
"4237","1381","1"
"4236","1373","1"
"4236","1373","1"
"cmd","[clear hunting]",""
"cmd","[add hunting]","4238;1372;200"
"cmd","[stop walking]",""
"cmd","[kill horse]",""
"cmd","[start bot]",""



Try this....I just edited the beginning and the end of ur script cuz it looked funny to me. Let me know if it works.
06/15/2008 10:31 cale69er#3
I didnt work, when im in the town it doesnt run me to the western west ferry, and it doesnt summon a horse, also the script doesnt even repair my items or rebuy pots etc.
06/16/2008 01:57 cale69er#4
Bump, anyone? i personally dont see anything wrong with the script?

how do you load the script into the agbot maybe im doing that wrong? :S
06/16/2008 02:22 theworm#5
Quote:
Originally Posted by cale69er View Post
Bump, anyone? i personally dont see anything wrong with the script?

how do you load the script into the agbot maybe im doing that wrong? :S
U must name ur script "default.lst" or agbot will get an error or not work right or just crash. The script goes in Agbot folder > Config > Config1 > Script.

To avoid further errors make sure the script editor is not open while ur editing/adding ur script. And make sure ur script walk is off. Hope this helps
06/16/2008 11:35 cale69er#6
I just changed the name of the script to what you said and have put it in the correct folder, but when i click start bot while my character is in the donwhang town i dont move :S ?
06/17/2008 03:09 theworm#7
What version AgBot u using? Alot of people are having problems with the newer versions including my self. I went back to 1.6.5v5 and everything works perfect. Try using this version and load ur script. Maybe it will work
06/17/2008 08:41 cale69er#8
Ok il try that thanks.

Edit: Thanks for that idea, the script is working fine now :) finally have a working script, and a good one at that.
06/19/2008 07:31 theworm#9
Good to know