Jump to content

Maxmi 4.1 SRC Compile


Recommended Posts

So im working with files maxmi 4.1 source and i wanted to know a few things.

In the source i downloaded of Maxmi 4.1 the only folders that were there are: game, db, common and client (missing libs) i wanted to know if i can compile the source still without the libs (i changed 1 thing because of the new exploit that came out, the guild and message remove thingy)

If i can't compile without the libs, does anyone have the full source of maxmi 4.1 that can post? If so, thanks

Since i only changed things in game, can i compile game alone?

Thanks for the infos, im new at sources and even at metin2 "coding"

 

EDIT: Tried to compile only the game but i keep getting some errors:

In file included from debug_allocator.h:4:0,
                 from stdafx.h:7,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
   inline __int128
          ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                 from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                 from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:6:
/usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
     struct numeric_limits<__int128>
                                   ^
/usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
     struct numeric_limits<unsigned __int128>
                                            ^
Makefile:119: recipe for target 'OBJDIR/BattleArena.o' failed
gmake[1]: *** [OBJDIR/BattleArena.o] Error 1
gmake[1]: Leaving directory '/source/source/game/src'
Makefile:21: recipe for target 'all' failed
gmake: *** [all] Error 2                                                                            

  • Good 1
Link to comment
Share on other sites

  • Active Member

You must download or create these files in directories of boost. These files contain code. These codes you can find on the internet .

In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                 from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                 from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,

@skzzz

I'll be always helpful! 👊 

Link to comment
Share on other sites

1 hour ago, ReFresh said:

You must download or create these files in directories of boost. These files contain code. These codes you can find on the internet .

In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                 from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                 from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,

@skzzz

Still the same error:

compile BattleArena.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from debug_allocator.h:4:0,
                 from stdafx.h:7,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
   inline __int128
          ^
In file included from /source/Extern/include/boost/limits.hpp:19:0,
                 from /source/Extern/include/boost/functional/hash/detail/limits.hpp:16,
                 from /source/Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                 from /source/Extern/include/boost/functional/hash/hash.hpp:15,
                 from /source/Extern/include/boost/functional/hash.hpp:6,
                 from /source/Extern/include/boost/unordered/unordered_map.hpp:17,
                 from /source/Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:6:
/usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
     struct numeric_limits<__int128>
                                   ^
/usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
     struct numeric_limits<unsigned __int128>
                                            ^
Makefile:119: recipe for target 'OBJDIR/BattleArena.o' failed
gmake[1]: *** [OBJDIR/BattleArena.o] Error 1
gmake[1]: Leaving directory '/source/source/game/src'
Makefile:21: recipe for target 'all' failed
gmake: *** [all] Error 2                                                                              

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 2

      Feeding game source to LLM

    2. 0

      Target Information System

    3. 2

      Feeding game source to LLM

    4. 2

      anti exp explanation pls

    5. 2

      Feeding game source to LLM

    6. 2

      anti exp explanation pls

    7. 0

      [GR2] Positioning an object added with "Attach"

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.