Emailsendattachment (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:


==Inventory Locations==
==Inventory Locations==
===Inspirations===
{| class=wikitable style="text-align: center;"
{| class=wikitable style="text-align: center;"
|+ Inspiration Inventory Locations
|+ Inspiration Inventory Locations
Line 43: Line 44:
| 0 || 0 || 0 || 0 || 0
| 0 || 0 || 0 || 0 || 0
|}
|}
The inventory location for Inspirations is expressed as a 2-digit number, where the first digit to the left is the column number (starting from zero on the far left of the Inspirations window), and the second digit is the row number (starting from zero at the bottom of the Inspirations window). For example, '''<span style="color:red">"12"</span>''' would refer to the inspiration located in column #1, row #2.  
The inventory location for Inspirations is expressed as a 2-digit number, where the first digit to the left is the column number (starting from zero on the far left of the Inspirations window), and the second digit is the row number (starting from zero at the bottom of the Inspirations window). For example, '''<span style="color:red">"12"</span>''' would refer to the inspiration located in column #1, row #2.


'''Salvage Inventory Locations'''
===Enhancements===
 
 
===Salvage===
Each piece of salvage is assigned its own inventory ID number based on the order in which the salvage type was first acquired by the character starting with the number zero (0). This means that the inventory ID for each piece of salvage will be different for every character.   
Each piece of salvage is assigned its own inventory ID number based on the order in which the salvage type was first acquired by the character starting with the number zero (0). This means that the inventory ID for each piece of salvage will be different for every character.   


Line 60: Line 65:


==Tips==
==Tips==
* To make finding the inventory location of an item easier, delete or move unnecessary items from your character before you start counting items.
* The [[The Players' Guide to the Cities/User Interface/Email Window|email window]] in game accepts long names with spaces, and is in general more reliable, less buggy, and easier when sending any type of attachment other than influence.
* The [[The Players' Guide to the Cities/User Interface/Email Window|email window]] in game accepts long names with spaces, and is in general more reliable, less buggy, and easier when sending any type of attachment other than influence.



Revision as of 10:20, 24 June 2022

Slash command

/emailsendattachment name subject influence attachment_type inventory_location message

Send message with an attachment.

This command can send a message, a message with influence, a message with an attachment (such as salvage, enhancements, etc.), or all of the above.

name = either a character name or global name of a player (no spaces allowed)
subject = the subject of the email
influence = in-game money expressed in numbers
attachment_type = the type of attachment expressed as a number
inventory_location = the attachment item's location in the corresponding inventory window (see below).
message = the message you'd like to say (no quotes)
  • When composing the slash command, all 6 arguments (variables) need to be used with a space in-between each, and placed in the exact sequence as noted above (even if you're only doing one thing). If you don't want to send an item, merely type 0.
  • The email slash commands do not like spaces in either character or global names. Using a name with spaces in it can potentially cause the email system to lock up for the character that sent the email, or otherwise cause trouble for an extended period of time. It's a bug.
  • Long subjects with spaces need to be enclosed by double quotes ("Long Subject").
  • Do not enclose the message with double quotes. Doing so will prevent any attachment from sending.

Attachment Types

   2 - Inspirations
  10 - Enhancements
  11 - Salvage
  12 - Recipes

Inventory Locations

Inspirations

Inspiration Inventory Locations
     0           1           2           3           4      Columns
3 3 3 3 3
2 2 2 2 2
1 1 1 1 1
0 0 0 0 0

The inventory location for Inspirations is expressed as a 2-digit number, where the first digit to the left is the column number (starting from zero on the far left of the Inspirations window), and the second digit is the row number (starting from zero at the bottom of the Inspirations window). For example, "12" would refer to the inspiration located in column #1, row #2.

Enhancements

Salvage

Each piece of salvage is assigned its own inventory ID number based on the order in which the salvage type was first acquired by the character starting with the number zero (0). This means that the inventory ID for each piece of salvage will be different for every character.

If a type of salvage is removed from the inventory (deleted, sold, spent, traded, or moved to the Vault Reserve), the inventory ID number that it had will no longer have any salvage associated with it. The next new (or unique) salvage type that is added to the inventory will be assigned that free inventory ID number, or the first available inventory ID number. This makes it possible to assign a salvage type a specific inventory ID number by removing all salvage from the inventory, and then adding it back one at a time, taking note of the order in which you added the salvage back to the inventory. For example, if the salvage inventory is empty, the first piece of salvage will be assigned the inventory ID of "0". The second piece will be "1", the third piece, "2", the fourth piece "3", and so on.

Attempting to assign salvage inventory ID numbers manually is complicated by the fact that some salvage can not be removed from a character's inventory and can not be reassigned to a different inventory ID number during that game instance... this includes any salvage type that is not "tradable," such as Incarnate salvage. These untradeable salvage pieces will always have the same inventory ID number until the game is restarted.

If the game is restarted, all salvage (including non-tradable salvage) will be reassigned somewhat randomly to the first available inventory ID numbers starting with zero.

All of this makes sending salvage using the /emailsendattachment command possible but not very practical.



Tips

  • The email window in game accepts long names with spaces, and is in general more reliable, less buggy, and easier when sending any type of attachment other than influence.


Example

/emailsendattachment @SuperBob "Some Moola" 1000000 0 0 Have a great day!