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 


C++ writing to memory

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

Joined: 30 Jul 2011
Posts: 2

PostPosted: Wed Dec 14, 2011 6:57 am    Post subject: C++ writing to memory Reply with quote

hello everyone im new to C++ i have worked out how to do simple things but i cant work out how to do this one.
i found the addresses on line
what it dose is prints text to the game with the ingame text i just cant work out how to put it together.
would someone be able to show me a sample using c++ to say HELLO on screen thanks.

here are the addresses and what the guy said

From 0xBAACD0 To 0xBAB0BF is text that gets drawn to the screen

each one is 128 bytes and they all have a different 'style' as you'll see below.

and here they are:

How i will state these:
Address - Vertical pos, Horizontal pos, Text Colour, Text Style, eg. of what it's used for

NOP 0x588FA9 (6 Bytes) to make the below addy work

0xBAB040 - Bottom, Middle, White, Plain, Stunt Bonus Info


NOP 0x58905E (6 Bytes) to make the below addys work (note: some already work without NOPing this address)

0xBAAEC0 - Top, Middle, Orange, Black Outline, ?

0xBAAFC0 - Top, Middle, Blue, Bold+Black Outline, ?

0xBAAF40 - Center, Center, White, Black Outline+Small+Fades Out, ?

0xBAAE40 - Center, Center, Orange, Black Outline+Small, ?

0xBAADC0 - Center, Center, White, Black Outline+That cool like 16th century font, ?

0xBAAD40 - Bottom, Right, Orange, Black Outline+Medium+Fades Out, Mission Title

0xBAACC0 - Center, Center, Orange, Black Outline+Medium+Fade Out+Cool FadeIn/Out Effect, "Mission Complete"


For the address below, you can put whatever data you want into it then, to make it appear set 0xBAA475 to 88 (58 Hex)
To make it dissapear again set it back to zero (if the game continously resets this try NOPing 0x58B91E (6 bytes).
NOP 0x69DBB8 (3 bytes) prevent the game from using this textbox.

0xBAA480 - top, left, white, In transerant box, used at start of game to tell you how to use the bike.

havent tested for all but using the tag ~b~ will make text from that point on blue, just
as ~g~ will make it green and ~r~ red etc. (edit: it does work with all of them)
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 programming 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