//Please give Credits to me (seb5594) if you are going to use it or if you post it on a other Website :=)
private String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(GetBytes(0x01D7E98B, 0x100)).Replace(@"\", "|").Split('|'[Index];
}
public String getMapName()
{
String Map = ReturnInfos(6);
switch (Map)
{
default: return "Unknown Map";
case "mp_prisonbreak": return "Prison Break";
case "mp_dart": return "Octane";
case "mp_lonestar": return "Tremor";
case "mp_frag": return "Freight";
case "mp_snow": return "Whiteout";
case "mp_fahrenheit": return "Stormfront";
case "mp_hasima": return "Siege";
case "mp_warhawk": return "Warhawk";
case "mp_sovereign": return "Sovereign";
case "mp_zebra": return "Overlord";
case "mp_skeleton": return "Stonehaven";
case "mp_chasm": return "Chasm";
case "mp_flooded": return "Flooded";
case "mp_strikezone": return "Strikezone";
case "mp_fall": return "Free Fall";
}
}
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 "sr": return "Search and Rescue";
case "grind": return "Grind";
case "blitz": return "Blitz";
case "cranked": return "Cranked";
case "infect": return "Infected";
case "sotf": return "Hunted";
case "dem": return "Demolition";
case "horde": return "Safeguard";
case "sotf_ffa": return "Hunted FFA";
}
}
public String getHostName()
{
String Host = ReturnInfos(1;
if (Host == "Modern Warfare 3")
return "Dedicated Server (No Player is Host)";
else if (Host == "")
return "You are not In-Game";
else return Host;
}
public Byte[] GetBytes(UInt32 address, Int32 Length)
{
Byte[] buffer= new Byte[Length];
PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, address, ref buffer);
return buffer;
}
private String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(PS3.GetBytes(0x01D7E98B, 0x100)).Replace(@"\", "|").Split('|'[Index];
}
PS3.GetBytes(uint offset, int length); // The function with his args.
byte[] buffer = PS3.GetBytes(0x10040000, 50); // Example to use, the buffer will have 50 bytes in the array.
//Please give Credits to me (seb5594) if you are going to use it or if you post it on a other Website :=)
private String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(GetBytes(0x01D7E98B, 0x100)).Replace(@"\", "|").Split('|'[Index];
}
public String getMapName()
{
String Map = ReturnInfos(6);
switch (Map)
{
default: return "Unknown Map";
case "mp_prisonbreak": return "Prison Break";
case "mp_dart": return "Octane";
case "mp_lonestar": return "Tremor";
case "mp_frag": return "Freight";
case "mp_snow": return "Whiteout";
case "mp_fahrenheit": return "Stormfront";
case "mp_hasima": return "Siege";
case "mp_warhawk": return "Warhawk";
case "mp_sovereign": return "Sovereign";
case "mp_zebra": return "Overlord";
case "mp_skeleton": return "Stonehaven";
case "mp_chasm": return "Chasm";
case "mp_flooded": return "Flooded";
case "mp_strikezone": return "Strikezone";
case "mp_fall": return "Free Fall";
}
}
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 "sr": return "Search and Rescue";
case "grind": return "Grind";
case "blitz": return "Blitz";
case "cranked": return "Cranked";
case "infect": return "Infected";
case "sotf": return "Hunted";
case "dem": return "Demolition";
case "horde": return "Safeguard";
case "sotf_ffa": return "Hunted FFA";
}
}
public String getHostName()
{
String Host = ReturnInfos(1;
if (Host == "Modern Warfare 3")
return "Dedicated Server (No Player is Host)";
else if (Host == "")
return "You are not In-Game";
else return Host;
}
public Byte[] GetBytes(UInt32 address, Int32 Length)
{
Byte[] buffer= new Byte[Length];
PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, address, ref buffer);
return buffer;
}
private String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(PS3.GetBytes(0x01D7E98B, 0x100)).Replace(@"\", "|").Split('|'[Index];
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.