GW Working Bots 2019!

05/07/2019 01:52 Jamamon#511
Quote:
Originally Posted by kymsy View Post
Hey guys, thank you for all the work so far, i'm following you since 4 years now.
I admit it, I almost never posted anything but thank you for all the sharing bot and maccro, you made me learn how to change some part in the code etc...

At least could you please send me the github of the Gwa2 header update, i found some but i'm not sure if it's a public opened one.
There's a post a few pages prior to this one with most of the headers updated in it. The header values were only incremented by 1 (i.e. 0x83 becomes 0x84, and so on). I'm not sure if all the headers were changed, or just some of them. Keep in mind that they're in hex format, so it can be handy to use a hex to decimal converter.
05/07/2019 07:44 oneshout#512
Quote:
Originally Posted by Jamamon View Post
There's a post a few pages prior to this one with most of the headers updated in it. The header values were only incremented by 1 (i.e. 0x83 becomes 0x84, and so on). I'm not sure if all the headers were changed, or just some of them. Keep in mind that they're in hex format, so it can be handy to use a hex to decimal converter.
The headers is easily to update, it's not as simple for GWA2.au3 wich is the hardest part for the bot update...

PS : At the moment, testing the 2019 Keyran 6.7 with the partial headers update + GWA2
- Bot work (path, kill, collect item) but...
- Bot can't switch weapon
- Bot + game crash when character die cuz it can't clic on the button :confused:
05/07/2019 09:57 schnoesel21#513
Quote:
Originally Posted by oneshout View Post
The headers is easily to update, it's not as simple for GWA2.au3 wich is the hardest part for the bot update...

PS : At the moment, testing the 2019 Keyran 6.7 with the partial headers update + GWA2
- Bot work (path, kill, collect item) but...
- Bot can't switch weapon
- Bot + game crash when character die cuz it can't clic on the button :confused:
$ReturnToOutpostHeader = 0xAD is the header i use. But it was still crashing until I commented out CHECKINVENTORY() in line 243.

Since then it is running fine for me.

Hope this helps.
05/07/2019 10:21 oneshout#514
Quote:
Originally Posted by schnoesel21 View Post
$ReturnToOutpostHeader = 0xAD is the header i use. But it was still crashing until I commented out CHECKINVENTORY() in line 243.

Since then it is running fine for me.

Hope this helps.

got the right header but The CHECKINVENTORY() trick seem to not do the job, still crashing
05/07/2019 10:42 schnoesel21#515
Quote:
Originally Posted by oneshout View Post
got the right header but The CHECKINVENTORY() trick seem to not do the job, still crashing
Thats my script to compare it. good luck
05/07/2019 10:56 oneshout#516
Quote:
Originally Posted by schnoesel21 View Post
Thats my script to compare it. good luck
Dunno what i've miss..yours is working well :confused: nvm, tks a lot ;)

PS :
- Switch weapon function don't work
05/07/2019 11:04 cruzmoreno27#517
Quote:
Originally Posted by schnoesel21 View Post
Thats my script to compare it. good luck
what is this bot used for?

I was wondering if there are any destroyer core farming bots?
05/07/2019 11:20 oneshout#518
Quote:
Originally Posted by cruzmoreno27 View Post
what is this bot used for?

I was wondering if there are any destroyer core farming bots?
The bot is intended to farm Supply war + vanguard point in same time.. short quest + 1k gold / 1250 Vanguard pts at the end, a good bot.
05/07/2019 11:55 schnoesel21#519
Quote:
Originally Posted by oneshout View Post
Dunno what i've miss..yours is working well :confused: nvm, tks a lot ;)

PS :
- Switch weapon function don't work
Switch weapon is one of the PerformAction Functions. I dont have a solution for that so far.
05/07/2019 13:26 SecurityByDesign#520
So, does someone have a solution for PerformAction? l'm still struggling with it?
05/07/2019 13:44 smiley232#521
Quote:
Originally Posted by schnoesel21 View Post
Switch weapon is one of the PerformAction Functions. I dont have a solution for that so far.
Code:
Func ChangeWeaponSetByPacket($aSet)
	Switch $aSet
		Case 1, 2, 3, 4
			Return SendPacket(0x8, 0x38, $aSet - 1)
		Case Else
			Return False
	EndSwitch
EndFunc
05/07/2019 15:12 oneshout#522
Quote:
Originally Posted by smiley232 View Post
Code:
Func ChangeWeaponSetByPacket($aSet)
	Switch $aSet
		Case 1, 2, 3, 4
			Return SendPacket(0x8, 0x38, $aSet - 1)
		Case Else
			Return False
	EndSwitch
EndFunc
from original GWA2 :
Code:
Func ChangeWeaponSet($aSet)
	Return PerformAction(0x80 + $aSet, 0x18)
EndFunc
If it's correct, Changing by yours does nothing...
05/07/2019 15:18 schnoesel21#523
Quote:
Originally Posted by oneshout View Post
from original GWA2 :
Code:
Func ChangeWeaponSet($aSet)
	Return PerformAction(0x80 + $aSet, 0x18)
EndFunc
If it's correct, Changing by yours does nothing...
It is working for me. Try to override your changeweaponset function with that:

Code:
;~ Description: Change weapon sets.
;Func ChangeWeaponSet($aSet)
;	Return PerformAction(0x80 + $aSet, 0x18)
;EndFunc   ;==>ChangeWeaponSet

Func ChangeWeaponSet($aSet)
	Switch $aSet
		Case 1, 2, 3, 4
			Return SendPacket(0x8, 0x38, $aSet - 1)
		Case Else
			Return False
	EndSwitch
EndFunc
05/07/2019 15:33 oneshout#524
Quote:
Originally Posted by schnoesel21 View Post
It is working for me. Try to override your changeweaponset function with that:

Code:
;~ Description: Change weapon sets.
;Func ChangeWeaponSet($aSet)
;	Return PerformAction(0x80 + $aSet, 0x18)
;EndFunc   ;==>ChangeWeaponSet

Func ChangeWeaponSet($aSet)
	Switch $aSet
		Case 1, 2, 3, 4
			Return SendPacket(0x8, 0x38, $aSet - 1)
		Case Else
			Return False
	EndSwitch
EndFunc
omg i'm so stupid.. really... i was trying to modify original GWA2 instead of the file 2019_GWA2_Gold who is use by this bot ...slap me hard :feelsbadman:
It's working now ;)
05/07/2019 15:45 Akira25#525
its working for me now. Thank you so far.
I'm a bit confused because the weapon was changed to slot 1 but at GW window still weapon slot 2 is active