Esempio n. 1
0
 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;
     });
 }
Esempio n. 2
0
 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);
     });
 }
Esempio n. 3
0
        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));
        }
Esempio n. 4
0
        public AwesomeSauce(PubComb p)
        {
            plugin = p;
            currentRegion = UUID.Zero.GetULong();
            form = new AweseomeSauceForm1(this);
            this.frame = p.frame;
            this.proxy = frame.proxy;
            //this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
            //this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            //this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Outgoing, new PacketDelegate(SendingIM));
            this.proxy.AddDelegate(PacketType.AssetUploadRequest, Direction.Outgoing, new PacketDelegate(TryToSendAsset));
            this.proxy.AddDelegate(PacketType.ConfirmXferPacket, Direction.Incoming, new PacketDelegate(InConfirmXferPacketHandler));
            this.proxy.AddDelegate(PacketType.RequestXfer, Direction.Incoming, new PacketDelegate(ServerRequestsMyDataToStart));
            this.proxy.AddDelegate(PacketType.SendXferPacket, Direction.Outgoing, new PacketDelegate(ClientSentThisScript));
            this.proxy.AddDelegate(PacketType.TransferPacket, Direction.Incoming, new PacketDelegate(LoadingUpNewScript));
            this.proxy.AddDelegate(PacketType.TransferInfo, Direction.Incoming, new PacketDelegate(SimWantsToSendUs));
            //this.proxy.AddDelegate(PacketType.ReplyTaskInventory, Direction.Incoming, new PacketDelegate(ReplyTask));
            //this.proxy.AddDelegate(PacketType.TransferRequest, Direction.Outgoing, new PacketDelegate(TrasferReq));
            //this.proxy.AddCapsDelegate("UpdateScriptTask", new CapsDelegate(UploadStart));
            //this.proxy.AddCapsDelegate("UpdateScriptAgent", new CapsDelegate(UploadStart));

            //if (!Directory.Exists("(You can Delete me) Expired Scripts Cache"))
            //Directory.CreateDirectory("(You can Delete me) Expired Scripts Cache");

            if (!Directory.Exists("Scripts Cache"))
            {
                Directory.CreateDirectory("Scripts Cache");
            }

                       // File.Move("./" + f, "./Old Particle Scripts/" + DateTime.Now.Date.Month.ToString() + "-" + DateTime.Now.Day.ToString() + "-" + DateTime.Now.Year.ToString() +
                       //     " - " + DateTime.Now.TimeOfDay.TotalSeconds.ToString() + "@" + f.Substring(17));
        }
Esempio n. 5
0
        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));
        }
Esempio n. 6
0
        public AwesomeSauce(PubComb p)
        {
            plugin        = p;
            currentRegion = UUID.Zero.GetULong();
            form          = new AweseomeSauceForm1(this);
            this.frame    = p.frame;
            this.proxy    = frame.proxy;
            //this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
            //this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            //this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Outgoing, new PacketDelegate(SendingIM));
            this.proxy.AddDelegate(PacketType.AssetUploadRequest, Direction.Outgoing, new PacketDelegate(TryToSendAsset));
            this.proxy.AddDelegate(PacketType.ConfirmXferPacket, Direction.Incoming, new PacketDelegate(InConfirmXferPacketHandler));
            this.proxy.AddDelegate(PacketType.RequestXfer, Direction.Incoming, new PacketDelegate(ServerRequestsMyDataToStart));
            this.proxy.AddDelegate(PacketType.SendXferPacket, Direction.Outgoing, new PacketDelegate(ClientSentThisScript));
            this.proxy.AddDelegate(PacketType.TransferPacket, Direction.Incoming, new PacketDelegate(LoadingUpNewScript));
            this.proxy.AddDelegate(PacketType.TransferInfo, Direction.Incoming, new PacketDelegate(SimWantsToSendUs));
            //this.proxy.AddDelegate(PacketType.ReplyTaskInventory, Direction.Incoming, new PacketDelegate(ReplyTask));
            //this.proxy.AddDelegate(PacketType.TransferRequest, Direction.Outgoing, new PacketDelegate(TrasferReq));
            //this.proxy.AddCapsDelegate("UpdateScriptTask", new CapsDelegate(UploadStart));
            //this.proxy.AddCapsDelegate("UpdateScriptAgent", new CapsDelegate(UploadStart));

            //if (!Directory.Exists("(You can Delete me) Expired Scripts Cache"))
            //Directory.CreateDirectory("(You can Delete me) Expired Scripts Cache");

            if (!Directory.Exists("Scripts Cache"))
            {
                Directory.CreateDirectory("Scripts Cache");
            }

            // File.Move("./" + f, "./Old Particle Scripts/" + DateTime.Now.Date.Month.ToString() + "-" + DateTime.Now.Day.ToString() + "-" + DateTime.Now.Year.ToString() +
            //     " - " + DateTime.Now.TimeOfDay.TotalSeconds.ToString() + "@" + f.Substring(17));
        }
