Jump to content
×
×
  • Create New...
  • 0

Maxmi 4.1 SRC Compile


skzzz

Question

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

7 answers to this question

Recommended Posts

  • 0
  • Moon

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

  • 0
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 4

      Ludus2: a metin2-like browser game

    2. 6
    3. 9

      Help in implementing a switch bot

    4. 0

      Special Inventory System Can't Sell To Npc's

    5. 0

      ROV2.GLOBAL | International | Server start 14.05.2022

    6. 75

      Services - System Ard [C ++ / Python / Lua]

    7. 76

      Chatting Window Renewal (Mini Version)

    8. 2

      ItemShop GM ZONE TAB

  • Recently Browsing

    • No registered users viewing this page.

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.