-- Script de Cheat Engine modify multiple float addresses
-- Input addresses
local inputAddress = 0x19B5CD862C4 -- Dirección 1 (inputAddress)
local upAddress = 0x192891FCCA0 -- Dirección UP (upAddress)
local downAddress = 0x192891F4000 -- Dirección DOWN (downAddress)
local xValue = 100 -- Valor para calcular el porcentaje de aumento (Xvalue)
local yValue = 100 -- Valor para calcular el porcentaje de disminución (Yvalue)
-- Interval in miliseconds (1000 ms = 1 segundo)
local interval = 11
-- Function read value
local function readFloat(address)
return readFloat(address)
end
-- Function write value
local function writeFloat(address, value)
writeFloat(address, value)
end
-- Function calculate percentage
local function modifyValues()
-- Lee los valores actuales
local value1 = readFloat(inputAddress)
local value2 = readFloat(inputAddress + 0x890)
local value3 = readFloat(inputAddress + 0x1120)
local value4 = readFloat(inputAddress + 0x19B0)
local function readFloat(address)
return readFloat(address)
end
Why did you write this? That's a recursive function call with no end condition. It's just going to cause a stack overflow.
Don't name your functions the same as CE's functions. _________________
I don't know where I'm going, but I'll figure it out when I get there.
local function readFloat(address)
return readFloat(address)
end
Why did you write this? That's a recursive function call with no end condition. It's just going to cause a stack overflow.
Don't name your functions the same as CE's functions.
Thanks I changed for customfunctionname & fixed
Have a nice day
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum