GW Working Bots 2020

12/20/2020 14:42 DarthBrain#1186
Try using the bot another user posted after the post you mention. Then remove the code for identify/sell and enable store option if available.[/QUOTE]


I'm using the most recent one. It worked fine until the event began. After the event it would crash when exiting the town. After I did the header fix by adding the header files it exits the town, kills the first group and then gives a pick up loot error. I'm willing to pay someone to get this working for me (feather bot).

Thanks
12/20/2020 14:46 wolf_of_the_north#1187
Quote:
Originally Posted by Santa Clauz View Post
Copy and paste these into your bot folders. With scripts that are all in root folder, you will open the bot script itself and add "#include GWA2_Headers.au3" in the include section. Bots that have multi folder hierarchies such as omnibot will have to customize the include slightly more.
Thanks, I did that.
My question is how can I find and fix the adresses for the headers that have not been fixed by others yet?
12/20/2020 14:48 RDL420#1188
Quote:
Do you also have the right value for opening chest ? I downloaded the new header but it seems wrong since game crashes when it opens a chest. Right now i have

Code:
Global Const $HEADER_CHEST_OPEN = 0x52
Chest open header is right.Try modify this one maybe:
Code:
Global Const $HEADER_SIGNPOST_RUN = 0x50
12/20/2020 14:49 wolf_of_the_north#1189
Quote:
Originally Posted by Yoshikawa91 View Post
Headers can be found here :
[Only registered and activated users can see links. Click Here To Register...]
Most of them (if not all) are correct by now.
Do you have any idea what the Local $lOffset[4] = [0, 0x18, 0x2C, 0x690] headers are for? It seems to me like one of these might be the start salvage header? Maybe I can still find the old list of gwca headers on github and compare
12/20/2020 14:52 plox3#1190
Quote:
Originally Posted by zer0.de View Post
thx, this fix the error but now the bot runs outside and dont take the Q :thinking:

i think it happends her:
Code:
	if not $amDead then $casey = getAgentByName("Casey Carpenter")
	if not $amDead then goToNPC($casey)
is your bot working now? My just run out and nothing ....
12/20/2020 15:04 zer0.de#1191
This is working 4 me.

I change the line 101 & 190 to this:
Code:
	if not $amDead then GoNearestNPCToCoords(-1490, 3511)
and added the func:
Code:
Func GoNearestNPCToCoords($aX, $aY)
	Local $NPC
	MoveTo($aX, $aY)
	$NPC = GetNearestNPCToCoords($aX, $aY)
	Do
		RndSleep(250)
		GoNPC($NPC)
	Until GetDistance($NPC, -2) < 250
	RndSleep(500)
EndFunc
only the counter doesnt work, but i life with that :)
12/20/2020 15:14 Ridl3#1192
Quote:
Originally Posted by RDL420 View Post
Chest open header is right.Try modify this one maybe:
Code:
Global Const $HEADER_SIGNPOST_RUN = 0x50
Thanks, this worked for me.
12/20/2020 15:58 sarah0#1193
Hasnīt the rift warden appeared yet? Couldnīt find him anywhere. Neither LA nor Kamadan. Am i blind? :(
12/20/2020 16:00 RDL420#1194
Quote:
Originally Posted by sarah0 View Post
Hasnīt the rift warden appeared yet? Couldnīt find him anywhere. Neither LA nor Kamadan. Am i blind? :(
he will appear today at 20:00 UTC
12/20/2020 16:21 Jah74#1195
Hi,

Quote:
Originally Posted by Sky828 View Post
To fix the issue about it not going back to farm, trace back to the point in code where your bot travels to the outpost, then just add the MapL() function (in my bot) or whatever your function is for leaving longeyes.
Still have this problem.
I tried to do it in the - Vaettir Ident_Sell_ Fixed By Niliya- , but I couldn't really find where I've to change the code.

Any idea ?

Thank you for the help :)
12/20/2020 17:20 Kamyshin#1196
somebody found a way to fix salvage function?
12/20/2020 17:49 Gamerz1337#1197
what do i have to change so that he only travels in the rondom district of europe


func randomTravel($mapId)
local $region
local $language = 0
do
$region = random(1, 4, 1)
if $region = 2 then
$language = random(0, 7, 1)
if $language = 6 or $language = 7 then
$language = random(9, 10, 1)
endIf
endIf
until $region <> getRegion() and $language <> getLanguage()
if moveMap($mapId, $region, 0, $language) then
return waitMapLoadingFast()
endIf
EndFunc
12/20/2020 19:27 plox3#1198
Quote:
Originally Posted by zer0.de View Post
This is working 4 me.

I change the line 101 & 190 to this:
Code:
	if not $amDead then GoNearestNPCToCoords(-1490, 3511)
and added the func:
Code:
Func GoNearestNPCToCoords($aX, $aY)
	Local $NPC
	MoveTo($aX, $aY)
	$NPC = GetNearestNPCToCoords($aX, $aY)
	Do
		RndSleep(250)
		GoNPC($NPC)
	Until GetDistance($NPC, -2) < 250
	RndSleep(500)
EndFunc
only the counter doesnt work, but i life with that :)
Thanks mate :) is ur bot working fine? Im dying like 80% of the time :/ Running a necro
12/20/2020 19:44 Chris3239#1199
Snowball dominance bot hero flagging function (if not $amDead then commandHero(1, 5011, -603) during func prepare seems to be the problem. for me at least necro is not being flagged to the enemy team. Flagging him manually during a few tries resolved the dying issue mostly. Trying to get flagging function working did not give results yet dunno why. (CommandAll function did also not work properly in testing) Maybe someone else finds a solution.
12/20/2020 19:57 zer0.de#1200
yes some time he doesnt flagg it. then he do, i wrote a sleep(500) after the bot is casting her skill but not working 100%

on line 116
Code:
if not $amDead then Sleep(500)
I thought that the loading of the map would be too slow and that waiting might help...

the func "commandHero" is in the GWA2.au3 file, not in the header file. Maybe is there a mistake?
Snowball GWA2
Code:
;~ Description: Place a hero's position flag.
Func CommandHero($aHeroNumber, $aX, $aY)
	Return SendPacket(0x14, $HEADER_HERO_PLACE_FLAG, GetHeroID($aHeroNumber), FloatToInt($aX), FloatToInt($aY), 0)
EndFunc   ;==>CommandHero
and an old one

Code:
Func CommandHero($aHeroNumber, $aX, $aY)
	Return SendPacket(0x14, 0x12, GetHeroID($aHeroNumber), FloatToInt($aX), FloatToInt($aY), 0)
EndFunc   ;==>CommandHero
testing tomorow if the old one better works