Difference between revisions of "Memory Functions"
From SolarStrike wiki
(New page: == memoryReadByte == '''byte memoryReadByte(handle, address)''' Reads a specific memory adress and returns a single byte. '''Example''' <source lang="lua"> HP = memoryReadInt( myProcess, ...) |
(→memoryReadByte) |
||
Line 1: | Line 1: | ||
== memoryReadByte == | == memoryReadByte == | ||
'''byte memoryReadByte(handle, address)''' | '''byte memoryReadByte(handle, address)''' | ||
+ | |||
+ | |||
Reads a specific memory adress and returns a single byte. | Reads a specific memory adress and returns a single byte. | ||
Revision as of 08:58, 14 July 2008
memoryReadByte
byte memoryReadByte(handle, address)
Reads a specific memory adress and returns a single byte.
Example
HP = memoryReadInt( myProcess, 0x0D2E0F90);
if( HP =< 100 ) then
printf("Hp[%d] dropping too low!",HP);
end