View previous topic :: View next topic |
Author |
Message |
ahmadmahrous_1 How do I cheat?
Reputation: 0
Joined: 04 Dec 2011 Posts: 3
|
Posted: Mon Oct 29, 2012 12:15 pm Post subject: Setting and freezing a value using one hotkey |
|
|
How can I set and freeze a value using one hotkey in CE 6.2 (same as what in CE 5.6.1)?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25715 Location: The netherlands
|
Posted: Mon Oct 29, 2012 1:06 pm Post subject: |
|
|
Add two hotkeys with the same key combination to the entry
One freezes it. The other sets the value
_________________
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 |
|
 |
ahmadmahrous_1 How do I cheat?
Reputation: 0
Joined: 04 Dec 2011 Posts: 3
|
Posted: Tue Oct 30, 2012 9:17 am Post subject: |
|
|
Dark Byte wrote: | Add two hotkeys with the same key combination to the entry
One freezes it. The other sets the value |
this will make two entries in the form
how can i make it one entry in the form
|
|
Back to top |
|
 |
SteveAndrew Master Cheater
Reputation: 30
Joined: 02 Sep 2012 Posts: 323
|
Posted: Tue Oct 30, 2012 3:17 pm Post subject: |
|
|
ahmadmahrous_1 wrote: | Dark Byte wrote: | Add two hotkeys with the same key combination to the entry
One freezes it. The other sets the value |
this will make two entries in the form
how can i make it one entry in the form |
No it wont create two entries in the cheat list... Only if you made two manually (which isn't necessary) Just make sure to press create hotkey rather then edit for the second hotkey, maybe that's where you thought you needed to cheat table entries?
See attached image, two hotkeys, using same key combination, doing what you want...
And if you mean it creates two entries in the Set/Change hotkey window then so what? Why would that matter? That IS what you wanted isn't it? It's needs two entries, because they do different things, one sets and one freezes...
Description: |
|
Filesize: |
29.21 KB |
Viewed: |
38488 Time(s) |

|
_________________
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25715 Location: The netherlands
|
Posted: Tue Oct 30, 2012 3:45 pm Post subject: |
|
|
I think he means the generic trainerscript generator
Easiest method to solve that is to go into designer mode and just delete the second one. It's a visual thing only
_________________
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 |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Tue Oct 30, 2012 3:52 pm Post subject: |
|
|
@SteveAndrew
If you choose "generate generic trainer ...." it will create two entries.
@ahmadmahrous_1
create only "toggle freeze" hotkey
after generating generic trainer "script only", go to lua script, search for
onPostHotkey function
and just after:
local isActive=memoryrecord_isActive(memrec)
add this
if isActive then memoryrecord_setValue(memrec, 1500100900) end
1500100900 - your value;
now save as cetrainer or exe
_________________
|
|
Back to top |
|
 |
ahmadmahrous_1 How do I cheat?
Reputation: 0
Joined: 04 Dec 2011 Posts: 3
|
Posted: Wed Oct 31, 2012 5:19 pm Post subject: |
|
|
mgr.inz.Player wrote: | @SteveAndrew
If you choose "generate generic trainer ...." it will create two entries.
@ahmadmahrous_1
create only "toggle freeze" hotkey
after generating generic trainer "script only", go to lua script, search for
onPostHotkey function
and just after:
local isActive=memoryrecord_isActive(memrec)
add this
if isActive then memoryrecord_setValue(memrec, 1500100900) end
1500100900 - your value;
now save as cetrainer or exe |
Thank you this work perfect
But one more help what if I want to freeze and set more than one value by one hot key (in one entry) but I can not use header because I want to freeze two values and set the first to 100 and the second to 50
|
|
Back to top |
|
 |
|