The Eryan Client window, handles the adding and removing of bot windows/loading scripts/etc.
Inheritance: System.Utils
Esempio n. 1
0
        public static extern void dllMoveMouse(IntPtr handle, int x, int y);


        public DrawableScreen(ClientWindow cw, WindowHandler wh) : base()
        {
            this.wh = wh;
            this.cw = cw;
            pm = wh.PMOUSE;
            m = wh.MOUSE;
Esempio n. 2
0
        /// <summary>
        /// Initializes the bot by creating a new WindowHandler and adding it as a tab to the ClientWindow
        /// </summary>
        /// <param name="cw">A reference to the ClientWindow</param>
        public void initializeBot(ClientWindow cw)
        {
            bot = new WindowHandler(cw);
            bot.bringToFront();
            bot.setTopLevel(false);
            bot.setVisible(true);

            bot.setFormBorderStyle(FormBorderStyle.None);
            bot.setDockStyle(DockStyle.Fill);

            cw.tabControl1.TabPages[0].Controls.Add(bot);
            cw.tabControl1.TabPages[0].Text = "Bot";

            /*
            backgroundScripts = new List<Scriptable>();
            Script.Scripts.InterfaceCloser icloser = new Script.Scripts.InterfaceCloser();
            icloser.initializeInputs(bot);
            backgroundScripts.Add(icloser);
            */

            this.cw = cw;
            //DEBUGGING STUFF
            //com = new Communicator("\\\\.\\pipe\\TestChannel");
            menuHandler = new MenuHandler(bot.MOUSE, bot.PMOUSE, bot.COMMUNICATOR, bot.KEYBOARD);
            over = new OverviewHandler(bot.MENU, bot.MOUSE, bot.PMOUSE, bot.COMMUNICATOR);
        }
Esempio n. 3
0
 /// <summary>
 /// Spawns the Eryan Client on a new thread
 /// </summary>
 public static void createWindow()
 {
     cWindow = new ClientWindow();
     Application.Run(cWindow);
 }