Jump to content

Recommended Posts

Posted

Lookup Send and ControlSend in the help files.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Posted

Func Heal_A1 ()

Call ("Unfocus")

Send ("1")

MouseMove (775,47,1)

Sleep (50)

MouseClick ("Right",775,47,1)

Call ("Unfocus")

MouseUp ("Right")

EndFunc

That one / taken from auto buff script for one game/ doesn`t work... it just doesn`t send 1 or whatever is "" :whistle:
  • Moderators
Posted

Does your game use some type of protection like gameguard?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

Ack! I can't take it any longer! Your code is drving me nuts. :whistle:

Func Heal_A1 ()
;  Call("Unfocus") <-- Stop doing this!
  Unfocus()
  Send ("1") <-- What window currently as focus?
  MouseMove (775, 47, 1)
  Sleep (50) <-- Why?
  MouseClick ("Right", 775, 47, 1) <-- Why not move/click in the same statement?
;  Call ("Unfocus")
  Unfocus()
  MouseUp ("Right") <-- Why are you doing mouse up without mouse down?
EndFunc
Auto3Lib: A library of over 1200 functions for AutoIt
Posted

That one / taken from auto buff script for one game/ doesn`t work... it just doesn`t send 1 or whatever is "" :whistle:

hehe wo dong ni yi si ,ni xiang zi dong he xue, shi ba

Posted

Mayo las pulgas de mil camellos infestan tus hoyos del brazo :whistle:

May the fleas of thousand camels infest your holes of the arm

???

lol ;)

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Posted (edited)

Ack! I can't take it any longer! Your code is drving me nuts. :whistle:

Func Heal_A1 ()
;  Call("Unfocus") <-- Stop doing this!
  Unfocus()
  Send ("1") <-- What window currently as focus?
  MouseMove (775, 47, 1)
  Sleep (50) <-- Why?
  MouseClick ("Right", 775, 47, 1) <-- Why not move/click in the same statement?
;  Call ("Unfocus")
  Unfocus()
  MouseUp ("Right") <-- Why are you doing mouse up without mouse down?
EndFuncoÝ÷ Ûú®¢×zYZ[ayÊz+®§w­4®,!ƧºhiØ­²Â«y«­¢+Øì¨¨¨¨¨¨¨¨¨¨U¹½Ǫ̃¨¨¨¨¨¨¨¨¨((ìU¹½ÕÌ5Ô]¥¹½ÜµÀì½ÕÌ=¸Í­Ñ½À¸()Õ¹U¹½ÕÌ ¤()]¥¹Ñ¥ÙÑ ÅÕ½Ðí
±Í͹µõM¡±±}QÉå]¹ÅÕ½Ðì¤(íM¹ ÅÕ½ÐìÅÕ½Ðì°Ä¤()¹Õ¹oÝ÷ Ù8^~.±çpwhÂ+-èì"Ú0Öj+z«²Ø¨br¬mëmz»hmë¬x6®¶­se6VæBgV÷C³2gV÷C²oÝ÷ ÚÚºÚ"µÍÙ[
    ][ÝÞÌÈÝÛI][ÝÊHÙ[
    ][ÝÞÌÈI][ÝÊ
Edited by Super2
Posted (edited)

Well, all the code is around 600 rows, I can upload it somewhere....

clipoÝ÷ Ù8^~.±çpwhÂ+-èì"Ú0Öj+z«²Ø¨br¬mëmz»hmë¬x6®¶­se6VæBgV÷C³2gV÷C²oÝ÷ ÚÚºÚ"µÍÙ[
    ][ÝÞÌÈÝÛI][ÝÊHÙ[
    ][ÝÞÌÈI][ÝÊ
just use 3, no reason to do down then up.

Send ("3")

Edited by theguy0000

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...