Go Back   FileForums > Games > Game Coders
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-11-2007, 23:15
br0wn br0wn is offline
Junior Member
 
Join Date: Nov 2007
Location: canada
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
br0wn is on a distinguished road
Trainer making problem ...

The game I'm playing around with is World in Conflict.

I'm trying to change how many reinforcements I can have, I'm unsure how to patch this exactly. What I've done so far is patch so every time I buy something I add 255 more reinforcements. I'm unsure how to just forcefully add 20,000 or something without having to keep buying something as this can get messy.

The line I've been playing with is: add [ecx+0c],eax
What I've done is made a call to a cave code from there which looks like:

add [ecx+0c],ff
ret
nop

Which works like it should, every time I buy something it adds 255.
I'd just like to know if there's a method for adding just to the reinforcements and not every time I buy something have it add.

It seems that in order to set any value I want I have to have something happen in came to execute the code.

Any tips on how to do this?
Thanks

Last edited by br0wn; 06-11-2007 at 23:35.
Reply With Quote
Sponsored Links
  #2  
Old 12-11-2007, 10:34
pikachu5501 pikachu5501 is offline
Senior Member
 
Join Date: Oct 2006
Location: canada
Posts: 101
Thanks: 0
Thanked 1 Time in 1 Post
pikachu5501 is on a distinguished road
if i understand what you want to do is to force a value instead of adding it constantly. Here my suggestion, assuming that ecx+0c is the adress you want to write to:


mov [ecx+0c], 00004E20
ret
nop
Reply With Quote
Reply


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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How would I go about making a trainer Spun-Dumb Game Coders 6 20-04-2009 06:48
Problem Making Backup SPEEDY321 PS2 Games 2 06-08-2002 17:40
PLEASE HELP, PROBLEM MAKING A COPY FROM A COPY OF NFL2K1 rainman DC Games 4 14-02-2001 02:18
Red Alert 2 Trainer internet problem Trojin PC Games 1 03-12-2000 12:01



All times are GMT -7. The time now is 21:27.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com