Perfect World what is Index *4 + 4 in delphi ? help me pls...

06/30/2016 23:20 derleyvolt#1
so peoples , I wanted to understand about that ''Index'' example :

structure players = base_fixo address + 1C + 1c + 20 + 18 + index * 4 + 4

What is ''Index *4 + 4 '' ?

how must i to use it ?

where must i to use it ?

why sometimes i see *8 + 4 or something like ?

Someone could explain me pls

Excuse my English, I hope you give it to understand.
06/30/2016 23:46 louco89#2
Index is the number of the loop in case use for, something like this:

Code:
    for I := 0 to iCount - 1 do
      ReadProcessMemory(W, ptr(Pointer + I * 4), playbase, 4, rw);
ICount is the numbers of itens in the world.
Pointer in that case is the memory read of: base_fixo address + 1C + 1c + 20 + 18.
PlayBase is the result of that address.