Post: Get Server Details [Host name/Map/Game mode] [1.06]
12-18-2013, 11:02 PM #1
BLiNDzZ
Who’s Jim Erased?
(adsbygoogle = window.adsbygoogle || []).push({}); 100% Credit to seb, Just figured I would update the offset for 1.06, Thanks for the original function seb Smile

Lets start, add this somewhere in your Project..

    
//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(0x103D326, 0x100)).Replace(@"\", "|").Split('|'Winky Winky[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(1Cool Man (aka Tustin);
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;
}

If you're using iMCSx PS3Lib v4 for CCAPI support replace the ReturnInfos Function and delete my getBytes Function
    
private String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(PS3.GetBytes(0x01D7E98B, 0x100)).Replace(@"\", "|").Split('|'Winky Winky[Index];
}

How to use:
Put 3 Labels in your Form as example and then do this in a Timer (to have the newest Infos)
label1.Text = getHostName();
label2.Text = getMapName();
label3.Text = getGameMode();
You must login or register to view this content.

Credits:
Me (seb5594): Creating this Functions
Choco: GetMemory Function
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to BLiNDzZ for this useful post:

Asian, Franky, Mango_Knife, nasir

The following 2 users groaned at BLiNDzZ for this awful post:

INSAN3LY_D34TH, orange12
12-18-2013, 11:06 PM #2
Esker
Samurai Poster
Goooooood
12-18-2013, 11:46 PM #3
xTc
[MOVE]Hello[/MOVE]
Originally posted by BLiNDzZ View Post
100% Credit to seb, Just figured I would update the offset for 1.06, Thanks for the original function seb Smile

Lets start, add this somewhere in your Project..

    
//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(0x103D326, 0x100)).Replace(@"\", "|").Split('|'Winky Winky[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(1Cool Man (aka Tustin);
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;
}

If you're using iMCSx PS3Lib v4 for CCAPI support replace the ReturnInfos Function and delete my getBytes Function
    
private String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(PS3.GetBytes(0x01D7E98B, 0x100)).Replace(@"\", "|").Split('|'Winky Winky[Index];
}

How to use:
Put 3 Labels in your Form as example and then do this in a Timer (to have the newest Infos)
label1.Text = getHostName();
label2.Text = getMapName();
label3.Text = getGameMode();
You must login or register to view this content.

Credits:
Me (seb5594): Creating this Functions
Choco: GetMemory Function


dont forget the Hidden map mp_character_room Smile
12-18-2013, 11:48 PM #4
SC58
Former Staff
i would have updated this using Dvar_Getstring if it was me using rpc

The following user thanked SC58 for this useful post:

INSAN3LY_D34TH
12-18-2013, 11:57 PM #5
BLiNDzZ
Who’s Jim Erased?
Originally posted by SC58 View Post
i would have updated this using Dvar_Getstring if it was me using rpc

Never used those functions like that lol, Like the ones ZeiiKen posted, never even know what to do with them :p
12-19-2013, 01:39 PM #6
Mango_Knife
In my man cave
Originally posted by BLiNDzZ View Post

Credits:
Me (seb5594): Creating this Functions
Choco: GetMemory Function


You are "BLiNDzZ", No?

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

-SuperMan, Eddie Mac
12-19-2013, 06:35 PM #7
BLiNDzZ
Who’s Jim Erased?
Originally posted by Knife View Post
You are "BLiNDzZ", No?


Well lol I copied and pasted his thread so he could get full credit :p
12-19-2013, 06:44 PM #8
Vanz
Z32 Love <3
Good work! This will be a good thing to add to my tool.
12-20-2013, 02:42 AM #9
Asian
Banned
noice
12-21-2013, 01:27 AM #10
spitermam
Save Point
no entiendo esto private String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(PS3.GetBytes(0x01D7E98B, 0x100)).Replace(@"\", "|").Split('|'Winky Winky[Index];
}

necesito AYUDA porfavor. gracias: Smh:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo