Author Topic: В ЧЕМ ОШИБКА?  (Read 1280 times)

0 Members and 1 Guest are viewing this topic.

Piano GX

  • Освоившийся
  • **
  • Posts: 36
    • View Profile
В ЧЕМ ОШИБКА?
« on: March 03, 2016, 07:22:49 PM »
SUB(MOB,[$XP,$YP,$X,$Y])
DEFINE($C,0)
              IF(($XP>$X)&($YP>$Y)) //1
              $C=PXLCOUNT($X,$Y,$XP,$YP,0)
              IF($C>15)
              ELSE
              DEFINE($A,2)
              WHILE($A>0)
              LCLICK($X,$Y)
              WAITMS(20)
              INC($A,-1)
              END_CYC
              END_IF
              END_IF
                        //  2
       IF(($XP<$X)&($YP<$Y))
              $C=PXLCOUNT($XP,$YP,$X,$Y,0)
              IF($C>10)
              ELSE
              DEFINE($A,2)
              WHILE($A>0)
              LCLICK($X,$Y)
              WAITMS(20)
              INC($A,-1)
              END_CYC
              END_IF
              END_IF
              //3
              IF(($XP>$X)&($YP<$Y))
              $C=PXLCOUNT($X,$YP,$XP,$Y)
              IF($C>10)
              ELSE
              DEFINE($A,2)
              WHILE($A>0)
              LCLICK($X,$Y)
              WAITMS(20)
              INC($A,-1)
              END_CYC
              END_IF
              END_IF
              //4
            IF(($XP<$X)&($YP>$Y))
              $C=PXLCOUNT($XP,$Y,$X,$YP)
              IF($C>10)
              ELSE
              DEFINE($A,2)
              WHILE($A>0)
              LCLICK($X,$Y)
              WAITMS(20)
              INC($A,-1)
              END_CYC
              END_IF
              END_IF
              undefine($A)
              undefine($C)
        END_SUB

          GETSCREEN
IF_PIXEL_IN(197,70,1061,435,9910604,7871522,9783896,97155350,9785179,10305618,9318722,8860208,9643820,11543078,10110038,5775135)
               $XP=$_RETURN1
               $YP=$_RETURN2
               END_IF
getscreen
                         if_pixel_in(200,78, 1051,438, 4867928, 8354971, 6709384,13224393,12829897,166776959,11909303,16119285,15395562,15724527,484940,1994075,610626,39552,7961708,3362891,1385507,134412,534055,1059630,2636088,2252621)
                         $YM=$_RETURN2
                         $X=$_RETURN1
                         $Y=$_RETURN2
                         MOB($XP,$YP,$X,$Y)
                         END_IF  //1


bondin11

  • Зашел в гости
  • *
  • Posts: 3
    • View Profile
Re: В ЧЕМ ОШИБКА?
« Reply #1 on: March 03, 2016, 11:18:01 PM »
Kiril помоги мне с кликером мой скайп bondin58482