Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Genken

Pages: [1]
1
Спасибо, просто новичок конкретно в работе с автокликерами!

2
Ошибки / Ошибка при интепретации KEYDOWN(T)
« on: October 01, 2019, 06:25:03 PM »
     
      Здравствуйте!

      У меня такой код, и при его выполнении пишет "Ошибка интерпретации KEYPRESS(T)". И кстати, как нажать клавишу, у которой имя состоит из нескольких символов (например SHIFT, ESC)и как её надо писать (как ESC или как ESCAPE)

Code: (clickermann) [Select]
SUB(CRAFT1)
LCLICK(830,240)
WAIT(1)
END_SUB

SUB(CRAFT2)
LCLICK(880,240)
WAIT(1)
END_SUB

SUB(CRAFT3)
LCLICK(830,300)
WAIT(1)
END_SUB

SUB(CRAFT4)
LCLICK(880,300)
WAIT(1)
END_SUB

SUB(CRAFT)
KEYDOWN(SHIFT)
WAITMS(500)
LCLICK(1000,260)
WAITMS(500)
KEYUP(SHIFT)
WAITMS(500)
END_SUB


WAIT(2)
KEYPRESS(T)
WAIT(2) 
KEYSTRING("/shop")
WAIT(2)
LCLICK(660,265) //blocks
WAIT(2)
LCLICK(830,330) //ender
WAIT(2)
LCLICK(770,440) //buy more
WAIT(2)
LCLICK(950,330) //21 stack
WAIT(2)
LCLICK(830,330) //ender
WAIT(2)
LCLICK(770,440) //buy more
WAIT(2)
LCLICK(600,330) //15 stack
WAIT(2)
KEYPRESS(ESC)   //exit
WAIT(2)
KEYPRESS(E)
WAIT(1)

LCLICK(540,450) //1/1
WAIT(1)
CRAFT1()
LCLICK(540,500) //1/2
WAIT(1)
CRAFT2()
LCLICK(540,550) //1/3
WAIT(1)
CRAFT3()
LCLICK(540,630) //1/4
WAIT(1)
CRAFT4()
WAITMS(500)
CRAFT5()

LCLICK(600,450) //1/1
WAIT(1)
CRAFT1()
LCLICK(600,500) //1/2
WAIT(1)
CRAFT2()
LCLICK(600,550) //1/3
WAIT(1)
CRAFT3()
LCLICK(600,630) //1/4
WAIT(1)
CRAFT4()
WAITMS(500)
CRAFT5()

LCLICK(650,450) //1/1
WAIT(1)
CRAFT1()
LCLICK(650,500) //1/2
WAIT(1)
CRAFT2()
LCLICK(650,550) //1/3
WAIT(1)
CRAFT3()
LCLICK(650,630) //1/4
WAIT(1)
CRAFT4()
WAITMS(500)
CRAFT5()

LCLICK(700,450) //1/1
WAIT(1)
CRAFT1()
LCLICK(700,500) //1/2
WAIT(1)
CRAFT2()
LCLICK(700,550) //1/3
WAIT(1)
CRAFT3()
LCLICK(700,630) //1/4
WAIT(1)
CRAFT4()
WAITMS(500)
CRAFT5()

LCLICK(750,450) //1/1
WAIT(1)
CRAFT1()
LCLICK(750,500) //1/2
WAIT(1)
CRAFT2()
LCLICK(750,550) //1/3
WAIT(1)
CRAFT3()
LCLICK(750,630) //1/4
WAIT(1)
CRAFT4()
WAITMS(500)
CRAFT5()

LCLICK(830,450) //1/1
WAIT(1)
CRAFT1()
LCLICK(830,500) //1/2
WAIT(1)
CRAFT2()
LCLICK(830,550) //1/3
WAIT(1)
CRAFT3()
LCLICK(830,630) //1/4
WAIT(1)
CRAFT4()
WAITMS(500)
CRAFT5()

LCLICK(880,450) //1/1
WAIT(1)
CRAFT1()
LCLICK(880,500) //1/2
WAIT(1)
CRAFT2()
LCLICK(880,550) //1/3
WAIT(1)
CRAFT3()
LCLICK(880,630) //1/4
WAIT(1)
CRAFT4()
WAITMS(500)
CRAFT5()

LCLICK(940,450) //1/1
WAIT(1)
CRAFT1()
LCLICK(940,500) //1/2
WAIT(1)
CRAFT2()
LCLICK(940,550) //1/3
WAIT(1)
CRAFT3()
LCLICK(940,630) //1/4
WAIT(1)
CRAFT4()
WAITMS(500)
CRAFT5()

LCLICK(1000,450) //1/1
WAIT(1)
CRAFT1()
LCLICK(1000,500) //1/2
WAIT(1)
CRAFT2()
LCLICK(1000,550) //1/3
WAIT(1)
CRAFT3()
LCLICK(1000,630) //1/4
WAIT(1)
CRAFT4()
WAITMS(500)
CRAFT5()

KEYPRESS(ESC)

WAIT(2)
KEYPRESS(T)
WAIT(2) 
KEYSTRING("/shop")
WAIT(2)
LCLICK(660,265) //blocks
WAIT(2)
RCLICK(770,380) //ender bricks
WAIT(2)
LCLICK(770,440) //sell more
WAIT(2)
LCLICK(950,330) //21 stack
WAIT(2)
LCLICK(830,330) //ender
WAIT(2)
LCLICK(770,440) //sell more
WAIT(2)
LCLICK(600,330) //15 stack
WAIT(2)
KEYPRESS(ESC)   //exit
WAIT(2)
KEYPRESS(E)
WAIT(1)

KEYPRESS(ESC)

Pages: [1]