Roman012 !BEWARE! Deletes post on answer Reputation: 0
Joined: 25 Dec 2022 Posts: 24
|
Posted: Sat Jan 21, 2023 3:10 am Post subject: Please help me |
|
|
Error in native thread called Unnamed::Invalid class object
???
Correct me, what's wrong here?
If the game is lost
If I try to activate
Lua Engine Crashes
Error in native thread called Unnamed::Invalid class object
function potokF(senderThread)
if (UDF1_CECheckbox1.Checked == true) then
stringListAddresses = AOBScan("C6 05 20 E5 57 00 00 B9 00 B0 65 00 BA 04 B0 65","*X*W-C")--Search
if (stringListAddresses==nil) then
UDF1_CECheckbox1.Checked = false
messageDialog("Not activated!", 1, 2)
return end
lenghtLines = stringlist_getCount(stringListAddresses)
for i = 0, lenghtLines-1 do
address = stringlist_getString(stringListAddresses, i)
writeBytes(address, 0x90, 0x90, 0xD9)---Replacement
UDF1_CECheckbox1.Checked = true
messageDialog("Activated!", 2, 2)
return end
else
if (UDF1_CECheckbox1.Checked == false) then
if lenghtLines ~= nil then
for i = 0, lenghtLines-1 do
address = stringlist_getString(stringListAddresses, i)
writeBytes(address, 0xC6, 0x05, 0x20);---Turning off
UDF1_CECheckbox1.Checked = false
messageDialog("Deactivated!", 2, 2)
return end
end
end
end
end
function UDF1_CECheckbox1Click(sender)
potok = createNativeThread(potokF)
end
Description: |
|
Filesize: |
13.65 KB |
Viewed: |
1097 Time(s) |
|
|
|