|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
tukey How do I cheat? Reputation: 0
Joined: 15 Sep 2012 Posts: 5
|
Posted: Mon Sep 24, 2012 3:17 am Post subject: A another question about CE6.2 |
|
|
I want to refresh the value and display on the CEEdit after FormCreate,but it doesn't work,can anybody tell me how to do
I choose another way to realize it,it is put a button full the interface named"click me to start cheating",execute refresh() function and setVisable false after clicked,but it is not a nice way...
Code: | function FormCreate(sender)
Refresh()
end--I want to refresh the value after FormCreate,but it doesn't work
function CEButton1Click(sender)
Refresh()
end
function Refresh()
local level = readInteger("[[3a30e28]+8c]+110")
local fame = readInteger("[[3a30e28]+8c]+590")
local strength = readInteger("[[3a30e28]+8c]+570")
local dexterity = readInteger("[[3a30e28]+8c]+56c")
local focus = readInteger("[[3a30e28]+8c]+578")
local vitallty = readInteger("[[3a30e28]+8c]+574")
local hp = readFloat("[[3a30e28]+8c]+558")
local basehp = readInteger("[[3a30e28]+8c]+55c")
local mp = readFloat("[[3a30e28]+8c]+57c")
local basemp = readInteger("[[3a30e28]+8c]+580")
local stat = readInteger("[[3a30e28]+8c]+574")
local skill = readInteger("[[3a30e28]+8c]+5a4")
local experience = readInteger("[[3a30e28]+8c]+58c")
control_setCaption(TL2_levelEdit, level)
control_setCaption(TL2_fameEdit, fame)
control_setCaption(TL2_strengthEdit,strength)
control_setCaption(TL2_dexterityEdit,dexterity)
control_setCaption(TL2_focusEdit, focus)
control_setCaption(TL2_vitalltyEdit,vitallty)
control_setCaption(TL2_hpEdit, hp)
control_setCaption(TL2_basehpEdit, basehp)
control_setCaption(TL2_mpEdit, mp)
control_setCaption(TL2_basempEdit, basemp)
control_setCaption(TL2_statEdit, stat)
control_setCaption(TL2_skillEdit, skill)
control_setCaption(TL2_experienceEdit, experience)
end |
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Mon Sep 24, 2012 3:46 am Post subject: |
|
|
Execute this code once: (perhaps in formCreate)
Code: |
local t=createTimer(nil,false)
timer_onTimer(t, Refresh)
timer_setInterval(t,500)
timer_setEnabled(t, true)
|
This way your Refresh function gets called every half second
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
|
|
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
|
|