Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


2 Hotkeys for 1 address?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
!i ou i!
Grandmaster Cheater
Reputation: 0

Joined: 14 Jun 2004
Posts: 629

PostPosted: Sun Apr 01, 2007 2:55 pm    Post subject: 2 Hotkeys for 1 address? Reply with quote

I got a address that I wanna set 2 hotkeys to. Is there a way to do that?

The other way I tried already was to copy the address and make each one have a hotkey, but then they conflict with each other and keep changing the values back and forth
Back to top
View user's profile Send private message
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Sun Apr 01, 2007 4:07 pm    Post subject: Reply with quote

i dont understand, why do you need two hotkeys for one address?
_________________
Proud member of "The DACEF" (Distruction Against Criminal Egotistical Forces"

Sign up today and receive your free "I Hate x0r Badge"
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sun Apr 01, 2007 5:15 pm    Post subject: Reply with quote

Are you wanting to turn something on then off?
Back to top
View user's profile Send private message
ravicus
Master Cheater
Reputation: 0

Joined: 16 Dec 2006
Posts: 464

PostPosted: Sun Apr 01, 2007 6:55 pm    Post subject: Reply with quote

He probably is, in that case, he should probably use a script.
_________________
Back to top
View user's profile Send private message
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Mon Apr 02, 2007 5:19 am    Post subject: Reply with quote

i suppose he could split the script and have 1 part of it under a registersymbol, then give that part another hotkey.

but without knowing why he needs to do it, we cant really say.

_________________
Proud member of "The DACEF" (Distruction Against Criminal Egotistical Forces"

Sign up today and receive your free "I Hate x0r Badge"
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Mon Apr 02, 2007 9:40 am    Post subject: Reply with quote

SXGuy wrote:

but without knowing why he needs to do it, we cant really say.


This is the part that sums it all up.....


But he says he made a copy of the address and set it with a second hotkey.
Ok now then he says it keeps changing values back and forth.

Sound like it is working like it is supposed to. Just like if it was for on/off purpose. Of course it would change a value back and forth.

Example:

AD95C 90 90 <--- off Hotkey F Value NOP
AD95C 20 20 <--- on Hotkey G Value 157

So, by him not giving enough info on what he is asking. How the hell is anyone supposed to be able to attempt to help lol. Not to mention 4-1-07
Back to top
View user's profile Send private message
ravicus
Master Cheater
Reputation: 0

Joined: 16 Dec 2006
Posts: 464

PostPosted: Mon Apr 02, 2007 12:48 pm    Post subject: Reply with quote

I hate it when people ask for help and are as clear as mud.
_________________
Back to top
View user's profile Send private message
!i ou i!
Grandmaster Cheater
Reputation: 0

Joined: 14 Jun 2004
Posts: 629

PostPosted: Mon Apr 02, 2007 6:48 pm    Post subject: Reply with quote

k, there is an address I got, and I want to change the value from 1 and 0 whenever I want to. But you cant put 2 hotkeys on an address, that is why im asking for help.
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Mon Apr 02, 2007 6:55 pm    Post subject: Reply with quote

You need to do a script or make a trainer.
Trainer you can have a hotkey for it, or script...


I knew it was for turning something on and off.....
Back to top
View user's profile Send private message
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Tue Apr 03, 2007 2:27 am    Post subject: Reply with quote

Labyrnth wrote:
You need to do a script or make a trainer.
Trainer you can have a hotkey for it, or script...


I knew it was for turning something on and off.....


he didnt say on or off, he said value 1 or 0.

you dont need two hotkeys for that.


Code:

[enable]
alloc(switch,64)
label(hack)
label(hack2)
label(return)
registersymbol(change)

switch:
cmp [change],00
je hack
cmp [change],01
je hack2

hack:
mov eax,0
ORIGINAL OPCODES HERE
jmp return

hack2:
mov eax,1
ORIGINAL OPCODES HERE
jmp return




YOURADDRESS:
jmp switch
return:

[disable]
YOURADDRESS:
ORIGINAL OPCODES HERE
dealloc(switch,64)
unregistersymbol(change)


Tick the script and add "change" as an adress, change value to 1 or 0, whenever you want, to change the script.

but with the little information you gave me, thats roughly how it can be done, without knowing what opcodes are at your address or what register you want to change, i cant write a clear AA to show you.

so ive used EAX as an example, you will need to change that if its different, and add the information to it, that you have.

if you get stuck, then im afraid you will need to post more information, or you can pm me and ill help.

_________________
Proud member of "The DACEF" (Distruction Against Criminal Egotistical Forces"

Sign up today and receive your free "I Hate x0r Badge"
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Tue Apr 03, 2007 3:22 am    Post subject: Reply with quote

90% of the time 1 and 0 is on and off.||| enabled or disabled

Labyrnth wrote:
You need to do a script or make a trainer.
Trainer you can have a hotkey for it, or script...


I knew it was for turning something on and off.....


^ Im only talking about using one key here.
Back to top
View user's profile Send private message
Shikakapoop
Expert Cheater
Reputation: 2

Joined: 29 Nov 2006
Posts: 128

PostPosted: Tue Apr 03, 2007 4:11 am    Post subject: Reply with quote

2 hot keys for one address... that's so hot.

_________________
Back to top
View user's profile Send private message
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Tue Apr 03, 2007 4:40 am    Post subject: Reply with quote

Labyrnth wrote:
90% of the time 1 and 0 is on and off.||| enabled or disabled

Labyrnth wrote:
You need to do a script or make a trainer.
Trainer you can have a hotkey for it, or script...


I knew it was for turning something on and off.....


^ Im only talking about using one key here.


yeah i see what your saying, in coding, 1 and 0 are on or off.

he needs to be abit clearer, first he says he wants 2 hot keys, 1 to turn on and 1 to turn off, then later says, he wants 1 to change the value to 1, and another to change it to 0. LOL

but if he does want two hotkeys, 1 for 1 value, and a hotkey for another value then thats abit different.

Code:
[enable]
alloc(switch,64)
alloc(on,4) //may need more bytes
alloc(off,4)//may also need more bytes
label(hack)
label(hack2)
label(return)
registersymbol(on)
registersymbol(off)

on:
GIVE VALUE IN DD OR DB FOR 0

off:
GIVE VALUE IN DD OR DB FOR 1

switch:
cmp [off],00 //off
je hack
cmp [on],01 //on
je hack2

hack:
mov eax,0
ORIGINAL OPCODES HERE
jmp return

hack2:
mov eax,1
ORIGINAL OPCODES HERE
jmp return




YOURADDRESS:
jmp switch
return:

[disable]
YOURADDRESS:
ORIGINAL OPCODES HERE
dealloc(switch,64)
dealloc(on,4) //may need more bytes
dealloc(off,4)//may also need more bytes
unregistersymbol(on)
unregistersymbol(off)

tick the script, add on and off as an address, asign different hotkeys to each. (btw ive never tried this, so dont flame me if it dont work)

EDIT: actually i dont think this will work, as it stands, im writing this off the top of my head, someone else may want to jump in and correct any mistakes, i cant be botherd

_________________
Proud member of "The DACEF" (Distruction Against Criminal Egotistical Forces"

Sign up today and receive your free "I Hate x0r Badge"
Back to top
View user's profile Send private message
Joe3614
Advanced Cheater
Reputation: 0

Joined: 07 Feb 2007
Posts: 89

PostPosted: Tue Apr 03, 2007 6:14 am    Post subject: Reply with quote

Try highlighting both address's (CTRL-Clicking)
And then right click and set a hotkey?

_________________
Joex
Elite Hacker.
For my latest works visit:
http://JOESUPLOAD.tripod.com

"True hackers cannot be stopped. Only slowed down"
"I await the zombies of 2012 with 12 gauge shotguns, and open arms"
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Tue Apr 03, 2007 10:12 am    Post subject: Reply with quote

For the most part i think it would work with some tweaking... One thing i see is the switch is mixed up. Shouldnt the compare or je to [hack] be switched?
your doing a cmp to see if it is 00, then jump if equal to [hack] that injects 00 again Razz. But overall, it is still good for off the top or the head...


Code:
switch:
cmp [off],00 //off
je hack
cmp [on],01 //on
je hack2

hack:
mov eax,0
ORIGINAL OPCODES HERE
jmp return



hack2:
mov eax,1
ORIGINAL OPCODES HERE
jmp return

===============================================

Like this:
Code:
switch:
cmp [off],00 //off
je hack
cmp [on],01 //on
je hack2

hack:
mov eax,1                       // Change this to set it to 1
ORIGINAL OPCODES HERE
jmp return

hack2:
mov eax,0                      // Change this to set it to 0
ORIGINAL OPCODES HERE
jmp return



===============================================

Or like this, lol you can do it several ways to fix it.
Code:
switch:
cmp [off],00 //off
je hack2              // Change this to hack2
cmp [on],01 //on
je hack               // Change this to hack

hack:
mov eax,0
ORIGINAL OPCODES HERE
jmp return

hack2:
mov eax,1
ORIGINAL OPCODES HERE
jmp return
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites