Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Legend.mu client & server source code S16 1.1

Junior Spellweaver
Joined
Oct 4, 2007
Messages
173
Reaction score
74
Re: [Release] Legend.mu client & server source code S16 1.1

I know :p.

Yes, all data folder is in DB except for the few txt files that are inside EventData folder.

View attachment 169204
Nice work :D



If I don't remember Bad...all the configs are stored on the DB. Could be take time reading that from the source and recreate a Schema.
Yeah, it take some time. Schema, then data...

But people got good release, just take it and work with



when compiling
Change timezone to _timezone
 
Initiate Mage
Joined
Mar 27, 2013
Messages
13
Reaction score
0
thank you so much !
you are helping the source code community a lot with lots of bugs.

I know it would be asking a lot, but it never hurts to try.

I'm working on construction, do you happen to have the ER model?
relationship entity, would help a lot
 
Initiate Mage
Joined
May 11, 2020
Messages
11
Reaction score
0
I would like to ask for something. I saw that they posted the client. that main already has the hook for main.dll? if not, is it the webzen original?Another doubt, as it will not post to DB. I will work on the new DB in sql. would it be possible to post part of the DB, only with the config tables as formula and others? Would you happen to have the main unpack if it is not the original?

Thank you for your attention
 
Junior Spellweaver
Joined
Aug 7, 2010
Messages
137
Reaction score
137
I would like to ask for something. I saw that they posted the client. that main already has the hook for main.dll? if not, is it the webzen original?Another doubt, as it will not post to DB. I will work on the new DB in sql. would it be possible to post part of the DB, only with the config tables as formula and others? Would you happen to have the main unpack if it is not the original?

Thank you for your attention

That main already has the dll hooked.

We do not unpack the main. We hook the dll on packed main.
 
Initiate Mage
Joined
May 11, 2020
Messages
11
Reaction score
0
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);
 
Junior Spellweaver
Joined
Aug 7, 2010
Messages
137
Reaction score
137
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.
 
Initiate Mage
Joined
May 11, 2020
Messages
11
Reaction score
0
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.

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:
mesosa - [Release] Legend.mu client & server source code S16 1.1 - RaGEZONE Forums
 
Last edited:
Junior Spellweaver
Joined
Oct 4, 2007
Messages
173
Reaction score
74
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
 
Junior Spellweaver
Joined
Aug 7, 2010
Messages
137
Reaction score
137
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

That's the spirit!!
 
Junior Spellweaver
Joined
Oct 4, 2007
Messages
173
Reaction score
74
Re: [Release] Legend.mu client & server source code S16 1.1

Lazy edits log:
1) return uint32(mktime(&lt) + _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
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
3) add lines
#elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1600
#include <unordered_map>
4) boost::bind(&TCPClient::OnConnect, this, boost::placeholders::_1));
5) add lines
#elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1600 // VS100
#define UNORDERED_MAP std::unordered_map
6)
{(uint16) -1, (uint16) -1, ""},
{(uint16) -1, (uint16) -1, ""}
7) SocketDataType socket[MAX_SOCKET_SLOT] = { (SocketDataType) socket_1, (SocketDataType) socket_2, (SocketDataType) socket_3, (SocketDataType) socket_4, (SocketDataType) socket_5 };
8) bool operator()(Player* pPlayer01, Player* pPlayer02) const
9) add lines
DECLARE_PROPERTY(int32, ElementalSkillImmuneI);
DECLARE_PROPERTY(int32, ElementalSkillImmuneII);
DECLARE_PROPERTY(int32, ElementalSkillBerserkerI);
10) fix typo in GetElementalSkillInmuneI to GetElementalSkillImmuneI (mupltiple lines)



That's the spirit!!
I'm just boring now :D
 
Last edited:
Initiate Mage
Joined
May 11, 2020
Messages
11
Reaction score
0
Re: [Release] Legend.mu client &amp;amp; server source code S16 1.1

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



the dll. uses the mv100, correct?



as soon as I fix the hook dll error. I will try these actions
 
Junior Spellweaver
Joined
Oct 4, 2007
Messages
173
Reaction score
74
Re: [Release] Legend.mu client &amp;amp;amp; server source code S16 1.1

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



the dll. uses the mv100, correct?



as soon as I fix the hook dll error. I will try these actions
Just run bootstrap.bat and b2.exe.
Libs will be in boost\boost_1_75_0\stage\lib

Btw, you can google b2 options, but i was lazy and got x86 and x64 variants. Maybe some needless libs
 
Last edited:
Junior Spellweaver
Joined
May 27, 2008
Messages
127
Reaction score
2
Mesosa, lgd is still on. When u planning to turn it off?
 
Junior Spellweaver
Joined
Aug 5, 2006
Messages
174
Reaction score
15
@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
 
Initiate Mage
Joined
May 11, 2020
Messages
11
Reaction score
0
Re: [Release] Legend.mu client &amp;amp;amp; server source code S16 1.1

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?
 
Junior Spellweaver
Joined
Oct 4, 2007
Messages
173
Reaction score
74
Re: [Release] Legend.mu client &amp;amp;amp; server source code S16 1.1

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?
I think yes. Mine 142 updated
 
Initiate Mage
Joined
May 11, 2020
Messages
11
Reaction score
0
Re: [Release] Legend.mu client &amp;amp;amp; server source code S16 1.1

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.

 
Junior Spellweaver
Joined
Oct 4, 2007
Messages
173
Reaction score
74
Re: [Release] Legend.mu client &amp;amp;amp;amp;amp; server source code S16 1.1

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.

Nope, didnt tried yet.



Compiled with vs2019...
Looking for upacked main to test with ollydbg


periculoso you can try simple dll hook with ollydbg, if you have unpacked main
 
Skilled Illusionist
Joined
Jun 22, 2017
Messages
363
Reaction score
555
cool !

does anyone have original main 1.19.46?
 
Back
Top