Difference between revisions of "MeanCollisionAlert"
Jump to navigation
Jump to search
Cube Linden (talk | contribs) m |
(Updated to include types and client behavior.) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ProtocolNav}} | {{ProtocolNav}} | ||
==Message Layout== | ==Message Layout== | ||
Line 17: | Line 16: | ||
</pre> | </pre> | ||
==Usage and Notes== | ==Usage and Notes== | ||
This is used to tell the client about the stuff that shows up under Help -> Bumps, Pushes and Hits. Since it can get pretty hectic, more than one MeanCollision can be included in each packet. | |||
Mag is the velocity of the avatar/item/push on you. Victim should always be the agents id. It would appear this is included because the message was sent to another server for logging, same with Time. | |||
===Type values=== | |||
{| class="sortable" {{Prettytable}} | |||
|- {{Hl2}} | |||
! Type | |||
! Value | |||
! Notes | |||
|- | |||
| Invalid | |||
| 0 | |||
| Not used for anything. | |||
|- | |||
| Bump | |||
| 1 | |||
| Bumped with an avatar. | |||
|- | |||
| llPushObject | |||
| 2 | |||
| When an object uses llPushObject on your avatar. | |||
|- | |||
| Selected Object Collide | |||
| 3 | |||
| When somebody whacks you with something they have selected. | |||
|- | |||
| Scripted Object Collide | |||
| 4 | |||
| When an object that has a script in it collides with you. | |||
|- | |||
| Physical Object Collide | |||
| 5 | |||
| When an object that is physical collides with you. | |||
|} | |||
See also: http://libsecondlife.org/wiki/MeanCollisionAlert | |||
==Official Client Behavior== | |||
Time and Mag are replaced in internal list when both Perp and Type match. | |||
In a prelude message is ignored. Its acceptable to smack somebody in a prelude as much as you want. (only from the viewers perspective.) | |||
Removes any busy cursor if one is currently displayed. (Why?) | |||
[[Category:Messages]] | [[Category:Messages]] |
Latest revision as of 22:05, 2 July 2008
Message Layout
{ MeanCollisionAlert Low Trusted Zerocoded { MeanCollision Variable { Victim LLUUID } { Perp LLUUID } { Time U32 } { Mag F32 } { Type U8 } } }
Usage and Notes
This is used to tell the client about the stuff that shows up under Help -> Bumps, Pushes and Hits. Since it can get pretty hectic, more than one MeanCollision can be included in each packet.
Mag is the velocity of the avatar/item/push on you. Victim should always be the agents id. It would appear this is included because the message was sent to another server for logging, same with Time.
Type values
Type | Value | Notes |
---|---|---|
Invalid | 0 | Not used for anything. |
Bump | 1 | Bumped with an avatar. |
llPushObject | 2 | When an object uses llPushObject on your avatar. |
Selected Object Collide | 3 | When somebody whacks you with something they have selected. |
Scripted Object Collide | 4 | When an object that has a script in it collides with you. |
Physical Object Collide | 5 | When an object that is physical collides with you. |
See also: http://libsecondlife.org/wiki/MeanCollisionAlert
Official Client Behavior
Time and Mag are replaced in internal list when both Perp and Type match.
In a prelude message is ignored. Its acceptable to smack somebody in a prelude as much as you want. (only from the viewers perspective.)
Removes any busy cursor if one is currently displayed. (Why?)