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 


What Is The Differenc Between GetKeyState And RegisterHotkey

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Wheel Of Fate
Advanced Cheater
Reputation: 0

Joined: 01 Oct 2010
Posts: 75

PostPosted: Wed Oct 27, 2010 2:50 pm    Post subject: What Is The Differenc Between GetKeyState And RegisterHotkey Reply with quote

Hi I used Trainer That Made By Cheat Engine But Its Slow And Its Stop Responding Sometimes And I Used
Trainer Made By Another Trainer Makers But It Was Fast And Reliable
I Would Like To Ask Why This Happens?
I Think Cheat Engine Trainer Use RegisterHotkey
And Other Trainer Maker Use GetKeyState
Is There Is A Way To Fix That?
Back to top
View user's profile Send private message AIM Address
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25804
Location: The netherlands

PostPosted: Wed Oct 27, 2010 3:19 pm    Post subject: Reply with quote

Cheat Engine Uses Getkeystate

As For The Difference:
Getkeystate Is Called Every Few Milliseconds Whereas Registerhotkey Is Only Called Once And From Then On It Recieves Hotkey Messages When The Hotkey Is Pressed.

Downside With Registerhotkey Is that A Lot Of Games Disable Hotkey During The Game So That It Doesn't Interfere With Their Own Key Config
Also, With Registerhotkey You Are Limited To A Max Of 3 Keys, Of Which 2 May Only Be Ctrl, Alt Or Shift

_________________
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
View user's profile Send private message MSN Messenger
Fantasy
I post too much
Reputation: 13

Joined: 29 Jul 2007
Posts: 3113

PostPosted: Wed Oct 27, 2010 7:10 pm    Post subject: Reply with quote

pLEASE uSE lESSER cAPITAL lETTERS.

Also, the first things you're saying in your post is a bit hard to understand .. ?
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Wed Oct 27, 2010 8:38 pm    Post subject: Reply with quote

He has problems with CE trainers on His computer. Strange issues indeed that I don't have with the same trainer, even on lower spec comps. The problem is that the cheat activation is slow (taking seconds) or not even working in some cases. I have about 0 clue why, doesn't seem like a performance issue, I have used CE even on a Pentium 2 comp with WIN98 and worked (the basic features) but it doesn't work for Him properly.

So since He is clueless and the problem cannot be reproduced, He posted here to ask.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25804
Location: The netherlands

PostPosted: Wed Oct 27, 2010 9:16 pm    Post subject: Reply with quote

if it's a cheat with one or even more AOB's then activating the cheat will take a while

If he doesn't have much memory the pagefile will be accessed a lot and will be slow

edit:

512MB
It will be slow if the game uses at least 300MB (most do) and the cheat uses AOBScans

_________________
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
View user's profile Send private message MSN Messenger
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Wed Oct 27, 2010 9:26 pm    Post subject: Reply with quote

No, it doesn't contain any aobscan and the script itself is as simple as it can be. The problem is not with the script, nothing unusual or special.

It is totally unreproducable even on lower spec computers. I guess it is some 3rd party program or maybe some specific thing because of the language of His opsystem maybe. No clue.

I have used CE on a Pentium 3 (700 Mhz) with 512 MB RAM for a while without any similar issues. But that was about 2 years ago, I don't think that CE has become so much more memory or CPU intensive to do basic things like to enable a very simple script.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Mon Nov 08, 2010 4:03 am    Post subject: Reply with quote

An AV could be interfering here. Based on the amount of complaints i receive for trainers not working because of the AVs interference, i would highly doubt its the same issue here.

Add the trainer to exception list or disable the av then check it.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
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