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 16:16

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

Advertisement



GWA2: How to fix salvage function

Discussion on GWA2: How to fix salvage function within the GW Exploits, Hacks, Bots, Tools & Macros forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2020
Posts: 35
Received Thanks: 12
Thumbs up GWA2: How to fix salvage function

All credit goes to @ and @

All you have to do is replace the existing lines in your GWA2 with the ones here
If you don't have those lines, then just paste these into your file

Code:
Global Const $HEADER_SALVAGE_MATS = 0x81
Global Const $HEADER_SALVAGE_MODS = 0x82

SetValue('SalvageFunction', '0x' & Hex(GetScannedAddress('ScanSalvageFunction', -10), 8))
SetValue('SalvageGlobal', '0x' & Hex(MemoryRead(GetScannedAddress('ScanSalvageGlobal', 1) - 0x4), 8))

	

_('ScanSalvageFunction:')
	AddPattern('33C58945FC8B45088945F08B450C8945F48B45108945F88D45EC506A10C745EC7E')
_('ScanSalvageGlobal:')
	AddPattern('8B5104538945F48B4108568945E88B410C578945EC8B4110528955E48945F0')

_('CommandSalvage:')
_('push eax')
_('push ecx')
_('push ebx')
_('mov ebx,SalvageGlobal')
_('mov ecx,dword[eax+4]')
_('mov dword[ebx],ecx')
_('add ebx,4')
_('mov ecx,dword[eax+8]')
_('mov dword[ebx],ecx')
_('mov ebx,dword[eax+4]')
_('push ebx')
_('mov ebx,dword[eax+8]')
_('push ebx')
_('mov ebx,dword[eax+c]')
_('push ebx')
_('call SalvageFunction')
_('add esp,C')
_('pop ebx')
_('pop ecx')
_('pop eax')
_('ljmp CommandReturn')
you want to make sure to have a PingSleep() between startsalvage() and salvagematerials() (if using non-basic salv kit) or salvagemod()

it seems as though the code crashes if you try to close the pop up after the salvage has been made, so better not to touch the window (zoning will get rid of it)

and in case you don't have the original functions, they're here as well:



note - these are public releases which were made over the last few days on this forum by people credited above
ooklaba is offline  
Thanks
9 Users
Reply


Similar Threads Similar Threads
Need Help with salvage function
11/09/2018 - GW Bots - 1 Replies
Hello people, first of all. I'm a big noob. Im just cooking some copy pasta out of all the bots i got to get them to do whatever i want :D So far it worked alright. Until now. I try to add the ability to salvage runes and sell them to the runes merchant to my feather bots.... but well, i dont get it to work. My main problem for now is the function SalvageMod() does nothing. It is part of the GWA2.au3 collection Func SalvageMod($aModIndex) Return SendPacket(0x8,...
[GWA2] How to close salvage window AFTER salvage session is complete?
05/08/2018 - GW Bots - 5 Replies
Hi all, I'm making a bot to manage my inventory for me in-game. 1. StartSalvage() on an item I want a mod for. 2. SalvageMod() for the mod I'm after 3. Close Salvage window (without GW kicking me out!) Can't figure out how to do step 3. Looks like when I close the salvage window in-game, it sends a packet to the GS to "cancel" the session. The GS panics when it sees that the session has already completed, and the client gets kicked from the server.
std::function of a function returning an std::function
11/11/2013 - C/C++ - 19 Replies
Nun muss ich nach langer Zeit auch mal wieder einen Thread erstellen, weil mir Google nicht mehr weiterhelfen kann. Ich verzweifle an Folgendem Vorhaben: #include <Windows.h> #include <string> #include <iostream> using namespace std;
[04.09.13] GigaByte v2.6 [FIX, FIX, FIX, FIX AND FIX]
09/11/2013 - WarRock Hacks, Bots, Cheats & Exploits - 79 Replies
http://www.elitepvpers.com/forum/warrock-hacks-bot s-cheats-exploits/2843300-11-09-gigabyte-public-v2 -7-a.html



All times are GMT +1. The time now is 16:17.


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.