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 


[Help] Changing value 4bytes @ Startup of the CE

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
h4c0r-BG
Master Cheater
Reputation: 0

Joined: 29 Nov 2006
Posts: 449
Location: The yogurt country

PostPosted: Fri Nov 16, 2007 9:09 am    Post subject: [Help] Changing value 4bytes @ Startup of the CE Reply with quote

I've made so far a CE that autoattaches, autoopens the cheat table.

Now i want to automaticly at startup to change the value.

The place where i want to change the value is at:

label13.caption := '1000'; <--- doesn't work dont worry Wink

Anyone does know how to do that? Rolling Eyes

Working code is much appreciated.

_________________

Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Nov 16, 2007 1:19 pm    Post subject: Reply with quote

AS&R "label13.caption" to see if anything else changes it (overwriting your changes)
_________________
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Fri Nov 16, 2007 5:29 pm    Post subject: Reply with quote

Mainform.ChangeValue(itemnroftheiteminyourcheattablewhichisprobably0,'1000');

and if it's not in the cheat table use writeprocessmemory

_________________
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
h4c0r-BG
Master Cheater
Reputation: 0

Joined: 29 Nov 2006
Posts: 449
Location: The yogurt country

PostPosted: Sat Nov 17, 2007 6:10 am    Post subject: Reply with quote

Dark Byte wrote:
Mainform.ChangeValue(itemnroftheiteminyourcheattablewhichisprobably0,'1000');

and if it's not in the cheat table use writeprocessmemory


Well more simple would be (if position is the first line)

Code:
Mainform.ChangeValue(0,'1000');
Rolling Eyes

I've looked for a something like:

Mainform.CopyValue / Mainform.ReadValue / Mainform.ValueCopy ....

I need it because i want to put a tedit/tlabel (my own) and whenever i press a button the value (from position zero) to be readed and writed on my tedit/tlabel.

I know this would be harder but there should be a way of doing it?


Anyone got a working code/example ?

(i hope darkbyte again would help me)

_________________

Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Nov 17, 2007 6:16 am    Post subject: Reply with quote

when changing with changevalue memrec[0].OldValue gets the original value (as a string)

used by the not well known ctrl+z undo change key


so you can do labelx.caption:=memrec[0].oldvalue;

_________________
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
h4c0r-BG
Master Cheater
Reputation: 0

Joined: 29 Nov 2006
Posts: 449
Location: The yogurt country

PostPosted: Sat Nov 17, 2007 7:07 am    Post subject: Reply with quote

Okay thank you very much. Very Happy

One last thing i want to ask now. Smile

I want to whenever i press a button to freeze the value/enable a script at position "0 line", how is this done?

And is there a way to make "0 line" visible := false?

I hope i am not geeting annoying. Sad
But those are the last things I want to ask.

_________________

Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Nov 17, 2007 7:33 am    Post subject: Reply with quote

hmm, when the vertical scrollbar is at position 0:
frozenbox[0].OnMouseDown(frozenbox[0],mbleft,[],0,0);

but if there are more addresses in the list and you've scrolled down that isn't the case

and making the first one invisible is also harder, since there you have to edit updatescreen to check if it's the one you want to hide or not

_________________
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
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