Get Current Map Name

Posts 1–3 of 3 · Page 1 of 1
Get Current Map Name
I found an address that returns the current mapname in lowercase.
The mapnames only appears, if you are ingame. (NOT in the Lobby)
Code:
iw5mp.exe+6D9AF3
0x00AD9AF3
Works in Private Games, Online Games (and without being an host)
Have Fun

Edit://
Some Maps returns "developer names"?
Arkaden = plaza2
Bakaara = Mogadishu
First of all, this is not a release. And this can be found by anyone with brains that read the Source Code Thread, as you can see here:
Code:
typedef struct
{
    char _0x0000[0x8];
    int Width;//0x8 (0x9D0CA8)
    int Height;//0xC (0x9D0CAC)
    char _0x0010[0x14];
    char GameType[4]; //0x24 (0x9D0CC4)
    char _0x0028[0x1C];
    char HostName[64]; //0x44 (0x9D0CE4)
    char _0x0084[0xC4];
    int MaxClients;//0x148 (0x9D0DE8)
    char _0x014C[0x4];
    char MapName[64];  //0x150 (0x9D0DF0)
    char _0x0190[0x43F0];
    cg_t CGame;//0x4580 (0x9D5220)
}cgs_t; //[Addr: 0x9D0CA0] [Size: 0x45C0]
The CGS struct holds the map name and many other things as well. But nice job finding it on you own anyway
[notice]Changed thread tag to "Source Code"[/notice]
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us