Post: Basic C# Function: Get Map Name
08-06-2013, 12:47 AM #1
xRevolutions
Pokemon Trainer
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU,

Just a small Release for your RTE Tools. If you need more Function i can do them and Release. Just message me Winky Winky

Add this somewhere in your Project..
            private static string GetMapNameBO2()
{
byte[] buffer = new byte[20];
PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0L, 0x00f54ede, ref buffer);
string str = Encoding.ASCII.GetString(buffer);
if (str.Contains("patch"))
return "You are not in a Match";
if (str.Contains("nuke"))
return "Nuketown 2025";
if (str.Contains("drone"))
return "Drone";
if (str.Contains("la"))
return "Aftermath";
if (str.Contains("dockside"))
return "Cargo";
if (str.Contains("carrier"))
return "Carrier";
if (str.Contains("hijacked"))
return "Hijacked";
if (str.Contains("meltdown"))
return "Meltdown";
if (str.Contains("overflow"))
return "Overflow";
if (str.Contains("nightclub"))
return "Plaza";
if (str.Contains("raid"))
return "Raid";
if (str.Contains("slums"))
return "Slums";
if (str.Contains("village"))
return "Standoff";
if (str.Contains("turbine"))
return "Turbine";
if (str.Contains("socotra"))
return "Yemen";
else return "Unknown Map";
}


I would be happy if someone can update it for the DLC maps.
Goto the Offset 0x00f54ede in the Debugger and Update it like this (you need the first Chars of the Map..
if (str.Contains("CHARS"))
return "MAPNAME";

Credits:
xRevolution (i guess)
Treyarch == > for the shitty Game
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to xRevolutions for this useful post:

Red-EyeX32, ibombo, Mango_Knife, Source Code, xBeaTzMoDz
08-16-2013, 09:48 PM #11
RaToRxHDx
I am error
nice.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo