public useful(PubComb plug) { plugin = plug; shared = plugin.SharedInfo; this.frame = plug.frame; this.proxy = frame.proxy; form = new UsefulForm1(this); /*this.proxy.AddDelegate(PacketType.AgentMovementComplete, Direction.Incoming, delegate(Packet packet, IPEndPoint sim) { RegionHandle = ((AgentMovementCompletePacket)packet).Data.RegionHandle; return packet; }); this.proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, delegate(Packet packet, IPEndPoint sim) { CameraCenter = ((AgentUpdatePacket)packet).AgentData.CameraCenter; return packet; }); */ //this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler)); //this.proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, new PacketDelegate(OutAgentUpdateHandler)); this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Incoming, new PacketDelegate(InImprovedInstantMessageHandler)); //this.proxy.AddDelegate(PacketType.ViewerEffect, Direction.Incoming, new PacketDelegate(InViewerEffectHandler)); this.proxy.AddDelegate(PacketType.AlertMessage, Direction.Incoming, new PacketDelegate(InAlertMessageHandler)); this.proxy.AddDelegate(PacketType.AvatarPropertiesRequest, Direction.Outgoing, new PacketDelegate(OutAvatarPropertiesRequestHandler)); this.proxy.AddDelegate(PacketType.GroupProfileReply, Direction.Incoming, new PacketDelegate(GroupProp)); this.proxy.AddDelegate(PacketType.UUIDNameReply, Direction.Incoming, new PacketDelegate(GotName)); //this.proxy.AddDelegate(PacketType.AvatarSitResponse, Direction.Incoming, new PacketDelegate(InAvatarSitResponseHandler)); //this.proxy.AddDelegate(PacketType.TerminateFriendship, Direction.Incoming, new PacketDelegate(InTerminateFriendshipHandler)); //this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(InObjectUpdateHandler)); }
public ProfileFunPlugin(PubComb plug) { plugin = plug; form = new SimpleProfForm1(this); this.frame = plug.frame; shared = plugin.SharedInfo; this.proxy = plug.proxy; proxy.AddDelegate(PacketType.AvatarPropertiesReply, Direction.Incoming, new PacketDelegate(inAvatar)); RefreshDownloadsTimer.Elapsed += new System.Timers.ElapsedEventHandler(RefreshDownloadsTimer_Elapsed); RefreshDownloadsTimer.Start(); proxy.AddDelegate(PacketType.AgentMovementComplete, Direction.Incoming, delegate(Packet packet, IPEndPoint sim) { shared.RegionHandle = ((AgentMovementCompletePacket)packet).Data.RegionHandle; return(packet); }); proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, delegate(Packet packet, IPEndPoint sim) { AgentUpdatePacket.AgentDataBlock p = ((AgentUpdatePacket)packet).AgentData; shared.CameraPosition = p.CameraCenter; shared.CameraAtAxis = p.CameraAtAxis; shared.CameraLeftAxis = p.CameraLeftAxis; shared.CameraUpAxis = p.CameraUpAxis; shared.Far = p.Far; shared.ip = sim.Address; shared.port = sim.Port; return(packet); }); }
public ProfileFunPlugin(PubComb plug) { plugin = plug; form = new SimpleProfForm1(this); this.frame = plug.frame; shared = plugin.SharedInfo; this.proxy = plug.proxy; proxy.AddDelegate(PacketType.AvatarPropertiesReply, Direction.Incoming, new PacketDelegate(inAvatar)); RefreshDownloadsTimer.Elapsed += new System.Timers.ElapsedEventHandler(RefreshDownloadsTimer_Elapsed); RefreshDownloadsTimer.Start(); proxy.AddDelegate(PacketType.AgentMovementComplete, Direction.Incoming, delegate(Packet packet, IPEndPoint sim) { shared.RegionHandle = ((AgentMovementCompletePacket)packet).Data.RegionHandle; return packet; }); proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, delegate(Packet packet, IPEndPoint sim) { AgentUpdatePacket.AgentDataBlock p = ((AgentUpdatePacket)packet).AgentData; shared.CameraPosition = p.CameraCenter; shared.CameraAtAxis = p.CameraAtAxis; shared.CameraLeftAxis = p.CameraLeftAxis; shared.CameraUpAxis = p.CameraUpAxis; shared.Far = p.Far; shared.ip = sim.Address; shared.port = sim.Port; return packet; }); }
public useful(PubComb plug) { plugin = plug; shared = plugin.SharedInfo; this.frame = plug.frame; this.proxy = frame.proxy; form = new UsefulForm1(this); /*this.proxy.AddDelegate(PacketType.AgentMovementComplete, Direction.Incoming, delegate(Packet packet, IPEndPoint sim) * { * RegionHandle = ((AgentMovementCompletePacket)packet).Data.RegionHandle; * return packet; * }); * this.proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, delegate(Packet packet, IPEndPoint sim) * { * CameraCenter = ((AgentUpdatePacket)packet).AgentData.CameraCenter; * return packet; * }); */ //this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler)); //this.proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, new PacketDelegate(OutAgentUpdateHandler)); this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Incoming, new PacketDelegate(InImprovedInstantMessageHandler)); //this.proxy.AddDelegate(PacketType.ViewerEffect, Direction.Incoming, new PacketDelegate(InViewerEffectHandler)); this.proxy.AddDelegate(PacketType.AlertMessage, Direction.Incoming, new PacketDelegate(InAlertMessageHandler)); this.proxy.AddDelegate(PacketType.AvatarPropertiesRequest, Direction.Outgoing, new PacketDelegate(OutAvatarPropertiesRequestHandler)); this.proxy.AddDelegate(PacketType.GroupProfileReply, Direction.Incoming, new PacketDelegate(GroupProp)); this.proxy.AddDelegate(PacketType.UUIDNameReply, Direction.Incoming, new PacketDelegate(GotName)); //this.proxy.AddDelegate(PacketType.AvatarSitResponse, Direction.Incoming, new PacketDelegate(InAvatarSitResponseHandler)); //this.proxy.AddDelegate(PacketType.TerminateFriendship, Direction.Incoming, new PacketDelegate(InTerminateFriendshipHandler)); //this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(InObjectUpdateHandler)); }
public InvFunPlugin(PubComb plug) { plugin = plug; shared = plug.SharedInfo; form = new InvFunForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; }
public InvFunPlugin(PubComb plug) { plugin = plug; shared = plug.SharedInfo; form = new InvFunForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; }
public SitAnywherePlugin(PubComb plug) { plugin = plug; shared = plug.SharedInfo; form = new SitAnywhereForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; this.frame.AddCommand("/sit", new ProxyFrame.CommandDelegate(this.CmdSit)); }
public FileProtectPlugin(PubComb plug) { plugin = plug; shared = plug.SharedInfo; form = new FileProtectForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; this.proxy.AddDelegate(PacketType.RequestXfer, Direction.Incoming, new PacketDelegate(disbale)); }
public ViewerEffectLogPlugin(PubComb plug) { plugin = plug; shared = plug.SharedInfo; form = new VELogForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; this.proxy.AddDelegate(PacketType.ViewerEffect, Direction.Incoming, new PacketDelegate(ve)); }
public FileProtectPlugin(PubComb plug) { plugin = plug; shared = plug.SharedInfo; form = new FileProtectForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; this.proxy.AddDelegate(PacketType.RequestXfer, Direction.Incoming, new PacketDelegate(disbale)); }
public SitAnywherePlugin(PubComb plug) { plugin = plug; shared = plug.SharedInfo; form = new SitAnywhereForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; this.frame.AddCommand("/sit", new ProxyFrame.CommandDelegate(this.CmdSit)); }
public ViewerEffectLogPlugin(PubComb plug) { plugin = plug; shared = plug.SharedInfo; form = new VELogForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; this.proxy.AddDelegate(PacketType.ViewerEffect, Direction.Incoming, new PacketDelegate(ve)); }
public HighPlugin(PubComb plug) { plugin = plug; shared = plug.SharedInfo; form = new HighForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; this.frame.AddCommand("/high", new ProxyFrame.CommandDelegate(this.CmdHigh)); this.frame.AddCommand("/tp", new ProxyFrame.CommandDelegate(this.CmdTp)); this.proxy.AddDelegate(PacketType.ObjectSelect, Direction.Outgoing, new PacketDelegate(this.ToHigh)); this.proxy.AddDelegate(PacketType.ObjectDeselect, Direction.Outgoing, new PacketDelegate(this.ToHigh)); }
public RadarChatPlugin(PubComb plug) { start = System.DateTime.Now; plugin = plug; shared = plug.SharedInfo; form = new RadarChatForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; this.proxy.AddDelegate(PacketType.UUIDNameReply, Direction.Incoming, new PacketDelegate(GotName)); this.proxy.AddDelegate(PacketType.CoarseLocationUpdate, Direction.Incoming, new PacketDelegate(LocationIN)); this.proxy.AddDelegate(PacketType.SoundTrigger, Direction.Incoming, new PacketDelegate(inSound)); }
public RadarChatPlugin(PubComb plug) { start = System.DateTime.Now; plugin = plug; shared = plug.SharedInfo; form = new RadarChatForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; this.proxy.AddDelegate(PacketType.UUIDNameReply, Direction.Incoming, new PacketDelegate(GotName)); this.proxy.AddDelegate(PacketType.CoarseLocationUpdate, Direction.Incoming, new PacketDelegate(LocationIN)); this.proxy.AddDelegate(PacketType.SoundTrigger, Direction.Incoming, new PacketDelegate(inSound)); }
public HighPlugin(PubComb plug) { plugin = plug; shared = plug.SharedInfo; form = new HighForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; this.frame.AddCommand("/high", new ProxyFrame.CommandDelegate(this.CmdHigh)); this.frame.AddCommand("/tp", new ProxyFrame.CommandDelegate(this.CmdTp)); this.proxy.AddDelegate(PacketType.ObjectSelect, Direction.Outgoing, new PacketDelegate(this.ToHigh)); this.proxy.AddDelegate(PacketType.ObjectDeselect, Direction.Outgoing, new PacketDelegate(this.ToHigh)); }
public SpamBlocker(PubComb plug) { plugin = plug; shared = plug.SharedInfo; form = new SpamBlockForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; this.proxy.AddDelegate(PacketType.ChangeUserRights, Direction.Incoming, new PacketDelegate(this.UserRights)); this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Incoming, new PacketDelegate(this.InIM)); this.proxy.AddDelegate(PacketType.ScriptDialog, Direction.Incoming, new PacketDelegate(this.Dialogs)); this.proxy.AddDelegate(PacketType.SoundTrigger, Direction.Incoming, new PacketDelegate(this.InTSound)); this.proxy.AddDelegate(PacketType.AttachedSound, Direction.Incoming, new PacketDelegate(this.InASound)); this.proxy.AddDelegate(PacketType.ScriptTeleportRequest, Direction.Incoming, new PacketDelegate(this.InMap)); }
public SpamBlocker(PubComb plug) { plugin = plug; shared = plug.SharedInfo; form = new SpamBlockForm1(this); this.frame = plug.frame; this.proxy = plug.proxy; this.proxy.AddDelegate(PacketType.ChangeUserRights, Direction.Incoming, new PacketDelegate(this.UserRights)); this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Incoming, new PacketDelegate(this.InIM)); this.proxy.AddDelegate(PacketType.ScriptDialog, Direction.Incoming, new PacketDelegate(this.Dialogs)); this.proxy.AddDelegate(PacketType.SoundTrigger, Direction.Incoming, new PacketDelegate(this.InTSound)); this.proxy.AddDelegate(PacketType.AttachedSound, Direction.Incoming, new PacketDelegate(this.InASound)); this.proxy.AddDelegate(PacketType.ScriptTeleportRequest, Direction.Incoming, new PacketDelegate(this.InMap)); }
public AvatarTracker(PubComb plugin) { this.plugin = plugin; this.frame = plugin.frame; this.proxy = plugin.frame.proxy; this.SharedInfo = plugin.SharedInfo; this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(InObjectUpdateHandler)); this.proxy.AddDelegate(PacketType.ImprovedTerseObjectUpdate, Direction.Incoming, new PacketDelegate(InImprovedTerseObjectUpdateHandler)); this.proxy.AddDelegate(PacketType.KillObject, Direction.Incoming, new PacketDelegate(InKillObjectHandler)); this.proxy.AddDelegate(PacketType.DisableSimulator, Direction.Incoming, new PacketDelegate(InDisableSimulatorHandler)); form = new FormAvatars(this); //formthread = new Thread(new ThreadStart(showform)); //formthread.SetApartmentState(ApartmentState.STA); //formthread.Start(); }
public AvatarTracker(PubComb plugin) { this.plugin = plugin; this.frame = plugin.frame; this.proxy = plugin.frame.proxy; this.SharedInfo = plugin.SharedInfo; this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(InObjectUpdateHandler)); this.proxy.AddDelegate(PacketType.ImprovedTerseObjectUpdate, Direction.Incoming, new PacketDelegate(InImprovedTerseObjectUpdateHandler)); this.proxy.AddDelegate(PacketType.KillObject, Direction.Incoming, new PacketDelegate(InKillObjectHandler)); this.proxy.AddDelegate(PacketType.DisableSimulator, Direction.Incoming, new PacketDelegate(InDisableSimulatorHandler)); form = new FormAvatars(this); //formthread = new Thread(new ThreadStart(showform)); //formthread.SetApartmentState(ApartmentState.STA); //formthread.Start(); }
public ClientDetection(PubComb plugin) { //formthread = new Thread(new ThreadStart(delegate() //{ form = new ClientDetectForm1(this); // Application.Run(form); //})); //formthread.SetApartmentState(ApartmentState.STA); //formthread.Start();*/ this.plugin = plugin; this.frame = plugin.frame; this.proxy = plugin.frame.proxy; this.SharedInfo = plugin.SharedInfo; this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(inObj)); this.proxy.AddDelegate(PacketType.AvatarAppearance, Direction.Incoming, new PacketDelegate(inClo)); }
public ClientDetection(PubComb plugin) { //formthread = new Thread(new ThreadStart(delegate() //{ form = new ClientDetectForm1(this); // Application.Run(form); //})); //formthread.SetApartmentState(ApartmentState.STA); //formthread.Start();*/ this.plugin = plugin; this.frame = plugin.frame; this.proxy = plugin.frame.proxy; this.SharedInfo = plugin.SharedInfo; this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(inObj)); this.proxy.AddDelegate(PacketType.AvatarAppearance, Direction.Incoming, new PacketDelegate(inClo)); }