diff options
author | Teravus Ovares | 2007-11-24 01:38:36 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-24 01:38:36 +0000 |
commit | 52714c339e49e8f1f839b315cd6b4da1bb53e82a (patch) | |
tree | 73a7994d316638607dfcb79a64a7d4f13db4a875 /OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |
parent | *Shared Modules have feelings too! -- Shared Region Modules that are found in... (diff) | |
download | opensim-SC-52714c339e49e8f1f839b315cd6b4da1bb53e82a.zip opensim-SC-52714c339e49e8f1f839b315cd6b4da1bb53e82a.tar.gz opensim-SC-52714c339e49e8f1f839b315cd6b4da1bb53e82a.tar.bz2 opensim-SC-52714c339e49e8f1f839b315cd6b4da1bb53e82a.tar.xz |
* Hanling RequestGodlikePowers. On Request.. sends the sim owner's client the appropriate messages to make it think it's got god status. Will be used for finding more unimplemented packets....
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 64f5b6d..ca7ba7f 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -1066,25 +1066,13 @@ namespace OpenSim.Region.ClientStack | |||
1066 | 1066 | ||
1067 | #region unimplemented handlers | 1067 | #region unimplemented handlers |
1068 | case PacketType.RequestGodlikePowers: | 1068 | case PacketType.RequestGodlikePowers: |
1069 | //RequestGodlikePowersPacket rglpPack = (RequestGodlikePowersPacket) Pack; | 1069 | RequestGodlikePowersPacket rglpPack = (RequestGodlikePowersPacket) Pack; |
1070 | //RequestGodlikePowersPacket.RequestBlockBlock rblock = rglpPack.RequestBlock; | 1070 | RequestGodlikePowersPacket.RequestBlockBlock rblock = rglpPack.RequestBlock; |
1071 | //LLUUID token = rblock.Token; | 1071 | LLUUID token = rblock.Token; |
1072 | //RequestGodlikePowersPacket.AgentDataBlock ablock = rglpPack.AgentData; | 1072 | RequestGodlikePowersPacket.AgentDataBlock ablock = rglpPack.AgentData; |
1073 | 1073 | ||
1074 | OnRequestGodlikePowers(ablock.AgentID, ablock.SessionID, token, this); | ||
1074 | 1075 | ||
1075 | //GrantGodlikePowersPacket respondPacket = new GrantGodlikePowersPacket(); | ||
1076 | //GrantGodlikePowersPacket.GrantDataBlock gdb = new GrantGodlikePowersPacket.GrantDataBlock(); | ||
1077 | //GrantGodlikePowersPacket.AgentDataBlock adb = new GrantGodlikePowersPacket.AgentDataBlock(); | ||
1078 | |||
1079 | //adb.AgentID = ablock.AgentID; | ||
1080 | //adb.SessionID = ablock.SessionID; | ||
1081 | |||
1082 | //gdb.GodLevel = (byte)100; | ||
1083 | //gdb.Token = token; | ||
1084 | //respondPacket.AgentData = (GrantGodlikePowersPacket.AgentDataBlock)ablock; | ||
1085 | //respondPacket.GrantData = gdb; | ||
1086 | //respondPacket.AgentData = adb; | ||
1087 | //OutPacket(respondPacket, ThrottleOutPacketType.Task); | ||
1088 | break; | 1076 | break; |
1089 | case PacketType.GodKickUser: | 1077 | case PacketType.GodKickUser: |
1090 | //GodKickUserPacket gkupack = (GodKickUserPacket) Pack; | 1078 | //GodKickUserPacket gkupack = (GodKickUserPacket) Pack; |