memoryChunk.getData() documentation
Posted: Fri Mar 03, 2017 2:58 pm
I hope there are still people around.
Anyway, it seems getData() is lacking another parameter
Edit: Figured it out. It needs it's own userdata, then the type, then a start offset, then an end offset. 4 parameters in total.
Anyway, it seems getData() is lacking another parameter
Code: Select all
number|string memorychunk:getData(string type, number offset)
Code: Select all
local o_chat = process.readChunk(pHandle, 0x2089B520, 520000);
local s_chat = o_chat.getData("string", 0); -- Wrong number of parameters supplied to getData()
print(s_chat);