Difference between revisions of "AgentThrottle"

From Second Life Wiki
Jump to navigation Jump to search
(Filling in this function with data from LibSecondLife)
Line 25: Line 25:


<pre width=80>
<pre width=80>
Resend  - Maxmimum bytes per second for resending unacknowledged packets. '''Max: 150,000'''
Resend  - Maxmimum bytes per second for resending unacknowledged packets. Max: 150,000
Land    - Maximum bytes per second for LayerData terrain. '''Max: 170,000'''
Land    - Maximum bytes per second for LayerData terrain. Max: 170,000
Wind    - Maximum bytes per second for LayerData wind data '''Max: 34,000'''
Wind    - Maximum bytes per second for LayerData wind data. Max: 34,000
Cloud  - Maximum bytes per second for LayerData clouds '''Max: 34,000'''
Cloud  - Maximum bytes per second for LayerData clouds. Max: 34,000
Task    - Unknown, includes object data '''Max: 446,000'''
Task    - Unknown, includes object data. Max: 446,000
Texture - Maximum bytes per second for textures '''Max: 446,000'''
Texture - Maximum bytes per second for textures. Max: 446,000
Asset  - Maximum bytes per second for downloaded assets '''Max: 220,000'''
Asset  - Maximum bytes per second for downloaded assets. Max: 220,000
</pre>
</pre>



Revision as of 12:23, 8 February 2008

Message Layout

{
	AgentThrottle Low NotTrusted Zerocoded
	{
		AgentData			Single
		{	AgentID			LLUUID		}
		{	SessionID		LLUUID		}
		{	CircuitCode		U32		}
	}
	{
		Throttle			Single
		{	GenCounter		U32		}
		{	Throttles		Variable 1	}
	}
}

Usage and Notes

GenCounter can be 0

The throttles variable appears to be structured as follows, each value a little endian 32 bit float:

Resend  - Maxmimum bytes per second for resending unacknowledged packets. Max: 150,000
Land    - Maximum bytes per second for LayerData terrain. Max: 170,000
Wind    - Maximum bytes per second for LayerData wind data. Max: 34,000
Cloud   - Maximum bytes per second for LayerData clouds. Max: 34,000
Task    - Unknown, includes object data. Max: 446,000
Texture - Maximum bytes per second for textures. Max: 446,000
Asset   - Maximum bytes per second for downloaded assets. Max: 220,000

Note, that even though it appears to have a set number of parameters (and a set size), it IS a "variable".

Each value should not be smaller than 10,000.