I have been doing a for loop in C from 0 to 769 and my loop has been "crashing" due to an exception.
It took me a while to figure out, but I started to realize that every mob ptr requires you to do the index * 0x4
Code:
0x00AE9944 + 0x1C + 0x1C + 0x24 + 0x50 + i * 0x4 + 0x11C
Does anyone know how this pointer exactly works? The range of the index? The incorrect indexs that return ?? Or simply know a way to fix this.
Am I doing something wrong? Because i * 0x4 would be 0,4,8,12,16,20,24,28,32, and so on, which doesnt seem too reliable to me.
Thanks in advance, I would really like some help on this one since I got everything else to work!






