unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > First-Person Shooters > Other FPS Games > Crysis

- Sponsored Advertisement -
http://www.myfpscheats.com/


Reply
 
Thread Tools Display Modes
  #1  
Old 02-23-2010, 08:41 PM
disco disco is offline
Administrator
 
Join Date: Feb 2010
Posts: 271
Default Crysis Console Echo Function

Posted by Longpoke.






omg mudkips I just found the console printing function for Crysis. This whole time I was using a memory searcher and trying to trace up from there which was a big no-no

Anyways all I did was opened CrySystem.dll and searched for text referencing the word "console" and I eventually traced my way to this:

CrySystem.dll+749EB
Code:
365749EB  |. 6A 01          PUSH 1                                   ; /Arg2 = 00000001
365749ED  |. 57             PUSH EDI                                 ; |Arg1
365749EE  |. 8BCE           MOV ECX,ESI                              ; |
365749F0  |. E8 9BF0FFFF    CALL CrySyste.36573A90                   ; \CrySyste.36573A90
I dunno what the ECX argument is needed for, but it seems static so you can just use MOV ECX,02A4A8F0. If not, just put a breakpoint on the original function and see what is given to ECX.

So this is what my call looked like in the end:
Code:
PUSH 1
PUSH szString  ;  ASCII "$1$2W$2$5EE $5$7 COLORS"
MOV ECX,02A4A8F0
CALL CrySystem.dll+73A90
I posted this to save time for coders. You are free to use this in ANY hacks weather you release them or not, just give me credit. Or not, I really don't care.

-EDIT-
It's also a good idea to cancel out this entire block while printing your text because it will say unknown command, although it's wierd, it didn't do that for me at first..
CrySystem.dll+73EAE
Code:
36573EAE  |. 51             PUSH ECX
36573EAF  |. 68 A4856C36    PUSH CrySyste.366C85A4                   ;  ASCII "Unknown command: %s"
36573EB4  |. 53             PUSH EBX
36573EB5  |. E8 669CFFFF    CALL CrySyste.3656DB20
36573EBA  |. 83C4 0C        ADD ESP,0C
So the pseudo code will look sort of like this:

NopUnkownCommandFunction()
ConsolePrint(1,szString...)
RestoreUnkownCommandFunction()

-EDIT2-
You can also steal the incoming messages from CrySystem.dll+749EB and use them to toggle different hax


-EDIT3-
When you bind keys to your custom commands using the game engine, they will need to intercept from a different function which is located at CrySystem.dll+75230. The Param will be stored as a pointer to a string with the command in EDI just like the other function.
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
console, crysis, echo, function

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 09:06 AM.