Esempio n. 7
0
 public ProTextPlug(PubComb p)
 {
     plugin     = p;
     this.frame = p.frame;
     this.proxy = frame.proxy;
     form       = new ProTextionForm1(this);
     this.proxy.AddDelegate(PacketType.ImageData, Direction.Incoming, new PacketDelegate(ImageDataHandler));
 }
Esempio n. 8
0
 public InvFunPlugin(PubComb plug)
 {
     plugin     = plug;
     shared     = plug.SharedInfo;
     form       = new InvFunForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
 }
Esempio n. 9
0
 public InvFunPlugin(PubComb plug)
 {
     plugin = plug;
     shared = plug.SharedInfo;
     form = new InvFunForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
 }
Esempio n. 10
0
 public ProTextPlug(PubComb p)
 {
     plugin = p;
     this.frame = p.frame;
     this.proxy = frame.proxy;
     form = new ProTextionForm1(this);
     this.proxy.AddDelegate(PacketType.ImageData, Direction.Incoming, new PacketDelegate(ImageDataHandler));
 }
Esempio n. 11
0
 public SitBlockPlugin(PubComb plug)
 {
     plugin     = plug;
     form       = new SitBlockForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.brand = "SitBlock";
     proxy.AddDelegate(PacketType.AgentRequestSit, Direction.Outgoing, new PacketDelegate(sitp));
 }
Esempio n. 12
0
 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));
 }
Esempio n. 13
0
 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));
 }
Esempio n. 14
0
 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));
 }
Esempio n. 15
0
 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));
 }
Esempio n. 16
0
 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));
 }
Esempio n. 17
0
 public SitBlockPlugin(PubComb plug)
 {
     plugin = plug;
     form = new SitBlockForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.brand = "SitBlock";
     proxy.AddDelegate(PacketType.AgentRequestSit, Direction.Outgoing, new PacketDelegate(sitp));
 }
Esempio n. 18
0
 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));
 }
Esempio n. 19
0
File: High.cs Progetto: zadark/par
 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));
 }
Esempio n. 20
0
 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));
 }
Esempio n. 21
0
File: CliInt.cs Progetto: zadark/par
 public CliIntPlugin(PubComb plug)
 {
     plugin = plug;
     form   = new CliIntForm1(this);
     //plug.tabform.addATab(form, "CliInt");
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     proxy.AddDelegate(PacketType.AlertMessage, Direction.Incoming, new PacketDelegate(this.InAlertMessageHandler));
     proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(this.UpdateHandler));
     proxy.AddDelegate(PacketType.ImprovedTerseObjectUpdate, Direction.Incoming, new PacketDelegate(this.TerseUpdateHandler));
     interceptor.Name = "idontexist";
 }
Esempio n. 22
0
 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));
 }
Esempio n. 23
0
File: High.cs Progetto: zadark/par
 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));
 }
Esempio n. 24
0
 public RetreatPlugin(PubComb plug)
 {
     form = new RetreatForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     plugin     = plug;
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.proxy.AddDelegate(PacketType.TerminateFriendship, Direction.Incoming, new PacketDelegate(ItsOver));
     this.proxy.AddDelegate(PacketType.UUIDNameReply, Direction.Incoming, new PacketDelegate(GotTheirName));
 }
Esempio n. 25
0
 public IMLocatePlugin(PubComb plug)
 {
     form = new IMHistForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     plugin = plug;
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     //this.brand = "IMLocate";
     proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Incoming, new PacketDelegate(IMs));
 }
Esempio n. 26
0
        public RainbowParticlesPlugin(PubComb plug)
        {
            plugin     = plug;
            form       = new RainbowParticlesForm1(this);
            this.frame = plugin.frame;
            this.proxy = plugin.proxy;
            this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
            this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            this.proxy.AddDelegate(PacketType.ViewerEffect, Direction.Outgoing, new PacketDelegate(OutViewerEffectHandler));

            GregTimer.Elapsed += new System.Timers.ElapsedEventHandler(GregTimer_Elapsed);
            GregTimer.Start();
        }
Esempio n. 27
0
        public RainbowParticlesPlugin(PubComb plug)
        {
            plugin = plug;
            form = new RainbowParticlesForm1(this);
            this.frame = plugin.frame;
            this.proxy = plugin.proxy;
            this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
            this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            this.proxy.AddDelegate(PacketType.ViewerEffect, Direction.Outgoing, new PacketDelegate(OutViewerEffectHandler));

            GregTimer.Elapsed += new System.Timers.ElapsedEventHandler(GregTimer_Elapsed);
            GregTimer.Start();
        }
Esempio n. 28
0
 public IMLocatePlugin(PubComb plug)
 {
     form = new IMHistForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     plugin     = plug;
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     //this.brand = "IMLocate";
     proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Incoming, new PacketDelegate(IMs));
 }
Esempio n. 29
0
 public RetreatPlugin(PubComb plug)
 {
     form = new RetreatForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     plugin = plug;
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.proxy.AddDelegate(PacketType.TerminateFriendship, Direction.Incoming, new PacketDelegate(ItsOver));
     this.proxy.AddDelegate(PacketType.UUIDNameReply, Direction.Incoming, new PacketDelegate(GotTheirName));
 }
Esempio n. 30
0
 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));
 }
Esempio n. 31
0
 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));
 }
Esempio n. 32
0
 public DisableCapsPlugin(PubComb plug)
 {
     //formthread = new Thread(new ThreadStart(delegate()
     //{
         form = new CapsForm1(this);
       //  Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
         plugin = plug;
      //   plugin.tabform.addATab(form, "Disable Caps");
     this.frame = plug.frame;
     this.proxy = plug.proxy;
 }
Esempio n. 33
0
 public DisableCapsPlugin(PubComb plug)
 {
     //formthread = new Thread(new ThreadStart(delegate()
     //{
     form = new CapsForm1(this);
     //  Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     plugin = plug;
     //   plugin.tabform.addATab(form, "Disable Caps");
     this.frame = plug.frame;
     this.proxy = plug.proxy;
 }
Esempio n. 34
0
File: coin.cs Progetto: zadark/par
        public coin(PubComb plug)
        {
            plugin     = plug;
            this.frame = plug.frame;

            frame.proxy.AddDelegate(PacketType.AgentSetAppearance, Direction.Outgoing, coinage);

            //formthread = new Thread(new ThreadStart(delegate()
            //{
            form = new CoinForm1(this);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();
        }
Esempio n. 35
0
File: coin.cs Progetto: zadark/par
        public coin(PubComb plug)
        {
            plugin = plug;
            this.frame = plug.frame;

            frame.proxy.AddDelegate(PacketType.AgentSetAppearance, Direction.Outgoing, coinage);

            //formthread = new Thread(new ThreadStart(delegate()
            //{
                form = new CoinForm1(this);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();
        }
Esempio n. 36
0
 public void UpdateAvatar1(PubComb.Aux_Avatar avatar)
 {
     lock (dataGridView1.Rows)
     {
         int t = dataGridView1.Rows.Count;
         for (int i = 0; i < t; i++)
         {
             if ((string)dataGridView1.Rows[i].Cells["UUID"].Value == avatar.UUID.ToString())
             {
                 dataGridView1.Rows[i].Cells["Position"].Value = avatar.Position.ToString();
                 return;
             }
         }
     }
 }
Esempio n. 37
0
File: Penny.cs Progetto: zadark/par
        public PennyPlugin(PubComb plug)
        {
            plugin = plug;
            //formthread = new Thread(new ThreadStart(delegate()
            //{
                form = new PennyForm1(this);
             //   Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();

            this.frame = plugin.frame;
            this.proxy = plugin.proxy;
            //this.brand = "Penny";
            proxy.AddDelegate(PacketType.AgentSetAppearance, Direction.Outgoing,new PacketDelegate(ApHand));
        }
