vladek Posted December 26, 2007 Share Posted December 26, 2007 Hi, well..i will not explain the hole thing but, this code its for replacing memory addresses for a game called GunZ (NA version).I Could compile it, but when in Inject the DLL in the game, i press ALT + A (As in the code), and it should appear a message "Hi Version", but it doesnt ...Take a look at the code :mongo001.cpp// mongo001.cpp: define las rutinas de inicialización del archivo DLL.//#include "mongo001.h"#include "stdafx.h"#include <windows.h>#include <iostream>#include <fstream>#include <string>#include "func.h"/* GetTwoKeys */#define GetTwoKeys(keyone,keytwo) if(GetAsyncKeyState(keyone) &0x8000 && GetAsyncKeyState(keytwo) &0x8000)/* Log */#define Log( name , addr ) fprintf(xLog, name " : %.8X\n", addr );/* Popad Version */#define MongoVersion 0.1float TelePos[3] = {0.000000};bool bQuest = false;void Echo(const char *szMsg, ...){ //AGREGADA_asm{mov eax,ZChatOutputPUSH 0xFFFFFFFF PUSH 0 PUSH 2 PUSH szMsg call eaxadd esp,16}}void Main(){ while(true) { /* Info */ /* Working */ GetTwoKeys(0x12, 'A'){ Echo("Hi version!"); //AGREGADA Sleep(500); } }}func.h#define ZChatOutput 0x0042ABC0;Please tell me in what i am wrong ...Thank you very much Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now