Hook dll in the GS

Page 1 of 2 12 LastLast
Results 1 to 15 of 26
  1. #1
    Apprentice mateus2255 is offline
    MemberRank
    Nov 2020 Join Date
    13Posts

    Hook dll in the GS

    Hi guys, good afternoon.

    I'm starting in the world of MU and I have some doubts.I wanted to know if there is a possibility to hook a dll on the game server, but the dll has no function.Basically this dll removes the gameserver mobs limits.

    Thanks


  2. #2
    C++ Developer zipper20032 is online now
    MemberRank
    Oct 2006 Join Date
    0x198837ADLocation
    665Posts

    Re: Hook dll in the GS

    What server files are you using?
    Why don't you search for a repack with source codes included?

  3. #3
    Apprentice mateus2255 is offline
    MemberRank
    Nov 2020 Join Date
    13Posts

    Re: Hook dll in the GS

    Hello, Zipper

    in the server has a one hooked dll she is dll to does the functions and events for gs.

    about the source code for new dll.i dont have the code, the developer dont released he.

  4. #4
    C++ Developer zipper20032 is online now
    MemberRank
    Oct 2006 Join Date
    0x198837ADLocation
    665Posts

    Re: Hook dll in the GS

    What server files are you using and what version?

  5. #5
    Apprentice mateus2255 is offline
    MemberRank
    Nov 2020 Join Date
    13Posts

    Re: Hook dll in the GS

    DarkPlugin.dll
    Version 97d+99i
    GS = 0.96.40

  6. #6
    C++ Developer zipper20032 is online now
    MemberRank
    Oct 2006 Join Date
    0x198837ADLocation
    665Posts

    Re: Hook dll in the GS

    So you are using Dark Team 97D+99i repack?
    @mateus2255 I found this in 5 minute of searching on Google.
    DarkPluginSource97D.rar

    I think it's not Dark, it's Fire Team.
    It's source code for DarkPlugin.dll and client from 2016.

    https://ibb.co/Q8pRnqn
    Last edited by zipper20032; 21-04-22 at 02:25 AM.

  7. #7
    Apprentice mateus2255 is offline
    MemberRank
    Nov 2020 Join Date
    13Posts

    Re: Hook dll in the GS

    hmm... yeah this is
    i dont like the project for Dark team
    The member Stark, has a relased the source for fireteam
    And i have use this source.
    and i modify some codes in the source
    but not affect the original iinfrastruct
    Sorry for not informat.

    - - - Updated - - -
    @zipper20032

    I have check limit code already.
    but if change code for example 5800
    the code return who needs monstersetdatabase.cpp

  8. #8
    C++ Developer zipper20032 is online now
    MemberRank
    Oct 2006 Join Date
    0x198837ADLocation
    665Posts

    Re: Hook dll in the GS

    The code is next, and yes, it could be a different code the one you are using:

    An example so you can understand it better:
    Code:
    #define MonsterCount    0x634D8E4 // ----> Offset for current Monster Number in your GameServer
    #define OBJ_MAXMONSTER  4200  // ----> Maximum number for Monsters in your GameServer
    
    void INVASION_CUSTOM::DisappearMonster()
    {
         for(int iIndex = 0; iIndex < OBJ_MAXMONSTER; iIndex++) // -----> Iterating through current gObj vector which is the Monster Object.
         {
            if(gObj[iIndex].Class == 135)
            {
              gObjDel(iIndex);
            }
         }
    
    int MobCount = *(DWORD *)(MonsterCount); // ----> Getting the MonsterCount value from that defined memory offset
    MobCount--;
    
    }
    Yes, it could be a different source used in your GameServer DLL.
    I'm not sure I understand what do you mean by "code return who needs monstersetdatabase.cpp".

    If you are referring to #define OBJ_MAXMONSTER 4200, this one is the correct one to be used for maximum MOB (Monster Object) number.

    If it's still not working after you compiled this DLL, download Ollydbg and search for your current offset for your OBJ_MAXMONSTER and patch the bytes.

    If you still can't do it, search for server files which does have source included too:
    https://mega.nz/file/3lhwlBgA#QMrXqV...z8HWXqlHUzNZ08

  9. #9
    Apprentice mateus2255 is offline
    MemberRank
    Nov 2020 Join Date
    13Posts

    Re: Hook dll in the GS

    Hello, @zipper20032

    i will check both source...
    but you can send me the password from source uploaded in mega ?

  10. #10
    C++ Developer zipper20032 is online now
    MemberRank
    Oct 2006 Join Date
    0x198837ADLocation
    665Posts

    Re: Hook dll in the GS

    Quote Originally Posted by mateus2255 View Post
    Hello, @zipper20032

    i will check both source...
    but you can send me the password from source uploaded in mega ?
    Spoiler:

    Password: drakonusjs

  11. #11
    Apprentice mateus2255 is offline
    MemberRank
    Nov 2020 Join Date
    13Posts

    Re: Hook dll in the GS

    Thanks @zipper20032
    i will analyse the code

    the dll that i comment with you ithis is

    https://mega.nz/file/0k0TlJAT#g2Vpc_...4rJuXQ38TB2DnM

    - - - Updated - - -

    if you open the dll
    she is dont have function
    i tried hooked using ollydbg or x32dgb... but was not with sucess

  12. #12
    C++ Developer zipper20032 is online now
    MemberRank
    Oct 2006 Join Date
    0x198837ADLocation
    665Posts

    Re: Hook dll in the GS

    Quote Originally Posted by mateus2255 View Post
    Thanks @zipper20032
    i will analyse the code

    the dll that i comment with you ithis is

    https://mega.nz/file/0k0TlJAT#g2Vpc_...4rJuXQ38TB2DnM

    - - - Updated - - -

    if you open the dll
    she is dont have function
    i tried hooked using ollydbg or x32dgb... but was not with sucess
    Your FixesRL.dll it's an empty DLL by the way. There's no fix in it. It's just an empty DLL project compiled in 2019 by someone.

    You need to inject/hook your DLL to the GameServer.exe. Use some DLL injector software for that. It's easier.

    Anyway injecting that FixesRL.dll won't do anything because it's an empty DLL.

    No fixes in your DLL(Empty DLL - no fixes, functions):
    https://ibb.co/qpRP0dG

    What's your knowledge about reverse engineering, assembly x86, memory management and also C++ programming? You'll need ALL OF THESE to fix your old GameServer.

    Also, share your GameServer folder and also make a screenshot of your running GameServer window for references. I will take a look in your GameServer.

  13. #13
    Apprentice CarlosBR is offline
    MemberRank
    Apr 2017 Join Date
    20Posts

    Re: Hook dll in the GS

    Hello zipper20032
    I wanted know if you are able to do this same hook a dll to gameserver and client exe but of another type of mmo.
    but like you said need look for offset and change the value and add function to dll because it is new and empty.
    Last edited by CarlosBR; 21-04-22 at 03:13 PM.

  14. #14
    C++ Developer zipper20032 is online now
    MemberRank
    Oct 2006 Join Date
    0x198837ADLocation
    665Posts

    Re: Hook dll in the GS

    Quote Originally Posted by CarlosBR View Post
    Hello zipper20032
    I wanted know if you are able to do this same hook a dll to gameserver and client exe but of another type of mmo.
    but like you said need look for offset and change the value and add function to dll because it is new and empty.
    could you add my discord CarlosBR #3026

    I know your project, but sorry, I don't take any other projects.

    Hooking/injecting a new DLL into your MMO is the easiest thing, but the most time consuming is searching for offsets, remaking the assembly eventually, reverse engineering structs and functions, methods and recoding the logic for the functions you want to detour inside your DLL, and it becomes even more harder when you don't know anything about that game, and I don't have that time to take new projects. So, sorry again.

    Edit: Irelevant link
    Last edited by zipper20032; 21-04-22 at 04:05 PM.

  15. #15
    Apprentice CarlosBR is offline
    MemberRank
    Apr 2017 Join Date
    20Posts

    Re: Hook dll in the GS

    Well i don't know nothing about this game you sent the link, the game i means before was raiderz and i have an old source but from alpha version of the game, i use the game in a better version that work good but i don't have the source code for this version i use, i have a coder for c++ but find someone that are good in assembly and reverse engineering is hard, sad you are not taking any new project but i understand, thank you anyway.



Page 1 of 2 12 LastLast

Advertisement