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 


String Type: Text

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

Joined: 02 Oct 2005
Posts: 2

PostPosted: Sun Oct 02, 2005 6:07 pm    Post subject: String Type: Text Reply with quote

Hey and thanks for this great tool. Razz

Im working on a trainer..im allmost done but i want to print a ascii string using wsprintf. You got Text as option of string, this working the way i want i put it at 20 and it just print unill the line ends with 00 in hex. The trainer im working on is done in ASM so and i guess this isent but...asm..c..c++ w/e please lead me in right direction :/ Thanks!

Btw. I got this working in my trainer but just the first character using wsprintf with %c argument, alltho i cant find any argument for printing a whole line Rolling Eyes
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sun Oct 02, 2005 6:34 pm    Post subject: Reply with quote

try %s instead of %c, and give as parameter the address of the first character of the string
_________________
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
REVOLT
How do I cheat?
Reputation: 0

Joined: 02 Oct 2005
Posts: 2

PostPosted: Mon Oct 03, 2005 4:02 pm    Post subject: Reply with quote

Diden't work.

Using edit box it crashed and dopaint got nothing. Only %c seems to give character as result but why just the first. Rolling Eyes
I found this info from a forum:

%c A single character. This sequence is interpreted as type WCHAR.
%s A string. This sequence is interpreted as type LPWSTR.

Since im noob at this i don't know what WCHAR or LPWSTR is.. Shocked


EDIT:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecoreos5/html/wce50lrfwsprintf.asp

Don't know but i guess they explain how thare? however english aint my language n iether are asm..hehe..Does that url have any sulotion?

Thanks!
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