Issues: With a agBot script! + Fixes!

02/19/2009 06:38 _lovejuice_#91
can some 1 make a guide for the new script maker
02/19/2009 22:12 Devil589#92
Hey guys i have a question.
Do anyone know why my bot wont to pick up all the items?
And yea i use the pickup functions and i puttet all items in the inventory row at the item select.
So i dont know whats wrong.
Can anyone help me pls?

Thx!

p.s. i use the agbot version 2.7.3

See Ya!
03/03/2009 03:18 psion#93
Hi Dudes and Dudesses!
I've been busy scripting for AgBot for a while, and just thought I'd share my experience so far.
I'm botting over a laggy DSL connection, so perfect quality scripts are a MUST. My problems started in Roc Mt. (at the gates to Wind Town), so I did the following:

The script begins with the little unknown Hotan exits, "Exit town","Hotan","RokSouth" or, respectively "RokNorth". They walk you to the teleport and use it to teleport u on the other side. You start your script in Roc Mt.

For normal walking I use secure step off and "x","y","1" walk steps. This casts the next step a little faster, so your char doesn't stop-and-go, but walks fluidly.

Tight spots, i.e. 90 degree turns or just difficult passages, are a bit more interesting.
Secure step off means you HAVE to use "cmd","[stop walking]","". You also have to set the step radius to 0
Use "cmd","[delay]","3" to be really really sure he'll do it right in high-lag situations. The combination of these 3 things REALLY seems to do the trick.

Example script:

Code:
[COLOR="Blue"]"-3541","-504","1"
"-3554","-478","1"
"-3569","-440","1"[/COLOR]
[COLOR="Orange"]"-3584","-403","0"
"cmd","[stop walking]",""
"cmd","[delay]","3"
"-3588","-379","0"[/COLOR]
[COLOR="Blue"]"-3568","-313","1"
"-3555","-285","1"[/COLOR]
Blue parts are normal steps.
The orange part is: position char with radius 0 (to have exact starting position), then make sure the movement is really stopped and wait 3 seconds to avoid lag. You could set the delay value according to your specific internet conditions. Just put [stop walking] and [delay] between every step that has to be precise and use 0 radius.

That's all. Hope it helps :)

P.S. Sorry for bad English, typos and punctuation :)
03/04/2009 21:05 MissXtreme#94
Ever since AgBot started their new updates, my scripts have not been working. >.< I use AgSolid, and before, they worked perfectly fine, now every time I make a script it teleports me to another town after I repair and then I usually don't teleport back to Hotan. Does anyone know how to fix this? >.<
03/06/2009 01:02 psion#95
Quote:
Originally Posted by MissXtreme View Post
Ever since AgBot started their new updates, my scripts have not been working. >.< I use AgSolid, and before, they worked perfectly fine, now every time I make a script it teleports me to another town after I repair and then I usually don't teleport back to Hotan. Does anyone know how to fix this? >.<
AgBot doesn't need town script anymore. You just use "Exit town","Hotan","West" and set pots in agbot.

Besides, AgSolid is obsolete. Take AgDev ([Only registered and activated users can see links. Click Here To Register...]).
03/07/2009 03:05 _lovejuice_#96
what do u put to make it kill horse ?
03/07/2009 04:05 silkroadforums#97
"cmd","[kill horse]",""
03/07/2009 12:37 xaqua#98
how can i open the default.lst?
my package doesnt have the config file.
how can i open the script and change something?
03/07/2009 12:47 Keeksi#99
Id like to know whats wrong with this script. Its supposed to go and put stuff in the storage but it just DCs there.

"cmd","[start autopotion]",""
"cmd","[start autoparty]",""
"cmd","[clear hunting]",""
"cmd","[protect off]",""
"cmd","[stop bot]",""
"113","16","1"
"123","40","1"
"124","43","1"
"126","54","1"
"122","56","1"
"117","60","1"
"cmd","[stop walking]",""
"store storage","Storage-Keeper Auisan","D9010000"
"store close","Storage-Keeper Auisan","D9010000"
"114","61","1"
"93","71","1"
"85","72","1"
"60","77","1"
"cmd","[stop walking]",""
"store open","0101000000","0A000000|Blacksmith Soboi"
"store sell","Blacksmith Soboi","0A000000"
"store repair","Blacksmith Soboi","0A000000"
"store close","Blacksmith Soboi","0A000000"
"55","78","1"
"70","87","1"
"71","90","1"
"78","105","1"
"cmd","[stop walking]",""
"store open","0101000000","5D000000|Potion Merchant Manina"
"store buy","01080004010F0100|0E000000|MP Recovery Potion (Large) ","50|750"
"store buy","0108000101120100|07000000|HP Recovery Potion (Large) ","50|550"
"store close","Potion Merchant Manina","5D000000"
"84","94","1"
"92","69","1"
"93","66","1"
"99","41","1"
"101","32","1"
"94","13","1"
"89","-2","1"
"89","-2","1"
"cmd","[stop walking]",""
"store open","0101000000","08020000|Jewel Lapidary Mamoje"
"store buy","01080400011A0100|3D000000|Return Scroll","1|1"
"store close","Jewel Lapidary Mamoje","08020000"
"85","3","1"
"76","16","1"
"53","46","1"
"19","48","1"
"-19","46","1"
"-46","46","1"
"-99","46","1"
"-136","46","1"
"-158","46","1"
"-183","47","1"
"-294","57","1"
"-315","60","1"
"-350","70","1"
"-391","82","1"
"-411","87","1"
"-438","93","1"
"-480","95","1"
"-507","96","1"
"-535","96","1"
"-567","97","1"
"-598","98","1"
"-632","99","1"
"-658","100","1"
"-689","100","1"
"-718","101","1"
"-754","102","1"
"-787","103","1"
"-828","104","1"
"-839","105","1"
"-844","105","1"
"-844","105","1"
"-899","94","1"
"-933","88","1"
"-936","87","1"
"-979","77","1"
"-999","69","1"
"-1031","57","1"
"-1067","42","1"
"-1130","7","1"
"-1184","-24","1"
"-1232","-51","1"
"-1253","-63","1"
"-1279","-77","1"
"-1318","-100","1"
"-1349","-117","1"
"-1368","-128","1"
"-1403","-141","1"
"-1457","-162","1"
"-1487","-191","1"
"-1508","-244","1"
"-1533","-313","1"
"-1535","-334","1"
"cmd","[add hunting]","-1535;-334;40"

