Jump to content
AC Tool Forums
  • Sign Up

Annunaki

Members
  • Content Count

    13
  • Joined

  • Last visited

About Annunaki

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Sorry I forgot to add that it is Supreme Destiny.
  2. Yeah that is exactly my plan but first I will need to find where the inventory is etc so the script is able to click in the right place to be able to drag it back to where it should be.
  3. Hey so I've been converting my scripts from rudimentary color detection on single pixels to object detection and it has me wondering if exists a function to actually scan a whole window for a certain object? E.g in the game I play the inventory is easily movable especially by mistake so I think you can see where I am heading with this question.
  4. Thank you very much LeftClick Control Works just fine
  5. Sorry I'm a bit confused at your reply here so please bear with me is it LeftClick ^ or leftclick ctrl? to produce a held down CTRL and a single left click? I'm not exactly sure as to what you are saying but either way does not work anyway. Also have tried: KeyDown ^ LeftClick KeyUp ^ Which also does not work in fact KeyUp doesn't even exist and the script errors with any kind of KeyUp syntax. So to recap just to be clear on the different ways tried: ^ LeftClick - Not working (Wrong way) LeftClick ^ - Not working (Correct way or not?) KeyDown ^ - Not working (Doesn't hold CTRL) LeftClick - Works (Left clicks once) KeyUp ^ - Not working (Doesn't exist and produces a script syntax error) It seems such a task for a simple combination which surely should be implemented in ac-tool someway/how by now.
  6. Basically what i'm trying to do although this just passes an item to a storage NPC, I've tried all sorts to no avail. Procedure tBoxCheck EVERY 5 sec if $tboxcheck = 1 SetActiveWindow Supreme Destiny delay 100 LoadRGB 698, 377 // Check tBox in slot 1. SetConst Red = {RGBRed} SetConst Green = {RGBGreen} SetConst Blue = {RGBBlue} if {RGBRed} = $itemR and {RGBGreen} = $itemG and {RGBBlue} = $itemB mousepos 698, 377 delay 100 keys ^leftclick // Send tbox to Cargo. Else IsBlack 702, 379 call tBoxCheck // Dont really need to be here but WTH. Else mousepos 698, 377 // Delete Item if not a tBox. delay 100 LeftClick mousepos 911, 544 delay 100 LeftClick mousepos 444, 491 delay 100 LeftClick End End End End
  7. Ok I've tried this way but its deffo not working as it should, I too can open the replace window in notepad with "keys ^h" but using "keys ^leftclick" ac-tool starts opening random UI windows in the game (Supreme Destiny) i'm using the script on.
  8. Thanks but this is not working. To keep the forum fluent I've posted in the thread linked above.
  9. Yeah I don't thinks its implemented as using: Leftclick ^ Just produces a Left Click without holding the CTRL.
  10. Hi again so here is another niggle i have and that is trying to send a CTRL and LeftClick to the client. Procedure Slot1 EVERY 5 sec if $tboxcheck = 1 SetActiveWindow Supreme Destiny LoadRGB 698, 377 // Check tBox in slot 1. SetConst Red = {RGBRed} SetConst Green = {RGBGreen} SetConst Blue = {RGBBlue} if {RGBRed} = $itemR and {RGBGreen} = $itemG and {RGBBlue} = $itemB ^ + LeftClick // Press and hold ctrl and click the left mouse button. Else mousepos 698, 377 // Delete Item if not a tBox. delay 100 LeftClick mousepos 911, 544 delay 100 LeftClick mousepos 444, 491 delay 100 LeftClick End End End As you can see in the snippet of the script I am trying to use: ^ + LeftClick // Press and hold ctrl and click the left mouse button. But this is producing very strange results. Thanks again for any further help.
  11. Excellent that did the trick many thanks! Now just wondering why this is not documented in the help files.
  12. Hey guys Been lingering around for years but never actually made a forum account (my bad?)... Anyway have recently been creating a script for a game I'm playing (Supreme Destiny) and everything is going well apart form a couple of niggles with some functions. I am trying to RightClick an item but that function doesn't seem to be working however the LeftClick function works perfect, So at the moment to achieve a RightClick I have to use the following: Procedure SpamRightClick every 0.5 sec if $RightClicker = 1 SetActiveWindow Supreme Destiny delay 100 RightMouseDown delay 100 RightMouseUp end end Ideally to save lines and CPU time (as this is just 1 small function of my large script which has many more right click functions), I would like to be able to just use the following: Procedure SpamRightClick every 0.5 sec if $RightClicker = 1 SetActiveWindow Supreme Destiny delay 100 RightClick end end Any help or guidance is highly appreciated.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and to our Privacy Policy.