i have custom maps in clanwar (example : skillmaps).
how to fix it?![]()
i have custom maps in clanwar (example : skillmaps).
how to fix it?![]()
Last edited by sahar042; 10-05-12 at 10:03 PM.
What's the bump for? You need 24 hours to bump it, anyway I will update my reply soon to help you.
Post for me all the code if you edit it.Code:CSCommon\Include\MMatchMap.h(7):enum MMATCH_MAP
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.
You missed with clan war players ? like 5vs5 ? because if you edit this code:
First, you need to edit more than this, second the problem from here:Code:enum MLADDERTYPE { MLADDERTYPE_NORMAL_2VS2 = 0, MLADDERTYPE_NORMAL_3VS3, MLADDERTYPE_NORMAL_4VS4, // MLADDERTYPE_NORMAL_8VS8, #ifdef _DEBUG MLADDERTYPE_NORMAL_1VS1, #endif MLADDERTYPE_MAX };
Can you tell me when it load skillmap? amount of the players I mean...?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; }
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.
I need to fix that also.
Lol you bump an old thread, Anyway i fixed it from along time ago just change this numbers
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 sourceenum 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
};
to:
That's all...MMATCH_MAP_MANSION = 5,
Map_MAX = 99999 also
and then how about re-build it??