Agbot script problems

01/21/2009 08:59 lyoth#1
I have came back to silkroad, i know how to use agbot, cause i use to use it back in the days, whenever i run the script, it just run North, and get stuck, i use the agbot constructor thing.
01/21/2009 13:08 lolrko#2
try agdev or agsolid

agsolid always worked better to me ;)
[Only registered and activated users can see links. Click Here To Register...]
01/22/2009 00:38 lyoth#3
i tried using that still doesnt work
01/22/2009 02:23 theoneofgod#4
Quote:
Originally Posted by lyoth View Post
i tried using that still doesnt work
Post your script here.
01/22/2009 02:51 lyoth#5
"cmd","[start autopotion]",""
"cmd","[start autoparty]",""
"ConditionScript","112;16;100","0"
"cmd","[protect off]",""
"cmd","[stop bot]",""
"95","44","0"
"97","59","0"
"110","62","0"
"cmd","[stop walking]",""
"store open","0104000000","Storage-Keeper Auisan"
"store storage","",""
"store close","",""
"84","66","0"
"59","71","0"
"cmd","[stop walking]",""
"store open","0101000000","Blacksmith Soboi"
"store sell","",""
"store repair","",""
"store close","",""
"72","83","0"
"84","106","0"
"cmd","[stop walking]",""
"store open","0101000000","Potion Merchant Manina"
"store buy","HP recovery potion (large)","600"
"store buy","MP recovery potion (Medium)","700"
"store buy","Universal Pill (large)","250"
"store close","",""
"99","91","0"
"121","72","0"
"134","44","0"
"140","24","0"
"144","7","0"
"cmd","[stop walking]",""
"store open","0101000000","Stable-Keeper Salihap"
"store close","",""
"131","10","0"
"107","28","0"
"96","13","0"
"91","4","0"
"cmd","[stop walking]",""
"store open","0101000000","Jewel Lapidary Mamoje"
"store close","",""
"104","23","0"
"113","15","1"
"86","31","1"
"56","46","1"
"14","47","1"
"-15","47","1"
"-57","48","1"
"cmd","[stop walking]",""
"cmd","[cast horse]",""
"-98","48","1"
"-129","48","1"
"-167","48","1"
"-210","48","1"
"-211","51","1"
"-211","96","1"
"-213","136","1"
"-215","169","1"
"-214","216","1"
"-212","248","1"
"-209","288","1"
"-207","328","1"
"-204","367","1"
"-202","407","1"
"-199","445","1"
"-206","482","1"
"-217","519","1"
"-226","554","1"
"-237","592","1"
"-246","617","1"
"-243","630","1"
"-232","668","1"
"-220","705","1"
"-208","734","1"
"-184","777","1"
"-163","810","1"
"-146","838","1"
"-125","871","1"
"-103","906","1"
"-81","942","1"
"-58","959","1"
"-26","986","1"
"-7","1020","1"
"9","1057","1"
"23","1088","1"
"38","1122","1"
"53","1158","1"
"70","1196","1"
"86","1233","1"
"99","1262","1"
"117","1303","1"
"133","1338","1"
"146","1367","1"
"160","1405","1"
"160","1441","1"
"156","1479","1"
"125","1503","1"
"92","1522","1"
"75","1557","1"
"53","1588","1"
"23","1608","1"
"-2","1625","1"
"-45","1642","1"
"-77","1645","1"
"-122","1649","1"
"-160","1653","1"
"-188","1663","1"
"-227","1682","1"
"-259","1689","1"
"-286","1692","1"
"-289","1692","1"
"cmd","[stop walking]",""
"cmd","[kill horse]",""
"cmd","[clear hunting]",""
"cmd","[add hunting]","-289;1692;100"
"cmd","[start bot]",""
01/22/2009 03:02 WarrentyVoider1337#6
[OLD]Could somebody fix my townscript? My bot spawns in hotan...Autopotion comes on along with walkscript.. ad the bot sits there and does nothing..I was trying to perfect the coordinates so he moves in perfect,straight,diagonal lines.. to the merchants...So if you could make it so he moves directly to each merchant buy's whatever he needs to buy from that merchant.. if nothing needed to buy put nothing under where you would normally put the store open,buy thing and just put cmd stop walking and then the coords to proceed to the next merchant.. and after he goes the the last merchant have him make his way to "77","50","0" and then have the walk script kick on.[OLD]



[HERE THE LATEST VERSION OF MY SCRIPT BELOW ASWELL]

Code:
"cmd","[stop bot]",""
"59","71","0"
"cmd","[stop walking]",""
"store open","0101000000","Blacksmith Soboi"
"store sell","",""
"store buy","Arrow","1000"
"store repair","",""
"store close","",""
"81","104","0"
"cmd","[stop walking]",""
"store open","0101000000","Potion Merchant Manina"
"store buy","HP recovery potion (X-large)","250"
"store buy","MP recovery Potion (large)","250"
"store close","",""
"59","71","0"
"115","15","0"
"145","0","0"
"85","45","0"
"108","62","0"
"cmd","[stop walking]",""
"store open","0104000000","Storage-Keeper Auisan"
"store storage","",""
"store close","",""
"85","45","0"
"145","0","0"
"115","15","0"
"55","45","0"
"-195","47","0"
"-249","48","0"
"-232","136","0"
"-238","153","0"
"-237","276","0"
"-222","298","0"
"-252","390","0"
"-289","435","0"
"-313","462","0"
"-377","494","0"
"-400","542","0"
"-426","519","0"
"cmd","[stop walking]",""
"cmd","[clear hunting]",""
"cmd","[add hunting]","-388;491;20"
"cmd","[add hunting]","-444;546;10"
"cmd","[add hunting]","-422;505;50"
"cmd","[add hunting]","-390;519;16"
"cmd","[start bot]",""
01/22/2009 03:11 theoneofgod#7
@lyoth Remove the 3rd line (Condition Script)

@WarrentyVoider1337 Remove the 1st line (Condition Script)
01/22/2009 04:27 WarrentyVoider1337#8
"//","..............^^.............................^^ ..............","//"
"//",".......................... AgDev ..........................","//"
"//","........ The agbot-Scripts Constructor ........","//"
"//","........... Coded by: Hussert & KillaH ..........","//"
"//",".......................Version 4.2 ....................","//"
"//","............................................... ..................","//"
"//","Town: Hotan","//"
"//","Monster: Mugigis.txt","//"
"//","Buys 200 HP X-Large Potions","//"
"//","Buys 300 MP X-Large Potions","//"
"//","Buys 450 Arrows","//"
"//","Protect off","//"
"//","Starts autoparty","//"
"//","Starts autopotion","//"
"//","............................................... ..................","//"
"cmd","[stop bot]",""
"cmd","[clear hunting]",""
"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 buy","Arrow","450"
"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)","200"
"store buy","MP recovery Potion (X-large)","300"
"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"
"//","Out Of Town","//"
"-233","48","1"
"-263","50","1"
"-284","53","1"
"-304","58","1"
"-344","66","1"
"-372","70","1"
"-390","73","1"
"-399","78","1"
"","cmd","[stop walking]"
"","cmd","[add hunting]"
"-399;78;20","cmd","[start bot]"
"","//","......^^.........................^^......"
"//","//",".......Thank you for using......."
"//","//",".................AgDev................."
"//","//","........................................... .."






Thats my code.. the bot spawn in hotan and stands there.. and does nothinggg... WHYYYYY it does that with or withotu condition in
01/22/2009 05:54 theoneofgod#9
So go to Config and tick " Loop after teleport "
01/22/2009 07:19 WarrentyVoider1337#10
I think its my pc.. cause last time i rebooted it and the script started working..
I made a new one, its shorter and better.

