Updated GWA2

12/01/2020 19:51 Restia Ashdoll#226
Quote:
Originally Posted by Just Sunny View Post
Hello, does anybody have an up-to-date gwa2 that could share with us? Thanks in advance!
What is the issue with the ones already shared like 3 post above?
12/01/2020 21:46 sarah0#227
Hello Guys,

is it possible, some headers or other adresses changed? I tried to use an older bot and everytime the bot wants to use the Changeweaponset(i)-function, the game crashes. I tried using the most recent gwa2 version, but the crash still happens. The gwa2 function looks like this:

Code:
;~ Description: Change weapon sets.
Func ChangeWeaponSet($aSet)
	Return PerformAction(0x80 + $aSet, 0x1E)
EndFunc   ;==>ChangeWeaponSet
The lines in my code are for example switching to weapon slot 2:
Code:
Changeweaponset(2)
Any ideas if the adress changed or why the game keeps crashing?
12/02/2020 04:19 Dragonel#228
@[Only registered and activated users can see links. Click Here To Register...]: It looks like some headers have changed because quite a few of the bots are crashing the games. Unfortunately I don't have a fix for it yet.
12/02/2020 04:47 Ramza360#229
Yea just test a really simple one and event GetAgentById is crashing, I thought there was a program in github or something that did the auto updates by looking things up while running the game but its been a while. Can do manually but takes time. Maybe someone else has alread done so or knows that url

The GetAgent for -2 and -1 all return null so can't get HP or stats, thinking the function headers is wrong (I'm using latest from here which might be why, seems thats off) running to and from maps works, changnign to hardmode works
12/02/2020 09:43 Yoshikawa91#230
Quote:
Originally Posted by sarah0 View Post
Hello Guys,

is it possible, some headers or other adresses changed? I tried to use an older bot and everytime the bot wants to use the Changeweaponset(i)-function, the game crashes. I tried using the most recent gwa2 version, but the crash still happens. The gwa2 function looks like this:

Code:
;~ Description: Change weapon sets.
Func ChangeWeaponSet($aSet)
	Return PerformAction(0x80 + $aSet, 0x1E)
EndFunc   ;==>ChangeWeaponSet
The lines in my code are for example switching to weapon slot 2:
Code:
Changeweaponset(2)
Any ideas if the adress changed or why the game keeps crashing?
Code:
;~ Description: Change weapon sets.
Func ChangeWeaponSet($aSet)
	Return PerformAction(0x80 + $aSet, 0x1E)
EndFunc   ;==>ChangeWeaponSet
I check my GWA2 with the above function and switching with
Code:
ChangeWeaponSet(1) ; Two hand weapon slot --> Working
Sleep(1500)
ChangeWeaponSet(2) ;Shield+Sword slot --> Working
Sleep(1500)
ChangeWeaponSet(3) ;Empty slot --> Working
Sleep(1500)
ChangeWeaponSet(99) ;Bad code --> No crash just do nothing
works fine.
12/03/2020 05:23 corey54321#231
only four weapon slots not 99
12/03/2020 08:11 Restia Ashdoll#232
Quote:
Originally Posted by corey54321 View Post
only four weapon slots not 99
obviously it was just a test to check wether gw would crash
12/03/2020 09:32 sarah0#233
I tested it again and did some research. For some reason the bot(s) started crashing, if u use toolbox at the same time. So starting it without toolbox "fixed" it for me.
12/03/2020 09:32 Yoshikawa91#234
Quote:
Originally Posted by corey54321 View Post
only four weapon slots not 99
Quote:
Originally Posted by Restia Ashdoll View Post
obviously it was just a test to check wether gw would crash

As the code itself (see below) and Restia said, it was just a test to see how GW reacts with a faulty slot number. And apparently, GW is pretty chilled about it. :D

Code:
 ChangeWeaponSet(99) ;Bad code --> No crash just do nothing
12/03/2020 17:45 Emixaa#235
Hello i would just know something, is someone working on the function disable rendering?
Using couples accounts makes my computer lagging :(
12/04/2020 21:13 Waka.Waka#236
Quote:
Originally Posted by Emixaa View Post
Hello i would just know something, is someone working on the function disable rendering?
Using couples accounts makes my computer lagging :(
oh no you poor poor botter...
its out there but not public and will never be
12/13/2020 20:05 natanders#237
Quote:
Originally Posted by Emixaa View Post
Hello i would just know something, is someone working on the function disable rendering?
Using couples accounts makes my computer lagging :(
imo its an easy task, if you arent familiar with scripts, then here is a quick fix that worked until i made my own

See if there is a working one from one of the other scripts then copy paste those functions and pull into one you want working.. done :D
12/20/2020 13:56 Death_Fire#238
I tried to fix it - but doesnt work.
Has someone a working one?
12/26/2020 01:16 matx61971#239
Has there been anouter update within the last 72 hours making scripts unstable?
12/26/2020 12:19 Restia Ashdoll#240
Quote:
Originally Posted by matx61971 View Post
Has there been anouter update within the last 72 hours making scripts unstable?
no