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-06-2013, 12:55 AM #2
xBeaTzMoDz
Do a barrel roll!
ohhh Nice Thx xRevolution
08-06-2013, 01:09 AM #3
xRevolutions
Pokemon Trainer
Originally posted by xBeaTzMoDz View Post
ohhh Nice Thx xRevolution


No problem m8
08-06-2013, 01:25 AM #4
SC58
Former Staff
someone all ready released this a while ago

The following 2 users say thank you to SC58 for this useful post:

KCxFTW, therifboy
08-06-2013, 01:31 AM #5
xRevolutions
Pokemon Trainer
Originally posted by SC58 View Post
someone all ready released this a while ago


But not for Black Ops 2...
08-06-2013, 01:42 AM #6
SC58
Former Staff
Originally posted by xRevolutions View Post
But not for Black Ops 2...


You must login or register to view this content.
08-06-2013, 02:59 AM #7
xRevolutions
Pokemon Trainer
Originally posted by SC58 View Post
You must login or register to view this content.


Oh i havnt seen this Release sorry m8.
But its not copied from him, i used a other Offset and this one if for 1.13 Happy
08-06-2013, 03:14 AM #8
SC58
Former Staff
Originally posted by xRevolutions View Post
Oh i havnt seen this Release sorry m8.
But its not copied from him, i used a other Offset and this one if for 1.13 Happy


lol xD
08-06-2013, 04:59 PM #9
Source Code
Bounty hunter
Thanks for this. will come in handy with my scripting engine for sure
08-07-2013, 04:15 AM #10
xRevolutions
Pokemon Trainer
Originally posted by Source
Thanks for this. will come in handy with my scripting engine for sure


No Problem if you Need something message me Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo