Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Exploits, Hacks, Bots, Tools & Macros
You last visited: Today at 06:42

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



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.

Reply
 
Old 06/21/2023, 15:09   #31
 
Restia Ashdoll's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 313
Received Thanks: 166
Quote:
Originally Posted by dboston View Post
Appreciate the help, but that one also doesn't pick up. It actually errors on that first line when you open it to run (error: cannot assign values to constants). I've tried moving that first bit around to get it to run, but then it doesn't pick up greens (or golds), so assuming it needs to be in the code somewhere, just not in the places I've tried
giving from what you have posted - the consts are already defined so just leave that part out and try again

Quote:
Originally Posted by dboston View Post
Appreciate the help, but that one also doesn't pick up. It actually errors on that first line when you open it to run (error: cannot assign values to constants). I've tried moving that first bit around to get it to run, but then it doesn't pick up greens (or golds), so assuming it needs to be in the code somewhere, just not in the places I've tried
Code:
Func CanPickUp($aitem)
    Local $m = DllStructGetData($aitem, 'ModelID')
    Local $r = GetRarity($aitem)
    Local $c = DllStructGetData($aitem, 'ExtraID')

    Local $allowedModels = [467, 468, 37765, 933, 2511, 934, 442, 5965, 444, 921, 923, 932, 813, 22190, 22191, 27040, 454, 1660, 499, 1578]
    If _ArraySearch($allowedModels, $m) <> -1 Then
        Return True
    EndIf

    Switch $r
        Case $RARITY_Gold, $RARITY_Green
            Return True
    EndSwitch

    Return False
EndFunc ;=> CanPickUp
RARITY_Gold and Green should already be definied in your script i think i have seen them somewhere
Restia Ashdoll is offline  
Old 06/21/2023, 23:44   #32
 
