dl748 Advanced Cheater
Reputation: 0
Joined: 05 Mar 2016 Posts: 75
|
Posted: Sun Mar 08, 2020 1:56 am Post subject: LUA read function inconsistancy |
|
|
When running the read* functions i've noticed an inconsistancy, using an invalid memory address for the function
| Code: |
local x = readInteger(0xFFFFFFFFFFFF)
print(type(x)) -- Prints nil
|
| Code: |
local x = readSmallInteger(0xFFFFFFFFFFFF)
print(type(x)) -- Prints nil
|
| Code: |
local x = readQword(0xFFFFFFFFFFFF)
print(type(x)) -- Prints nil
|
| Code: |
local x = readPointer(0xFFFFFFFFFFFF)
print(type(x)) -- Prints nil
|
| Code: |
local x = readFloat(0xFFFFFFFFFFFF)
print(type(x)) -- Prints nil
|
| Code: |
local x = readDouble(0xFFFFFFFFFFFF)
print(type(x)) -- Prints nil
|
| Code: |
local x = readString(0xFFFFFFFFFFFF, 1)
print(type(x)) -- Prints nil
|
| Code: |
local x = readBytes(0xFFFFFFFFFFFF, 1) -- Access Violation lua error
print(type(x))
|
| Code: |
local x = readBytes(0xFFFFFFFFFFFF, 1) -- Cheat engine completely disappears
print(type(x))
|
Given that most functions return nil, i would expect the same for all functions.
|
|