¿Cómo realiza war3 los gritos automáticos?
El lenguaje C o C+ es aceptable
iPressState=0
setmousewatchex('mousehookfuncex')
setmousewatch('mousehookfunc')
setkeywatch('keyhookfunc')
función mousehookfuncex(msg, x, y)
si 0==iswar3front() entonces devuelve 0 fin
war3w = getwar3window()
win3wl,win3wr,win3wt,win3wb = getclienrect(war3w)
mx=(win3wr-win3wl)*0.195
mi=(win3wb-win3wt)*0.761
mw=(win3wr-win3wl)*0.0265
mh=(win3wb-win3wt)*0.0325
mx ,mi = clienttoscreen(war3w, mx, my)
si x>mx e y>my y x<(mx+mw) e y<(my+mh) entonces
si msg==11 entonces
mouseup(0)
iPressState=1
devuelve 1
fin
fin
fin
función mousehookfunc(msg)
si 0==iswar3front() entonces devuelve 0 fin
si 0= =isplaying() luego devuelve 0 end
si iPressState==1 entonces
si msg==11 entonces
talk(sTalkMsg,0)
iPressState=0
devolver 0
fin
fin
if (1==getcontrolkeystate(1) o 1 ==getcontrolkeystate(2)) y 11==msg luego
keydown(18)
dormir(10)
mousedown(0)
dormir(10)
mouseup(0)
dormir(10)
tecla(18)
dormir(10 )
hablar(sTalkMsg,0)
devolver 1
finalizar
final
función keyhookfunc(código clave, código clave de control, downorup)
si 0==iswar3front() entonces devuelve 0 fin
si 0==isplaying() entonces devuelve 0 fin
p>si 71==código clave y (1==código clave de control o 2==código clave de control) y downorup==0 entonces
iPressState=1
devuelve 0
end
end
¡Usa herramientas de programación para pensar en ello!