Esempio n. 38
0
File: Penny.cs Progetto: zadark/par
        public PennyPlugin(PubComb plug)
        {
            plugin = plug;
            //formthread = new Thread(new ThreadStart(delegate()
            //{
            form = new PennyForm1(this);
            //   Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();


            this.frame = plugin.frame;
            this.proxy = plugin.proxy;
            //this.brand = "Penny";
            proxy.AddDelegate(PacketType.AgentSetAppearance, Direction.Outgoing, new PacketDelegate(ApHand));
        }
Esempio n. 39
0
        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();
        }
Esempio n. 40
0
        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();
        }
Esempio n. 41
0
File: Lyra.cs Progetto: zadark/par
 public LyraPlugin(PubComb plug)
 {
     //formthread = new Thread(new ThreadStart(delegate()
     //{
     //    form = new LyraForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     plugin = plug;
     form   = new LyraForm1(this);
     //plug.tabform.addATab(form, "LYRA");
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     // this.brand = "Lyra";
     proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(SimChat));
     proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, new PacketDelegate(Age));
 }
Esempio n. 42
0
        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));
        }
Esempio n. 43
0
        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));
        }
Esempio n. 44
0
 public PAnim(PubComb plug)
 {
     plugin = plug;
     //formthread = new Thread(new ThreadStart(delegate()
     //{
     form = new ProtAnimForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     //    plug.tabform.addATab(form, "ProtAnim");
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     //this.brand = "ProtAnim";
     this.proxy.AddDelegate(PacketType.TransferRequest, Direction.Outgoing, new PacketDelegate(TransferRequestHandler));
     this.proxy.AddDelegate(PacketType.TransferInfo, Direction.Incoming, new PacketDelegate(TransferInfoHandler));
     this.proxy.AddDelegate(PacketType.TransferPacket, Direction.Incoming, new PacketDelegate(TransferPacketHandler));
 }
Esempio n. 45
0
File: Lyra.cs Progetto: zadark/par
 public LyraPlugin(PubComb plug)
 {
     //formthread = new Thread(new ThreadStart(delegate()
     //{
     //    form = new LyraForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     plugin = plug;
     form = new LyraForm1(this);
     //plug.tabform.addATab(form, "LYRA");
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     // this.brand = "Lyra";
     proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(SimChat));
     proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, new PacketDelegate(Age));
 }
Esempio n. 46
0
 public HandicapPlugin(PubComb plug)
 {
     //formthread = new Thread(new ThreadStart(delegate()
     //{
     form = new HandiForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     plugin     = plug;
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     //plug.tabform.addATab(form, "Handicap");
     this.proxy.AddDelegate(PacketType.GenericMessage, Direction.Outgoing, new PacketDelegate(OutAutoPilot));
     //this.proxy.AddDelegate(PacketType.GenericMessage, Direction.Incoming, new PacketDelegate(OutAutoPilot));
     this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
     this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
     //this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Outgoing, new PacketDelegate(SendingIM));
 }
Esempio n. 47
0
        public CinderellaPlugin(PubComb plug)
        {
            plugin = plug;
            this.frame = plug.frame;
            this.proxy = plug.proxy;

            //this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(ObjectUpdateHandler));
            //this.proxy.AddDelegate(PacketType.ObjectProperties, Direction.Incoming, new PacketDelegate(ObjectPropertiesHandler));
            this.proxy.AddDelegate(PacketType.ConfirmXferPacket, Direction.Incoming, new PacketDelegate(InConfirmXferPacketHandler));
            this.proxy.AddDelegate(PacketType.RequestXfer, Direction.Incoming, new PacketDelegate(ServerRequestsMyDataToStart));

            //formthread = new Thread(new ThreadStart(delegate()
            //{
                form = new CinderForm1(this);
              //  Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();
        }
Esempio n. 48
0
 public HandicapPlugin(PubComb plug)
 {
     //formthread = new Thread(new ThreadStart(delegate()
     //{
         form = new HandiForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
         plugin = plug;
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     //plug.tabform.addATab(form, "Handicap");
     this.proxy.AddDelegate(PacketType.GenericMessage, Direction.Outgoing, new PacketDelegate(OutAutoPilot));
     //this.proxy.AddDelegate(PacketType.GenericMessage, Direction.Incoming, new PacketDelegate(OutAutoPilot));
     this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
     this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
     //this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Outgoing, new PacketDelegate(SendingIM));
 }
