Example #1
0
        public MarketEuropa2(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            #region Shop

            this.pointIsSale1 = new PointColor(907 - 5 + xx, 675 - 5 + yy, 7700000, 5);
            this.pointIsSale2 = new PointColor(907 - 5 + xx, 676 - 5 + yy, 7700000, 5);

            this.pointIsSale21 = new PointColor(841 - 5 + xx, 665 - 5 + yy, 7900000, 5);              //для isSale2  по кнопке Close
            this.pointIsSale22 = new PointColor(841 - 5 + xx, 668 - 5 + yy, 7900000, 5);

            this.pointIsClickSale1 = new PointColor(731 - 5 + xx, 662 - 5 + yy, 7900000, 5);          //нажата ли закладка "Sell"
            this.pointIsClickSale2 = new PointColor(731 - 5 + xx, 663 - 5 + yy, 7900000, 5);

            this.pointIsClickPurchase1 = new PointColor(696 - 5 + xx, 664 - 5 + yy, 7500000, 5);      //нажата ли закладка "Purchase"
            this.pointIsClickPurchase2 = new PointColor(696 - 5 + xx, 665 - 5 + yy, 7500000, 5);

            this.pointBookmarkSell         = new Point(225 + xx, 163 + yy);
            this.pointSaleToTheRedBottle   = new Point(335 + xx, 220 + yy);
            this.pointSaleOverTheRedBottle = new Point(335 + xx, 220 + yy);
            this.pointWheelDown            = new Point(375 + xx, 220 + yy); //345 + 30 + botwindow.getX(), 190 + 30 + botwindow.getY(), 3);        // колесо вниз
            this.pointButtonBUY            = new Point(725 + xx, 663 + yy); //725, 663);
            this.pointButtonSell           = new Point(725 + xx, 663 + yy); //725, 663);
            this.pointButtonClose          = new Point(847 + xx, 663 + yy); //847, 663);
            this.pointBuyingMitridat1      = new Point(360 + xx, 537 + yy); //360, 537
            this.pointBuyingMitridat2      = new Point(517 + xx, 433 + yy); //1392 - 875, 438 - 5
            this.pointBuyingMitridat3      = new Point(517 + xx, 423 + yy); //1392 - 875, 428 - 5
            this.pointAddProduct           = new Point(380 - 5 + xx, 220 - 5 + yy);

            #endregion


            DialogFactory dialogFactory = new DialogFactory(this.botwindow);
            dialog           = dialogFactory.createDialog();
            this.globalParam = new GlobalParam();
            this.botParam    = new BotParam(botwindow.getNumberWindow());
        }
        public KatoviaMarketAmerica2(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            #region Shop

            this.pointIsSale1 = new PointColor(907 - 5 + xx, 677 - 5 + yy, 7700000, 5);
            this.pointIsSale2 = new PointColor(907 - 5 + xx, 678 - 5 + yy, 7700000, 5);
            this.pointIsSale3 = new PointColor(291 - 5 + xx, 469 - 5 + yy, 4600000, 5);     //филосовские камни
            this.pointIsSale4 = new PointColor(291 - 5 + xx, 470 - 5 + yy, 4600000, 5);

            this.pointIsSaleIn1 = new PointColor(843 - 5 + xx, 622 - 5 + yy, 7900000, 5);            // для isSaleIn
            this.pointIsSaleIn2 = new PointColor(843 - 5 + xx, 623 - 5 + yy, 7900000, 5);

            this.pointIsClickSell1 = new PointColor(739 - 5 + xx, 624 - 5 + yy, 7900000, 5);         // для проверки закладки Sell в магазине
            this.pointIsClickSell2 = new PointColor(739 - 5 + xx, 625 - 5 + yy, 7900000, 5);

            this.pointBookmarkSell = new Point(245 - 5 + xx, 202 - 5 + yy); // закладка Sell

            this.pointButtonBUY   = new Point(731 - 5 + xx, 627 - 5 + yy);  // кнопка BUY (Purchase)
            this.pointButtonSell  = new Point(731 - 5 + xx, 627 - 5 + yy);  // кнопка Sell
            this.pointButtonClose = new Point(851 - 5 + xx, 627 - 5 + yy);  // кнопка Close

            this.pointAddProduct = new Point(379 - 5 + xx, 250 - 5 + yy);   //кнопка на увеличение количество товара на один в верхней строке

            this.pointBuyingMitridat1 = new Point(360 + xx, 537 + yy);      // пока не используется, не проверено
            this.pointBuyingMitridat2 = new Point(517 + xx, 433 + yy);      //
            this.pointBuyingMitridat3 = new Point(517 + xx, 423 + yy);      //


            #endregion


            DialogFactory dialogFactory = new DialogFactory(this.botwindow);
            dialog           = dialogFactory.createDialog();
            this.globalParam = new GlobalParam();
            this.botParam    = new BotParam(botwindow.getNumberWindow());
        }
        /// <summary>
        /// конструктор для класса
        /// </summary>
        /// <param name="nomerOfWindow"> номер окна по порядку </param>
        public SingTownAuch(botWindow botwindow)
        {
            this.botwindow        = botwindow;
            this.xx               = botwindow.getX();
            this.yy               = botwindow.getY();
            this.PAUSE_TIME       = 3000;
            this.TELEPORT_N       = 2;
            this.TELEPORT_bullets = 2;
            //точки для нажимания на них
            this.pointMaxHeight         = new Point(545 - 5 + xx, 500 - 5 + yy);                           //проверено
            this.pointBookmark          = new Point(880 - 5 + xx, 48 - 5 + yy);                            //вторая закладка карты   //проверено
            this.pointTraderOnMap       = new Point(840 - 5 + xx, 220 - 5 + yy);                           //торговец на карте                         Firearms  Lorch
            this.pointButtonMoveOnMap   = new Point(930 - 5 + xx, 728 - 5 + yy);                           //кнопка Move на карте
            this.pointHeadTrader        = new Point(296 - 5 + xx, 228 - 5 + yy);                           //голова торговца          // проверено
            this.pointBulletAutomat     = new Point(479 - 5 + xx, 299 - 5 + yy);                           //автомат с пулями
            this.PAUSE_TIME_Bullet      = 3000;
            this.pointTraderOnMapBullet = new Point(840 - 5 + xx, 220 - 5 + yy);                           //торговец на карте для перехода к патронам

            this.pointTownTeleport        = new Point(115 - 5 + xx, 333 - 5 + (TELEPORT_N - 1) * 30 + yy); //сюда тыкаем, чтобы улететь на торговую улицу
            this.pointTownTeleportBullets = new Point(115 - 5 + xx, 333 - 5 + (TELEPORT_bullets - 1) * 30 + yy);
            //точки для проверки цвета
            //this.pointOpenMap1 = new PointColor(847 - 5 + xx, 44 - 5 + yy, 16000000, 6);      //проверено
            //this.pointOpenMap2 = new PointColor(847 - 5 + xx, 45 - 5 + yy, 16000000, 6);      //проверено
            this.pointOpenMap1          = new PointColor(600 - 5 + xx, 30 - 5 + yy, 7000000, 6);   //проверено
            this.pointOpenMap2          = new PointColor(610 - 5 + xx, 30 - 5 + yy, 7000000, 6);   //проверено
            this.pointBookmark1         = new PointColor(873 - 5 + xx, 41 - 5 + yy, 7700000, 5);   //проверено
            this.pointBookmark2         = new PointColor(874 - 5 + xx, 41 - 5 + yy, 7700000, 5);   //проверено
            this.pointOpenTownTeleport1 = new PointColor(100 - 5 + xx, 295 - 5 + yy, 13000000, 6); //проверено
            this.pointOpenTownTeleport2 = new PointColor(100 - 5 + xx, 296 - 5 + yy, 13000000, 6); //проверено

            //для lucia (какашки)
            this.FirstStringOfMap   = new Point(815 - 5 + xx, 69 - 5 + yy);
            this.NumberOfLuciaOnMap = 17;
            this.pointLucia1        = new Point(519 - 5 + xx, 342 - 5 + yy); //изменить координаты
            this.pointHeadOfLucia   = new Point(656 - 5 + xx, 285 - 5 + yy); //изменить координаты

            DialogFactory tf = new DialogFactory(botwindow);

            this.dialog      = tf.createDialog();
            this.globalParam = new GlobalParam();
        }
        /// <summary>
        /// конструктор для класса
        /// </summary>
        /// <param name="nomerOfWindow"> номер окна по порядку </param>
        public SingTownReboldo(botWindow botwindow)
        {
            this.botwindow        = botwindow;
            this.xx               = botwindow.getX();
            this.yy               = botwindow.getY();
            this.PAUSE_TIME       = 5000;
            this.TELEPORT_N       = 2; //номер городского телепорта
            this.TELEPORT_bullets = 2;
            //точки для нажимания на них
            this.pointMaxHeight         = new Point(545 - 5 + xx, 500 - 5 + yy);      //проверено
            this.pointBookmark          = new Point(880 - 5 + xx, 48 - 5 + yy);       //вторая закладка карты   //проверено
            this.pointTraderOnMap       = new Point(880 - 5 + xx, 310 - 5 + yy);      //торговец на карте                          ===========постоянная коррекция  шаг 15
            this.pointButtonMoveOnMap   = new Point(930 - 5 + xx, 728 - 5 + yy);      //кнопка Move на карте
            this.pointHeadTrader        = new Point(365 - 5 + xx, 474 - 5 + yy);      //голова торговца          //проверено
            this.pointBulletAutomat     = new Point(425 - 5 + xx, 348 - 5 + yy);      //автомат с пулями
            this.PAUSE_TIME_Bullet      = 3000;
            this.pointTraderOnMapBullet = new Point(880 - 5 + xx, 310 - 5 + yy);      //торговец на карте для перехода к патронам

            this.pointTownTeleport        = new Point(115 - 5 + xx, 333 - 5 + (TELEPORT_N - 1) * 30 + yy);
            this.pointTownTeleportBullets = new Point(115 - 5 + xx, 333 - 5 + (TELEPORT_bullets - 1) * 30 + yy);
            //точки для проверки цвета
            this.pointOpenMap1          = new PointColor(794 - 5 + xx, 45 - 5 + yy, 16700000, 5);  //проверено
            this.pointOpenMap2          = new PointColor(794 - 5 + xx, 46 - 5 + yy, 16700000, 5);  //проверено
            this.pointBookmark1         = new PointColor(870 - 5 + xx, 41 - 5 + yy, 7700000, 5);   //проверено
            this.pointBookmark2         = new PointColor(871 - 5 + xx, 41 - 5 + yy, 7700000, 5);   //проверено
            this.pointOpenTownTeleport1 = new PointColor(100 - 5 + xx, 295 - 5 + yy, 13000000, 5); //проверено
            this.pointOpenTownTeleport2 = new PointColor(100 - 5 + xx, 296 - 5 + yy, 13000000, 5); //проверено

            //для lucia (какашки)
            this.FirstStringOfMap   = new Point(815 - 5 + xx, 69 - 5 + yy);
            this.NumberOfLuciaOnMap = 17;    //номер строки на первой закладке
            this.pointLucia1        = new Point(471 - 5 + xx, 404 - 5 + yy);
            this.pointHeadOfLucia   = new Point(349 - 5 + xx, 445 - 5 + yy);

            DialogFactory tf = new DialogFactory(botwindow);

            this.dialog      = tf.createDialog();
            this.globalParam = new GlobalParam();
        }
