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 


Merging CE 5.3's ProcessWatcher feature into CE Lite

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
Sucrose
How do I cheat?
Reputation: 0

Joined: 02 Nov 2006
Posts: 9

PostPosted: Fri Nov 03, 2006 11:12 am    Post subject: Merging CE 5.3's ProcessWatcher feature into CE Lite Reply with quote

In a response to Dark Byte's cute little hunt on finding the bug in the HotKey handler as a beginner I have a guess on what it might be...

Dark Byte wrote:
Too bad no one has figured out the bug in the hotkey handler yet (or actually how to fix it). It's sooooo easy....

If someone post here a fixed piece of code(or at least a good enough try to fix it) I'll upload a better version for you hotkey addicted people.

Hint:
procedure TForm1.hotkeypressed(var Message:TMessage);


Code:
procedure TForm1.Button8Click(Sender: TObject);
var i: integer;
begin
  cskeys.Enter; //multithreaded stuff

  hotkeythread.hotkeylist[0].keys:=hotkey1;
  hotkeythread.hotkeylist[0].windowtonotify:=handle;
  hotkeythread.hotkeylist[0].id:=1;
  hotkeythread.hotkeylist[0].handler2:=true;
  edit10.Font.Color:=clWindowText;
  cskeys.Leave;
end;


...the 'i' integer never used? Confused Not positive on that answer. Anyways, onto my actual question: How difficult would it be for me to import the ProcessWatcherUnit into the CE Lite application? I've already been working on it but it seems that the ProcessWatcher code uses the MainForm and some other forms of CE 5.3 that CE Lite doesn't necessarily need. Gets pretty confusing trying to look around and delete parts you don't think CE Lite would need, while messing stuff up in the process. Can someone tell me what I actually would need to import into my project to use the ProcessWatcher feature.
Back to top
View user's profile Send private message
vener
Grandmaster Cheater Supreme
Reputation: 0

Joined: 18 Feb 2006
Posts: 1668

PostPosted: Fri Nov 03, 2006 6:33 pm    Post subject: Reply with quote

i think
procedure TForm1.hotkeypressed(var Message:TMessage);
is a respond from WM_hotkey.

process watcher hmm....Allot of stuff.the driver plays the most important part
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Nov 04, 2006 1:05 am    Post subject: Reply with quote

it has to do with arrays not ebing filled or the identifier not properly set.
or with the code never ever getting executed (kinda forgot what it was)

anyhowm, for the processwatcher all you basicly need is calling "StartProcessWatch" once and then have a thread that constantly calls WaitForProcessListData and each time it returns it'll have filled in the processevent or threadevent with data you can read out

_________________
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
GameSpy
Grandmaster Cheater
Reputation: 0

Joined: 18 Aug 2006
Posts: 744
Location: Europe

PostPosted: Tue Nov 07, 2006 9:38 am    Post subject: Reply with quote

???????????????????????????????????????????????????????????????????????
_________________
If it can be done, it will be done.
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 Source 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