ACT Services: Difference between revisions
TimmSkiller (talk | contribs) No edit summary |
TimmSkiller (talk | contribs) Added information about server types |
||
Line 199: | Line 199: | ||
Some commands require require the account slot as an argument, which is 1-indexed. The value for using the current loaded account is 0xFE. | Some commands require require the account slot as an argument, which is 1-indexed. The value for using the current loaded account is 0xFE. | ||
= Server Types = | |||
The ACT sysmodule uses two different server types for Nintendo Network accounts. | |||
See below how these types are determined by default. These types can also be overridden using [[ACTA:SetHostServerSettings]], [[ACTA:SetDefaultHostServerSettings]], [[ACTA:SetHostServerSettingsStr]], and [[ACTA:SetDefaultHostServerSettingsStr]]. | |||
The base URL for the Nintendo Network Account Server (NNAS) is: <code>https://[<prefix>]account.nintendo.net</code>. | |||
== NNAS (Nintendo Network Authentication Server) Types == | |||
This is used to determine the NNAS subdomain used for the account server. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Value !! Description !! NNAS Subdomain !! Complete NNAS URL | |||
|- | |||
| 0 || Production || (None) || <code><nowiki>https://account.nintendo.net</nowiki></code> | |||
|- | |||
| 1 || Game Development (also the default for debug mode on developer units) || <code style="border: 1px solid black">game-dev.</code> || <code><nowiki>https://game-dev.account.nintendo.net</nowiki></code> | |||
|- | |||
| 2 || System Development || <code style="border: 1px solid black">system-dev.</code> || <code><nowiki>https://system-dev.account.nintendo.net</nowiki></code> | |||
|- | |||
| 3 || Library Development || <code style="border: 1px solid black">library-dev.</code> || <code><nowiki>https://library-dev.account.nintendo.net</nowiki></code> | |||
|- | |||
| 4 || Staging || <code style="border: 1px solid black">staging.</code> || <code><nowiki>https://staging.account.nintendo.net</nowiki></code> | |||
|} | |||
Values beyond 4 are considered invalid. | |||
=== Default NNAS Server Types === | |||
By default, ACT uses the letter value from [[FRDU:GetServerTypes]] to determine the correct NNAS subdomain when a Nintendo Network ID is created. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Value from [[FRDU:GetServerTypes]] !! NNAS Server Type || Corresponding NNAS Subdomain !! Corresponding complete NNAS URL | |||
|- | |||
| 0 (L) || Production (default on retail units) || (None) || <code><nowiki>https://account.nintendo.net</nowiki></code> | |||
|- | |||
| 2 (S) || Staging || <code style="border: 1px solid black">staging.</code> || <code><nowiki>https://staging.account.nintendo.net</nowiki></code> | |||
|- | |||
| 3 (D) || Game Development (also the default for debug mode on developer units) || <code style="border: 1px solid black">game-dev.</code> || <code><nowiki>https://game-dev.account.nintendo.net</nowiki></code> | |||
|- | |||
| 5 (T) || Library Development || <code style="border: 1px solid black">library-dev.</code> || <code><nowiki>https://library-dev.account.nintendo.net</nowiki></code> | |||
|- | |||
| 7 (J) || System Development || <code style="border: 1px solid black">system-dev.</code> || <code><nowiki>https://system-dev.account.nintendo.net</nowiki></code> | |||
|} | |||
== NFS (Nintendo Friend Server) Types == | |||
ACT uses the same [[Friend_Services#Server_Types|Server Types]] as the friends sysmodule as the NfsType. | |||
A small subset of these types are used in [[ACTA:SetHostServerSettings]], [[ACTA:SetDefaultHostServerSettings]], [[ACTA:SetHostServerSettingsStr]], and [[ACTA:SetDefaultHostServerSettingsStr]]: | |||
{| class="wikitable" border="1" | |||
|- | |||
! Input value used in ACT commands || Corresponding [[Friend_Services#Server_Types|Friends Server Type]] value | |||
|- | |||
| 0 || 0 (L) | |||
|- | |||
| 1 || 3 (D) | |||
|- | |||
| 2 || 2 (S) | |||
|- | |||
| 3 || 5 (T) | |||
|- | |||
| 4 || 7 (J) | |||
|} | |||
=== Default NFS Server Types === | |||
By default, ACT uses [[FRDU:GetServerTypes]] to obtain the correct [[Friend_Services#Server_Types|NFS (Nintendo Friend Server) environment]] to create Nintendo Network IDs. | |||
This is necessary to ensure proper online play functionality, because the friends server account is tied to the Nintendo Network ID when one is linked. | |||
= UUIDs = | = UUIDs = |