"59","71","0"
"cmd","[stop walking]",""
"store open","0101000000","Blacksmith Soboi"
"store buy","Arrow","900"
"store repair","",""
"store close","",""
"81","104","0"
"cmd","[stop walking]",""
"store open","0101000000","Potion Merchant Manina"
"store buy","HP recovery potion (large)","1"
"store buy","MP recovery Potion (large)","1"
"store close","",""
"59","71","0"
"115","15","0"
"145","0","0"
"115","15","0"
"-55","45","0"
"-195","47","0"
"-249","48","0"
"-232","136","0"
"-238","153","0"
"-237","276","0"
"-222","298","0"
"-252","390","0"
"-289","435","0"
"-321","459","0"
"-369","488","0"
"-400","542","0"
"-422","549","0"
"HuntingArea","[stop walking]",""
"cmd","[clear hunting]",""
"cmd","[add hunting]","-422;549;20"
"cmd","[add hunting]","-396;523;30"



Somebody test that out for me tell me if it even moves the bot at all.
01/22/2009 07:28 theoneofgod#11
Quote:
Originally Posted by WarrentyVoider1337 View Post
I think its my pc.. cause last time i rebooted it and the script started working..
I made a new one, its shorter and better.

"59","71","0"
"cmd","[stop walking]",""
"store open","0101000000","Blacksmith Soboi"
"store buy","Arrow","900"
"store repair","",""
"store close","",""
"81","104","0"
"cmd","[stop walking]",""
"store open","0101000000","Potion Merchant Manina"
"store buy","HP recovery potion (large)","1"
"store buy","MP recovery Potion (large)","1"
"store close","",""
"59","71","0"
"115","15","0"
"145","0","0"
"115","15","0"
"-55","45","0"
"-195","47","0"
"-249","48","0"
"-232","136","0"
"-238","153","0"
"-237","276","0"
"-222","298","0"
"-252","390","0"
"-289","435","0"
"-321","459","0"
"-369","488","0"
"-400","542","0"
"-422","549","0"
"HuntingArea","[stop walking]",""
"cmd","[clear hunting]",""
"cmd","[add hunting]","-422;549;20"
"cmd","[add hunting]","-396;523;30"



Somebody test that out for me tell me if it even moves the bot at all.
There is no start bot there, no wonder he doesn't move.

You need this first,

Code:
"cmd","[stop bot]",""
01/22/2009 08:11 WarrentyVoider1337#12
I got it working!!! I think the problem was I restarted the client cause the talk to NPC links werent working when i was clicking them... nor was teleport.. so i restarted everything.. Srproxy,bot,dihydrotestosterone,serverlist and actually i restarted my pc for a real hard refresh of everything.. and its working now.. Flawless..so anyway if you use this script.. which is to attack the ugigi's, note that it takes it 20 seconds to start moving the minute you return or teleport into hotan. I'm pretty sure this one is flawless, i just updated a problem that agDev creates when you add a comment into the code like this


"-400","542","0"
"-422","549","0"
HuntingArea
"cmd","[stop walking]",""

It translates into

"-400","542","0"
"-422","549","0"
"HuntingArea","[stop walking]",""



Maybe i should do the comments like "//" ???

//HuntingArea??








Code:
[SCRIPT REMOVED FIND THE UPDATED VERSION OF THE SCRIPT IN THE LAST POST MADE BY ME, THE UPDATED INCLUDES, SELLING, AND STORAGE.
01/22/2009 08:18 WarrentyVoider1337#13
[DOUBLE POST OOPS]
nope I think it needs a start bot at the end.. cause it goes to the hunting area and stops there.. so def needs a start bot and a stop bot at the top as a precaution.. incase its already running when u teleport and shouldnt be.
[DOUBLE POST OOPS]
01/22/2009 08:25 theoneofgod#14
yeah you're right.
good job fixing it :)
01/22/2009 10:00 WarrentyVoider1337#15
[DELETE THIS POST]