class CFMap
{
public:
WORD MapIndex;
char MapName[0x20];
char MapFileName[0x51];
char spacer000[0x2A9];
DWORD MapRuleType;
char spacer00[0xA];
bool RandomRespawnTeamDeathMatch;
char spacer01;
char spacer02[0x2DC];
float HellPosY;
char spacer03[0xC8];
BYTE SpotWeaponType;
BYTE Environment;//CMP BYTE PTR DS:[EDX+EBP+6D5],0
char spacer04[0x102];
float EmissionInterval;
float ParticlesPerEmission;
float GravityAccel;
DWORD EmissionMaxSize;
float LimitY;
float SightDist;
float StartOffsetY;
char spaxer05;
BYTE UseWeapons[4];
char spacer06[8];
BYTE UsableBag;//MOV BYTE PTR DS:[EDX+EBP+801],1
char spacer07[0xE];
float MapRuleSubType;
};
DWORD pMapMgr=(*(DWORD*)(CShell+MapMgr));
//logg ,\maps info to file
file.open("C:\\maplog.txt");
for(int i=0;i<=100;i++)
{
CFMap* map = (CFMap*)(pMapMgr + (0x818*i));
if(map!=NULL)
{
file<<map->MapName<<endl<<"Index: "<<map->MapIndex<<endl<<"FileName: "<<map->MapFileName<<endl<<"MapRule: "<<map->MapRuleType<<endl<<"Environment: "<<(int)map->Environment<<endl<<"SpotWeaponType: "<<(int)map->SpotWeaponType
<<endl<<"Gravity: "<<map->GravityAccel<<endl<<"MapRuleSubType: "<<map->MapRuleSubType<<endl<<"UsableBag: "<<(int)map->UsableBag<<endl<<"Bag1: "<<(int)map->UseWeapons[0]<<endl
<<"Bag2: "<<(int)map->UseWeapons[1]<<endl<<"Bag3: "<<(int)map->UseWeapons[2]<<endl<<"Bag4: "<<(int)map->UseWeapons[3]<<endl;
file<<endl<<endl<<endl;
}
}
file.close();
srand (time(NULL));
CFMap* map = (CFMap*)(pMapMgr + (0x818*30));
memcpy((void*)(pMapMgr + (0x818*30)+0x22),(void*)(pMapMgr + (0x818*(rand()%70))+0x22),0x818-0x22);//change training magazine room to random
map->MapRuleType=14;

Can i change the Map TypeRule or is it only Visual?
but the rules doesn't work for me ,, i may did it wrong !! GJ
@rabir007\x8B\x42\x04\x8B\x40\x04\x50\xFF\xD7\x8B\x0D\x00\x00\x00\x00\x83\xC4\x04\x85\xC0
xxxxxxxxxxx????xxxxx
+11