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.Quote:
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.