Problem hooking a DLL to gameserver

Results 1 to 3 of 3
  1. #1
    Member ndrhk is offline
    MemberRank
    Jun 2011 Join Date
    62Posts

    sad Problem hooking a DLL to gameserver

    Hi, im having troubles in order to hook i dll.

    I watch videos, researched on the internet, but i cant make it work.

    I have namech's gameserver and im trying to hook another DLL, so i can fix some other things.

    The original DLL, looks like this:

    Code:
    005E5D4D > $ 68 2D5D5E00    PUSH GameServ.005E5D2D                   ; /FileName = "NaMEch.dll"
    005E5D52   . FF15 F4BC8C0C  CALL DWORD PTR DS:[<&KERNEL32.LoadLibrar>; \LoadLibraryA
    005E5D58   . 09C0           OR EAX,EAX
    005E5D5A   .^0F84 3552FBFF  JE GameServ.0059AF95
    005E5D60   . 68 3D5D5E00    PUSH GameServ.005E5D3D                   ; /ProcNameOrOrdinal = "Inicio"
    005E5D65   . 50             PUSH EAX                                 ; |hModule
    005E5D66   . FF15 F0BC8C0C  CALL DWORD PTR DS:[<&KERNEL32.GetProcAdd>; \GetProcAddress
    005E5D6C   . FFD0           CALL EAX
    005E5D6E    ^E9 2252FBFF    JMP GameServ.0059AF95

    Im changing the last offset, 005E5D6 to jump to the other dll.

    The code is like the above, but of course, its another name and another procedure...
    i've already tried some other modifications in the code, but i have no sucess.

    The DLL loads, but the gameserver dont.

    How can i solve this?

    Thanks.


    Edit:

    Just a note, i've already tried to follow this topic:

    http://forum.ragezone.com/f82/hook-d...server-744469/

    But i got no sucess, same problem happens :(
    Last edited by ndrhk; 17-08-14 at 12:08 PM. Reason: adding a related topic that i had no sucess following


  2. #2
    Member ndrhk is offline
    MemberRank
    Jun 2011 Join Date
    62Posts

    Re: Problem hooking a DLL to gameserver

    Anyone?

  3. #3

    Re: Problem hooking a DLL to gameserver

    Maybe you should do it with a program like LibHook



Advertisement