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

Page 4 of 22 FirstFirst 12345678910111214 ... LastLast
Results 46 to 60 of 330
  1. #46
    Registered periculoso is offline
    MemberRank
    May 2020 Join Date
    11Posts

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

    [Release] Legend.mu client & server source code S16 1.1
    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);

  2. #47
    Hardcore Member mesosa is offline
    MemberRank
    Aug 2010 Join Date
    138Posts

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

    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.

  3. #48
    Registered periculoso is offline
    MemberRank
    May 2020 Join Date
    11Posts

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

    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 06:54 PM.

  4. #49
    Ultimate Member Sam3000 is offline
    MemberRank
    Oct 2007 Join Date
    MoscowLocation
    162Posts

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

    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

  5. #50
    Hardcore Member mesosa is offline
    MemberRank
    Aug 2010 Join Date
    138Posts

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

    Quote Originally Posted by Sam3000 View Post
    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!!

  6. #51
    Ultimate Member Sam3000 is offline
    MemberRank
    Oct 2007 Join Date
    MoscowLocation
    162Posts

    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)

    - - - Updated - - -

    Quote Originally Posted by mesosa View Post
    That's the spirit!!
    I'm just boring now :D
    Last edited by Sam3000; 03-03-21 at 02:31 PM.

  7. #52
    Registered periculoso is offline
    MemberRank
    May 2020 Join Date
    11Posts

    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

    - - - Updated - - -

    the dll. uses the mv100, correct?

    - - - Updated - - -

    as soon as I fix the hook dll error. I will try these actions

  8. #53
    Ultimate Member Sam3000 is offline
    MemberRank
    Oct 2007 Join Date
    MoscowLocation
    162Posts

    Re: [Release] Legend.mu client &amp;amp;amp; server source code S16 1.1

    Quote Originally Posted by periculoso View Post
    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
    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 by Sam3000; 03-03-21 at 03:03 PM.

  9. #54
    Account Upgraded | Title Enabled! seveliok is offline
    True MemberRank
    May 2008 Join Date
    LithuaniaLocation
    233Posts

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

    Mesosa, lgd is still on. When u planning to turn it off?

  10. #55
    Account Upgraded | Title Enabled! dezner is offline
    True MemberRank
    Aug 2006 Join Date
    BrasilLocation
    236Posts

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

    @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

  11. #56
    Registered periculoso is offline
    MemberRank
    May 2020 Join Date
    11Posts

    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?

  12. #57
    Ultimate Member Sam3000 is offline
    MemberRank
    Oct 2007 Join Date
    MoscowLocation
    162Posts

    Re: [Release] Legend.mu client &amp;amp;amp; server source code S16 1.1

    Quote Originally Posted by periculoso View Post
    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

  13. #58
    Registered periculoso is offline
    MemberRank
    May 2020 Join Date
    11Posts

    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.

    https://ibb.co/KGKHQxq

  14. #59
    Ultimate Member Sam3000 is offline
    MemberRank
    Oct 2007 Join Date
    MoscowLocation
    162Posts

    Re: [Release] Legend.mu client &amp;amp;amp;amp;amp; server source code S16 1.1

    Quote Originally Posted by periculoso View Post
    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

  15. #60
    0x4D696E68 myheart is offline
    True MemberRank
    Jun 2017 Join Date
    332Posts

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

    cool !

    does anyone have original main 1.19.46?



Advertisement