Fixed :]
$NPC_ID_OFFSET[4] = $i * 0x00000004
$NPC_CURRENT_HP_OFFSET[5] = $i * 0x00000004
$NPC_COUNT_OFFSET[1] = 0x0000001C $NPC_COUNT_OFFSET[2] = 0x0000001C $NPC_COUNT_OFFSET[3] = 0x00000024 $NPC_COUNT_OFFSET[4] = 0x00000014
I fixed that, NPC_ID_OFFSET[4] is now [5] as well. ( Sorry, I tried a lot of things )Quote:
you use offset[4] here:
and offset[5] hereCode:$NPC_ID_OFFSET[4] = $i * 0x00000004
whatever else is going on, I can't imagine that being correct :)Code:$NPC_CURRENT_HP_OFFSET[5] = $i * 0x00000004
Still,, makes no sense. ( I have been trying to figure it out for hours now ).Quote:
2148532959 - 0/0
2148533140 - 0/0
2148533142 - 0/0
2148533143 - 0/0
2148533144 - 38336/38336
2148533145 - 0/0
2148533146 - 0/0
2148533147 - 0/0
2148533166 - 0/0
2148533167 - 0/0
2148533168 - 0/0
2148533257 - 0/0
2148533311 - 0/0
2148533312 - 0/0
2148533313 - 0/0
2148533314 - 0/0
2148533316 - 0/0
2148533359 - 0/0
2148532841 - 0/0
2148532843 - 0/0
2148532849 - 0/0
2148532843 - 0/0
2148532849 - 0/0
2148532849 - 0/0
2148532845 - 0/0
2148532849 - 0/0
3361502062 - 828125655/1953393007
That's what resolves the pointer to the individual NPC structures.Quote:
Then what is the x * 4 for?
I am targeting mobs using packets.Quote:
That's what resolves the pointer to the individual NPC structures.
Pointers are 4 byte in 32 bit processes, so that+ why it's i * 4. The i is the index, i.e the place where mob is found in list. I guess you're using unsorted mob list? I didn't check your offsets/code :)
Edit : yeah, you are using unsorted one.
Several ways really:Quote:
Which pop-ups a question, how would you integrate Anti- KillSteal?