[GWA2] (+ [OmniApi]) Update 2023 ?

05/09/2024 20:49 AlienMan9696#16
Quote:
Originally Posted by logicdoor View Post
I think you haven't used the optimized functions from the file I shared, correct? I see it uses dllstruct to pull information instead of pointers.

The version I shared should be fairly plug and play, was there anything missing?



Have you used the optimized GWA2 I posted above? The movement function makes a lot of difference because the old one had a sleep to ensure you reached your destination whereas in the optimized function I shared it calculates actual distance and there is no useless sleep, and it is not vulnerable to lag (the old function could sometimes leave you stranded when there is lag).

Overall all functions should function better, especially functions that count enemies or detect effects.

Did you have to make adjustments to plug it to your bots? When i started the file, I was paying close attention to protect reverse compatibility with older bots, but in case you encounter anything missing let me know, worst case a function name would be slightly different.
He's moved onto to using mostly logic and using that gwa-censured logic he posted with froggy hm bot and moddok bot. We were both in a discord with Greg and he helped us out a lot.
05/10/2024 02:30 logicdoor#17
Quote:
Originally Posted by AlienMan9696 View Post
He's moved onto to using mostly logic and using that gwa-censured logic he posted with froggy hm bot and moddok bot. We were both in a discord with Greg and he helped us out a lot.
Nice to see it is helpful.
05/10/2024 03:17 AlienMan9696#18
Quote:
Originally Posted by logicdoor View Post
Nice to see it is helpful.
Is honestly insane, the way you things are simplified in logic and that gwa2 optimized! Makes it possible for someone with little to no experience to jump right in. I just recently got into it a few years ago so I'm still pretty fresh, if you're okay with it i'd love to get your discord and ask some questions about some functions i discovered in there recently! So thanks for all your work bro <3
05/10/2024 07:48 Hiking Corey#19
I am looking forward to your project and the optimized copies of GWA to try.
05/10/2024 10:55 fury90723#20
This thread is underrated, thank you all for the work
05/10/2024 19:04 GravityDefyingApple#21
Yup, thank you very much. Recent topic pointed few of us to this awesome thread :)
05/11/2024 01:42 Hiking Corey#22
[Only registered and activated users can see links. Click Here To Register...]

I gave this thread a 5 star rating. An image is linked in my post as how to use the rating system, but it says due to my post count that it will not be shown. Here is a direct link either way.

[Only registered and activated users can see links. Click Here To Register...]
05/16/2024 09:59 cyril392#23
Hey
Thanks for this post with the new versions! I tried the optimized version of Logicdoor, but the github is no longer maintained?
Also, since the last version of May 14 following the update on gw, the enterchallkange causes 007. I thought it was a header issue but it works sometimes and in the majority of cases 007. It seems that version 6.16 of the toolbox has the same problem, but it was fixed in version 6.18, but looking at the changes on their git I can't figure out what they've changed about it. Do you have any idea?
05/16/2024 10:03 geneticcleans#24
Quote:
Originally Posted by cyril392 View Post
Hey
Thanks for this post with the new versions! I tried the optimized version of Logicdoor, but the github is no longer maintained?
Also, since the last version of May 14 following the update on gw, the enterchallkange causes 007. I thought it was a header issue but it works sometimes and in the majority of cases 007. It seems that version 6.16 of the toolbox has the same problem, but it was fixed in version 6.18, but looking at the changes on their git I can't figure out what they've changed about it. Do you have any idea?
i'm glad i'm not the only to have the same issue when I try to enter a challenge, I also have 007 error. If anyone have any clue, would be great :handsdown:
05/16/2024 12:43 aracno974#25
Quote:
Originally Posted by cyril392 View Post
Hey
Thanks for this post with the new versions! I tried the optimized version of Logicdoor, but the github is no longer maintained?
Also, since the last version of May 14 following the update on gw, the enterchallkange causes 007. I thought it was a header issue but it works sometimes and in the majority of cases 007. It seems that version 6.16 of the toolbox has the same problem, but it was fixed in version 6.18, but looking at the changes on their git I can't figure out what they've changed about it. Do you have any idea?
Same 007 for me, i can reduce error rate by putting a big sleep (sleep ("20000")) before EnterChallenge().
And GetLastDialogID() also return an empty value.
05/16/2024 16:51 AlienMan9696#26
Quote:
Originally Posted by aracno974 View Post
Same 007 for me, i can reduce error rate by putting a big sleep (sleep ("20000")) before EnterChallenge().
And GetLastDialogID() also return an empty value.
This sounds like you may need to update headers. Should be able to do so with this. Directions on how to use are in the folder. I'll try to look into it myself if I get some time, don't seem to be having any issues with enterchallenge or enterforeignchallenge myself.
05/16/2024 18:37 cyril392#27
Quote:
Originally Posted by AlienMan9696 View Post
This sounds like you may need to update headers. Should be able to do so with this. Directions on how to use are in the folder. I'll try to look into it myself if I get some time, don't seem to be having any issues with enterchallenge or enterforeignchallenge myself.
Can you psot your gwa2 pls ? Or try to enter pvp map with enterChalenge because for 10 times so many people got 5/6 errrors but sometimes it work
05/17/2024 13:08 AlienMan9696#28
Had zero issues entering codex on multiple instances using this. What pvp zones are you trying to enter? HA? This is a GWA2 from 2021 and I use it on tons of different bots when updating them.
05/17/2024 13:49 arahant#29
Same thing happens to me; calling the EnterChallenge() function results in a 007 disconnect error every time.

Code:
Global Const $HEADER_MISSION_ENTER = 0xA3

Func EnterChallenge()
    Return SendPacket(0x8, $HEADER_MISSION_ENTER, 1)
EndFunc
05/17/2024 15:21 AlienMan9696#30
Quote:
Originally Posted by arahant View Post
Same thing happens to me; calling the EnterChallenge() function results in a 007 disconnect error every time.

Code:
Global Const $HEADER_MISSION_ENTER = 0xA3

Func EnterChallenge()
    Return SendPacket(0x8, $HEADER_MISSION_ENTER, 1)
EndFunc
What Pvp zone are you trying to enter? That very well could have something to do with it. It's obviously a problem with headers then but not sure why you're receiving the error and I'm not. It will help me understand more If I know where you're trying to enter so I can go and try there myself.