is hooked with the name of Main.dll? because I am putting it in the folder and running main.exe and it is not being pulled!
I put to create the following directory to test the hook and it does not create. CreateDirectory ("ScreenShots123", NULL);
is hooked with the name of Main.dll? because I am putting it in the folder and running main.exe and it is not being pulled!
I put to create the following directory to test the hook and it does not create. CreateDirectory ("ScreenShots123", NULL);
Yes. It is Main.dll, but i don't remember if this time we used a different hook since something changed on main and it was difficult to simply hook.
Oh, OK. I hooked it using DLib Attacher. However, I return an error. Do I need to break any protection? or just that would work. and I will also share the UnPack of this main that I have.
https://drive.google.com/file/d/1Qfk...ew?usp=sharing @memosa
If you want to add to the top main with access by IDA.
the same server just to work on IDA in search of new Offset
Error:
https://ibb.co/KGKHQxq
![]()
Last edited by periculoso; 03-03-21 at 07:54 PM.
So you can compile it with visual studio 2019 community with some edits (type casting mostly).
Found unfinished radiant rank 4 and 5 errtel options (got errors).
You need to install atl from visual studio installer and add include and lib in project.
Boost 1.75 is ok for now.
How to make db scheme, look scheme in MuDatabase.cpp, MuLogDatabase.cpp, GameServerDatabase.cpp, MuEditorDatabase.cpp, LoginDatabase.cpp and recreate it in mysql.
Some mysql queries was found in code.
But you need to make propper data for this scheme, next quest :D
Lazy edits log:
1) return uint32(mktime(<) + _timezone);
Better to add some #if, but i'm lazy and i dont want to install other version of compiler
2) wrap line 2 times
3) add lines#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
4) boost::bind(&TCPClient::OnConnect, this, boost::placeholders::_1));#elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1600
#include <unordered_map>
5) add lines
6)#elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1600 // VS100
#define UNORDERED_MAP std::unordered_map
7) SocketDataType socket[MAX_SOCKET_SLOT] = { (SocketDataType) socket_1, (SocketDataType) socket_2, (SocketDataType) socket_3, (SocketDataType) socket_4, (SocketDataType) socket_5 };{(uint16) -1, (uint16) -1, ""},
{(uint16) -1, (uint16) -1, ""}
8) bool operator()(Player* pPlayer01, Player* pPlayer02) const
9) add lines
10) fix typo in GetElementalSkillInmuneI to GetElementalSkillImmuneI (mupltiple lines)DECLARE_PROPERTY(int32, ElementalSkillImmuneI);
DECLARE_PROPERTY(int32, ElementalSkillImmuneII);
DECLARE_PROPERTY(int32, ElementalSkillBerserkerI);
- - - Updated - - -
I'm just boring now :D
Last edited by Sam3000; 03-03-21 at 03:31 PM.
I will update mine to 1.75 Boost. was using 1.55. more getting some errors. I will test thanks. as it evolves here I will post some changes as well. as soon as I get a readable UnPack I will also post
- - - Updated - - -
the dll. uses the mv100, correct?
- - - Updated - - -
as soon as I fix the hook dll error. I will try these actions
Last edited by Sam3000; 03-03-21 at 04:03 PM.
Mesosa, lgd is still on. When u planning to turn it off?
@mesosa
I believe that you have not posted the database because it contains information from your server as configurations, you could make the truncated database available so that each one could make their own configurations
using b2 generated the lib mv142.I own mv 142 141 140 120 100 in my VS.In this case, should I update the project to 142? or is there any way to generate the 120 with b2?
would you have your compiled dll working? how you hooked the main used DLib Attacher or did it in another way. Because mine only returns the error even using mc 142. I just managed to compile it in mc 142.
https://ibb.co/KGKHQxq
Nope, didnt tried yet.
- - - Updated - - -
Compiled with vs2019...
Looking for upacked main to test with ollydbg
- - - Updated - - -
@periculoso you can try simple dll hook with ollydbg, if you have unpacked main
cool !
does anyone have original main 1.19.46?