Post: Get Server Details C# 1.24
03-22-2014, 05:52 PM #1
jwm614
NextGenUpdate Elite
(adsbygoogle = window.adsbygoogle || []).push({}); I Did Not See This Posted On Here So Here Is MW3 Sever Details C# For 1.24

    private String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(PS3.GetBytes(0X008360d5, 0x100)).Replace(@"\", "|").Split('|'Winky Winky[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;
}


Thats All You Need Then You Just Put Three Labels In A Button/Timer



    HOST.Text = getHostName();
MAP.Text = getMapName();
GAME.Text = getGameMode();




It Will Look Some Thing Like This

You must login or register to view this content.


Credits


    Seb5594 - Original Function
Me - Updating Function For MW3
Last edited by jwm614 ; 05-22-2014 at 08:10 PM.

The following 11 users say thank you to jwm614 for this useful post:

BaSs_HaXoR, BISOON, ImAzazel, iSpeeDzM, itzGumi, Mango_Knife, moxl, xProvXKiller, seanhellen, Fatality
03-24-2014, 10:16 PM #2
Akaipwn
Do a barrel roll!
case "mp_aqueduct_ss": return "Aqueduct";

What is that map?
05-20-2014, 12:53 PM #3
Mango_Knife
In my man cave
Originally posted by Akaipwn View Post
case "mp_aqueduct_ss": return "Aqueduct";

What is that map?


DLC I believe.
05-21-2014, 11:21 AM #4
Akaipwn
Do a barrel roll!
Originally posted by Knife View Post
DLC I believe.


I don't think it is as there is no map called Aqueduct in any of the DLC that i am aware of.
Last edited by Akaipwn ; 07-01-2014 at 09:21 AM.

The following user thanked Akaipwn for this useful post:

Fatality
05-21-2014, 10:39 PM #5
jwm614
NextGenUpdate Elite
Originally posted by Akaipwn View Post
I don't think it is as there is no map called Aqueduct in any of the DLC that i am aware of


theres not i just changed it
10-17-2016, 01:06 PM #6
Agent Juan
Little One
Originally posted by Knife View Post
DLC I believe.


I get a error here "PS3".GetBytes
10-18-2016, 07:21 AM #7
Agent Juan
Little One
And when i fix that error then i get one on GetBytes then i can't fix it anymore.. Help please
10-18-2016, 04:36 PM #8
seanhellen
Are you high?
What is the error? What does vs say?
10-19-2016, 05:59 AM #9
Agent Juan
Little One
Originally posted by seanhellen View Post
What is the error? What does vs say?


The GetBytes error say this "this does not exist" or whatever.. Im gonna tell u how i do mine.. I make a new class and call it Functions.cs and theb i go in the cs and between the 2 brackets i put this code in

private String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(PS3.GetBytes(0X008360d5, 0x100)).Replace(@"\", "|").Split('|'Winky Winky[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;



And where there stand
Encoding.ASCII.GetString(PS3.GetBytes(0X008360d5, 0x100)).Replace(@"\", "|").Split('|'Winky Winky[Index];
Right after i put this code in then i get an a error here "PS3" . GetBytes then i fix that error then it's gone. Then after that i get the error here GetBytes then i can't fix it anymore.. That's all
Last edited by OfficialJesseP ; 10-19-2016 at 03:00 PM.
10-19-2016, 11:23 AM #10
seanhellen
Are you high?
A random thought, but try putting Form1.PS3.Getbytes. I had to do that for setmemory when i made another cs file
Last edited by seanhellen ; 10-19-2016 at 03:54 PM.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo