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 


Text Conversion

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

Joined: 27 Nov 2010
Posts: 5

PostPosted: Sun Nov 28, 2010 5:54 am    Post subject: Text Conversion Reply with quote

I found the address of a field containing a selected NPC's level.
In Au3, the value of the text is in a number form. Does anyone know what type of conversion this might be?

Here is some data I have collected on the numbers:

[Text Number] / [Converted Result]
2 50
4 52
6 54
7 55
15 13617
19 14641
22 12850
23 13106
28 14386
36 13875
44 13364

Thank you
Back to top
View user's profile Send private message
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Sun Nov 28, 2010 5:07 pm    Post subject: Reply with quote

Why do you think its a conversion? I don't think 44 should ever be smaller than 19.
_________________
CEF will always stay alive.
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: Mon Nov 29, 2010 2:40 am    Post subject: Reply with quote

50=0x32='2' ascii
52=0x34='4' ascii
13617=0x3531='15' ascii

so, the value is just pure text

next time, just try to browse the memory region instead

_________________
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
llmutell
How do I cheat?
Reputation: 0

Joined: 27 Nov 2010
Posts: 5

PostPosted: Mon Nov 29, 2010 12:07 pm    Post subject: Reply with quote

I understand that 4 is 52, but how is 44 13364?

I'm using this information to convert large decimal strings into text.
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: Mon Nov 29, 2010 3:12 pm    Post subject: Reply with quote

it is just text, there is no conversion needed
You just point a text var to that address and it's a string

13364 is stored in memory using the 2 bytes "34 34" which equals "44"

_________________
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
s0n1k
How do I cheat?
Reputation: -1

Joined: 05 Sep 2009
Posts: 3

PostPosted: Thu Dec 02, 2010 6:05 pm    Post subject: Reply with quote

Dark Byte wrote:
50=0x32='2' ascii
52=0x34='4' ascii
13617=0x3531='15' ascii

so, the value is just pure text

next time, just try to browse the memory region instead


and in vb.net?
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: Fri Dec 03, 2010 4:58 am    Post subject: Reply with quote

There it will be completely different of course
_________________
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 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