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
(adsbygoogle = window.adsbygoogle || []).push({});

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
10-19-2016, 06:44 PM #11
Agent Juan
Little One
Originally posted by seanhellen View Post
A random thought, but try putting Form1.PS3.Getbytes. I had to do that for setmemory when i made another cs file


Ok.. So i must create Functions.cs and put that whole code in it.. But just need to add Form1. PS3. Getbytes?
10-19-2016, 07:27 PM #12
seanhellen
Are you high?
Yep, i think that if you make a seperate .cs file, you have to put Form1. in front, otherwise vs looks for "PS3" in your new .cs file (in your case, "Functions.cs") but it obviously wont find it as its declared in Form1.cs from when you first started your tool
10-20-2016, 06:37 AM #13
Agent Juan
Little One
Originally posted by seanhellen View Post
Yep, i think that if you make a seperate .cs file, you have to put Form1. in front, otherwise vs looks for "PS3" in your new .cs file (in your case, "Functions.cs") but it obviously wont find it as its declared in Form1.cs from when you first started your tool


OK thanx alot i appreciate your help. I will try it and get back to u. In the button where it say get clients what i do is when i put this in

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

But i replace HOST, MAP AND GAME with the label number u know.. For example
label1. Text = getHostName();
And also with map and game etc.. Can i do it like that?
10-20-2016, 12:49 PM #14
seanhellen
Are you high?
Yep that sounds about right, or you can put it in a timer and it will change by itself, rather than just when you coick the button. If you need any help, either pm me or hmu on skype seanhellen - im a bit wary of the fact we are having a conversation on someone elses thread Happy
10-20-2016, 07:09 PM #15
Agent Juan
Little One
Originally posted by seanhellen View Post
Yep that sounds about right, or you can put it in a timer and it will change by itself, rather than just when you coick the button. If you need any help, either pm me or hmu on skype seanhellen - im a bit wary of the fact we are having a conversation on someone elses thread Happy


Ok i will pvt u
10-30-2016, 01:44 PM #16
Thank you i will use this on my program
10-31-2016, 04:19 PM #17
seanhellen
Are you high?
Originally posted by Agent
Ok i will pvt u


Delete a few messages, your inbox is full n i cant msg u Happy
07-28-2017, 02:03 AM #18
For some reason this works decently, but throws an exception in my next match... Believe it's my timer? I'm going to play around with it a little any assistance in making this a little more... functional would be nice. Always like to learn new ways of doing things.

Edit: Figured it out and made it work really well! currently using a catch try statement. Now just to fix the Anti-Freeze Idk

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo