Making Quest+Clan combined server [Source]
Well i saw, 95% people (Newbies) have problems with quest + clan servers.
Let me tell you basics:
Quest mode is called "test" and "MSM_TEST" &
Clan mode is called "clan" and "MSM_CLAN" in source.
So lets start. Just study below codes carefully. You can also replace your codes with codes i provided below.
----------------------------------------------------------------------------------------------------------------------
CSCOMMON:
MMatchStage.cpp ( line 60):
Quote:
if((MSM_CLAN != MGetServerConfig()->GetServerMode()) && (MSM_TEST != MGetServerConfig()->GetServerMode()) && (bIsAllowNullChannel == false) ) {
MMatchStage.cpp( line 861):
Quote:
if ((MGetServerConfig()->GetServerMode() == MSM_LADDER) || (MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST))
MMatchObject.cpp(197):
Quote:
if ((pChannel) && (pChannel->GetChannelType() == MCHANNEL_TYPE_CLAN) && (MGetServerConfig()->GetServerMode() == MSM_TEST))
MMatchServer.cpp(491):
Quote:
if ((MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST))
MMatchServer.cpp(1117):
Quote:
if ((MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST))
MMatchServer_Channel.cpp(162):
Quote:
} else if ( (MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST) || (MGetServerConfig()->GetServerMode() == MSM_MATCH)) {
MMatchServer_Char.cpp(233):
Quote:
if ((MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST))
MMatchServer_Stage.cpp(882):
Quote:
if ((MGetServerConfig()->GetServerMode() == MSM_TEST) && (pChannel->GetChannelType() == MCHANNEL_TYPE_CLAN)
MMatchServer_Stage.cpp(2083):
Quote:
if ((MGetServerConfig()->GetServerMode() == MSM_TEST) && (pStage->GetStageType() == MST_LADDER))
MMatchServer_Stage.cpp(2504):
Quote:
if ((MGetServerConfig()->GetServerMode() == MSM_TEST) && (pChannel->GetChannelType() == MCHANNEL_TYPE_CLAN))
MMatchConfig.cpp(133):
Quote:
else if (!stricmp(szServerMode, SERVER_CONFIG_SERVERMODE_TEST)) m_nServerMode = MSM_TEST;
MMatchConfig.h(201):
Quote:
const bool IsClanServer() { return (MSM_CLAN == m_nServerMode || MSM_TEST == m_nServerMode); }
----------------------------------------------------------------------------------------------------------------
Gunz :
ZGameInterface.cpp(2010):
Quote:
bool bClanBattleUI = (((ZGetGameClient()->GetServerMode() == MSM_CLAN) || (ZGetGameClient()->GetServerMode() == MSM_TEST)) && (ZGetGameClient()->GetChannelType()==MCHANNEL_TYPE_CLAN));
ZGameInterface.cpp(5443):
Quote:
bool bClanBattleUI = ((nCurrentServerMode== MSM_CLAN) || (nCurrentServerMode == MSM_TEST)) && (nCurrentChannelType==MCHANNEL_TYPE_CLAN);
ZGameInterface.cpp(5790):
Quote:
bool bClanServer = (ZGetGameClient()->GetServerMode()==MSM_CLAN || ZGetGameClient()->GetServerMode()==MSM_TEST);
Lines may differ because m using my source.
Thank you.
Re: Making Quest+Clan combined server [Source]
Why do it this way and not just take out matchserver folder from source and then find and replace all then paste back in matchserver folder instead of going through all different codes individually.
But anyway, thanks.
Re: Making Quest+Clan combined server [Source]
This is cleanest form of transforming your server to combine mode. Replacing will just bug you somewhere.
Re: Making Quest+Clan combined server [Source]
where is this CSCOMMON located?
Re: Making Quest+Clan combined server [Source]
Goodjob, it will be usefull to lots of people.
Re: Making Quest+Clan combined server [Source]
and as I compile the source then? 2008 *
Re: Making Quest+Clan combined server [Source]
Quote:
Originally Posted by
gui001
and as I compile the source then? 2008 *
its ok !
Quote:
Originally Posted by
Gunblade
Goodjob, it will be usefull to lots of people.
yea it will be..but m not sure with lines i gave coz i jjust used my source to find out lines .. so there might be little confusion with lines for newbies . x(
Re: Making Quest+Clan combined server [Source]
Quote:
Originally Posted by
Ronny786
its ok !
yea it will be..but m not sure with lines i gave coz i jjust used my source to find out lines .. so there might be little confusion with lines for newbies . x(
Actually it dosent really work .... i compiled gunz.exe and matchserver and used both of them and my mode in server.ini is clan (i tried also test didnt work either)
any help ? :D:
Re: Making Quest+Clan combined server [Source]
Quote:
Originally Posted by
Rejain
Actually it dosent really work .... i compiled gunz.exe and matchserver and used both of them and my mode in server.ini is clan (i tried also test didnt work either)
any help ? :D:
TEST Newbie ;)
Re: Making Quest+Clan combined server [Source]
Re: Making Quest+Clan combined server [Source]
lol eassier with mode=clan, my way was 20x easier than this, why replace all the lines when you could just replace all MSM_TEST to MSM_CLAN except from Matchserver project.
Re: Making Quest+Clan combined server [Source]
Quote:
Originally Posted by
Duluxe
lol eassier with mode=clan, my way was 20x easier than this, why replace all the lines when you could just replace all MSM_TEST to MSM_CLAN except from Matchserver project.
why dont u make ur own TUT rather than spamming here ?? >:(
Re: Making Quest+Clan combined server [Source]
Quote:
Originally Posted by
Ronny786
why dont u make ur own TUT rather than spamming here ?? >:(
i will when i get back home then :P
Re: Making Quest+Clan combined server [Source]
Quote:
Originally Posted by
dsw_pool
TEST Newbie ;)
Quote:
Originally Posted by Rejain
Actually it dosent really work .... i compiled gunz.exe and matchserver and used both of them and my mode in server.ini is clan (i tried also test didnt work either)
any help ?
read be4 post dude -.-'
Re: Making Quest+Clan combined server [Source]
Quote:
Originally Posted by
Rejain
read be4 post dude -.-'
c'mon man, i provided so many changed lines.. take some efforts to find more...... Reduce spoon feedings !!
Re: Making Quest+Clan combined server [Source]
Quote:
Originally Posted by
Ronny786
c'mon man, i provided so many changed lines.. take some efforts to find more...... Reduce spoon feedings !!
Well i found a new problem i have the clan servers but i cant see the clan score rank or name thats all it shows me btw great effort thank you :D:
Re: Making Quest+Clan combined server [Source]
Quote:
Originally Posted by
Rejain
Well i found a new problem i have the clan servers but i cant see the clan score rank or name thats all it shows me btw great effort thank you :D:
I had this problem, you gotta create clan bu website panel or reopen one
Re: Making Quest+Clan combined server [Source]
Quote:
Originally Posted by
qet123
I had this problem, you gotta create clan bu website panel or reopen one
Tried that , didnt work i have no idea what the problem is , i have the Clan War button i have Everything if u need a pic ill upload one , thank you anyway :D: