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 


Editing text

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

Joined: 11 Jan 2017
Posts: 3

PostPosted: Wed Jan 11, 2017 10:26 pm    Post subject: Editing text Reply with quote

Hi all,
I need some help editing text with CE.
Here's what's happening:
Game has the text: "private"
I need to change this to "public". When i try searching and changing via text, the result becomes "publice". (Because public is a character less than private).

How can I get rid of the e at the end?

Thanks so much,
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 119

Joined: 09 Jun 2013
Posts: 3209

PostPosted: Wed Jan 11, 2017 10:36 pm    Post subject: Reply with quote

Code:
[ENABLE]
your_address_here:
db 'public',0
[DISABLE]
your_address_here:
db 'private',0
Back to top
View user's profile Send private message
cloak
How do I cheat?
Reputation: 0

Joined: 11 Jan 2017
Posts: 3

PostPosted: Wed Jan 11, 2017 10:44 pm    Post subject: Reply with quote

Zanzer wrote:
Code:
[ENABLE]
your_address_here:
db 'public',0
[DISABLE]
your_address_here:
db 'private',0


Thanks for this.

When I try and run the script I get this error:
Script Error:[string "[ENABLE]
..."]:1: unexpected symbol near '['

any ideas how to fix it?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 119

Joined: 09 Jun 2013
Posts: 3209

PostPosted: Wed Jan 11, 2017 11:10 pm    Post subject: Reply with quote

This is an auto assembler script.
Ctrl+Alt+A > File > Assign to current cheat table
Back to top
View user's profile Send private message
cloak
How do I cheat?
Reputation: 0

Joined: 11 Jan 2017
Posts: 3

PostPosted: Wed Jan 11, 2017 11:23 pm    Post subject: Reply with quote

Zanzer wrote:
This is an auto assembler script.
Ctrl+Alt+A > File > Assign to current cheat table


Ahh thanks (i'm obviously new to this haha).

Is there a way to search and do this to all cases where private appears in the process?

Thanks a ton
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 119

Joined: 09 Jun 2013
Posts: 3209

PostPosted: Thu Jan 12, 2017 6:47 am    Post subject: Reply with quote

http://forum.cheatengine.org/viewtopic.php?p=5620925
Code:
local pattern = "70 72 69 76 61 74 65" -- private
local replace = "70 75 62 6C 69 63 00" -- public
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