Example #5
0
        public MarketEuropa(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            #region Shop

            this.pointIsSale1      = new PointColor(897 - 5 + xx, 677 - 5 + yy, 7600000, 5);     //работает
            this.pointIsSale2      = new PointColor(897 - 5 + xx, 678 - 5 + yy, 7700000, 5);     //работает
            this.pointIsSale21     = new PointColor(840 - 5 + xx, 665 - 5 + yy, 7390000, 4);     //работает
            this.pointIsSale22     = new PointColor(840 - 5 + xx, 668 - 5 + yy, 7390000, 4);     //работает
            this.pointIsClickSale1 = new PointColor(733 - 5 + xx, 665 - 5 + yy, 7390000, 4);     //работает
            this.pointIsClickSale2 = new PointColor(733 - 5 + xx, 664 - 5 + yy, 7390000, 4);     //работает

            this.pointIsClickPurchase1 = new PointColor(696 - 5 + xx, 664 - 5 + yy, 7500000, 5); //нажата ли закладка "Purchase"
            this.pointIsClickPurchase2 = new PointColor(696 - 5 + xx, 665 - 5 + yy, 7500000, 5);

            this.pointBookmarkSell         = new Point(230 - 5 + xx, 168 - 5 + yy);              //работает
            this.pointSaleToTheRedBottle   = new Point(335 + xx, 220 + yy);
            this.pointSaleOverTheRedBottle = new Point(335 + xx, 220 + yy);
            this.pointWheelDown            = new Point(375 + xx, 220 + yy);         //345 + 30 + botwindow.getX(), 190 + 30 + botwindow.getY(), 3);        // колесо вниз
            this.pointButtonBUY            = new Point(725 + xx, 663 + yy);         //725, 663);
            this.pointButtonSell           = new Point(730 - 5 + xx, 668 - 5 + yy); //725, 663);      //работает
            this.pointButtonClose          = new Point(852 - 5 + xx, 668 - 5 + yy); //847, 663);      //работает
            this.pointAddProduct           = new Point(380 - 5 + xx, 220 - 5 + yy);

            #endregion

            DialogFactory dialogFactory = new DialogFactory(this.botwindow);
            dialog           = dialogFactory.createDialog();
            this.globalParam = new GlobalParam();
            this.botParam    = new BotParam(botwindow.getNumberWindow());
        }
        /// <summary>
        /// конструктор для класса
        /// </summary>
        /// <param name="nomerOfWindow"> номер окна по порядку </param>
        public SingTownBagama(botWindow botwindow)
        {
            this.botwindow        = botwindow;
            this.xx               = botwindow.getX();
            this.yy               = botwindow.getY();
            this.PAUSE_TIME       = 6000;
            this.TELEPORT_N       = 3; //номер городского телепорта
            this.TELEPORT_bullets = 3;
            //точки для нажимания на них
            this.pointMaxHeight           = new Point(538 - 5 + xx, 464 - 5 + yy);
            this.pointBookmark            = new Point(800 - 5 + xx, 145 - 5 + yy);
            this.pointTraderOnMap         = new Point(745 - 5 + xx, 317 - 5 + yy);                         // Socket Merchant
            this.pointButtonMoveOnMap     = new Point(822 + xx, 631 + yy);                                 //822, 631);
            this.pointHeadTrader          = new Point(611 + xx, 411 + yy);                                 //611, 411);
            this.pointBulletAutomat       = new Point(589 - 5 + xx, 454 - 5 + yy);                         //автомат с пулями
            this.PAUSE_TIME_Bullet        = 5000;
            this.pointTraderOnMapBullet   = new Point(745 - 5 + xx, 317 - 5 + yy);                         //торговец на карте для перехода к патронам
            this.pointTownTeleport        = new Point(115 - 5 + xx, 333 - 5 + (TELEPORT_N - 1) * 30 + yy); //сюда тыкаем, чтобы улететь на торговую улицу
            this.pointTownTeleportBullets = new Point(115 - 5 + xx, 333 - 5 + (TELEPORT_bullets - 1) * 30 + yy);

            //точки для проверки цвета
            this.pointOpenMap1          = new PointColor(695 - 5 + xx, 143 - 5 + yy, 16700000, 5);             //проверено
            this.pointOpenMap2          = new PointColor(695 - 5 + xx, 144 - 5 + yy, 16700000, 5);             //проверено
            this.pointBookmark1         = new PointColor(775 - 5 + xx, 140 - 5 + yy, 7900000, 5);              //проверено
            this.pointBookmark2         = new PointColor(776 - 5 + xx, 140 - 5 + yy, 7900000, 5);              //проверено
            this.pointOpenTownTeleport1 = new PointColor(105 - 5 + xx, 296 - 5 + yy, 12000000, 6);             //проверено
            this.pointOpenTownTeleport2 = new PointColor(105 - 5 + xx, 297 - 5 + yy, 13000000, 6);             //проверено

            //для lucia (какашки)
            this.FirstStringOfMap   = new Point(700 - 5 + xx, 167 - 5 + yy);
            this.NumberOfLuciaOnMap = 0;

            DialogFactory tf = new DialogFactory(botwindow);

            this.dialog      = tf.createDialog();
            this.globalParam = new GlobalParam();
        }
