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 


Putting a 4bytes type into Text (Strings) in C# ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
seMtec™
Newbie cheater
Reputation: 0

Joined: 07 Jul 2011
Posts: 22

PostPosted: Thu Aug 04, 2011 4:50 pm    Post subject: Putting a 4bytes type into Text (Strings) in C# ? Reply with quote

Hey,

i need to know something, i now finally got it to program a app which let u change text in a specific process, with C#.

But now i got an idea of something. I want to change a Byte (4bytes type adress) i found in cheatengine to get it out as Words (letters/String) not as Numbers.

I tried: VAM.WriteStringUnicode((PtrInt)0x000000, (textBox1.Text));

it works fine, but if u write the word "hello" as an example, it comes not out as a string, it comes out as a decimal numer like "6042872" or something. How can i get it to a string ???

Kind Regards Wink
seMtec
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Thu Aug 04, 2011 6:22 pm    Post subject: Reply with quote

it doesn't work like that. the game is expecting a number there which it will then convert to a string. if you supply a string there instead, it will read it as a number still and attempt to convert it to a string. you should find the part where it does the conversion and make it simply return your string instead
Back to top
View user's profile Send private message
seMtec™
Newbie cheater
Reputation: 0

Joined: 07 Jul 2011
Posts: 22

PostPosted: Fri Aug 05, 2011 5:46 am    Post subject: Reply with quote

Lol this sounds complex. How should i find the Conversion thingy ?? I dont know which scans i should do for that :S
Back to top
View user's profile Send private message
vnlagrla
Cheater
Reputation: 0

Joined: 10 Apr 2011
Posts: 33

PostPosted: Fri Aug 05, 2011 6:11 pm    Post subject: Reply with quote

I see you are using VAmemory from vivid-abstractions, It's not as easy as you think it is. If the game displays the word as decimal then do as slugsnack said and find the function that converts it and just make it return your string. BTW what game are you hacking?
Back to top
View user's profile Send private message
seMtec™
Newbie cheater
Reputation: 0

Joined: 07 Jul 2011
Posts: 22

PostPosted: Sat Aug 06, 2011 6:51 am    Post subject: Reply with quote

Yeah right, its so usefull for me these tutorials on Vivid Abstractions, i began now 1 week ago with C# and already wrote my own code with VAMemory for Strings and wrote finally a really hot Name Hack for my own for HaloCE and HaloPC all in one =).

So im hacking a bit HaloPC/CE (but no online hacks, im not a cheater,botter etc. in multiplayer, i make then only trainers for Own Host Games or something.

Yeah well, but how i should find that convert part ?? I dont know how i should go on with that.
Back to top
View user's profile Send private message
vnlagrla
Cheater
Reputation: 0

Joined: 10 Apr 2011
Posts: 33

PostPosted: Sun Aug 07, 2011 10:44 pm    Post subject: Reply with quote

It's not easy to explain, just debug around it, try searching what accesses it and writes to it, and also mess around in olly debuger. I haven't tried score hacks or name hacks so I can't directly tell you how to do it, but if you want to work together on hacks in halo maybe I can help you. send me an email @ fwilwerding@hotmail . com
Back to top
View user's profile Send private message
seMtec™
Newbie cheater
Reputation: 0

Joined: 07 Jul 2011
Posts: 22

PostPosted: Mon Aug 08, 2011 9:42 am    Post subject: Reply with quote

Ok sended a E-mail Wink.

Yeah well, Name hack is my special field Very Happy. Like i said, now i made a new App for HaloPC/CE all in one. Halo Unlimited Names.exe

Wanted ever to program this tool, its like a normal name hack but the most name hacks dont even work anymore so i did my own and maybe i will realease it on HaloMaps.org too. But this app, lets u change ur name too while u'r playing in-game. So u dont have to quit out anymore in halo.

Dunno if all other name hacks could do it too, just found it out last time i played.

I've long been concerned with Name Hack Stuff, its easy for me now Wink. But the other thingy is hard with the 4bytes thing.

Kind Regards
Back to top
View user's profile Send private message
Unbr0ken
Advanced Cheater
Reputation: 2

Joined: 10 Aug 2011
Posts: 67

PostPosted: Wed Aug 10, 2011 9:33 am    Post subject: Reply with quote

Do you just want modify a string value into the game memory?

I can do a function for it, but explain better your question, because i get confused with this part:

Quote:
I want to change a Byte (4 bytes type address) i found in Cheat Engine to get it out as Words (letters/String) not as Numbers.

You are wrong, please read, edit and submit again your question for a better help.

Cheers.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
vnlagrla
Cheater
Reputation: 0

Joined: 10 Apr 2011
Posts: 33

PostPosted: Wed Aug 10, 2011 11:16 am    Post subject: Reply with quote

he wants to change the numbers in game to words say your score is 10 he might want it to be H or HI he wants to change numbers to letters in game
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