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 


Just Cause 2 Demo ... code inject 4 inf time problem

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

Joined: 07 Mar 2010
Posts: 4

PostPosted: Sun Mar 07, 2010 12:35 pm    Post subject: Just Cause 2 Demo ... code inject 4 inf time problem Reply with quote

oke i go in the demo , i search and find the timer address then go into disassembler then ctr+A for auto assembler and i chose for code inject template .
And the initial code is :

originalcode:
mov [esi+18],eax
call 00708cc0

PLEASE i BEG u Razz tell me what code should i use to make the timer stop since a nop will crash the game and a normal freeze doesn't seem to work either.
I want to use code inject so i can make a trainer since i can't find the static address of it ( i mean search trough pointers till u find a green address witch indicates that its static ) .
Also can u sell me a tip if u know that helped u cope with pointers and now helps u find the static address much faster ?

Many thanks in advance !
Back to top
View user's profile Send private message
Slappy101
I post too much
Reputation: 1

Joined: 19 Jun 2007
Posts: 2602

PostPosted: Sun Mar 07, 2010 3:00 pm    Post subject: Reply with quote

Open the PDA and look at your time value, remember it.

Open CE and do a 4 byte scan for unknown initial value.

Go back into JC2, let some time go by, open your PDA again. Do a 4 byte scan with the "Increased value by" option of the time difference
(If you did the first scan at 29:38 and you opened the PDA at 29:30, do a scan of Cool

Keep doing that til you get 1 value, freeze it. I think it starts with 1A5

_________________
Back to top
View user's profile Send private message
vlader08
How do I cheat?
Reputation: 0

Joined: 07 Mar 2010
Posts: 4

PostPosted: Sun Mar 07, 2010 3:23 pm    Post subject: Reply with quote

i'm afraid that i know how to do :[ its to simple and i don't want to load CE every time and then search and then modify to time consuming , i want to know how to make use of the code injection possibility of CE so i need a code that changes a value of an address ... does any1 know the assembly code ?

ex :
add [102334+18],1
^this i know it adds 1 to that address but whats the command TO CHANGE it to something i want

ex:
*change* [102334+18],1
so it changes to 1

:,[ pls help
Back to top
View user's profile Send private message
Slappy101
I post too much
Reputation: 1

Joined: 19 Jun 2007
Posts: 2602

PostPosted: Sun Mar 07, 2010 6:34 pm    Post subject: Reply with quote

Here's the trainer

http://filebox.me/files/74uus8p5v_JC2_Trainer.zip

_________________
Back to top
View user's profile Send private message
vlader08
How do I cheat?
Reputation: 0

Joined: 07 Mar 2010
Posts: 4

PostPosted: Mon Mar 08, 2010 3:03 am    Post subject: Reply with quote

oke im gona check the trainer u sent when i get home .
if i can't get the code i need or address i have to say that u don't help me at all u don't understand what i want ,Witch i repeat .

Can some 1 tell me what code i need to inject so i get the same effect as when i change a value in the bottom list in Cheat Engine ?
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Mon Mar 08, 2010 4:30 am    Post subject: Reply with quote

Moving thread
Back to top
View user's profile Send private message
vlader08
How do I cheat?
Reputation: 0

Joined: 07 Mar 2010
Posts: 4

PostPosted: Mon Mar 08, 2010 7:11 am    Post subject: Reply with quote

oke ive tested the trainer and it works , can u tell me what u have done ? have u used code inject ? or found the pointer ?
Back to top
View user's profile Send private message
Slappy101
I post too much
Reputation: 1

Joined: 19 Jun 2007
Posts: 2602

PostPosted: Mon Mar 08, 2010 4:47 pm    Post subject: Reply with quote

I found it on another site
_________________
Back to top
View user's profile Send private message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Tue Mar 09, 2010 8:03 am    Post subject: Reply with quote

So the game crashes if you nop the instructions?
Maybe its shared.
Right click the instructions and choose
(Find out what addresses this instruction accesses)

You might be nopping something important.

_________________
Back to top
View user's profile Send private message
vlader08
How do I cheat?
Reputation: 0

Joined: 07 Mar 2010
Posts: 4

PostPosted: Tue Mar 09, 2010 11:18 am    Post subject: Reply with quote

it seems if i nop something in this game ( time , ammo , grenades etc ) when i go to menu or pda (F1) the game crashes , i'm gonna look to see what accesses those addresses and try to nop them if that doesn't work i'm gonna reply back.

so far i made a trainer with some inject code for the ammo that lets me access the menu with out any crashes, BUT if i deactivate the trainer if i shot again the game crashes. :[

so till now i have a partial trainer :'[

if u wanna know the code :
add dword ptr [esi+000001e8],0

original 1 is this one :
add dword ptr [esi+000001e8],ff

EDIT :
hmmm it seems i can't see what accesses the address of time it gives me a crash when i go back in the game from the menu; i do get some addresses but im not sure they are any good since i can't stay with the game up 4 more that 1 sec to see what accesses the address while it changes every second
Back to top
View user's profile Send private message
Aqua Regia
Advanced Cheater
Reputation: 0

Joined: 12 May 2009
Posts: 51
Location: Sweden

PostPosted: Sat Mar 13, 2010 4:04 pm    Post subject: Reply with quote

Trying "find out what writes to this address" seems to crash the game, but going directly to memory view and changing stuff works.

The code that decreases the game time is on 0073C0C8, nop'ing it should work, although do it when the timer doesn't show in the game, or the time will keep blinking in the corner, which is annoying.

Nop'ing 006A347C will freeze the "out-of-demo-area"-timer, but you will still be teleported after 10 seconds, nop'ing 006A3483 will both freeze the timer and keep you from getting teleported, although the message will be blinkning as long as you're out of the demo area, does anyone know how to get rid of that as well?
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 Gamehacking 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