Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 13:59

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Calling function in a game

Discussion on Calling function in a game within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2008
Posts: 11
Received Thanks: 1
Calling function in a game

Hai guise,

I'm a stupid morron but how can I make a hook in c++ that will use Gameplay::GetMoney(); to return the current amount of Gold I have?



Hiatsu is offline  
Old 03/29/2009, 19:45   #2
 
elite*gold: 0
Join Date: May 2008
Posts: 489
Received Thanks: 210
Well, in case you have the right function there (I kinda doubt that, but you don't show us much...), it's a member function of a class. This means you have to take care of the ECX register, which holds either the address of the instance or the address of the pointer to the instance. If there are no parameters, fine, otherwise you'll have to look how the function gets called and take care of the pushed params as well.

The coding part is easy once you've figured out all the stuff thats gets done before it. Make a function pointer or just use inline ASM and call it once injected.
schlurmann is offline  
Reply


Similar Threads Similar Threads
[VIP-function] ToxicSYS [VIP-function]
08/14/2010 - WarRock Hacks, Bots, Cheats & Exploits - 1 Replies
heeeey E-pvpers :pimp: this is a new hack by TSYS Status : UNDETECTED Functions (VIDEO) : YouTube - WarRock - Bikini event VIP hack
Calling All CODERS And Game Editors :)
04/11/2010 - Archlord - 6 Replies
Well Mr/Mrs Coder/game edito I Have a question for you. Could you Please Try To Make a English Translation Patch For The Korean Version Of The Game? i understand its hard i would try my self but i would end up wrecking everything XD Please Try To Help ~ashley
Help, calling an ingame function
03/13/2010 - General Coding - 2 Replies
Im trying with my dll to set off the "set stat function". The one that u press when you add a stat point to str, dex or what ever. My goal is to make players able to set there Stats to whatever they use to have from an earlier saved point. So if you play against different sort of mobs or players you reform your stats to be suetable for that sertan task in just 1 second right where you stand. Im thinking this is very useful for many ppl here. So now i could use help with the actuall call of...
Help with calling this function!
03/13/2010 - 12Sky2 - 6 Replies
First off: sorry for my poor english! Im trying with my dll to set off the "set stat function". The one that u press when you add a stat point to str, dex or what ever. My goal is to make players able to set there Stats to whatever they use to have from an earlier saved point. So if you play against different sort of mobs or players you reform your stats to be suetable for that sertan task in just 1 second right where you stand. Im thinking this is very useful for many ppl here. So now i...
calling all hackers
01/25/2009 - Archlord - 25 Replies
if been messing about with a few programs, and ive managed to change my HP(visiual effect only), im curios if anyone has any idea if i can go any further with this. I gave my lv50 farming ele 100,000 HP but its just visual, any ideas welcome.



All times are GMT +1. The time now is 14:00.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.