diff options
Diffstat (limited to 'OpenSim/Region')
4 files changed, 18 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 166dcda..b7469ae 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -906,9 +906,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
906 | } | 906 | } |
907 | } | 907 | } |
908 | 908 | ||
909 | public void SendGenericMessage(string method, List<string> message) | 909 | public void SendGenericMessage(string method, UUID invoice, List<string> message) |
910 | { | 910 | { |
911 | GenericMessagePacket gmp = new GenericMessagePacket(); | 911 | GenericMessagePacket gmp = new GenericMessagePacket(); |
912 | |||
913 | gmp.AgentData.AgentID = AgentId; | ||
914 | gmp.AgentData.SessionID = m_sessionId; | ||
915 | gmp.AgentData.TransactionID = invoice; | ||
916 | |||
912 | gmp.MethodData.Method = Util.StringToBytes256(method); | 917 | gmp.MethodData.Method = Util.StringToBytes256(method); |
913 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; | 918 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; |
914 | int i = 0; | 919 | int i = 0; |
@@ -921,9 +926,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
921 | OutPacket(gmp, ThrottleOutPacketType.Task); | 926 | OutPacket(gmp, ThrottleOutPacketType.Task); |
922 | } | 927 | } |
923 | 928 | ||
924 | public void SendGenericMessage(string method, List<byte[]> message) | 929 | public void SendGenericMessage(string method, UUID invoice, List<byte[]> message) |
925 | { | 930 | { |
926 | GenericMessagePacket gmp = new GenericMessagePacket(); | 931 | GenericMessagePacket gmp = new GenericMessagePacket(); |
932 | |||
933 | gmp.AgentData.AgentID = AgentId; | ||
934 | gmp.AgentData.SessionID = m_sessionId; | ||
935 | gmp.AgentData.TransactionID = invoice; | ||
936 | |||
927 | gmp.MethodData.Method = Util.StringToBytes256(method); | 937 | gmp.MethodData.Method = Util.StringToBytes256(method); |
928 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; | 938 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; |
929 | int i = 0; | 939 | int i = 0; |
diff --git a/OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs b/OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs index 6f92ef6..f13d648 100644 --- a/OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs +++ b/OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs | |||
@@ -198,12 +198,12 @@ namespace OpenSim.Region.CoreModules.World.LightShare | |||
198 | if (m_scene.RegionInfo.WindlightSettings.valid) | 198 | if (m_scene.RegionInfo.WindlightSettings.valid) |
199 | { | 199 | { |
200 | List<byte[]> param = compileWindlightSettings(wl); | 200 | List<byte[]> param = compileWindlightSettings(wl); |
201 | client.SendGenericMessage("Windlight", param); | 201 | client.SendGenericMessage("Windlight", UUID.Random(), param); |
202 | } | 202 | } |
203 | else | 203 | else |
204 | { | 204 | { |
205 | List<byte[]> param = new List<byte[]>(); | 205 | List<byte[]> param = new List<byte[]>(); |
206 | client.SendGenericMessage("WindlightReset", param); | 206 | client.SendGenericMessage("WindlightReset", UUID.Random(), param); |
207 | } | 207 | } |
208 | } | 208 | } |
209 | } | 209 | } |
diff --git a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs index 5ac4e27..686c605 100644 --- a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs +++ b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs | |||
@@ -976,12 +976,12 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server | |||
976 | // TODO | 976 | // TODO |
977 | } | 977 | } |
978 | 978 | ||
979 | public void SendGenericMessage(string method, List<string> message) | 979 | public void SendGenericMessage(string method, UUID invoice, List<string> message) |
980 | { | 980 | { |
981 | 981 | ||
982 | } | 982 | } |
983 | 983 | ||
984 | public void SendGenericMessage(string method, List<byte[]> message) | 984 | public void SendGenericMessage(string method, UUID invoice, List<byte[]> message) |
985 | { | 985 | { |
986 | 986 | ||
987 | } | 987 | } |
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index d665126..7918c22 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -630,12 +630,12 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
630 | 630 | ||
631 | } | 631 | } |
632 | 632 | ||
633 | public void SendGenericMessage(string method, List<string> message) | 633 | public void SendGenericMessage(string method, UUID invoice, List<string> message) |
634 | { | 634 | { |
635 | 635 | ||
636 | } | 636 | } |
637 | 637 | ||
638 | public void SendGenericMessage(string method, List<byte[]> message) | 638 | public void SendGenericMessage(string method, UUID invoice, List<byte[]> message) |
639 | { | 639 | { |
640 | 640 | ||
641 | } | 641 | } |