Jump to content

Loop when starting server


Recommended Posts

On the Fliege serverfiles( this is what I got recommended when looking for clean sf), after I run the start command and it supposedly finishes starting the server, it goes into a loop. Anyone knows a fix? ( the server is only for testing, with hamachi ip)

Spoiler

Start of pid: 9653

SYSERR: Jan 24 02:46:41 :: LoadPackageCryptInfo: [PackageCryptInfo] Failed to load package/cshybridcrypt_metin2_patch_w20_sound.dat
SYSERR: Jan 24 02:46:41 :: LoadPackageCryptInfo: [PackageCryptInfo] Failed to load package/cshybridcrypt_metin2_patch_w21_etc.dat
SYSERR: Jan 24 02:46:41 :: LoadPackageCryptInfo: [PackageCryptInfo] Failed to load package/cshybridcrypt_metin2_patch_ds.dat
SYSERR: Jan 24 02:46:41 :: LoadPackageCryptInfo: [PackageCryptInfo] Failed to load package/cshybridcrypt_metin2_patch_dss_box.dat
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: Boot: not enough item id for spare contact your administrator!
SYSERR: Jan 24 02:46:43 :: pid_deinit: 
End of pid
 

Spoiler

Was moechtest du tun?

1 -     (1)     Server/Channel starten

2 -     (2)     Server/Channel schliessen

3 -     (3)     Logs loeschen

4 -     (4)     Quests reloaden

5 -     (5)     Nichts

Panel by Fliege
1
 Startet die Datenbank ..
Real Server
Log OffAsyncSQL: connected to localhost (reconnect 1)
Success PLAYER
AsyncSQL: connected to localhost (reconnect 1)
Success ACCOUNT
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Success COMMON
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Success HOTBACKUP
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
socket: Address already in use
usage: sleep seconds
Kern1_Ch1 is not running
PUBLIC_IP: 25.88.213.100 interface em0
HOSTNAME: channel1
AsyncSQL: connected to localhost (reconnect 1)
CommonSQL connected
Setting Locale "germany" (Path: locale/germany)
Setting DB to locale latin1
AsyncSQL: connected to localhost (reconnect 1)
PlayerSQL connected
LogSQL connected
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
SKILL_POWER_BY_LEVEL 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
AsyncSQL: connected to localhost (reconnect 1)
SKILL_POWER_BY_JOB 0 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 1 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 2 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 3 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 4 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 5 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 6 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 7 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
MAP ALLOW 5
MAP ALLOW 25
MAP ALLOW 45
MAP ALLOW 107
MAP ALLOW 108
MAP ALLOW 109
MAP ALLOW 61
MAP ALLOW 62
MAP ALLOW 63
MAP ALLOW 64
MAP ALLOW 65
MAP ALLOW 66
MAP ALLOW 351
PLAYER_MAX_LEVEL: 115
LocaleService locale/germany/locale_string.txt
 Der Loginserver wurde gestartet.

                Serverstarter by Fliege
root@localhost:/usr/home/game # Neutraler_Server is not running
PUBLIC_IP: 25.88.213.100 interface em0
HOSTNAME: game99
AsyncSQL: connected to localhost (reconnect 1)
CommonSQL connected
Setting Locale "germany" (Path: locale/germany)
Setting DB to locale latin1
AsyncSQL: connected to localhost (reconnect 1)
PlayerSQL connected
LogSQL connected
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
SKILL_POWER_BY_LEVEL 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
AsyncSQL: connected to localhost (reconnect 1)
SKILL_POWER_BY_JOB 0 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 1 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 2 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 3 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 4 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 5 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 6 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 7 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
-----------------------------------------------
TEST_SERVER
-----------------------------------------------
MAP ALLOW 81
MAP ALLOW 103
MAP ALLOW 105
MAP ALLOW 110
MAP ALLOW 111
MAP ALLOW 112
MAP ALLOW 113
MAP ALLOW 181
MAP ALLOW 182
MAP ALLOW 183
MAP ALLOW 208
MAP ALLOW 114
MAP ALLOW 118
MAP ALLOW 119
PLAYER_MAX_LEVEL: 115
LocaleService locale/germany/locale_string.txt
 

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Acum 45 minute, WeedHex a spus:

db config.txt

WELCOME_MSG = "DB Server has been started"

SQL_ACCOUNT = "localhost account core fliege 0"
SQL_PLAYER = "localhost player core fliege 0"
SQL_COMMON = "localhost common core fliege 0"
SQL_HOTBACKUP = "localhost homepage core fliege 0"

TABLE_POSTFIX = ""

BIND_PORT = 92378
DB_SLEEP_MSEC = 10
CLIENT_HEART_FPS = 10
HASH_PLAYER_LIFE_SEC = 600
BACKUP_LIMIT_SEC = 3600
PLAYER_ID_START = 100
PLAYER_DELETE_LEVEL_LIMIT = 126
PLAYER_DELETE_CHECK_SIMPLE = 1
LOCALE = latin1
NO_TXT = 1

ITEM_ID_RANGE = 2000000000 2100000000

MIN_LENGTH_OF_SOCIAL_ID = 6

#NAME_COLUMN = "gb2312name"
#LOCALE = "gb2312"
SIMPLE_SOCIALID = 1
Block "Y/QSB7omi36awq4ctpUxuiwRARM="

Link to comment
Share on other sites

  • Premium
bool ITEM_MANAGER::SetMaxSpareItemID(TItemIDRangeTable range)
{
    if ( range.dwMin == 0 || range.dwMax == 0 || range.dwUsableItemIDMin == 0 )
    {
        for ( int i=0; i < 10; i++ ) sys_err("ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set");
        return false;
    }

....

}



    if (!ITEM_MANAGER::instance().SetMaxSpareItemID(*rangespare))
    {
        sys_err("not enough item id for spare contact your administrator!");
        thecore_shutdown();
        return;
    }

ITEM_ID_RANGE = 2000000000 2100000000
That's ok.

 

You problem is in your player.item or better to say player.item_proto, check for the mistake.

You're falling in this

Spoiler

if ( range.dwMin == 0 || range.dwMax == 0 || range.dwUsableItemIDMin == 0 )

 

Link to comment
Share on other sites

  • 1 month later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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