Memory Read Error... Cannot explain
Posted: Sun Apr 29, 2012 11:21 am
				
				Ok, so, wasting several hours I don't have I wanted to write a script to print off all visible objects that I could find in Aion...
After several hours of widdling down the very simple code I'm left with this:
Now, I'm looking at cheat engine at the memory addresses and they are VERY there.  Using the script I posted earlier "printinfo" for aion the targeted npc's info and everything print out without a problem.  I CANNOT for the life of me figure out why this script won't work. 
error:
Please help  
			After several hours of widdling down the very simple code I'm left with this:
Code: Select all
mywin = findProcess("AION*");
win = openProcess(mywin);
mainOffset = getModuleAddress(mywin, "Game.dll");
-- local addr=0xFE611020;
-- local tmp = memoryReadInt(myProc,addr);
local name = memoryReadUString(win,0xFA820038);
if name then
	name = string.sub(name,2,34);
	printf("Address:  0x%x is %s\n",0xFE610E00,name);
enderror:
Code: Select all
WARNING: Failure reading memory from 0x28FA08 at 0x80000000 in memoryReadUString
(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory reque
st was completed.)