Jump to content

Cr41s3

Inactive Member
  • Posts

    19
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Cr41s3

  1. Hello everyone,

     

    I've got a small problem when I am compiling the db binary.

    I am using the vanilla 2.6 source and didn't modify anything yet.

    Furthermore, I am using FreeBSD 10.2 64-Bit.

    The error has something to do with the mysql libary.

    Parts of my Makefile:

    LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib -L/usr/local/lib/mysql

    LIBS = -lthecore -lmysqlclient -lsql -lpoly -lgame -lm -lz

    When running gmake, it throws the following error:

     

    Quote

    linking ...

     

    /tmp//ccEjRDxL.ltrans0.ltrans.o: In function `main':

     

     

    <artificial>:(.text.startup+0x72): undefined reference to `_malloc_options'

     

     

    collect2: error: ld returned 1 exit status

     

     

    Makefile:39: recipe for target '../db_r54180' failed

     

     

    gmake: *** [../db_r54180] Error 1

     

  2. Hey guys.

     

    I've got a problem on my FreeBSD 9.3 system.

    When I try to start my DB it directly crashes.

    If I start it via shell 

    ./db/db

    I get the following error

    Test Server
    Log OffAsyncSQL: connected to 127.0.0.1 (reconnect 1)
    Success PLAYER
    AsyncSQL: connected to 127.0.0.1 (reconnect 1)
    Success ACCOUNT
    AsyncSQL: connected to 127.0.0.1 (reconnect 1)
    AsyncSQL: connected to 127.0.0.1 (reconnect 1)
    AsyncSQL: connected to 127.0.0.1 (reconnect 1)
    Success COMMON
    AsyncSQL: connected to 127.0.0.1 (reconnect 1)
    AsyncSQL: connected to 127.0.0.1 (reconnect 1)
    AsyncSQL: connected to 127.0.0.1 (reconnect 1)
    Success HOTBACKUP
    Segmentation fault (core dumped)
    

    And my syslog (syserr is empty)

    Jun 19 21:01:22 :: 
    Start of pid: 7797
    
    Jun 19 21:01:22 :: connecting to MySQL server (player)
    Jun 19 21:01:22 :: CREATING DIRECT_SQL
    Jun 19 21:01:22 :: AsyncSQL: locale latin1
    Jun 19 21:01:22 :: CREATING MAIN_SQL
    Jun 19 21:01:22 :: AsyncSQL: locale latin1
    Jun 19 21:01:22 :: CREATING ASYNC_SQL
    Jun 19 21:01:22 :: AsyncSQL: locale latin1
    Jun 19 21:01:22 ::    OK
    Jun 19 21:01:22 :: connecting to MySQL server (account)
    Jun 19 21:01:22 :: CREATING DIRECT_SQL
    Jun 19 21:01:22 :: AsyncSQL: locale latin1
    Jun 19 21:01:22 :: CREATING MAIN_SQL
    Jun 19 21:01:22 :: AsyncSQL: locale latin1
    Jun 19 21:01:22 :: CREATING ASYNC_SQL
    Jun 19 21:01:22 :: AsyncSQL: locale latin1
    Jun 19 21:01:22 ::    OK
    Jun 19 21:01:22 :: connecting to MySQL server (common)
    Jun 19 21:01:22 :: CREATING DIRECT_SQL
    Jun 19 21:01:22 :: AsyncSQL: locale latin1
    Jun 19 21:01:22 :: CREATING MAIN_SQL
    Jun 19 21:01:22 :: AsyncSQL: locale latin1
    Jun 19 21:01:22 :: CREATING ASYNC_SQL
    Jun 19 21:01:22 :: AsyncSQL: locale latin1
    Jun 19 21:01:22 ::    OK
    Jun 19 21:01:22 :: connecting to MySQL server (hotbackup)
    Jun 19 21:01:22 :: CREATING DIRECT_SQL
    Jun 19 21:01:22 :: AsyncSQL: locale latin1
    Jun 19 21:01:22 :: CREATING MAIN_SQL
    Jun 19 21:01:22 :: AsyncSQL: locale latin1
    Jun 19 21:01:22 :: CREATING ASYNC_SQL
    Jun 19 21:01:22 :: AsyncSQL: locale latin1
    Jun 19 21:01:22 ::    OK
    Jun 19 21:01:22 :: ClientManager initialization.. 
    Jun 19 21:01:22 :: InitializeLocalization() - LoadLocaleTable(count:13)
    Jun 19 21:01:22 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE0)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Jun 19 21:01:22 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE1)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Jun 19 21:01:22 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE2)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Jun 19 21:01:22 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE3)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Jun 19 21:01:22 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE4)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Jun 19 21:01:22 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE5)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Jun 19 21:01:22 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE6)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Jun 19 21:01:22 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE7)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Jun 19 21:01:22 :: locale[LOCALE] = singapore
    Jun 19 21:01:22 :: Changed g_stLocale latin1 to latin1
    Jun 19 21:01:22 :: SetLocale start
    Jun 19 21:01:22 :: 	--mysql_set_character_set(latin1)
    Jun 19 21:01:22 :: 	--mysql_set_character_set(latin1)
    Jun 19 21:01:22 :: 	--mysql_set_character_set(latin1)
    Jun 19 21:01:22 :: 	--mysql_set_character_set(latin1)
    Jun 19 21:01:22 :: 	--mysql_set_character_set(latin1)
    Jun 19 21:01:22 :: 	--mysql_set_character_set(latin1)
    

    The problems seems to be at the InitializeLocalization() but I have no clue why.

    I am using the following files http://metin2dev.org/board/index.php?/topic/190-fully-untouched-34083-server-files-db/ with Vanilla Core 2.6

    Hopefully someone finds the problem :)

    Regards

  3. Hey guys.

     

    I just wanted to make a private server for myself.

    I haven't been hosting or working on serverfiles for like 2 years.

     

    I did read a lot, but I am still not sure what's really important to know.

    I found the vanilla core, which does look really well, but is half a year old.

     

    Another question I have.

    Are these sources () the sources from vanilla or any other acceptable source with many features?

     

    Is there any Client, which I could use with the newest files?

     

    I hope you guys want to help meh.

     

    Regards

×
×
  • 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.