private String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(PS3.GetBytes(0X008360d5, 0x100)).Replace(@"\", "|").Split('|'
[Index];
}
public String getMapName()
{
String Map = ReturnInfos(6);
switch (Map)
{
default: return "Unknown Map";
case "mp_alpha": return "Lockdown";
case "mp_bootleg": return "Bootleg";
case "mp_bravo": return "Mission";
case "mp_carbon": return "Carbon";
case "mp_dome": return "Dome";
case "mp_exchange": return "Downturn";
case "mp_hardhat": return "Hardhat";
case "mp_interchange": return "Interchange";
case "mp_lambeth": return "Fallen";
case "mp_mogadishu": return "Bakaara";
case "mp_paris": return "Resistance";
case "mp_plaza2": return "Arkaden";
case "mp_radar": return "Outpost";
case "mp_seatown": return "Seatown";
case "mp_underground": return "Underground";
case "mp_village": return "Village";
case "mp_aground_ss": return "Aground";
case "mp_cement": return "Foundation";
case "mp_hillside_ss": return "Getaway";
case "mp_italy": return "Piazza";
case "mp_meteora": return "Sanctuary";
case "mp_morningwood": return "Black Box";
case "mp_overwatch": return "Overwatch";
case "mp_park": return "Liberation";
case "mp_qadeem": return "Oasis";
case "mp_restrepo_ss": return "Lookout";
case "mp_terminal_cls": return "Terminal";
}
}
public String getGameMode()
{
String GM = ReturnInfos(2);
switch (GM)
{
default: return "Unknown Gametype";
case "war": return "Team Deathmatch";
case "dm": return "Free for All";
case "sd": return "Search and Destroy";
case "dom": return "Domination";
case "conf": return "Kill Confirmed";
case "sab": return "Sabotage";
case "koth": return "Head Quartes";
case "ctf": return "Capture The Flag";
case "infect": return "Infected";
case "sotf": return "Hunted";
case "dd": return "Demolition";
case "grnd": return "Drop Zone";
case "tdef": return "Team Defender";
case "tjugg": return "Team Juggernaut";
case "jugg": return "Juggernaut";
case "gun": return "Gun Game";
case "oic": return "One In The Chamber";
}
}
public String getHostName()
{
String Host = ReturnInfos(16);
if (Host == "Modern Warfare 3")
return "Dedicated Server (No Player is Host)";
else if (Host == "")
return "You are not In-Game";
else return Host;
}
HOST.Text = getHostName();
MAP.Text = getMapName();
GAME.Text = getGameMode();
Seb5594 - Original Function
Me - Updating Function For MW3
Copyright © 2025, NextGenUpdate.
All Rights Reserved.