Post: [Release] Get Map Names & Get Game Modes
06-18-2013, 04:55 PM #1
KCxFTW
Who’s Jim Erased?
(adsbygoogle = window.adsbygoogle || []).push({}); Hello everybody,

This is just a little release for you guys creating RTE tools. These codes just allow you to get the map names & the game modes.

For Example
You must login or register to view this content.

Get Map Name: (If you would like to copy it from a pastebin go You must login or register to view this content.)
    
public String BO2MPGetMapName()
{
byte[] GetMap = new byte[11];
PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0xEE4278, ref GetMap);
string GetMapName = Encoding.ASCII.GetString(GetMap);
if (GetMapName.Contains("mp_la"))
{
return "Aftermath";
}
else if (GetMapName.Contains("mp_dockside"))
{
return "Cargo";
}
else if (GetMapName.Contains("mp_carrier"))
{
return "Carrier";
}
else if (GetMapName.Contains("mp_drone"))
{
return "Drone";
}
else if (GetMapName.Contains("mp_express"))
{
return "Express";
}
else if (GetMapName.Contains("mp_hijacked"))
{
return "Hijacked";
}
else if (GetMapName.Contains("mp_meltdown"))
{
return "Meltdown";
}
else if (GetMapName.Contains("mp_overflow"))
{
return "Overflow";
}
else if (GetMapName.Contains("mp_nightclub"))
{
return "Plaza";
}
else if (GetMapName.Contains("mp_raid"))
{
return "Raid";
}
else if (GetMapName.Contains("mp_slums"))
{
return "Slums";
}
else if (GetMapName.Contains("mp_slums"))
{
return "Slums";
}
else if (GetMapName.Contains("mp_village"))
{
return "Standoff";
}
else if (GetMapName.Contains("mp_turbine"))
{
return "Turbine";
}
else if (GetMapName.Contains("mp_socotra"))
{
return "Yemen";
}
else if (GetMapName.Contains("mp_nuketown_2020"))
{
return "Nuketown 2020";
}
else if (GetMapName.Contains("mp_downhill"))
{
return "Downhill";
}
else if (GetMapName.Contains("mp_hydro"))
{
return "Hydro";
}
else if (GetMapName.Contains("mp_skate"))
{
return "Grind";
}
else if (GetMapName.Contains("mp_mirage"))
{
return "Mirage";
}
else if (GetMapName.Contains("mp_concert"))
{
return "Encore";
}
else if (GetMapName.Contains("mp_magma"))
{
return "Magma";
}
else if (GetMapName.Contains("mp_studio"))
{
return "Studio";
}
else if (GetMapName.Contains("mp_vertigo"))
{
return "Vertigo";
}
return "";
}


Get Game Mode (If you would like to copy it from a pastebin go You must login or register to view this content.)
    
public String GetGameMode()
{
byte[] GetGameMode = new byte[11];
PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0xEE42B8, ref GetGameMode);
string GetGameModeName = Encoding.ASCII.GetString(GetGameMode);
if (GetGameModeName.Contains("tdm"))
{
return "Team Deathmatch";
}
else if (GetGameModeName.Contains("dm"))
{
return "Free-For-All";
}
else if (GetGameModeName.Contains("dom"))
{
return "Domination";
}
else if (GetGameModeName.Contains("dem"))
{
return "Demolition";
}
else if (GetGameModeName.Contains("conf"))
{
return "Kill Confirmed";
}
else if (GetGameModeName.Contains("koth"))
{
return "Hardpoint";
}
else if (GetGameModeName.Contains("hq"))
{
return "Headquarters";
}
else if (GetGameModeName.Contains("ctf"))
{
return "Capture The Flag";
}
else if (GetGameModeName.Contains("sd"))
{
return "Search & Destroy";
}
else if (GetGameModeName.Contains("gun"))
{
return "Gun Game";
}
else if (GetGameModeName.Contains("oic"))
{
return "One in the Chamber";
}
else if (GetGameModeName.Contains("shrp"))
{
return "Sharpshooter";
}
else if (GetGameModeName.Contains("sas"))
{
return "Sticks and Stones";
}
return "";
}


You would just need to create a label in your tool or whatever.
Example
    
label1.Text = GetMapName();
label2.Text = GetGameMode();


Credits To:
You must login or register to view this content. - MW3 GetMapName function
You must login or register to view this content. - DLC Maps
Treyarch - Creating the game.
Me(KCxFTW) - Finding the offsets & creating this for Black Ops 2
(adsbygoogle = window.adsbygoogle || []).push({});

The following 10 users say thank you to KCxFTW for this useful post:

{H} | Exception, {HaMm}Holdeman7, Baptiste-, EliteHackzPS3, Hacker41822, Mango_Knife, O-H, SeemsLegit_, therifboy, zZHackzZ
06-19-2013, 03:50 PM #11
KCxFTW
Who’s Jim Erased?
Originally posted by Tustin View Post
You can add these to the thread if you want. It's all the current mp dlc maps. I'm assuming the dlc 2 ones are fine but i don't have the console command names for them.

    else if (GetMapName.Contains("mp_downhill"))
{
return "Downhill";
}
else if (GetMapName.Contains("mp_hydro"))
{
return "Hydro";
}
else if (GetMapName.Contains("mp_skate"))
{
return "Grind";
}
else if (GetMapName.Contains("mp_mirage"))
{
return "Mirage";
}
else if (GetMapName.Contains("mp_concert"))
{
return "Encore";
}
else if (GetMapName.Contains("mp_magma"))
{
return "Magma";
}
else if (GetMapName.Contains("mp_studio"))
{
return "Studio";
}
else if (GetMapName.Contains("mp_vertigo"))
{
return "Vertigo";
}


Thanks I'll add them. I was offline when I did this and I didn't have the dlc's installed.
06-23-2013, 12:41 PM #12
DL Dont work Winky Winky
06-23-2013, 01:35 PM #13
C123
Do a barrel roll!
You must login or register to view this content.
06-23-2013, 07:54 PM #14
Nice release. :y:
08-12-2013, 09:23 PM #15
For which update was this ?
08-16-2013, 09:40 PM #16
RaToRxHDx
I am error
nice.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo