Page 1 of 1

Error in functions.lua for rev 660

Posted: Sun Oct 16, 2011 8:44 pm
by BillDoorNZ
hiya,

just updated to 660 and there is a bug in functions.lua:

lines 1462 and 1476

Code: Select all

1462: memoryWriteString(getProc(), functionTargetPatchAddr, string.char(0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90));
1476: memoryWriteString(getProc(), functionTargetPatchAddr, string.char(0x56, 0x8B, 0xCD, 0xE8, 0x99, 0x95, 0x27, 0x00));
the addresses prefix is missing off those references or a local declaraction is missing - should be:

Code: Select all

1462: memoryWriteString(getProc(), addresses.functionTargetPatchAddr, string.char(0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90));
1476: memoryWriteString(getProc(), addresses.functionTargetPatchAddr, string.char(0x56, 0x8B, 0xCD, 0xE8, 0x99, 0x95, 0x27, 0x00));

Re: Error in functions.lua for rev 660

Posted: Sun Oct 16, 2011 10:38 pm
by Golden Eggs 4 my Pet
Hi Bill,

Great find!

Thanks for your post.

It fixed the issues I had (see http://www.solarstrike.net/phpBB3/viewt ... =21&t=3036).

Golden Eggs 4 my Pet

Re: Error in functions.lua for rev 660

Posted: Sun Oct 16, 2011 11:09 pm
by lisa
fixed 661