Difference between revisions of "ImprovedInstantMessage"

From Second Life Wiki
Jump to navigation Jump to search
(Added dialog byte comments)
Line 33: Line 33:
! Dialog byte value !! ToAgentID  !! ParentEstateID !! RegionID  !! Position  !! ID!! Timestamp!! FromAgentName!! Message!! BinaryBucket
! Dialog byte value !! ToAgentID  !! ParentEstateID !! RegionID  !! Position  !! ID!! Timestamp!! FromAgentName!! Message!! BinaryBucket
|-
|-
! 0 Default ||as expected ||as expected ||as expected ||as expected ||style="background:silver" |meaningless ||as expected ||as expected ||as expected ||style="background:silver" |empty  
! 0 Indicates a regular IM from another agent ||as expected ||as expected ||as expected ||as expected ||style="background:silver" |meaningless ||as expected ||as expected ||as expected ||style="background:silver" |empty  
|-
|-
! 1 dialog box with "OK"||as expected ||as expected ||as expected ||as expected ||
! 1 Simple notification box with an OK button ||as expected ||as expected ||as expected ||as expected ||
|- style="background:silver"
|- style="background:silver"
! 2 dialog box obsolete||||||||||||||||||
! 2 Used to show a countdown notification with an OK button, deprecated now ||||||||||||||||||
|-
|-
! 3
! 3 You've been invited to join a group
| a
| a
|-
|-
! 4
! 4 Inventory offer
| a
| a
|-
|-
! 5
! 5 Accepted inventory offer
| a
| a
|-
|-
! 6
! 6 Declined inventory offer
| a
| a
|-
|-
! 7
! 7 Group vote
| a
| a
|-
|-
! 8
! 8 A message to everyone in the agent's group, deprecated
| a
| a
|-
|-
! 9
! 9 An object is offering its inventory
| a
| a
|-
|-
! 10
! 10 Accept an inventory offer from an object
| a
| a
|-
|-
! 11
! 11 Decline an inventory offer from an object
| a
| a
|-
|-
! 12
! 12 Unknown
| a
| a
|-
|-
! 13
! 13 Start a session, or add users to a session
| a
| a
|-
|-
! 14
! 14 Start a session, but don't prune offline users
| a
| a
|-
|-
! 15
! 15 Start a session with your group
| a
| a
|-
|-
! 16
! 16 Start a session without a calling card (finder or objects)
| a
| a
|-
|-
! 17
! 17 Send a message to a session
| a
| a
|-
|-
! 18
! 18 Leave a session
| a
| a
|-
|-
! 19
! 19 Indicates that the IM is from an object
| a
| a
|-
|-
! 20
! 20 Sent an IM to a busy user, this is the auto response
| a
| a
|-
|-
! 21
! 21 Shows the message in the console and chat history
| a
| a
|-
|-
! 22
! 22 Send a teleport lure
| a
| a
|-
|-
! 23
! 23 Response sent to the agent which inititiated a teleport invitation
| a
| a
|-
|-
! 24
! 24 Response sent to the agent which inititiated a teleport invitation
| a
| a
|-
|-
! 25
! 25 Only useful if you have Linden permissions
| a
| a
|-
|-
! 26
! 26 A placeholder type for future expansion, currently not used
| a
| a
|-
|-
! 27
! 27 Notification of a new group election, this is deprecated
| a
| a
|-
|-
! 28
! 28 IM to tell the user to go to an URL
| a
| a
|-
|-
! 29
! 29 IM for help
| a
| a
|-
|-
! 30
! 30 IM sent automatically on call for help, sends a lure to each Helper reached
| a
| a
|-
|-
! 31
! 31 Like an IM but won't go to email
| a
| a
|-
|-
! 32
! 32 IM from a group officer to all group members
| a
| a
|-
|-
! 33
! 33 Unknown
| a
| a
|-
|-
! 34
! 34 Unknown
| a
| a
|-
|-
! 35
! 35 Accept a group invitation
| a
| a
|-
|-
! 36
! 36 Decline a group invitation
| a
| a
|-
|-
! 37
! 37 Unknown
| a
| a
|-
|-
! 38
! 38 An avatar is offering you friendship
| a
| a
|-
|-
! 39
! 39 An avatar has accepted your friendship offer
| a
| a
|-
|-
! 40
! 40 An avatar has declined your friendship offer
| a
| a
|-
|-
! 41
! 41 Indicates that a user has started typing
| a
| a
|-
|-
! 42
! 42 Indicates that a user has stopped typing
| a
| a
|-
|-

Revision as of 12:55, 28 December 2007

Message Layout

{
	ImprovedInstantMessage Low NotTrusted Zerocoded
	{
		AgentData 		Single
		{   AgentID     LLUUID  }
		{	SessionID	LLUUID	}
	}
	{
		MessageBlock		Single
		{	FromGroup		BOOL	}
		{	ToAgentID		LLUUID	}
		{	ParentEstateID	U32	}
		{   RegionID		LLUUID	}
		{	Position		LLVector3	}
		{	Offline			U8	}
		{	Dialog			U8	}	
		{	ID				LLUUID	}
		{	Timestamp		U32	}
		{	FromAgentName	Variable	1	}
		{	Message			Variable	2	}
		{	BinaryBucket	Variable	2	}
	}
}

Usage and Notes

All possible interactions of Dialog byte and other packet variables
Dialog byte value ToAgentID ParentEstateID RegionID Position ID Timestamp FromAgentName Message BinaryBucket
0 Indicates a regular IM from another agent as expected as expected as expected as expected meaningless as expected as expected as expected empty
1 Simple notification box with an OK button as expected as expected as expected as expected
2 Used to show a countdown notification with an OK button, deprecated now
3 You've been invited to join a group a
4 Inventory offer a
5 Accepted inventory offer a
6 Declined inventory offer a
7 Group vote a
8 A message to everyone in the agent's group, deprecated a
9 An object is offering its inventory a
10 Accept an inventory offer from an object a
11 Decline an inventory offer from an object a
12 Unknown a
13 Start a session, or add users to a session a
14 Start a session, but don't prune offline users a
15 Start a session with your group a
16 Start a session without a calling card (finder or objects) a
17 Send a message to a session a
18 Leave a session a
19 Indicates that the IM is from an object a
20 Sent an IM to a busy user, this is the auto response a
21 Shows the message in the console and chat history a
22 Send a teleport lure a
23 Response sent to the agent which inititiated a teleport invitation a
24 Response sent to the agent which inititiated a teleport invitation a
25 Only useful if you have Linden permissions a
26 A placeholder type for future expansion, currently not used a
27 Notification of a new group election, this is deprecated a
28 IM to tell the user to go to an URL a
29 IM for help a
30 IM sent automatically on call for help, sends a lure to each Helper reached a
31 Like an IM but won't go to email a
32 IM from a group officer to all group members a
33 Unknown a
34 Unknown a
35 Accept a group invitation a
36 Decline a group invitation a
37 Unknown a
38 An avatar is offering you friendship a
39 An avatar has accepted your friendship offer a
40 An avatar has declined your friendship offer a
41 Indicates that a user has started typing a
42 Indicates that a user has stopped typing a