Exemple #1
0
        public SysBotRAMEdit(InjectionType type)
        {
            InitializeComponent();
            Bot            = new SysBotController(type);
            RamOffset.Text = Bot.GetDefaultOffset().ToString("X8");

            TB_IP.Text   = Bot.IP;
            TB_Port.Text = Bot.Port;
            Bot.PopPrompt();
        }
Exemple #2
0
        public SysBotRAMEdit(InjectionType type)
        {
            InitializeComponent();
            this.TranslateInterface(GameInfo.CurrentLanguage);
            Bot            = new SysBotController(type);
            RamOffset.Text = Bot.GetDefaultOffset().ToString("X8");

            TB_IP.Text   = Bot.IP;
            TB_Port.Text = Bot.Port;
            Bot.PopPrompt();
        }
Exemple #3
0
        public SysBotUI(Action <byte[]> read, Func <byte[]> write, InjectionType type)
        {
            InitializeComponent();
            Bot            = new SysBotController(type);
            ByteFetch      = write;
            ByteSet        = read;
            RamOffset.Text = Bot.GetDefaultOffset().ToString("X8");

            TB_IP.Text   = Bot.IP;
            TB_Port.Text = Bot.Port;

            Bot.PopPrompt();
        }
Exemple #4
0
        public SysBotUI(AutoInjector injector, SysBotController c)
        {
            InitializeComponent();
            Bot      = c;
            Injector = injector;

            var offset = Bot.GetDefaultOffset();

            Injector.SetWriteOffset(offset);
            RamOffset.Text = offset.ToString("X8");

            TB_IP.Text   = Bot.IP;
            TB_Port.Text = Bot.Port;

            Bot.PopPrompt();

            TIM_Interval.Tick += (s, e) => injector.Read();
        }
Exemple #5
0
        public SysBotUI(AutoInjector injector, SysBotController c, AutoInjector injectorUSB, USBBotController b)
        {
            InitializeComponent();
            this.TranslateInterface(GameInfo.CurrentLanguage);
            Bot         = c;
            Injector    = injector;
            BotUSB      = b;
            InjectorUSB = injectorUSB;

            var offset = Bot.GetDefaultOffset();

            Injector.SetWriteOffset(offset);
            RamOffset.Text = offset.ToString("X8");

            TB_IP.Text   = Bot.IP;
            TB_Port.Text = Bot.Port;

            Bot.PopPrompt();

            TIM_Interval.Tick += (s, e) => injector.Read();
        }