Updated GWA2

07/05/2020 21:57 deroni93#211
Quote:
Originally Posted by CoderAndy View Post
@[Only registered and activated users can see links. Click Here To Register...]

fix for the GWA2 you mean or for that specific script ?

Edit:
the original GetHeroID func in latest public GWA2 works fine i tested with the Dev tool and i can add/kick heroes, leave group, add npc but i get a crash on kick npc cause probably the header is wrong, the rest of the headers was already correct,

i checked the specific script that you showing in the pic the speedbooking one (don't know if it's the same, i suppose you updated it from the collection of scripts that are posted) the script has the gimmick to ask the AgentID first and after the HeroID, i didn't run it or anything 0 idea why does that but i don't think the original func GetHeroID in GWA2 needs any update or rework.
Well the name GetHeroID would imply the function returns a HeroID, but it doesn't. It's confusing because an AgentID and a HeroID are very different things.

All the bots I've seen which manipulate heroes have declared the HeroID's themselves, but I also haven't seen any scripts which let the user customise a hero setup without editing an .ini or the script directly :bandit:

Quote:
Originally Posted by Deroni93
"Without this you won't be able to use the HeroKick functions, or any other functions that require a HeroID."
I meant to say dynamically here, of course those functions work if you plug a HeroID in yourself.
07/06/2020 19:44 sadosan#212
It never worked for a long period, as I told you.

Weither I use your version or the generic version of GetSkillBarSkillRecharge(), if acts the same:
- either it returns correct values in miliseconds
- or it returns weird values like "429500091" or "4294996496" or shit like that.
The pattern in the wrong number always looks the same, its a really long number (10digits?) that makes no sense when you look at it


Sometimes it works, sometimes it doesn't.
But once it works, it doesn't stop working until I close the script.
And once it doesn't work, it won't work suddendly during the farming.


As for how I use it, well as simply as its possible to use it:

Code:
if GetSkillBarSkillRecharge(8) < 4500 Then
Hope its clear
07/06/2020 20:44 list comprehension#213
Quote:
Originally Posted by sadosan View Post
It never worked for a long period, as I told you.

Weither I use your version or the generic version of GetSkillBarSkillRecharge(), if acts the same:
- either it returns correct values in miliseconds
- or it returns weird values like "429500091" or "4294996496" or shit like that.
The pattern in the wrong number always looks the same, its a really long number (10digits?) that makes no sense when you look at it


Sometimes it works, sometimes it doesn't.
But once it works, it doesn't stop working until I close the script.
And once it doesn't work, it won't work suddendly during the farming.


As for how I use it, well as simply as its possible to use it:

Code:
if GetSkillBarSkillRecharge(8) < 4500 Then
Hope its clear
I tested CoderAndys version on a couple of 55 monk bots so very sensitive to skill up keep without issue to recast protective spirit before it expires. I didn't have a single instance of invalid value. I am wondering if it could be related to your script or gwa2 api you are using.
07/07/2020 03:11 sadosan#214
Quote:
Originally Posted by list comprehension View Post
I tested CoderAndys version on a couple of 55 monk bots so very sensitive to skill up keep without issue to recast protective spirit before it expires. I didn't have a single instance of invalid value. I am wondering if it could be related to your script or gwa2 api you are using.
is there any way we can exchange about it outside of the forum? For fluidity purposes, I think it would make it way easier. I can show u my script. As for my gwa2, I think its fairly standard, I even tried Andy's version of the functions (getskilltimer() and getskillbarskillrecharge()) and they act the exact same in the script, so yeah maybe it somehows comes from my script :confused::confused:
07/08/2020 06:39 list comprehension#215
Quote:
Originally Posted by CoderAndy View Post
@[Only registered and activated users can see links. Click Here To Register...]
man first we trying to help and second you saying that there is a problem with a specific func/code that i posted and we want to find the problem and fix it, it's better to speak publicly cause someone can use that post in future to understand or fix a problem,

i don't need to see your script you already posted the main func (KeepUpBoon) and you use the latest puclic GWA2 so i don't think there is something else that would affect SkillbarSkillRecharge,





do a simply test:
take a skill with 45 sec of recharge, before you use the skill ask to write in console for the SkillRecharge then use the skill and ask again for the recharge, do a sleep of 10 or 15 secs and ask again,

with what you saying at previous posts you should take values like 35000 remaining milisec or 30000 milisec, do that and take a screenshot and post it plz also you didn't say which way you asking for this values in the code i mean.
Yep, that is a solid way to test and I couldn't agree more to keep information like this public for the next time someone runs into it. A large amount I know about the gw engine came from debugging it but vast amounts also came from reading public problems/solutions.
07/08/2020 13:30 sadosan#216
the goal from going private is not to retain the possible fix and hide it to the public. It is to smoothen the process and narrow the possible problem. You guys see the evil where it's not.
07/09/2020 02:55 logicdoor#217
Has anyone noticed that the GetPing() function always returns 0?
Seems the memory address used in the $mping variable is outdated, at least in my GWA2 it is.
Anyone has the correct value?
07/29/2020 21:21 Air.Fox#218
Quote:
Originally Posted by logicdoor View Post
Updated GWA2 with fixed ping.
Could you please confirm this works? I seem to still be getting always 0
07/30/2020 04:56 logicdoor#219
Quote:
Originally Posted by Air.Fox View Post
Could you please confirm this works? I seem to still be getting always 0
You're right, I have been testing the new pattern scan with memory reads between and 100 and still zero. So it seems the new pattern scan I was given is not working.
07/30/2020 10:02 Zvend#220
Quote:
Originally Posted by logicdoor View Post
You're right, I have been testing the new pattern scan with memory reads between and 100 and still zero. So it seems the new pattern scan I was given is not working.
What is the current Pattern? I dont see the updated GWA2 from you

Code:
_('ScanPing:')
AddPattern('8D9B000000008B048D')

$mPing = MemoryRead(GetScannedAddress('ScanPing', 10))
For those with GetPing problems.
07/30/2020 22:53 logicdoor#221
Quote:
Originally Posted by Zvend View Post
What is the current Pattern? I dont see the updated GWA2 from you
Thanks for providing yours, seems there was a mix up while GWA2 was shared with me. I have updated the GWA2 in attachment.

Now pingsleep is working perfectly!
08/07/2020 16:50 logicdoor#222
Quote:
Originally Posted by logicdoor View Post
Thanks for providing yours, seems there was a mix up while GWA2 was shared with me. I have updated the GWA2 in attachment.

Now pingsleep is working perfectly!
Added "userheroskill" for those who need it.
08/08/2020 12:08 guiposs#223
thanks
11/24/2020 13:25 Maltram#224
Are there any known issues with the DepositGold-function?

It calculates the correct amount but ingame nothing happens.
12/01/2020 13:36 Just Sunny#225
Hello, does anybody have an up-to-date gwa2 that could share with us? Thanks in advance!