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
Printable View
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
What server files are you using?
Why don't you search for a repack with source codes included?
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.
What server files are you using and what version?
DarkPlugin.dll
Version 97d+99i
GS = 0.96.40
So you are using Dark Team 97D+99i repack?
@mateus2255 I found this in 5 minute of searching on Google.
Attachment 171473
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
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
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:
Yes, it could be a different source used in your GameServer DLL.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--;
}
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
Hello, @zipper20032
i will check both source...
but you can send me the password from source uploaded in mega ?
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.
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.
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
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.