View previous topic :: View next topic |
Author |
Message |
moon1 How do I cheat? Reputation: 0
Joined: 11 Apr 2022 Posts: 5
|
Posted: Tue Apr 12, 2022 1:05 am Post subject: Freeze value |
|
|
Hello, I do have a quick question. I have successfully played with the AS code. However, the value defaults to 0 overtime (maybe 10-15 seconds after clicking the level buttons). How do I freeze the value of the 'AS' so it won't be a hassle clicking the buttons time and time again?
Listed below is the code used for the 'AS' scan.
Code: | -- AS --
CETrainer.CEButton5.OnClick=function() --AS LEVEL 1 ..
local mr2 = AddressList.getMemoryRecordByDescription('AS')
mr2.value = 0.4
print("Level 1 AS Active!")
end
CETrainer.CEButton6.OnClick=function() --AS LEVEL 2.
local mr2 = AddressList.getMemoryRecordByDescription('AS')
mr2.value = 0.8
print("Level 2 AS Active!")
end
CETrainer.CEButton7.OnClick=function() --AS LEVEL 3.
local mr2 = AddressList.getMemoryRecordByDescription('AS')
mr2.value = 1
print("Level 3 AS Active!")
end
CETrainer.CEButton8.OnClick=function() --AS OFF.
local mr2 = AddressList.getMemoryRecordByDescription('AS')
mr2.value = 0.18
print("AS turned off.")
end | [/img][/code]
|
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1257
|
Posted: Tue Apr 12, 2022 2:58 am Post subject: |
|
|
You can edit the timer value for the pressure calculation.
Here is an example:
Code: | if frzTim1 then frzTim1.Destroy() frzTim1=nil end
frzTim1=createTimer(false) frzTim1.Interval=10 frzTim1.Enabled=false
local adrr1=""
local val1=0
local frzIndex=0
frzTim1.OnTimer=function()
frzIndex = tonumber(frzIndex) + 1
if frzIndex==150 then --15=1500 msec, 1.5 sec .. 150=15.000 msec, 15 sec
frzTim1.Enabled=false
else
adrr1.Value = val1
end
end
CETrainer.CEButton5.OnClick=function() --AS LEVEL 1 ..
adrr1 = AddressList.getMemoryRecordByDescription('AS')
val1 = 0.4
frzIndex=0
frzTim1.Enabled=true
print("Level 1 AS Active!")
end
CETrainer.CEButton6.OnClick=function() --AS LEVEL 2.
adrr1 = AddressList.getMemoryRecordByDescription('AS')
val1 = 0.8
frzIndex=0
frzTim1.Enabled=true
print("Level 2 AS Active!")
end
CETrainer.CEButton7.OnClick=function() --AS LEVEL 3.
adrr1 = AddressList.getMemoryRecordByDescription('AS')
val1 = 1
frzIndex=0
frzTim1.Enabled=true
print("Level 3 AS Active!")
end
CETrainer.CEButton8.OnClick=function() --AS OFF.
adrr1 = AddressList.getMemoryRecordByDescription('AS')
val1 = 0.18
frzIndex=0
frzTim1.Enabled=true
print("AS turned off.")
end |
_________________
|
|
Back to top |
|
|
moon1 How do I cheat? Reputation: 0
Joined: 11 Apr 2022 Posts: 5
|
Posted: Tue Apr 12, 2022 3:20 am Post subject: |
|
|
Thank you for this code again AylinCE!
I tried it using in 'AS' however, whenever I use a single skill in-game, the 'AS' value returns to its default value which is "0". Is there any workaround with this one?
|
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1257
|
Posted: Tue Apr 12, 2022 5:29 am Post subject: |
|
|
I'm sorry, it's my fault.
Replace the existing code with the code below.
(Address active true)
Code: | frzTim1.OnTimer=function()
frzIndex = tonumber(frzIndex) + 1
if frzIndex==150 then --15=1500 msec, 1.5 sec .. 150=15.000 msec, 15 sec
adrr1.Active = false
frzTim1.Enabled=false
else
adrr1.Value = val1
adrr1.Active = true
end
end |
_________________
|
|
Back to top |
|
|
moon1 How do I cheat? Reputation: 0
Joined: 11 Apr 2022 Posts: 5
|
Posted: Tue Apr 12, 2022 6:22 am Post subject: |
|
|
Thank you again for this fix AylinCE! I have tried it and it's the same. Whenever that I get/drop an item, the 'AS' goes back to where it was initially.
Here's the full code that I am using with this 'AS'
Code: | -- AS --
if frzTim1 then frzTim1.Destroy() frzTim1=nil end
frzTim1=createTimer(false) frzTim1.Interval=1 frzTim1.Enabled=false
local adrr1=""
local val1=0
local frzIndex=0
frzTim1.OnTimer=function()
frzIndex = tonumber(frzIndex) + 1
if frzIndex==150 then --15=1500 msec, 1.5 sec .. 150=15.000 msec, 15 sec
adrr1.Active = false
frzTim1.Enabled=false
else
adrr1.Value = val1
adrr1.Active = true
end
end
CETrainer.CEButton5.OnClick=function() --AS LEVEL 1 ..
adrr1 = AddressList.getMemoryRecordByDescription('AS')
val1 = 0.4
frzIndex=0
frzTim1.Enabled=true
CETrainer.CELabel3.caption="Level 1 AS Active!"
end
CETrainer.CEButton6.OnClick=function() --AS LEVEL 2.
adrr1 = AddressList.getMemoryRecordByDescription('AS')
val1 = 0.8
frzIndex=0
frzTim1.Enabled=true
CETrainer.CELabel3.caption="Level 2 AS Active!"
end
CETrainer.CEButton7.OnClick=function() --AS LEVEL 3.
adrr1 = AddressList.getMemoryRecordByDescription('AS')
val1 = 1
frzIndex=0
frzTim1.Enabled=true
CETrainer.CELabel3.caption="Level 3 AS Active!"
end
CETrainer.CEButton8.OnClick=function() --AS OFF.
adrr1 = AddressList.getMemoryRecordByDescription('AS')
val1 = 0.18
frzIndex=0
frzTim1.Enabled=true
CETrainer.CELabel3.caption="AS is turned off!"
end | [/code]
|
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1257
|
Posted: Tue Apr 12, 2022 7:03 am Post subject: |
|
|
Code: | if frzTim1 then frzTim1.Destroy() frzTim1=nil end
frzTim1=createTimer(false) frzTim1.Interval=1 frzTim1.Enabled=false
local adrr1=""
local val1=0
local frzIndex=0
frzTim1.OnTimer=function()
frzIndex = tonumber(frzIndex) + 1
if frzIndex==150 then --15=1500 msec, 1.5 sec .. 150=15.000 msec, 15 sec
adrr1.Active = false
frzTim1.Enabled=false
else
adrr1.Value = val1
adrr1.Active = true
end
end |
Interval 1 * 150 = 0.150 seconds.
Look at the code below;
Code: | if frzTim1 then frzTim1.Destroy() frzTim1=nil end
frzTim1=createTimer(false) frzTim1.Interval=1 frzTim1.Enabled=false
local adrr1=""
local val1=0
local frzIndex=0
frzTim1.OnTimer=function()
frzIndex = tonumber(frzIndex) + 1
if frzIndex==15000 then --1000=1 sec
adrr1.Active = false
frzTim1.Enabled=false
else
adrr1.Value = val1
adrr1.Active = true
end
end |
_________________
|
|
Back to top |
|
|
moon1 How do I cheat? Reputation: 0
Joined: 11 Apr 2022 Posts: 5
|
Posted: Tue Apr 12, 2022 11:07 pm Post subject: |
|
|
thank you for this one AylinCE! I somehow managed to make it work by playing with the values of the freeze timer. Thank you very much!
|
|
Back to top |
|
|
|