Okay, but does it matter that i have my first inventory page full? And is it possible for the bot to put stuf from my pets inventory to the storage? And can i make it pick up "Purification Seeds" and important items and nothing else?
03/07/2009 18:09 silkroadforums#100
nothing wrong with the script, just make make sure that storage isnt full, and that you're using the right itemconfig. If this still doesen't work, go to "bot console" run script, and post the result here.
03/07/2009 19:53 xaqua#101
i save the script in the default.lst
i open the default.lst
i dont finde the script which i have saved
what can i do to find the script?
03/07/2009 20:55 silkroadforums#102
Quote:
Originally Posted by xaqua View Post
i save the script in the default.lst
i open the default.lst
i dont finde the script which i have saved
what can i do to find the script?
save it as something else than default.lst, once saved go to the script folder and change the name to default
03/22/2009 09:20 sebytzy#103
pls guys give me the new teleport codes for rock mountain
03/25/2009 00:32 Zehro#104
Any good scripters around?
My script:
"//","..............^^.............................^^ ..............","//"
"//",".......................... AgDev ..........................","//"
"//","........ The agbot-Scripts Constructor ........","//"
"//","........... Coded by: Hussert & KillaH ..........","//"
"//",".......................Version 4.2 ....................","//"
"//","............................................... ..................","//"
"//","Town: Hotan","//"
"//","Monster: (Roc) ----- Antinokes-Antelopes.txt","//"
"//","Buys 400 HP X-Large Potions","//"
"//","Buys 900 MP Large Potions","//"
"//","Buys 150 Special Universal Pill (small)","//"
"//","Protect off","//"
"//","Starts autoparty","//"
"//","Starts autopotion","//"
"//","Casts horse","//"
"//","............................................... ..................","//"
"ConditionScript","112;16;20","1"
"cmd","[protect off]",""
"cmd","[stop bot]",""
"cmd","[clear hunting]",""
"cmd","[start autoparty]",""
"cmd","[start autopotion]",""
"LogData","Statistics","1"
"89","43","1"
"97","58","1"
"101","62","1"
"111","67","1"
"cmd","[stop walking]",""
"store open","0104000000","Storage-Keeper Auisan"
"store storage","",""
"store close","",""
"69","68","1"
"60","71","1"
"cmd","[stop walking]",""
"store open","0101000000","Blacksmith Soboi"
"store sell","",""
"store repair","",""
"store close","",""
"66","68","1"
"87","94","1"
"85","100","1"
"cmd","[stop walking]",""
"store open","0101000000","Potion Merchant Manina"
"store buy","HP recovery potion (X-large)","400"
"store buy","MP recovery Potion (large)","900"
"store buy","Special Universal Pill (small)","150"
"store close","",""
"88","87","1"
"91","11","1"
"88","0","1"
"cmd","[stop walking]",""
"134","13","1"
"145","3","1"
"cmd","[stop walking]",""
"//","......^^.........................^^......", "//"
"//","...This was the Townscript...","//"
"//",".....Here is the Walkscript.....","//"
"//",".....Starting place: Stable......","//"
"//",".............................................", "//"
"74","43","1"
"57","44","1"
"23","47","1"
"3","47","1"
"-37","47","1"
"-104","47","1"
"-195","47","1"
"-202","48","1"
"cmd","[stop walking]",""
"cmd","[cast horse]",""
"-216","48","1"
"-250","49","1"
"-274","53","1"
"-305","58","1"
"-335","63","1"
"-361","68","1"
"-388","73","1"
"-413","76","1"
"-437","80","1"
"-465","85","1"
"-513","91","1"
"-546","96","1"
"-590","101","1"
"-619","103","1"
"-660","104","1"
"-686","104","1"
"-705","104","1"
"-730","104","1"
"-750","104","1"
"-772","105","1"
"-795","117","1"
"-811","130","1"
"-832","151","1"
"-847","170","1"
"-857","184","1"
"-884","219","1"
"-906","240","1"
"-919","255","1"
"-943","271","1"
"-975","289","1"
"-1002","298","1"
"-1031","312","1"
"-1063","332","1"
"-1089","346","1"
"-1119","362","1"
"-1155","387","1"
"-1177","403","1"
"-1199","421","1"
"-1231","443","1"
"-1262","459","1"
"-1296","472","1"
"-1325","478","1"
"-1349","480","1"
"-1386","470","1"
"-1390","468","1"
"-1413","452","1"
"-1441","436","1"
"-1471","425","1"
"-1499","417","1"
"-1531","406","1"
"-1572","389","1"
"-1613","377","1"
"-1646","368","1"
"-1673","360","1"
"-1710","343","1"
"-1746","326","1"
"-1771","317","1"
"-1812","307","1"
"-1841","303","1"
"-1885","297","1"
"-1941","296","1"
"-1966","298","1"
"-2012","301","1"
"-2031","302","1"
"-2059","303","1"
"-2091","296","1"
"-2122","280","1"
"-2149","266","1"
"-2181","247","1"
"-2208","232","1"
"-2228","221","1"
"-2256","214","1"
"-2283","217","1"
"-2304","221","1"
"-2319","228","1"
"-2352","243","1"
"-2372","252","1"
"-2400","268","1"
"-2433","282","1"
"-2457","291","1"
"-2489","300","1"
"-2519","310","1"
"-2543","322","1"
"-2560","332","1"
"-2587","350","1"
"-2610","368","1"
"-2617","376","1"
"-2622","382","1"
"cmd","[stop walking]",""
"Inject","7495","650200000217000000"
"cmd","[delay]","10"
"-3177","630","1"
"-3201","629","1"
"-3226","651","1"
"-3248","669","1"
"-3279","692","1"
"-3310","722","1"
"-3329","747","1"
"-3344","772","1"
"-3369","799","1"
"-3393","825","1"
"-3415","852","1"
"-3434","881","1"
"-3449","906","1"
"-3465","929","1"
"-3488","956","1"
"-3523","965","1"
"-3549","969","1"
"-3568","971","1"
"-3611","968","1"
"-3638","963","1"
"-3667","959","1"
"-3699","958","1"
"-3718","959","1"
"-3747","961","1"
"-3768","957","1"
"-3805","942","1"
"-3847","928","1"
"-3878","916","1"
"-3908","897","1"
"-3940","879","1"
"-3980","876","1"
"-4002","871","1"
"-4034","856","1"
"-4060","841","1"
"-4082","858","1"
"cmd","[kill horse]",""
"cmd","[stop walking]",""
"cmd","[add hunting]","-4082;858;50"
"cmd","[start bot]",""
"//","......^^.........................^^......", "//"
"//",".......Thank you for using.......","//"
"//",".................AgDev.................","//"
"//",".............................................", "//"
What I marked red is where the script fails...It doesnt teleport to Roc mt north from karakom north....it says invalid inject...
03/25/2009 04:57 nu7#105
"cmd","[stop walking]",""
"Inject","7495","650200000217000000"
"cmd","[delay]","10"

u go to the teleport NPC and open the create script file (agbot) and press the teleport NPC but not teleporting
from the create script file (agbot) u can find new code on the bottom box (Below is the INJECT....)

the teleport code always change after inspection