Example #7
0
        /// <summary>
        /// конструктор для класса
        /// </summary>
        /// <param name="nomerOfWindow"> номер окна по порядку </param>
        public SingTownArmonia(botWindow botwindow)
        {
            this.botwindow  = botwindow;
            this.xx         = botwindow.getX();
            this.yy         = botwindow.getY();
            this.PAUSE_TIME = 2000;
            this.TELEPORT_N = 2;                                                                    //номер городского телепорта
            //точки для нажимания на них
            this.pointMaxHeight         = new Point(545 - 5 + xx, 500 - 5 + yy);                    //проверено
            this.pointBookmark          = new Point(880 - 5 + xx, 48 - 5 + yy);                     //вторая закладка карты   //проверено
            this.pointTraderOnMap       = new Point(830 - 5 + xx, 83 - 5 + yy);                     //торговец на карте        //проверено
            this.pointButtonMoveOnMap   = new Point(930 - 5 + xx, 728 - 5 + yy);                    //кнопка Move на карте    //проверено
            this.pointHeadTrader        = new Point(489 - 5 + xx, 243 - 5 + yy);                    //голова торговца         //проверено
            this.pointBulletAutomat     = new Point(653 - 5 + xx, 514 - 5 + yy);                    //автомат с пулями
            this.PAUSE_TIME_Bullet      = 7000;
            this.pointTraderOnMapBullet = new Point(830 - 5 + xx, 143 - 5 + yy);                    //торговец на карте для перехода к патронам

            this.pointTownTeleport = new Point(115 - 5 + xx, 333 - 5 + (TELEPORT_N - 1) * 30 + yy); //сюда тыкаем, чтобы улететь на торговую улицу   //не проверено
            //точки для проверки цвета
            //this.pointOpenMap1 = new PointColor(795 - 5 + xx, 45 - 5 + yy, 16700000, 5);          //проверено
            //this.pointOpenMap2 = new PointColor(795 - 5 + xx, 46 - 5 + yy, 16700000, 5);          //проверено
            this.pointOpenMap1          = new PointColor(600 - 5 + xx, 30 - 5 + yy, 8000000, 6);    //проверено
            this.pointOpenMap2          = new PointColor(605 - 5 + xx, 30 - 5 + yy, 8000000, 6);    //проверено
            this.pointBookmark1         = new PointColor(870 - 5 + xx, 42 - 5 + yy, 7700000, 5);    //проверено
            this.pointBookmark2         = new PointColor(871 - 5 + xx, 42 - 5 + yy, 7700000, 5);    //проверено
            this.pointOpenTownTeleport1 = new PointColor(95 - 5 + xx, 297 - 5 + yy, 13000000, 5);   //проверено
            this.pointOpenTownTeleport2 = new PointColor(95 - 5 + xx, 298 - 5 + yy, 13000000, 5);   //проверено

            //для lucia (какашки)
            this.FirstStringOfMap   = new Point(815 - 5 + xx, 69 - 5 + yy);
            this.NumberOfLuciaOnMap = 0;

            DialogFactory tf = new DialogFactory(botwindow);

            this.dialog      = tf.createDialog();
            this.globalParam = new GlobalParam();
        }