Complete noob coder attempting to code interchangeable Nick bot
Discussion on Complete noob coder attempting to code interchangeable Nick bot within the GW Exploits, Hacks, Bots, Tools & Macros forum part of the Guild Wars category.
Complete noob coder attempting to code interchangeable Nick bot
Hi there
I wanted to create a skeleton-like bot that had the basic structure of a bot, but each week could be changed very easily to farm the new Nick item (just change IDs of outpost/area/items/route taken). This would be done with heroes so not extremely efficient, but would be easy and would work.
I've tried adjusting code around from bots I've seen in the Nick thread and have got the bot posted here (currently, for Truffles in Melandru's Hope outside Brauer Academy).
The bot has 2 main problems which stops it from doing it's job:
1)The bot doesn't pick up Truffles
I've got the Model ID of truffles but no idea where I put this in, nor can I find anywhere within the documents where another model ID is written, or any pickup function in the main bot, so quite stumped on this one. I would eventually like to input all event items and greens too
2)The bot will fail to recognise it's in an outpost after resigning after 1 run:
So it will do 1 run, resign, go back to outpost, but then immediately start "hunting" again when it's function should be to leave the outpost.
Appreciate these are really noob questions, however I have 0 experience in this so just looking for some help
The model ID was forgotten to be entered under CanPickUp.
ElseIf $m = 813 Then
Return True ;Truffle
For your MapLoading problem simply query the instance type.
Do
RndSleep(100)
Until GetMapLoading() == $INSTANCETYPE_EXPLORABLE Or TimerDiff($TimerLoad) > 20000
For your resign set after MapLoading($Outpost)
Do
RndSleep(100)
Until GetMapLoading() == $INSTANCETYPE_OUTPOST Or TimerDiff($TimerLoad) > 20000
RndSleep(2000)
I have got it picking up Truffles (and anything else I can find the ID of!) so that's great, thanks very much.
I've tried the resigning function you wrote and I'm getting the "variable used without being declared error". Am I correct in thinking that the variable is "$INSTANCETYPE_OUTPOST"?
Is this something that is done at the start of the code, or in one of the other files?
Hi again, I appreciate your help on this, and have worked through your suggestions. However I think there's something missing still from preventing it working correctly.
On the issue of not recognising the outpost and going "hunting" immediately after resigning instead of "going out" of the outpost first; I implemented the change you highlighted in red and orange and with these in effect, the bot won't even leave the outpost for 1 run before erroring, it will never leave the outpost as it goes "hunting" straight away.
I've had a play around myself but still stumped - could it be something to do with:
If $NumberRun = 0 Then ;first run
and then a little bit later
SwitchMode(0) ;Normal Mode
;FastWayOut()
GoOut()
While (CountSlots() > 4)
$NumberRun = $NumberRun +1
My thought was that it was only applying the "GoOut" function on the bot's first run, whereas we want it to "GoOut" on returning to the outpost for the second run, and the third run, and the fourth run etc.
I've uploaded the current version with the changes in if you wanted to have a look - thanks again!
If anyone is interested in making this work further I'd be keen to work on it, would like to be able to farm specific greens (what's the green pickup function?) would look at Urgoz/Deep but believe theres some interaction to do there (flagging heroes, opening chests) dungeons, UW/FoW too. Would also like to run through some missions too but again, not super sure how to get it to interact with NPCs or deal with cutscenes etc.
[Help]Items not interchangeable? 10/25/2013 - Shaiya Private Server - 2 Replies I find it urgent, I need to swap items
and try various forms.. lph + ShStudio, exploit.
erroneous result: Handsdown: please help on Items not interchangeable of shaiya ep 5 : Rolleyes:
items are not interchangeable 08/14/2012 - Shaiya - 2 Replies hello elitepvpers users want to ask a question which is whether there is some kind of hack articles "not interchangeable" not found, is to pass the items to another pj. thanks and regards, I hope your answers
[NEW]client to make items that are not interchangeable, interchangeable 05/27/2012 - Shaiya - 1 Replies client to make items that are not interchangeable, interchangeable CLIENT EP4 ONLY
english
just need a client or old ep 3 ep 4 to make it work. can only be exchanged via the item shop or pulling
espaņol
solo se necesita un cliente viejo ep 3 o ep 4 para hacerlo funcionar. solo se puede intercambiar via tienda o tirando el item :):):)
Interchangeable items shaiya lat 02/08/2012 - Shaiya - 0 Replies ESPAŅOL: Hola quisiera saber si hay algun programa para poder intercambiar los articulos de promocion que no son comerciables, me gustaria que me dejaran el link de donde puedo descargar dicho programa. Ya he visto que algunos personajes venden dichos articulos y quisiera saber como lo hacen gracias ^^
Les envio un gran saludo ^^
PD: creo que se tiene que modificar un parche o algo asi he oido si alguien me ayudara seria genial. Shaiya Lat
INGLES: Hello I wonder if there is any...
not interchangeable items shaiya 12/13/2011 - Shaiya Private Server - 3 Replies such friends, I wonder if there is a program to exchange items that are not interchangeable between accounts. . .