Jump to content

vladek

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Argentina

Posts posted by vladek

  1. 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.1

    float TelePos[3] = {0.000000};
    bool bQuest = false;

    void Echo(const char *szMsg, ...){ //AGREGADA
    _asm{
    mov eax,ZChatOutput
    PUSH 0xFFFFFFFF
    PUSH 0
    PUSH 2
    PUSH szMsg
    call eax
    add 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

×
×
  • Create New...