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