Hi , the title sais it all.
![]()
Hi , the title sais it all.
![]()
Loled/..its test mode... make combine server with clan+quest or simply change mode=clan in server.ini
There are checks everywhere in the source.
At places you will find stuff like: if(mode == clan), you must change it to if(mode == clan || mode == test) <- This is a very basic example and the names in the source will differ from this.
Anyway, hope you will be able to figure it out now.
Server.ini
Mode=clan
cscommon,gunz
MSM_test->MSM_CLAN
Thank you , i tried it but i got an error while compiling :
[CODE]
Gunz Solution :
\Gunz\Stable\CSCommon\Include\MMatchGlobal.h(67) : error C2143: syntax error : missing '}' before '->'
\Gunz\Stable\CSCommon\Include\MMatchGlobal.h(67) : error C2143: syntax error : missing ';' before '->'
\Gunz\Stable\CSCommon\Include\MMatchGlobal.h(67) : error C2059: syntax error : '->'
\Gunz\Stable\CSCommon\Include\MMatchGlobal.h(71) : error C2143: syntax error : missing ';' before '}'
\Gunz\Stable\CSCommon\Include\MMatchGlobal.h(71) : error C2059: syntax error : '}'
CSCommon Solution :
\Gunz\Stable\CSCommon\Include\MMatchGlobal.h(67) : error C2143: syntax error : missing '}' before '->'
\Gunz\Stable\CSCommon\Include\MMatchGlobal.h(67) : error C2143: syntax error : missing ';' before '->'
\Gunz\Stable\CSCommon\Include\MMatchGlobal.h(67) : error C2059: syntax error : '->'
\Gunz\Stable\CSCommon\Include\MMatchGlobal.h(71) : error C2143: syntax error : missing ';' before '}'
\Gunz\Stable\CSCommon\Include\MMatchGlobal.h(71) : error C2059: syntax error : '}'
Replace the lines.
zgameinterface.cpp:(line 2010)
bool bClanBattleUI = (((ZGetGameClient()->GetServerMode() == MSM_CLAN) || (ZGetGameClient()->GetServerMode() == MSM_TEST)) && (ZGetGameClient()->GetChannelType()==MCHANNEL_TYPE_CLAN));
line 5443:
bool bClanBattleUI = ((nCurrentServerMode== MSM_CLAN) || (nCurrentServerMode == MSM_TEST)) && (nCurrentChannelType==MCHANNEL_TYPE_CLAN);
line 5790:
bool bClanServer = (ZGetGameClient()->GetServerMode()==MSM_CLAN || ZGetGameClient()->GetServerMode()==MSM_TEST);
MMatchstage.cpp:
line 861:
if ((MGetServerConfig()->GetServerMode() == MSM_LADDER) || (MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST))
line: 60
if((MSM_CLAN != MGetServerConfig()->GetServerMode()) && (MSM_TEST != MGetServerConfig()->GetServerMode()) && (bIsAllowNullChannel == false) ) {
MMatchObject.cpp:
line: 197
MMatchserver.cppif ((pChannel) && (pChannel->GetChannelType() == MCHANNEL_TYPE_CLAN) && (MGetServerConfig()->GetServerMode() == MSM_TEST))
line: 491
line :1117if ((MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST))
if ((MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST))
MMatchServer_Channel.cpp
line 162:
} else if ( (MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST) || (MGetServerConfig()->GetServerMode() == MSM_MATCH)) {
MMatchServer_char.cpp
line 233:
if ((MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST))
MMatchServer_Ladder.cpp:
line 78:
MMatchServer_stage.cpp:if ((MGetServerConfig()->GetServerMode() != MSM_LADDER) &&
(MGetServerConfig()->GetServerMode() != MSM_CLAN) &&
(MGetServerConfig()->GetServerMode() != MSM_TEST)) return;
line 882:
line 2504:if ((MGetServerConfig()->GetServerMode() == MSM_TEST) && (pChannel->GetChannelType() == MCHANNEL_TYPE_CLAN)
MMatchConfig.hif ((MGetServerConfig()->GetServerMode() == MSM_TEST) && (pChannel->GetChannelType() == MCHANNEL_TYPE_CLAN))
line 201:
const bool IsClanServer() { return (MSM_CLAN == m_nServerMode || MSM_TEST == m_nServerMode); }
I think this is much enough for you.. if any values left, just do what i did in above codes.. i hope you understood some of it...
n i deserve pretty like for such an effort xD
1 thing forgot to tell ya... change mode=test in server.ini :D
it does work buddy..