|
You last visited: Today at 17:05
Advertisement
Updated GWA2
Discussion on Updated GWA2 within the GW Exploits, Hacks, Bots, Tools & Macros forum part of the Guild Wars category.
04/30/2020, 11:55
|
#121
|
elite*gold: 0
Join Date: Jan 2019
Posts: 53
Received Thanks: 23
|
Quote:
Originally Posted by L0ume
Hello Everyone,
I'm trying to fixe GetAgentbyName(), but struggling
Did you made any progress on this part ?
Thx
|
The easy fix is replacing all the GetAgentbyName() with GetAgentByCoords or GetAgentByPlayerNumber.
|
|
|
04/30/2020, 19:48
|
#122
|
elite*gold: 0
Join Date: Apr 2020
Posts: 26
Received Thanks: 2
|
I managed to fix the fact my bot wasn't able to go to the Rare Material Trader, but now it can't buy the material I choosed.
It appears both TraderRequest and TraderBuy functions are not working and im stuck there. Any idea?
|
|
|
05/03/2020, 20:57
|
#123
|
elite*gold: 0
Join Date: Sep 2014
Posts: 354
Received Thanks: 120
|
I wouldn't expect a fix for this anytime soon...
However these are on my todo list and I am working on them and will release if I come up with something.
|
|
|
05/04/2020, 21:57
|
#124
|
elite*gold: 0
Join Date: Aug 2011
Posts: 7
Received Thanks: 3
|
Quote:
Originally Posted by matx61971
I'm out of ideas on the Gwbible.
Fixed-
ASM Crash
The Script will now initialize the client again.
Rendering Fix
Donate Function
All current headers
Memory updates
I'm no expect but ive goten this far.
The Script flat up crashes the client after about 5 seconds when it trys to enter battle.
no au3 error codes just a flat crash.
Any assistance would be Great- Thank you

|
It's probable that your $HEADER_MISSION_ENTER is a bad value. My current working value is 0xAD, try that and see if it works for you.
|
|
|
05/04/2020, 22:18
|
#125
|
elite*gold: 0
Join Date: Sep 2014
Posts: 19
Received Thanks: 6
|
Quote:
Originally Posted by Copephobia
It's probable that your $HEADER_MISSION_ENTER is a bad value. My current working value is 0xAD, try that and see if it works for you.
|
Thank you that Working header did fix my current issue. testing now Update in a bit.
So we are on the right track.
What about the current headers for donate? Im crashing again right when it trys to donate. If i remove that function it works perfectly.
Currently using Global Const $HEADER_FACTION_DONATE = 0x3C
It wont speak to the NPC at all
On the right track it will donate now but only if i click the NPC first once i put the mouse on it then the script takes over.... Maybie the npc cords are wrong?
EDIT__ It does work donates and all. My only issue is opening more then 1 of this script its being a **** hair to do so.
|
|
|
05/22/2020, 20:40
|
#126
|
elite*gold: 0
Join Date: May 2020
Posts: 9
Received Thanks: 2
|
So where is this updated gwa2 library at? Github somewhere? The link at the beginning doesn't appear to be updated.
I think it's not in Github and my next question will be... Why don't we get it into Github? The benefits:
1) A single, consolidated, publicly accessible codebase that doesn't require people to download a .rar file off a web forum full of people who write code 
2) Issue tracking where people can create tickets for stuff that's broken and mark them resolved and bound to a particular code commit to see what was done to fix them.
3) Code reviewer(s) can be created or set to review commits to the codebase before accepting them in, to prevent weird, wrong, or malicious commits.
4) Commits can be seen and linked here so we can discuss changes and/or use them to teach people who want to help.
5) Generally easier for people to jump in and help if they wish.
|
|
|
05/22/2020, 21:37
|
#127
|
elite*gold: 0
Join Date: May 2014
Posts: 269
Received Thanks: 328
|
There is no public (full) updated GWA2 out there ... there are some versions available with limited functionality ...
|
|
|
05/22/2020, 21:38
|
#128
|
elite*gold: 0
Join Date: May 2020
Posts: 9
Received Thanks: 2
|
That's all we need to start with. People can add their changes to that and then we'll get a full updated one that's easy to continue updating as needed.
Thoughts? I know I'm a newbie here, but it's a good suggestion.
EDIT: The reason I'm not creating it is that the creator is default set to review changes and I'm just barely getting started with this stuff... (not a good choice for reviewer lol)
EDIT EDIT: My personal reason for this suggestion is that, I know I can contribute and maybe even help create new useful functions, but it's hard to get started without things like a list of tasks that I could just pickup and try to fix. It's also going to be harder for anyone else with background software dev experience to just jump in and help without some sort of source control and issue tracking.
I built one out:
I also created an example (but true) issue in the issue tracker to show how we can use this to track open issues and fix them as needed.
|
|
|
05/23/2020, 11:48
|
#129
|
elite*gold: 0
Join Date: Apr 2016
Posts: 313
Received Thanks: 166
|
Quote:
Originally Posted by ss1100
That's all we need to start with. People can add their changes to that and then we'll get a full updated one that's easy to continue updating as needed.
Thoughts? I know I'm a newbie here, but it's a good suggestion.
EDIT: The reason I'm not creating it is that the creator is default set to review changes and I'm just barely getting started with this stuff... (not a good choice for reviewer lol)
EDIT EDIT: My personal reason for this suggestion is that, I know I can contribute and maybe even help create new useful functions, but it's hard to get started without things like a list of tasks that I could just pickup and try to fix. It's also going to be harder for anyone else with background software dev experience to just jump in and help without some sort of source control and issue tracking.
I built one out:
I also created an example (but true) issue in the issue tracker to show how we can use this to track open issues and fix them as needed.
|
Many People don't want to have everyone access to the bots - this would cause more ban waves
|
|
|
05/23/2020, 12:31
|
#130
|
elite*gold: 0
Join Date: Jul 2011
Posts: 145
Received Thanks: 78
|
Quote:
Originally Posted by ss1100
So where is this updated gwa2 library at? Github somewhere? The link at the beginning doesn't appear to be updated.
I think it's not in Github and my next question will be... Why don't we get it into Github? The benefits:
1) A single, consolidated, publicly accessible codebase that doesn't require people to download a .rar file off a web forum full of people who write code 
2) Issue tracking where people can create tickets for stuff that's broken and mark them resolved and bound to a particular code commit to see what was done to fix them.
3) Code reviewer(s) can be created or set to review commits to the codebase before accepting them in, to prevent weird, wrong, or malicious commits.
4) Commits can be seen and linked here so we can discuss changes and/or use them to teach people who want to help.
5) Generally easier for people to jump in and help if they wish.
|
Package headers and stuff like that can be easily fixed by everyone with a little programming knowledge by themselves, and for the komplex methods like Salvaging not enough ppl have knowledge to contribute in a constructive way
|
|
|
05/23/2020, 18:26
|
#131
|
elite*gold: 0
Join Date: Jul 2019
Posts: 103
Received Thanks: 83
|
Quote:
Originally Posted by Restia Ashdoll
Many People don't want to have everyone access to the bots - this would cause more ban waves
|
I think this is one of the largest reasons that public frameworks have disappeared. Some people bot from here as a hobby but some actually are selling gold for real money. So why put more competition into the pool that also damages their business with more banwaves?
The skills needed to actually properly update old frameworks or make your own are also quite a bit higher than scripting a simple bot in gwa2. The last thing to keep in mind is the majority of non contributing end bot users are cancer to an already old game. Strong easy to use frameworks just lead to PvP and other game formats being trolled by children. It also leads to run away inflation of in game items and reduced gold purchases if a regular player can just download a fully working bot.
|
|
|
05/23/2020, 19:23
|
#132
|
elite*gold: 0
Join Date: May 2020
Posts: 9
Received Thanks: 2
|
The topic of this thread is creating an updated, public framework, so what's the point of arguing that we shouldn't have an updated, public framework?
EDIT: As far as "Many People don't want to have everyone access to the bots - this would cause more ban waves", this isn't a bot, this is a library to use to create bots. It still requires basic knowledge to create bots and, easy as we know it is, to most children and hobbyist, the hurdle is still too high to even get started and try.
Regarding ease of fixes... That's true, but why require everyone to make changes to their own doc when you can have one here that's easy? People can even fork their own private libraries off this and continue to roll updates from this branch into theirs easily+seamlessly, so it even helps people who are attempting to sell bots and/or libraries.
|
|
|
05/27/2020, 04:27
|
#133
|
elite*gold: 0
Join Date: Jan 2010
Posts: 28
Received Thanks: 45
|
Im trying to figure out how to fix the salvage thingy. But im rather bad at reverse engineering.
One thing did work though, and that's manually clicking salvage in the game and calling SalvageMaterials() with
Global Const $HEADER_SALVAGE_MATS = 0x81
For mods:
Global Const $HEADER_SALVAGE_MODS = 0x82
But i havent tested with mod yet.
But.. I want StartSalvage to work obviously
My guess is that following is broken
1. PatternScan for SalvageGlobal and SalvageFunction
2. And CommandSalvage probably has to get reworked.
It's easy to find the salvage function in the memory... i just dont know what to do with it.
I updated my the pattern scan for SalvageFunction, im pretty sure this was a correct change. Just a pointer to the start address of the function. correct no?
As for SalvageGlobal.. im not 100% sure what this needs to be. As you can see in the image, the SalvageFunction uses the address stored in ESP to retrieve the parameters (itemid, sessionid, kitid). So i thought that that address was the the SalvageGlobal. I created some pointers so autoit could retrieve it and use it in the bot.
But.. the game still crashes. The only thing that is left, CommandSalvage, and i dont know what to do with it.
So either CommandSalvage needs an update or i dont have the correct pointer to SalvageGlobal.. Or both.
void SalvageFunc1(int32_t a1, int32_t a2, int32_t a3) {
int32_t eax4;
eax4 = fun_2ea890(16, (int32_t)__zero_stack_offset() - 4 - 20, 0x7e, a1, a2, a3);
SendPacket(eax4, 16, (int32_t)__zero_stack_offset() - 4 - 20, 0x7e, a1, a2, a3);
fun_3ee854(0x7e, a1, a2, a3);
return;
}
|
|
|
05/28/2020, 08:19
|
#134
|
elite*gold: 0
Join Date: Jan 2010
Posts: 28
Received Thanks: 45
|
OH MY FUCKING GOD.... I FUCKING DID IT!! I FIXED THE SALVAGING!! HOOOLLY FUCK  yeah, sorry, im a total noob at reverse engineering,, this is such a big step for me.
Anyway, here it goes
Replace the old "_('CommandSalvage:')" part with:
Code:
_('CommandSalvage:')
_('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')
_('ljmp CommandReturn')
Replace old SetValue(... with:
Code:
SetValue('SalvageFunction', '0x' & Hex(GetScannedAddress('ScanSalvageFunction', -10), 8))
SetValue('SalvageGlobal', '0x' & Hex(MemoryRead(GetScannedAddress('ScanSalvageGlobal', 1) - 0x4), 8))
Replace old _('Scan... with:
Code:
_('ScanSalvageFunction:')
AddPattern('33C58945FC8B45088945F08B450C8945F48B45108945F88D45EC506A10C745EC7E')
_('ScanSalvageGlobal:')
AddPattern('8B5104538945F48B4108568945E88B410C578945EC8B4110528955E48945F0')
You also need to change the following headers for SalvageMaterials & mods
Code:
Global Const $HEADER_SALVAGE_MATS = 0x81
Global Const $HEADER_SALVAGE_MODS = 0x82
One problem that remains is that after calling SalvageMaterials() or Mods() the popup window will not close by itself, and when u close it, it disconnects u. I don't know, maybe u guys know more about this, i never used these functions before.
|
|
|
05/28/2020, 11:37
|
#135
|
elite*gold: 0
Join Date: Nov 2017
Posts: 179
Received Thanks: 130
|
dont work for me
|
|
|
 |
|
Similar Threads
|
[GWA2] How to chase after updated header values?
11/14/2024 - GW Bots - 11 Replies
Hi all,
First post, but have been following the tips all over this forum for about 6 months since I started writing my own bots.
Recently the server headers changed, and although it looks like the community have pulled through and released a new version of GWA2 to reflect it, there are other headers that I'm using, that aren't in the vanilla GWA2 code.
SendPacket(0x14, 0x6F, $lItemID, $lQuantity, $lBagID, $aSlot - 1)
The above command would have previously told GW to move $lQuantity...
|
Leader/followbot - Updated with new GWA2/headers (functional)
07/21/2019 - GW Exploits, Hacks, Bots, Tools & Macros - 29 Replies
EDIT: Updated 6/16/18
Hey all,
I updated the follow/leader bot with the new headers (I think there were a few that I didn't bother updating, since the script doesn't seem to use them anywhere). I haven't done extensive testing, but it's working for me so far. Please let me know if you get any errors/crashes, and I'll attempt to fix them.
Enjoy!
|
GWA2 A/mo Vaettir Bot; Need Help!!
02/19/2012 - GW Bots - 1 Replies
http://www.elitepvpers.com/forum/gw-exploits-hacks -bots-tools-macros/1568881-gwa-vaettir-mo-farm-bot .html
ENGLISH:
I can't seem to get this to work. I've spent 3-4 hours, read the entire thread here, tried to search for a detailed guide on how to get this to work but it's not.
What I've done was: Downloaded the 2 files shown in the Original Post... "GWA2 A_Mo Vaettirs Farm by bl4ck3lit3.zip"
Extracted it to desktop
Ran GW.EXE as admin.
Set-up assassin with appropriate gear and...
|
All times are GMT +1. The time now is 17:05.
|
|