Difference between revisions of "SimStats"
Jump to navigation
Jump to search
Cube Linden (talk | contribs) m |
m (Saving progress.) |
||
Line 1: | Line 1: | ||
{{ProtocolNav}} | {{ProtocolNav}} | ||
==Message Layout== | ==Message Layout== | ||
<pre width=80> | <pre width=80> | ||
{ | { | ||
SimStats Low Trusted Unencoded | SimStats Low 140 Trusted Unencoded | ||
{ | { | ||
Region Single | Region Single | ||
Line 16: | Line 15: | ||
{ StatID U32 } | { StatID U32 } | ||
{ StatValue F32 } | { StatValue F32 } | ||
} | |||
{ | |||
PidStat Single | |||
{ PID S32 } | |||
} | } | ||
} | } | ||
Line 21: | Line 24: | ||
</pre> | </pre> | ||
==Usage and Notes== | ==Usage and Notes== | ||
This message is sent to all connected clients (and simulators + dataserver?) about once a second to reflect the current statistical details maintained by the simulator. | |||
* PidStat.PID is most likely the operating system process id of the simulator software on the host. | |||
* RegionX and RegionY are the X and Y MAP coordinates, not its global coordinates. | |||
* ObjectCapacity is the number of primitives(tasks) the region can hold. (Usually 15,000) | |||
=== RegionFlags values === | |||
{| {{Prettytable}} | |||
|- {{Hl2}} | |||
! Value | |||
! Flag | |||
! Comment | |||
|- | |||
| | |||
[[Category:Messages]] | [[Category:Messages]] |
Revision as of 16:09, 9 July 2008
Message Layout
{ SimStats Low 140 Trusted Unencoded { Region Single { RegionX U32 } { RegionY U32 } { RegionFlags U32 } { ObjectCapacity U32 } } { Stat Variable { StatID U32 } { StatValue F32 } } { PidStat Single { PID S32 } } }
Usage and Notes
This message is sent to all connected clients (and simulators + dataserver?) about once a second to reflect the current statistical details maintained by the simulator.
- PidStat.PID is most likely the operating system process id of the simulator software on the host.
- RegionX and RegionY are the X and Y MAP coordinates, not its global coordinates.
- ObjectCapacity is the number of primitives(tasks) the region can hold. (Usually 15,000)
RegionFlags values
Value | Flag | Comment |
---|---|---|