elite*gold: 0
Join Date: Nov 2018
Posts: 33
Received Thanks: 19
Yeah you're right I do think they're defined already, so I did leave that bit out (I tried adding it too when it didn't work properly). Still completely ignoring greens (and golds) but everything's telling me it should be working. Got me stumped, this one
dboston is offline  
Old 06/22/2023, 07:48   #33
 
Restia Ashdoll's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 313
Received Thanks: 166
Quote:
Originally Posted by dboston View Post
Yeah you're right I do think they're defined already, so I did leave that bit out (I tried adding it too when it didn't work properly). Still completely ignoring greens (and golds) but everything's telling me it should be working. Got me stumped, this one
Pickung up the golden coins or other nic items does work though ? otherwise there might be an issue in the Pickup
Restia Ashdoll is offline  
Old 06/22/2023, 09:05   #34
 
elite*gold: 0
Join Date: Nov 2018
Posts: 33
Received Thanks: 19
Yeah, continues to pick up gold coins and Nick items fine
dboston is offline  
Old 06/27/2023, 11:38   #35
 
elite*gold: 0
Join Date: Nov 2018
Posts: 33
Received Thanks: 19
Shriveled Eyes farmer

Just take any build and heroes, it's slow but works

If anyone can input a pickup green function in this bot I'd be extremely thankful as the one currently in doesn't work.
Attached Files
File Type: zip Shriveled Eyes.zip (54.7 KB, 17 views)
dboston is offline  
Old 06/27/2023, 12:52   #36
 
Waka.Waka's Avatar
 
elite*gold: 0
Join Date: Dec 2016
Posts: 128
Received Thanks: 72
This took me longer then i thought because the bot is a mess. Didnt notice that _constants.au3 is not included and took this script as reference to check constants. They are correct there.. but you take those from AddsOn.au3 and there the values for the rarity items are wrong.

change line 18 in AddsOn.au3 to
Code:
Global Enum $RARITY_White = 0xA3D, $RARITY_Blue = 0xA3F, $RARITY_Purple = 0xA42, $RARITY_Gold = 0xA40, $RARITY_Green = 0xA43
and it should work.
Waka.Waka is offline  
Thanks
2 Users
Old 06/29/2023, 00:01   #37
 
elite*gold: 0
Join Date: Nov 2018
Posts: 33
Received Thanks: 19
Got a bit of a different one here. This is a Obsidian Armor runner bot.

1. Enter FoW manually. Take a build (the bot just spams skills, left to right). Take strong heroes too.
2. Run Obsidian1. This will run through the beach, cave, battle field and up to the Eternal Weaponsmith. Close the bot.
3. Speak to the Eternal Weaponsmith manually, and run into the Temple of War (the temple, and route, should both have been cleared already by Obsidian1 bot)
4. Stand ontop of the Eternal Forgemaster, take the quest go afk whilst your heroes complete 'Defend the Temple of War' quest
5. Take quest 'Restore the Temple of War', run Obsidian2. This will run back through the caves, kill necessary enemies, then run back to Eternal Forgemaster.
6. Close the bot, the Eternal Forgemaster will now craft Obsidian Armor.

The bot also picks up all Chaos Axes and Obsidian Shards.

Currently there's nothing in the code to 'stop', so the bots attempt to loop and keep going once it's gotten to the end - if anyone knows a fix that'd be great. Right now it's annoying more than anything

I have more ideas for bots if anyone is interested, Sorrows Furnace Vanquish, The Deep, Urgoz, quests needed to unlock very common PvE quests (IAU! + EBSoH etc.) - would be keen to hear if anyone else had any suggestions

EDIT - tested your green pickup fix, perfect, thanks so much

EDIT - I've uploaded a new file, it's tidied up a bit and takes a different route to avoid a possible over-aggro and wipe. If anyone knows the code to talk to NPCs + accept quests and quest rewards, that'd be great and I'll squeeze that in to make it 1 long continuous bot
Attached Files
File Type: zip Obsidian Armor.zip (56.8 KB, 19 views)
dboston is offline  
Thanks
4 Users
Old 07/04/2023, 11:14   #38
 
elite*gold: 0
Join Date: Nov 2018
Posts: 33
Received Thanks: 19
Icy Lodestones farmer.
As always, take 7 hero party
Attached Files
File Type: zip Icy Lodestones.zip (55.0 KB, 15 views)
dboston is offline  
Thanks
1 User
Old 07/10/2023, 15:52   #39
 
elite*gold: 0
Join Date: Nov 2018
Posts: 33
Received Thanks: 19
Keen Oni Talon
This one is very slow (took me about 4 hours per set with heroes). Farms in Rhea's crater from The Aurios Mines outpost, so make sure you have that unlocked. Only 4 groups of Oni per run (16 Oni in total)
Attached Files
File Type: zip Keen Oni Talon.zip (54.9 KB, 16 views)
dboston is offline  
Thanks
1 User
Old 09/25/2023, 10:31   #40
 
elite*gold: 0
Join Date: Apr 2009
Posts: 94
Received Thanks: 10
Hello - For this weeks Nick I will have to move through two portals (according to Wiki). Can i make a loop at the 2. portal so that i dont have to resign and start all over

I know that the Vaettir v3 have that loop function but can I just copy it?
ARJ is offline  
Old 10/21/2023, 13:59   #41
 
elite*gold: 0
Join Date: May 2019
Posts: 31
Received Thanks: 6
Quote:
Originally Posted by ARJ View Post
Hello - For this weeks Nick I will have to move through two portals (according to Wiki). Can i make a loop at the 2. portal so that i dont have to resign and start all over

I know that the Vaettir v3 have that loop function but can I just copy it?
Hi, if u have answer for the 2 portal im interes for a bot
Razerb is offline  
Old 10/22/2023, 19:11   #42
 
elite*gold: 0
Join Date: Apr 2009
Posts: 94
Received Thanks: 10
Quote:
Originally Posted by Razerb View Post
Hi, if u have answer for the 2 portal im interes for a bot
I never made the bot :/ sry - i would also like to have that function but i think u can just take it from the other bot that i talked about
ARJ is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[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. . .



All times are GMT +1. The time now is 06:45.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.