Load Player: Difference between revisions
Jump to navigation
Jump to search
imported>DisabledByStaff-13 Created page with "The load player packet is received soon after the client sends the join world packet. The packet contains all of the client's data excluding their password. =..." |
imported>PowerKitten No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
== Example == | == Example == | ||
<pre>%xt%lp%-1%15564235|Tails25|1|4|414|0|317|4025|0|0|609|973|0|0|1|0|0|0|{"spriteScale":100,"spriteSpeed":100,"ignoresBlockLayer":false,"invisible":false,"floating":false}|%4070%0%1440%1386555051873%2556%0%10812%%8%1%-1%0%</pre> | <pre>%xt%lp%-1%15564235|Tails25|1|4|414|0|317|4025|0|0|609|973|0|0|1|0|0|0|{"spriteScale":100,"spriteSpeed":100,"ignoresBlockLayer":false,"invisible":false,"floating":false}|%4070%0%1440%1386555051873%2556%0%10812%%8%1%-1%0%</pre> | ||
== Variables == | |||
{| class="wikitable" | |||
|- | |||
! Variable | |||
! Type | |||
! Example | |||
! Description | |||
|- | |||
| internal room id | |||
| integer | |||
| -1 | |||
| See [[Internal Room ID]]. | |||
|- | |||
| player | |||
| string | |||
| 15564235|Tails25|1|4|414|0|317|4025|0|0|609|973|0|0|1|0|0|0|{"spriteScale":100,"spriteSpeed":100,"ignoresBlockLayer":false,"invisible":false,"floating":false} | |||
| Player id, username, clothing, room coordinates (including their frame position), membership status, avatar settings, and puffle settings if they're walking one. | |||
|- | |||
| coins | |||
| integer | |||
| 4070 | |||
| The amount of coins the player currently has. | |||
|- | |||
| safemode | |||
| boolean | |||
| 0 | |||
| Determines whether the player is a safe-mode user. | |||
|- | |||
| egg-timer minutes | |||
| integer | |||
| 1440 | |||
| Used to determine how much time the player has left to play the game. If the parental control isn't activated through the management panel, this value has no effect. | |||
|- | |||
| login time | |||
| integer | |||
| 1386555051873 | |||
| UNIX timestamp representation of when the player joined the server. | |||
|- | |||
| age | |||
| integer | |||
| 2556 | |||
| Penguin's age in days. | |||
|- | |||
| player banned age | |||
| integer | |||
| 0 | |||
| Unknown purpose. | |||
|- | |||
| minutes played | |||
| integer | |||
| 10812 | |||
| The amount of time the player has spent playing the game in minutes. | |||
|- | |||
| membership days remaining? | |||
| string? | |||
| (none) | |||
| Days until the player's membership expires. | |||
|- | |||
| timezone offset | |||
| integer | |||
| 8 | |||
| Offset of the player's timezone. | |||
|- | |||
| player has opened playercard | |||
| boolean | |||
| 1 | |||
| Unknown purpose, but it's probably used when introducing the interface for first-time users. | |||
|- | |||
| saved map category | |||
| integer | |||
| -1 | |||
| Unknown purpose. | |||
|- | |||
| status field | |||
| integer | |||
| 0 | |||
| Used for determining the status of the player's experience with the puffle system. | |||
|} | |||
== See also == | |||
* [[Join Room]] - this packet also sends the player a string containing data about their clothing, coordinates, etc | |||
[[Category:Player Handlers]] |
Latest revision as of 15:52, 17 April 2017
The load player packet is received soon after the client sends the join world packet.
The packet contains all of the client's data excluding their password.
Example
%xt%lp%-1%15564235|Tails25|1|4|414|0|317|4025|0|0|609|973|0|0|1|0|0|0|{"spriteScale":100,"spriteSpeed":100,"ignoresBlockLayer":false,"invisible":false,"floating":false}|%4070%0%1440%1386555051873%2556%0%10812%%8%1%-1%0%
Variables
Variable | Type | Example | Description |
---|---|---|---|
internal room id | integer | -1 | See Internal Room ID. |
player | string | Tails25|1|4|414|0|317|4025|0|0|609|973|0|0|1|0|0|0|{"spriteScale":100,"spriteSpeed":100,"ignoresBlockLayer":false,"invisible":false,"floating":false} | Player id, username, clothing, room coordinates (including their frame position), membership status, avatar settings, and puffle settings if they're walking one. |
coins | integer | 4070 | The amount of coins the player currently has. |
safemode | boolean | 0 | Determines whether the player is a safe-mode user. |
egg-timer minutes | integer | 1440 | Used to determine how much time the player has left to play the game. If the parental control isn't activated through the management panel, this value has no effect. |
login time | integer | 1386555051873 | UNIX timestamp representation of when the player joined the server. |
age | integer | 2556 | Penguin's age in days. |
player banned age | integer | 0 | Unknown purpose. |
minutes played | integer | 10812 | The amount of time the player has spent playing the game in minutes. |
membership days remaining? | string? | (none) | Days until the player's membership expires. |
timezone offset | integer | 8 | Offset of the player's timezone. |
player has opened playercard | boolean | 1 | Unknown purpose, but it's probably used when introducing the interface for first-time users. |
saved map category | integer | -1 | Unknown purpose. |
status field | integer | 0 | Used for determining the status of the player's experience with the puffle system. |
See also
- Join Room - this packet also sends the player a string containing data about their clothing, coordinates, etc