gunz 1.5 custom maps in cw

Results 1 to 9 of 9
  1. #1
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    gunz 1.5 custom maps in cw

    i have custom maps in clanwar (example : skillmaps).
    how to fix it?
    Last edited by sahar042; 10-05-12 at 10:03 PM.


  2. #2
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: gunz 1.5 custom maps in cw

    bump.

  3. #3
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: gunz 1.5 custom maps in cw

    Quote Originally Posted by sahar042 View Post
    bump.
    What's the bump for? You need 24 hours to bump it, anyway I will update my reply soon to help you.


    Code:
    CSCommon\Include\MMatchMap.h(7):enum MMATCH_MAP
    Post for me all the code if you edit it.

    Orginal:
    Code:
    enum MMATCH_MAP 
    {
    	MMATCH_MAP_MANSION			= 0,
    	MMATCH_MAP_PRISON			= 1,
    	MMATCH_MAP_STATION			= 2,
    	MMATCH_MAP_PRISON_II		= 3,
    	MMATCH_MAP_BATTLE_ARENA		= 4,
    	MMATCH_MAP_TOWN				= 5,
    	MMATCH_MAP_DUNGEON			= 6,
    	MMATCH_MAP_RUIN				= 7,
    	MMATCH_MAP_ISLAND			= 8,
    	MMATCH_MAP_GARDEN			= 9,
    	MMATCH_MAP_CASTLE			= 10,
    	MMATCH_MAP_FACTORY			= 11,
    	MMATCH_MAP_PORT				= 12,
    	MMATCH_MAP_LOST_SHRINE		= 13,
    	MMATCH_MAP_STAIRWAY			= 14,
    	MMATCH_MAP_SNOWTOWN			= 15,
    	MMATCH_MAP_HALL				= 16,
    	MMATCH_MAP_CATACOMB			= 17,
    	MMATCH_MAP_JAIL				= 18,
    	MMATCH_MAP_SHOWERROOM		= 19,
    	MMATCH_MAP_HIGH_HAVEN		= 20,
    	MMATCH_MAP_CITADEL			= 21,
    	MMATCH_MAP_RELAYMAP			= 22,
    	MMATCH_MAP_HALLOWEEN_TOWN	= 23,
    	MMATCH_MAP_WEAPON_SHOP		= 24,
    	MMATCH_MAP_MAX
    };
    Last edited by qet123; 11-05-12 at 04:14 PM.

  4. #4
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: gunz 1.5 custom maps in cw


  5. #5
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: gunz 1.5 custom maps in cw

    You missed with clan war players ? like 5vs5 ? because if you edit this code:
    Code:
    enum MLADDERTYPE {
    	MLADDERTYPE_NORMAL_2VS2		= 0,
    	MLADDERTYPE_NORMAL_3VS3,
    	MLADDERTYPE_NORMAL_4VS4,
    //	MLADDERTYPE_NORMAL_8VS8,
    #ifdef _DEBUG
    	MLADDERTYPE_NORMAL_1VS1,
    #endif
    	MLADDERTYPE_MAX
    };
    First, you need to edit more than this, second the problem from here:
    Code:
    int MClanGameStrategy::GetRandomMap(int nTeamMember)
    {
    	int nVecIndex = 0;
    	int nMaxSize = 0;
    	switch (nTeamMember)
    	{
    	case 2:
    		nVecIndex = MLADDERTYPE_NORMAL_2VS2;
    		break;
    	case 3:
    		nVecIndex = MLADDERTYPE_NORMAL_3VS3;
    		break;
    	case 4:
    		nVecIndex = MLADDERTYPE_NORMAL_4VS4;
    		break;
    //	case 8:
    //		nVecIndex = MLADDERTYPE_NORMAL_8VS8;
    //		break;
    	};
    
    	nMaxSize = (int)m_RandomMapVec[nVecIndex].size();
    	
    	int nRandomMapIndex = 0;
    	int nRandomMap=0;
    
    	if (nMaxSize!=0) {
    		nRandomMapIndex = rand() % nMaxSize;
    		nRandomMap = m_RandomMapVec[nVecIndex][nRandomMapIndex];
    	}
    
    	return nRandomMap;
    }
    Can you tell me when it load skillmap? amount of the players I mean...?

  6. #6
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: gunz 1.5 custom maps in cw

    i didn't edit this file.
    it's default players in cw.
    4 vs 4.
    you can't more then 4.
    i only want to put the default ijji maps in the cw.
    all the maps i have in the server then i have it in the clan war.
    "Custom Map Rotation"
    Last edited by sahar042; 11-05-12 at 06:23 PM.

  7. #7
    Valued Member EvoGamers is offline
    MemberRank
    Nov 2012 Join Date
    102Posts

    Re: gunz 1.5 custom maps in cw

    I need to fix that also.

  8. #8
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: gunz 1.5 custom maps in cw

    Quote Originally Posted by EvoGamers View Post
    I need to fix that also.
    Lol you bump an old thread, Anyway i fixed it from along time ago just change this numbers
    enum MMATCH_MAP
    {
    MMATCH_MAP_MANSION = 0,
    MMATCH_MAP_PRISON = 1,
    MMATCH_MAP_STATION = 2,
    MMATCH_MAP_PRISON_II = 3,
    MMATCH_MAP_BATTLE_ARENA = 4,
    MMATCH_MAP_TOWN = 5,
    MMATCH_MAP_DUNGEON = 6,
    MMATCH_MAP_RUIN = 7,
    MMATCH_MAP_ISLAND = 8,
    MMATCH_MAP_GARDEN = 9,
    MMATCH_MAP_CASTLE = 10,
    MMATCH_MAP_FACTORY = 11,
    MMATCH_MAP_PORT = 12,
    MMATCH_MAP_LOST_SHRINE = 13,
    MMATCH_MAP_STAIRWAY = 14,
    MMATCH_MAP_SNOWTOWN = 15,
    MMATCH_MAP_HALL = 16,
    MMATCH_MAP_CATACOMB = 17,
    MMATCH_MAP_JAIL = 18,
    MMATCH_MAP_SHOWERROOM = 19,
    MMATCH_MAP_HIGH_HAVEN = 20,
    MMATCH_MAP_CITADEL = 21,
    MMATCH_MAP_RELAYMAP = 22,
    MMATCH_MAP_HALLOWEEN_TOWN = 23,
    MMATCH_MAP_WEAPON_SHOP = 24,
    MMATCH_MAP_MAX
    };
    From map.xml Example -> In my map xml i have Mansion map and the id is 5 than you need to change it in the source
    to:
    MMATCH_MAP_MANSION = 5,
    That's all...

  9. #9
    Apprentice Minhtoan Le is offline
    MemberRank
    Apr 2013 Join Date
    22Posts

    Re: gunz 1.5 custom maps in cw

    Map_MAX = 99999 also
    and then how about re-build it??



Advertisement