mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-21 20:27:47 +00:00
Fix line endings
This commit is contained in:
parent
7a8e53a8ac
commit
1ef3e350c0
1 changed files with 17 additions and 17 deletions
|
@ -664,113 +664,113 @@ namespace FFXIVClassic_Lobby_Server
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
if (split.Length == 2)
|
if (split.Length == 2)
|
||||||
{
|
{
|
||||||
if (split[1].Equals("mypos"))
|
if (split[1].Equals("mypos"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Prints out your current location\n\n*Note: The X/Y/Z coordinates do not correspond to the coordinates listed in the in-game map, they are based on the underlying game data"
|
"Prints out your current location\n\n*Note: The X/Y/Z coordinates do not correspond to the coordinates listed in the in-game map, they are based on the underlying game data"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("music"))
|
else if (split[1].Equals("music"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Changes the currently playing background music\n\n*Syntax: music <music id>\n<music id> is the key item's specific id as defined in the server database"
|
"Changes the currently playing background music\n\n*Syntax: music <music id>\n<music id> is the key item's specific id as defined in the server database"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("warp"))
|
else if (split[1].Equals("warp"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Teleports the player to the specified location\n\n*Syntax:\twarp <location list>\n\twarp <zone id> <X coordinate> <Y coordinate> <Z coordinate>\n\twarp <zone id> <instance> <X coordinate> <Y coordinate> <Z coordinate>\n<location list> is a pre-defined list of locations from the server database\n<instance> is an instanced copy of the desired zone that's only visible to the current player"
|
"Teleports the player to the specified location\n\n*Syntax:\twarp <location list>\n\twarp <zone id> <X coordinate> <Y coordinate> <Z coordinate>\n\twarp <zone id> <instance> <X coordinate> <Y coordinate> <Z coordinate>\n<location list> is a pre-defined list of locations from the server database\n<instance> is an instanced copy of the desired zone that's only visible to the current player"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("givecurrency"))
|
else if (split[1].Equals("givecurrency"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Adds the specified currency to the current player's inventory\n\n*Syntax:\tgivecurrency <quantity>\n\tgivecurrency <quantity> <type>\n<type> is the specific type of currency desired, defaults to gil if no type specified"
|
"Adds the specified currency to the current player's inventory\n\n*Syntax:\tgivecurrency <quantity>\n\tgivecurrency <quantity> <type>\n<type> is the specific type of currency desired, defaults to gil if no type specified"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("giveitem"))
|
else if (split[1].Equals("giveitem"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Adds the specified items to the current player's inventory\n\n*Syntax:\tgiveitem <item id>\n\tgiveitem <item id> <quantity>\n\tgiveitem <item id> <quantity> <type>\n<item id> is the item's specific id as defined in the server database\n<type> is the type as defined in the server database (defaults to gil if not specified)"
|
"Adds the specified items to the current player's inventory\n\n*Syntax:\tgiveitem <item id>\n\tgiveitem <item id> <quantity>\n\tgiveitem <item id> <quantity> <type>\n<item id> is the item's specific id as defined in the server database\n<type> is the type as defined in the server database (defaults to gil if not specified)"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("givekeyitem"))
|
else if (split[1].Equals("givekeyitem"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Adds the specified key item to the current player's inventory\n\n*Syntax: givekeyitem <item id>\n<item id> is the key item's specific id as defined in the server database"
|
"Adds the specified key item to the current player's inventory\n\n*Syntax: givekeyitem <item id>\n<item id> is the key item's specific id as defined in the server database"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("removecurrency"))
|
else if (split[1].Equals("removecurrency"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Removes the specified currency from the current player's inventory\n\n*Syntax:\tremovecurrency <quantity>\n\tremovecurrency <quantity> <type>\n<type> is the specific type of currency desired, defaults to gil if no type specified"
|
"Removes the specified currency from the current player's inventory\n\n*Syntax:\tremovecurrency <quantity>\n\tremovecurrency <quantity> <type>\n<type> is the specific type of currency desired, defaults to gil if no type specified"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("removeitem"))
|
else if (split[1].Equals("removeitem"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Removes the specified items to the current player's inventory\n\n*Syntax:\tremoveitem <itemid>\n\tremoveitem <itemid> <quantity>\n<item id> is the item's specific id as defined in the server database"
|
"Removes the specified items to the current player's inventory\n\n*Syntax:\tremoveitem <itemid>\n\tremoveitem <itemid> <quantity>\n<item id> is the item's specific id as defined in the server database"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("removekeyitem"))
|
else if (split[1].Equals("removekeyitem"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Removes the specified key item to the current player's inventory\n\n*Syntax: removekeyitem <itemid>\n<item id> is the key item's specific id as defined in the server database"
|
"Removes the specified key item to the current player's inventory\n\n*Syntax: removekeyitem <itemid>\n<item id> is the key item's specific id as defined in the server database"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("reloaditems"))
|
else if (split[1].Equals("reloaditems"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Reloads the current item data from the database"
|
"Reloads the current item data from the database"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("resetzone"))
|
else if (split[1].Equals("resetzone"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Reloads the current zone data from the server files"
|
"Reloads the current zone data from the server files"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("property"))
|
else if (split[1].Equals("property"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"\n*Syntax: property <value 1> <value 2> <value 3>"
|
"\n*Syntax: property <value 1> <value 2> <value 3>"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("property2"))
|
else if (split[1].Equals("property2"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"\n*Syntax: property2 <value 1> <value 2> <value 3>"
|
"\n*Syntax: property2 <value 1> <value 2> <value 3>"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("sendpacket"))
|
else if (split[1].Equals("sendpacket"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Server sends a special packet to the client\n\n*Syntax: sendpacket <path to packet>\n<Path to packet> is the path to the packet, starting in <map server install location>\\packet"
|
"Server sends a special packet to the client\n\n*Syntax: sendpacket <path to packet>\n<Path to packet> is the path to the packet, starting in <map server install location>\\packet"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else if (split[1].Equals("setgraphic"))
|
else if (split[1].Equals("setgraphic"))
|
||||||
{
|
{
|
||||||
if (client != null)
|
if (client != null)
|
||||||
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
client.getActor().queuePacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "",
|
||||||
"Overrides the currently displayed character equipment in a specific slot\n\n*Note: Similar to Glamours in FFXIV:ARR, the overridden graphics are purely cosmetic, they do not affect the underlying stats of whatever is equipped on that slot\n\n*Syntax: sendpacket <slot> <wid> <eid> <vid> <cid>\n<w/e/v/c id> are as defined in the client game data"
|
"Overrides the currently displayed character equipment in a specific slot\n\n*Note: Similar to Glamours in FFXIV:ARR, the overridden graphics are purely cosmetic, they do not affect the underlying stats of whatever is equipped on that slot\n\n*Syntax: sendpacket <slot> <wid> <eid> <vid> <cid>\n<w/e/v/c id> are as defined in the client game data"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue