From a99a348c36c61474dc1dbb80abc812b699ad526b Mon Sep 17 00:00:00 2001 From: TheManii Date: Mon, 9 May 2016 00:40:46 -0400 Subject: [PATCH] Added !help entries for !test weather --- FFXIVClassic Map Server/CommandProcessor.cs | 10 +++++++++- .../Properties/Resources.Designer.cs | 17 +++++++++++++++-- .../Properties/Resources.resx | 11 +++++++++-- 3 files changed, 33 insertions(+), 5 deletions(-) diff --git a/FFXIVClassic Map Server/CommandProcessor.cs b/FFXIVClassic Map Server/CommandProcessor.cs index ad385694..b23d6ac1 100644 --- a/FFXIVClassic Map Server/CommandProcessor.cs +++ b/FFXIVClassic Map Server/CommandProcessor.cs @@ -554,7 +554,15 @@ namespace FFXIVClassic_Lobby_Server else if (split[1].Equals("setgraphic")) sendMessage(client, Resources.CPsetgraphic); */ - } + } + if (split.Length == 3) + { + if(split[1].Equals("test")) + { + if (split[2].Equals("weather")) + sendMessage(client, Resources.CPtestweather); + } + } return true; } diff --git a/FFXIVClassic Map Server/Properties/Resources.Designer.cs b/FFXIVClassic Map Server/Properties/Resources.Designer.cs index a49ec70e..62ed5ea5 100644 --- a/FFXIVClassic Map Server/Properties/Resources.Designer.cs +++ b/FFXIVClassic Map Server/Properties/Resources.Designer.cs @@ -105,7 +105,8 @@ namespace FFXIVClassic_Map_Server.Properties { /// ///Available commands: ///Standard: mypos, music, warp - ///Server Administration: givecurrency, giveitem, givekeyitem, removecurrency, removekeyitem, reloaditems, reloadzones. + ///Server Administration: givecurrency, giveitem, givekeyitem, removecurrency, removekeyitem, reloaditems, reloadzones + ///Test: test weather. /// public static string CPhelp { get { @@ -117,7 +118,7 @@ namespace FFXIVClassic_Map_Server.Properties { /// Looks up a localized string similar to Changes the currently playing background music /// ///*Syntax: music <music id> - ///<music id> is the key item's specific id as defined in the server database. + ///<music id> is the music's specific id as defined in the client. /// public static string CPmusic { get { @@ -236,6 +237,18 @@ namespace FFXIVClassic_Map_Server.Properties { } } + /// + /// Looks up a localized string similar to Changes the current weather + /// + ///*Syntax: test weather <weather id> + ///<weather id> is the weather's specific id as defined in the client. + /// + public static string CPtestweather { + get { + return ResourceManager.GetString("CPtestweather", resourceCulture); + } + } + /// /// Looks up a localized string similar to Teleports the player to the specified location /// diff --git a/FFXIVClassic Map Server/Properties/Resources.resx b/FFXIVClassic Map Server/Properties/Resources.resx index a5b7477e..0413ecca 100644 --- a/FFXIVClassic Map Server/Properties/Resources.resx +++ b/FFXIVClassic Map Server/Properties/Resources.resx @@ -144,13 +144,14 @@ Available commands: Standard: mypos, music, warp -Server Administration: givecurrency, giveitem, givekeyitem, removecurrency, removekeyitem, reloaditems, reloadzones +Server Administration: givecurrency, giveitem, givekeyitem, removecurrency, removekeyitem, reloaditems, reloadzones +Test: test weather Changes the currently playing background music *Syntax: music <music id> -<music id> is the key item's specific id as defined in the server database +<music id> is the music's specific id as defined in the client Prints out your current location @@ -202,6 +203,12 @@ Server Administration: givecurrency, giveitem, givekeyitem, removecurrency, remo *Syntax: sendpacket <slot> <wid> <eid> <vid> <cid> <w/e/v/c id> are as defined in the client game data + + + Changes the current weather + +*Syntax: test weather <weather id> +<weather id> is the weather's specific id as defined in the client Teleports the player to the specified location