Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

Results 1 to 14 of 14
  1. #1
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    Simple guide to increase quest players without having bugs/crashes.
    Here i'll increase quest players to 8. you can change values as you want.

    1)Source Edits :

    Open MMatchGlobal.h (Located in CSCommon)

    Find :
    Code:
    #define STAGE_QUEST_MAX_PLAYER			4
    Change to :
    Code:
    #define STAGE_QUEST_MAX_PLAYER			8


    MMatchDBMgr.h:

    Find :
    Code:
    const int nMasterCID, const int nPlayer1, const int nPlayer2, const int nPlayer3,
    Replace with :
    Code:
    const int nMasterCID, const int nPlayer1, const int nPlayer2, const int nPlayer3,const int nPlayer4, const int nPlayer5, const int nPlayer6, const int nPlayer7,

    MMatchDBMgr.cpp:

    Find :
    Code:
    const int nMasterCID, const int nPlayer1, const int nPlayer2, const int nPlayer3,
    Replace with :
    Code:
    const int nMasterCID, const int nPlayer1, const int nPlayer2, const int nPlayer3,const int nPlayer4, const int nPlayer5, const int nPlayer6, const int nPlayer7,

    2) XML Edit :

    Decompile "system.mrs" and Open "GameeTypeCfg.xml" in Notepad.

    Edit :
    Code:
    <GAMETYPE id="7">	<!-- GAMETYPE_QUEST -->
    		<ROUNDS    round="1"	str="---" default="true" />
    		<LIMITTIME sec="99999"	str="STR:GAMETYPECFG_LIMITTIME_INFINITE" />
    		<MAXPLAYERS player="4"  str="4" default="true" />
    	</GAMETYPE>
    To:
    Code:
    <GAMETYPE id="7">	<!-- GAMETYPE_QUEST -->
    		<ROUNDS    round="1"	str="---" default="true" />
    		<LIMITTIME sec="99999"	str="STR:GAMETYPECFG_LIMITTIME_INFINITE" />
    		<MAXPLAYERS player="8"  str="8" default="true" />
    	</GAMETYPE>

    3) Database Changes :

    Right click on "dbo.QuestGameLog " and click "Modify" (MSSQL05) / "Design" (MSSQL08)

    Add these columns :
    Code:
    Player4	int	Checked
    Player5	int	Checked
    Player6	int	Checked
    Player7	int	Checked


    Now Go "Store Procedures" and Find "dbo.spInsertQuestGameLog" . click modify.
    and replace whole thing.

    Spoiler:
    USE [GunzDB]
    GO
    /****** Object: StoredProcedure [dbo].[spInsertQuestGameLog] Script Date: 02/13/2013 21:45:12 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- Äù½ºÆ® °ÔÀÓ ·Î±× Á¤º¸ ÀúÀå ÇÁ·Î½ÃÁ®.
    ALTER PROC [dbo].[spInsertQuestGameLog]
    @GameName varchar(64)
    , @Master int
    , @Player1 int
    , @Player2 int
    , @Player3 int
    , @Player4 int
    , @Player5 int
    , @Player6 int
    , @Player7 int
    , @TotalQItemCount smallint
    , @ScenarioID smallint
    , @GamePlayTime tinyint
    AS
    SET NOCOUNT ON

    BEGIN TRAN
    INSERT INTO QuestGameLog(GameName, Master, Player1, Player2, Player3, TotalQItemCount, ScenarioID, StartTime, EndTime, Player4, Player5, Player6, Player7 )
    VALUES (@GameName, @Master, @Player1, @Player2, @Player3, @TotalQItemCount, @ScenarioID, DATEADD(n, -(@GamePlayTime), GETDATE()), GETDATE() , @Player4, @Player5, @Player6, @Player7)
    IF 0 <> @@ERROR BEGIN -- ¿©±â Ãß°¡.
    ROLLBACK TRAN
    RETURN
    END

    SELECT @@IDENTITY AS 'ORDERQGLID'
    COMMIT TRAN



    Credits :
    Wizkidje : Source edits
    Vusion : Spawns
    Enjoy!

    If i miss something , please feel free to correct it. Thank you!
    Last edited by Ronny786; 13-02-13 at 09:13 PM.


  2. #2
    Proficient Member damn321 is offline
    MemberRank
    Dec 2012 Join Date
    176Posts

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    , @Master int
    , @Player1 int
    , @Player2 int
    , @Player3 int
    , @Player4 int
    , @Player5 int
    , @Player6 int
    , @Player7 int
    need to add
    , @Player8 int ?

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

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    Quote Originally Posted by damn321 View Post
    , @Master int
    , @Player1 int
    , @Player2 int
    , @Player3 int
    , @Player4 int
    , @Player5 int
    , @Player6 int
    , @Player7 int
    need to add
    , @Player8 int ?
    No.. check first @Master is 1st player .. so your player count goes -1.

  4. #4
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    The database edit is useless without modifying the source (CSCommon > MMatchDBMgr::InsertQuestGameLog).

  5. #5
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    Don't you need to add extra spawn points ?

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

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    Quote Originally Posted by Vusion View Post
    Don't you need to add extra spawn points ?
    m little weak at xmls, you can share it !

  7. #7
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    Quote Originally Posted by Ronny786 View Post
    m little weak at xmls, you can share it !
    Got no GunZ clients installed and I don't intend to install one. It's not that hard anyway.

  8. #8
    RailGunZ Soon! megol is offline
    MemberRank
    Jun 2012 Join Date
    261Posts

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    and this works or does not work, you should work with xml for spawn points.

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

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    Quote Originally Posted by megol View Post
    and this works or does not work, you should work with xml for spawn points.
    according to me, spawn points arent doing a better job right now.. it does work with out spawns.

  10. #10
    Proficient Member damn321 is offline
    MemberRank
    Dec 2012 Join Date
    176Posts

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    Quote Originally Posted by Ronny786 View Post
    No.. check first @Master is 1st player .. so your player count goes -1.
    ahh ok thanks

  11. #11
    Valued Member theprolor is offline
    MemberRank
    Nov 2012 Join Date
    Inside you ;)Location
    134Posts

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    should be ez with just 4 people.. not hard at all

  12. #12
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    Someone had released quest maps (mansion, dungeon and prison) with 8 spawn points, a couple of years ago. I don't remember who, but you can try looking for that thread.

  13. #13
    Valued Member OceanDeep is offline
    MemberRank
    May 2012 Join Date
    GamesLocation
    144Posts

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    Make more spawns :/

  14. #14
    RailGunZ Soon! megol is offline
    MemberRank
    Jun 2012 Join Date
    261Posts

    Re: Increasing Quest Player Limit ( Full Guide ) + ( Source edits )

    trying to install this code but throws me this error code is to increase the capacity of players in Quest mode.

    Source\MAsyncDBJob.cpp(442) : error C2146: syntax error : missing ')' before identifier 'm_nTotalRewardQItemCount'
    Source\MAsyncDBJob.cpp(442) : error C2660: 'MMatchDBMgr::InsertQuestGameLog' : function does not take 11 arguments
    Source\MAsyncDBJob.cpp(444) : error C2059: syntax error : ')'
    Source\MAsyncDBJob.cpp(445) : error C2143: syntax error : missing ';' before '{'



Advertisement