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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19-12-2007, 18:21
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
Calling a code cave from a trainer

I have a small question to ask. Let say that i made a code cave that would refill my hp for example. there is anyway that i can call an opcode adresse from the trainer itself when i press a hotkey for example (in C++)?

thanx in advance.
Reply With Quote
Sponsored Links
  #2  
Old 19-12-2007, 22:10
caki caki is offline
Registered User
 
Join Date: Dec 2004
Location: UK
Posts: 899
Thanks: 0
Thanked 0 Times in 0 Posts
caki is on a distinguished road
Edit context of the process to change EIP to your code cave?
__________________
Sanity is for the weak.
Reply With Quote
  #3  
Old 21-12-2007, 23:55
DABhand DABhand is offline
Banned
 
Join Date: Nov 2004
Location: Near my PC
Posts: 5,406
Thanks: 0
Thanked 3 Times in 3 Posts
DABhand is on a distinguished road
Im not fully sure what you want but...

A code cave is being read when you initialise it from a trainer.

If you mean to call on the code cave at any time? then that is potentially dangerous as you could be calling the opcodes at any time and when the registers are different.
Reply With Quote
  #4  
Old 06-02-2008, 07:35
Synaesthesia Synaesthesia is offline
Registered User
 
Join Date: May 2007
Location: Incensed
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Synaesthesia is on a distinguished road
caki is right. If you want it happening at any time, your only way is via registers. Memory Hacking Software can do this I think, through scripting. Otherwise, you'll need to find a constantly accessed code and re-route it to your cave (doesn't necessarily have to be accessing your HP).
Reply With Quote
  #5  
Old 19-03-2008, 13:59
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
btw, sorry for the long reply. I wasn't near my computer for a while (night school).

If i have a second look at my question, yes, it is silly in a way if reg change all the time. I just wanted anyway to refill my health from a "function". Anyway, i found other way to cheat health other than just changing value (via codecave) like detecting a colision that call the dec function and all. When i have 5 minute, i might go around thoses new options.

Thanx all for you reply and sorry sometime if i post silly questions. I am still a "newb" about trainging sometime.
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
Securom 7 Rebuild anonymous1381 Game Coders 11 15-05-2007 16:48
trainer and source code... pikachu5501 Game Coders 2 14-05-2007 23:18
Infernal - Trainer & Gadgets کunβeam Game Coders 35 20-04-2007 07:38



All times are GMT -7. The time now is 15:48.


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