View previous topic :: View next topic |
Author |
Message |
Rur3k Expert Cheater
Reputation: 0
Joined: 19 Aug 2008 Posts: 235 Location: HaHaVille Maryland
|
Posted: Wed Mar 02, 2016 11:00 pm Post subject: CE 6.5 Freezing |
|
|
SO I have a quick question hopefully easy enough to get an answer...
I have four hotkeys. insert delete page up page down
Function Freeze and Unfreeze work to toggle on and off Energy freeze (via pressing insert for freeze and delete for unfreeze)
Now, I have the second description in my cheat table is for health.
My question is how do I get (page up and page down) to toggle freeze on my second entry in my address list which is Health?
Code: | form_show(UDF1)
getAutoAttachList().add("Grim Dawn.exe")
function CloseClick()
closeCE()
return caFree
end
UDF1.OnClose = CloseClick
addresslist=getAddressList()
createHotkey(Freeze, VK_INSERT)
createHotkey(Unfreeze, VK_DELETE)
createHotkey(hFreeze, VK_PAGEUP)
createHotkey(hUnfreeze, VK_PAGEDOWN)
function Freeze(Sender)
CheatEntry=addresslist_getMemoryRecordByID(addresslist,0)
memoryrecord_freeze(CheatEntry)
end
function Unfreeze(sender)
CheatEntry=addresslist_getMemoryRecordByID(addresslist,0)
memoryrecord_unfreeze(CheatEntry)
end
function hFreeze(Sender)
CheatEntry=addresslist_getMemoryRecordByID(addresslist,1) --This is what needs to toggle Health Freeze
memoryrecord_freeze(CheatEntry)
end
function hUnfreeze(sender)
CheatEntry=addresslist_getMemoryRecordByID(addresslist,1) --This is what needs to toggle Health unfreeze
memoryrecord_unfreeze(CheatEntry)
end |
_________________
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Thu Mar 03, 2016 3:02 am Post subject: |
|
|
freeze and unfreeze shouldn't work either, as when createHotkey is called becore the functions are created
anyhow, are you sure the ID is 1? Copy paste the entry to text and check the id field
_________________
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 |
|
 |
Rur3k Expert Cheater
Reputation: 0
Joined: 19 Aug 2008 Posts: 235 Location: HaHaVille Maryland
|
Posted: Thu Mar 03, 2016 3:39 pm Post subject: |
|
|
Thanks Dark Byte for the accurate answer, solved my issue. That was the problem, the ID is 43 not 1! As far as the hotkeys freezing and unfreezing even though they are called before the functions, does not seem to be an issue the toggling works just fine.
All fixed, thanks a bunch!!!
|
|
Back to top |
|
 |
|