Esempio n. 49
0
        public CinderellaPlugin(PubComb plug)
        {
            plugin     = plug;
            this.frame = plug.frame;
            this.proxy = plug.proxy;

            //this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(ObjectUpdateHandler));
            //this.proxy.AddDelegate(PacketType.ObjectProperties, Direction.Incoming, new PacketDelegate(ObjectPropertiesHandler));
            this.proxy.AddDelegate(PacketType.ConfirmXferPacket, Direction.Incoming, new PacketDelegate(InConfirmXferPacketHandler));
            this.proxy.AddDelegate(PacketType.RequestXfer, Direction.Incoming, new PacketDelegate(ServerRequestsMyDataToStart));

            //formthread = new Thread(new ThreadStart(delegate()
            //{
            form = new CinderForm1(this);
            //  Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();
        }
Esempio n. 50
0
        public LeetPlugin(PubComb plug)
        {
            plugin = plug;

            //formthread = new Thread(new ThreadStart(delegate()
            //{
            form = new leetForm1(this);
            //   Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();

            this.frame = plug.frame;
            this.proxy = plug.proxy;
            this.brand = "ls";
            this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
            this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Outgoing, new PacketDelegate(SendingIM));
        }
Esempio n. 51
0
        public ShadowPlugin(PubComb plug)
        {
            plugin = plug;
            fish = new Twofish();
            fish.Mode = CipherMode.ECB;
            ms = new System.IO.MemoryStream();

            //formthread = new Thread(new ThreadStart(delegate()
            //{
                form = new ShadowForm1(this);
              //  Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();

            this.frame = plugin.frame;
            this.proxy = frame.proxy;
            this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
            this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Incoming, new PacketDelegate(RecivedIM));
            this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Outgoing, new PacketDelegate(SendingIM));
            this.proxy.AddDelegate(PacketType.ChatFromSimulator, Direction.Incoming, new PacketDelegate(InChatFromServerHandler));
        }
Esempio n. 52
0
        public ShadowPlugin(PubComb plug)
        {
            plugin    = plug;
            fish      = new Twofish();
            fish.Mode = CipherMode.ECB;
            ms        = new System.IO.MemoryStream();

            //formthread = new Thread(new ThreadStart(delegate()
            //{
            form = new ShadowForm1(this);
            //  Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();


            this.frame = plugin.frame;
            this.proxy = frame.proxy;
            this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
            this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Incoming, new PacketDelegate(RecivedIM));
            this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Outgoing, new PacketDelegate(SendingIM));
            this.proxy.AddDelegate(PacketType.ChatFromSimulator, Direction.Incoming, new PacketDelegate(InChatFromServerHandler));
        }
Esempio n. 53
0
 public TabItem(PubComb o)
 {
     pc = o;
     InitializeComponent();
 }
Esempio n. 54
0
 public void UpdateAvatar(PubComb.Aux_Avatar avatar)
 {
     this.dataGridView1.Invoke(new UpdatevatarCallback(this.UpdateAvatar1),
     new object[] { avatar });
 }
Esempio n. 55
0
 public void RemoveAvatar(PubComb.Aux_Avatar avatar)
 {
     this.dataGridView1.Invoke(new RemAvatarCallback(this.RemoveAvatar1),
     new object[] { avatar });
 }
Esempio n. 56
0
 public void AddAvatar1(PubComb.Aux_Avatar avatar)
 {
     dataGridView1.Rows.Add(new string[] {avatar.Name, avatar.UUID.ToString(), avatar.sim_IP.ToString(), avatar.LocalID.ToString(), avatar.Position.ToString()});
 }
Esempio n. 57
0
 public Aux_SharedInfo(PubComb plugin)
 {
     this.frame = plugin.frame;
 }
Esempio n. 58
0
 public Aux_SharedInfo(PubComb plugin)
 {
     this.frame = plugin.frame;
 }
Esempio n. 59
0
        public LeetPlugin(PubComb plug)
        {
            plugin = plug;

            //formthread = new Thread(new ThreadStart(delegate()
            //{
               form = new leetForm1(this);
             //   Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();

            this.frame = plug.frame;
            this.proxy = plug.proxy;
            this.brand = "ls";
            this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
            this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Outgoing, new PacketDelegate(SendingIM));
        }