Merge pull request #2217 from Terrabade/serverinfo-wording
Change serverinfo "WinVer" to "Operating system"
This commit is contained in:
commit
07b70431f9
2 changed files with 2 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin
|
||||||
## TShock 4.4.0 (Pre-release 16)
|
## TShock 4.4.0 (Pre-release 16)
|
||||||
* Patched protocol issue. Thanks to Off (@tlworks) and @bartico6 for contributions, including packet captures, packet analysis, exploit proof-of-concept testing, patch testing, and detailed reproduction steps. (@hakusaro)
|
* Patched protocol issue. Thanks to Off (@tlworks) and @bartico6 for contributions, including packet captures, packet analysis, exploit proof-of-concept testing, patch testing, and detailed reproduction steps. (@hakusaro)
|
||||||
* Disabled debug by default. (@hakusaro)
|
* Disabled debug by default. (@hakusaro)
|
||||||
|
* Changed "WinVer" field in `/serverinfo` to "Operating System". (@Terrabade)
|
||||||
|
|
||||||
## TShock 4.4.0 (Pre-release 15)
|
## TShock 4.4.0 (Pre-release 15)
|
||||||
* Overhauled Bans system. Bans are now based on 'identifiers'. (@QuiCM)
|
* Overhauled Bans system. Bans are now based on 'identifiers'. (@QuiCM)
|
||||||
|
|
|
||||||
|
|
@ -1148,7 +1148,7 @@ namespace TShockAPI
|
||||||
args.Player.SendInfoMessage("Memory usage: " + Process.GetCurrentProcess().WorkingSet64);
|
args.Player.SendInfoMessage("Memory usage: " + Process.GetCurrentProcess().WorkingSet64);
|
||||||
args.Player.SendInfoMessage("Allocated memory: " + Process.GetCurrentProcess().VirtualMemorySize64);
|
args.Player.SendInfoMessage("Allocated memory: " + Process.GetCurrentProcess().VirtualMemorySize64);
|
||||||
args.Player.SendInfoMessage("Total processor time: " + Process.GetCurrentProcess().TotalProcessorTime);
|
args.Player.SendInfoMessage("Total processor time: " + Process.GetCurrentProcess().TotalProcessorTime);
|
||||||
args.Player.SendInfoMessage("WinVer: " + Environment.OSVersion);
|
args.Player.SendInfoMessage("Operating system: " + Environment.OSVersion);
|
||||||
args.Player.SendInfoMessage("Proc count: " + Environment.ProcessorCount);
|
args.Player.SendInfoMessage("Proc count: " + Environment.ProcessorCount);
|
||||||
args.Player.SendInfoMessage("Machine name: " + Environment.MachineName);
|
args.Player.SendInfoMessage("Machine name: " + Environment.MachineName);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue