• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

How To increase Sentences on Taskbar.

Owner
Loyal Member
Joined
May 13, 2011
Messages
1,497
Reaction score
157
Hi Ragezoners,

Do you hate it to that you can't place more then 10 sentences on the taskbar?

Well i do espacialy for GameMasters during invasions and or other things.

Here is an small fix to let it work for GM's and or Higher

Open up WndTaskbar.cpp in your /_Interface Directory.

Find

g_WndMng.PutString( prj.GetText( TID_GAME_MAX_SHORTCUT_CHAT ), NULL, prj.GetTextColor( TID_GAME_MAX_SHORTCUT_CHAT ) );

Now what i did to make it work for GM only is this

if(g_pPlayer->IsAuthHigher( AUTH_GAMEMASTER ))
{
if(nchatshortcut > 19)
{
g_WndMng.PutString( prj.GetText( TID_GAME_MAX_SHORTCUT_CHAT ), NULL, prj.GetTextColor( TID_GAME_MAX_SHORTCUT_CHAT ) );
return FALSE;
}
}
else
{
if(nchatshortcut > 9)
{
g_WndMng.PutString( prj.GetText( TID_GAME_MAX_SHORTCUT_CHAT ), NULL, prj.GetTextColor( TID_GAME_MAX_SHORTCUT_CHAT ) );
return FALSE;
}
}

Here you see that that the max for GM is now 19 and for normal players 9.

Now open up

DPSrvr.cpp in your Worldfolder
Find
pUser->AddDefinedText( TID_GAME_MAX_SHORTCUT_CHAT );

And change it to this
if(pUser->IsAuthHigher( AUTH_GAMEMASTER ))
{
if(nchatshortcut > 19)
{
pUser->AddDefinedText( TID_GAME_MAX_SHORTCUT_CHAT );
return;
}
}
else
{
if(nchatshortcut > 9)
{
pUser->AddDefinedText( TID_GAME_MAX_SHORTCUT_CHAT );
return;
}
}

Now Rebuilt Neuz and Worldserver.

Your Gm's and or higher can now place more sentences on the taskbar.

With kind regards
 
Back
Top