Making Quest+Clan combined server [Source]

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    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):
    if((MSM_CLAN != MGetServerConfig()->GetServerMode()) && (MSM_TEST != MGetServerConfig()->GetServerMode()) && (bIsAllowNullChannel == false) ) {

    MMatchStage.cpp( line 861):
    if ((MGetServerConfig()->GetServerMode() == MSM_LADDER) || (MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST))

    MMatchObject.cpp(197):
    if ((pChannel) && (pChannel->GetChannelType() == MCHANNEL_TYPE_CLAN) && (MGetServerConfig()->GetServerMode() == MSM_TEST))

    MMatchServer.cpp(491):
    if ((MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST))

    MMatchServer.cpp(1117):
    if ((MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST))

    MMatchServer_Channel.cpp(162):
    } else if ( (MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST) || (MGetServerConfig()->GetServerMode() == MSM_MATCH)) {

    MMatchServer_Char.cpp(233):
    if ((MGetServerConfig()->GetServerMode() == MSM_CLAN) || (MGetServerConfig()->GetServerMode() == MSM_TEST))

    MMatchServer_Stage.cpp(882):
    if ((MGetServerConfig()->GetServerMode() == MSM_TEST) && (pChannel->GetChannelType() == MCHANNEL_TYPE_CLAN)

    MMatchServer_Stage.cpp(2083):
    if ((MGetServerConfig()->GetServerMode() == MSM_TEST) && (pStage->GetStageType() == MST_LADDER))

    MMatchServer_Stage.cpp(2504):
    if ((MGetServerConfig()->GetServerMode() == MSM_TEST) && (pChannel->GetChannelType() == MCHANNEL_TYPE_CLAN))

    MMatchConfig.cpp(133):
    else if (!stricmp(szServerMode, SERVER_CONFIG_SERVERMODE_TEST)) m_nServerMode = MSM_TEST;

    MMatchConfig.h(201):
    const bool IsClanServer() { return (MSM_CLAN == m_nServerMode || MSM_TEST == m_nServerMode); }

    ----------------------------------------------------------------------------------------------------------------

    Gunz :

    ZGameInterface.cpp(2010):
    bool bClanBattleUI = (((ZGetGameClient()->GetServerMode() == MSM_CLAN) || (ZGetGameClient()->GetServerMode() == MSM_TEST)) && (ZGetGameClient()->GetChannelType()==MCHANNEL_TYPE_CLAN));

    ZGameInterface.cpp(5443):
    bool bClanBattleUI = ((nCurrentServerMode== MSM_CLAN) || (nCurrentServerMode == MSM_TEST)) && (nCurrentChannelType==MCHANNEL_TYPE_CLAN);

    ZGameInterface.cpp(5790):
    bool bClanServer = (ZGetGameClient()->GetServerMode()==MSM_CLAN || ZGetGameClient()->GetServerMode()==MSM_TEST);








    Lines may differ because m using my source.
    Thank you.


  2. #2
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    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.

  3. #3
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: Making Quest+Clan combined server [Source]

    This is cleanest form of transforming your server to combine mode. Replacing will just bug you somewhere.

  4. #4
    Apprentice bl00dbank is offline
    MemberRank
    Dec 2011 Join Date
    15Posts

    Re: Making Quest+Clan combined server [Source]

    where is this CSCOMMON located?

  5. #5
    Daemonsring Developer Gunblade is offline
    MemberRank
    Jul 2007 Join Date
    On the moonLocation
    728Posts

    Re: Making Quest+Clan combined server [Source]

    Goodjob, it will be usefull to lots of people.

  6. #6
    Apprentice gui001 is offline
    MemberRank
    Jul 2009 Join Date
    Crazy GunzLocation
    13Posts

    Re: Making Quest+Clan combined server [Source]

    and as I compile the source then? 2008 *

  7. #7
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: Making Quest+Clan combined server [Source]

    Quote Originally Posted by gui001 View Post
    and as I compile the source then? 2008 *
    its ok !

    Quote Originally Posted by Gunblade View Post
    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(

  8. #8
    Account Upgraded | Title Enabled! Rejain is offline
    MemberRank
    Jul 2012 Join Date
    201Posts

    Re: Making Quest+Clan combined server [Source]

    Quote Originally Posted by Ronny786 View Post
    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 ?

  9. #9
    Valued Member dsw_pool is offline
    MemberRank
    Oct 2009 Join Date
    HouseLocation
    142Posts

    Re: Making Quest+Clan combined server [Source]

    Quote Originally Posted by Rejain View Post
    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 ?
    TEST Newbie ;)

  10. #10
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: Making Quest+Clan combined server [Source]

    mode should be test !

  11. #11
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    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.

  12. #12
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: Making Quest+Clan combined server [Source]

    Quote Originally Posted by Duluxe View Post
    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 ?? >:(

  13. #13
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Making Quest+Clan combined server [Source]

    Quote Originally Posted by Ronny786 View Post
    why dont u make ur own TUT rather than spamming here ?? >:(
    i will when i get back home then :P

  14. #14
    Account Upgraded | Title Enabled! Rejain is offline
    MemberRank
    Jul 2012 Join Date
    201Posts

    Re: Making Quest+Clan combined server [Source]

    Quote Originally Posted by dsw_pool View Post
    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 -.-'

  15. #15
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: Making Quest+Clan combined server [Source]

    Quote Originally Posted by Rejain View Post
    read be4 post dude -.-'
    c'mon man, i provided so many changed lines.. take some efforts to find more...... Reduce spoon feedings !!



Page 1 of 2 12 LastLast

Advertisement