GameHacking Projects (Threads moderated.)
Have this game you are working on ? Post a thread with your "Game Title" and let's all help each other out dich out the perfect game trainer.

Go Back   The World of Game Hacking > General GameHacking > GameHacking Projects (Threads moderated.)

IRC Rules
Post New Thread  Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
A Legend
 
Hagenees's Avatar
 


128-Bit Member

 
Posts: 312
Join Date: Aug 2009
Location: Home Sweet Home
Last Online: 02-01-2010 05:04 PM
Reputation: Hagenees is on a distinguished road
User is Offline
netherlands
  Send a message via MSN to Hagenees  
Second Sight Question... - 09-22-2009, 12:33 PM

Heya all,

This game used magic to perform some "special" tricks to defeat or bypass your opponents simple, but here's the catch:

Iv'e found the magic address that decreases your magic each time you cast a spell. when i trace that it leads me to speceific address (static) in the memory. Now when i decrease the bar then it adds some quick switicng commands to it like xor, then dec and more. how do i stop that and use code injection on that ?

Thanks in advance


  
Reply With Quote
  (#2 (permalink)) Old
n00bie
 


16-Bit Member

 
Posts: 18
Join Date: Aug 2009
Last Online: 10-13-2009 12:19 PM
Reputation: GrandPa is on a distinguished road
User is Offline
italy
   
10-02-2009, 11:15 PM

Got the game.
I checked for PSI energy at the starting level only.

I found that, at module address 1A0540, for me 005A0540, the game sets the full values as follows
005A0538 - mov eax,3f800000 //default value
005A053D - push ff
005A053F - push esi
005A0540 - mov [esi + 20],eax //reference value
005A0543 - mov [esi + 18],eax //PSI energy value 1
005A0546 - mov [esi + 24],eax //PSI energy value 2
Then, at module address 9FA0D, for me 0059FA0D, the game decreases the energy.
EDIT: I discovered later that the following decrease it when using Telekinesis.
0059FA0D - fld dword ptr [00901478] //get something
0059FA13 - fmul dword ptr [00794380] //multiply once, floating mode
0059FA19 - fmul dword ptr [0071ca6c] //multiply again, floating mode
0059FA1F - fsubr dword ptr [ebp+18] //subtract from stored value and keep in FPU
0059FA22 - xor edi,edi
0059FA24 - fstp dword ptr [ebp+18] //store decreased floating value and pops
0059FA27 - mov eax,[esi+000000dc] //next opcode, 6 bytes lenght
EDIT: Going further in the game, the memory addresses where it stores the values change.

------------------------------------------------------
SPECIAL QUESTION: how do you discover these nice games ?

Last edited by GrandPa; 10-03-2009 at 05:57 PM..
  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes



Try ...


New To Site? Need Help?


All times are GMT +1. The time now is 12:10 AM.


Powered by vBulletin
Copyright ©1995 - 2009 GameHacking.com & CES