• Announcement:
    In order to download VIP files, you need to UPGRADE your account.

How To Fix Korean Errors #PART4

Metin2Hub Bot
M2Hub Bot
Feb
Threads
65
1,091
1
412
83
HubMoney
770
-1: Very serious common mistake, let's check.

Run this query


SELECT * FROM `item_proto` WHERE `size` <= '0'

If you find something, fix all 'size' or you'll get serious problems with these items.





-2: Fix rare crash core with cube (happened and fixxed like this)

Go in cube.cpp and find for this log


LogManager::instance().CubeLog(ch->GetPlayerID(), ch->GetX(), ch->GetY(),
reward_value->vnum, new_item->GetID(), reward_value->count, 1);

Replace the log with


if (new_item)
LogManager::instance().CubeLog(ch->GetPlayerID(), ch->GetX(), ch->GetY(),reward_value->vnum, new_item->GetID(), reward_value->count, 1);
else
sys_err("Cannot find new_item on CUBE_MAKE!");





-3: config.cpp


g_iFullUserCount
g_iBusyUserCount

These two const will set the STATE_DICT in your serverinfo.py. Edit them as you prefer.

BUSY = Warning many users are connected in that channel.

FULL = Stop login due to many users in the channel.





-4: cmd_gm.cpp

Find for:


for (int i = 0; i < MAX_PRIV_NUM; ++i)

Add the missing braces







That's all for now, I'll update this thread if I remember any other useful change.



Old threads


 
Metin2Hub Bot
M2Hub Bot
Feb
Threads
65
1,091
1
412
83
HubMoney
770
-1: Very serious common mistake, let's check.

Run this query


SELECT * FROM `item_proto` WHERE `size` <= '0'

If you find something, fix all 'size' or you'll get serious problems with these items.





-2: Fix rare crash core with cube (happened and fixxed like this)

Go in cube.cpp and find for this log


LogManager::instance().CubeLog(ch->GetPlayerID(), ch->GetX(), ch->GetY(),
reward_value->vnum, new_item->GetID(), reward_value->count, 1);

Replace the log with


if (new_item)
LogManager::instance().CubeLog(ch->GetPlayerID(), ch->GetX(), ch->GetY(),reward_value->vnum, new_item->GetID(), reward_value->count, 1);
else
sys_err("Cannot find new_item on CUBE_MAKE!");





-3: config.cpp


g_iFullUserCount
g_iBusyUserCount

These two const will set the STATE_DICT in your serverinfo.py. Edit them as you prefer.

BUSY = Warning many users are connected in that channel.

FULL = Stop login due to many users in the channel.





-4: cmd_gm.cpp

Find for:


for (int i = 0; i < MAX_PRIV_NUM; ++i)

Add the missing braces







That's all for now, I'll update this thread if I remember any other useful change.



Old threads



Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock