Register for your free account! | Forgot your password?

You last visited: Today at 10:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



AutoAlchemy

Discussion on AutoAlchemy within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2007
Posts: 10
Received Thanks: 1
AutoAlchemy

I made a script in AutoIt, it can do what i want it to do, except one step.

I want to do this in a loop:

1.) left mouse click on specific coords > pick up an item > check
2.) left mouse click on specific coords > drop the item > not working, it drops where my cursor is
3.) left mouse click on specific coords > press a button > check

PHP Code:
ControlClick(GUICtrlRead($title), """""left"1$item[1], $item[2])
Sleep(500)
ControlClick(GUICtrlRead($title), """""left"1$drop[1], $drop[2])
Sleep(500)
ControlClick(GUICtrlRead($title), """""left"1$button[1], $button[2]) 

My question is, how can i drop to the specific coordinates, not to the cursor position?

Thanks!
tsatsiga is offline  
Old 12/17/2011, 04:11   #2
 
theoneofgod's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
Look for pixels/images, etc.
theoneofgod is offline  
Old 12/17/2011, 22:40   #3
 
elite*gold: 0
Join Date: Mar 2007
Posts: 10
Received Thanks: 1
I have the right coordinates, my problem is the clicking.
My 3 step:
1. clicking on the stone
2. drop it to alchemy window
3. press fuse button

The 1. and 3. clicks working well, but the second when i have dragged the stone doesn't.
tsatsiga is offline  
Old 12/18/2011, 05:22   #4
 
theoneofgod's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
You would have to write/use a function using SendMessage. ControlClick doesn't have the function to click and hold that click.
Or to save some time, you could use the built in MouseClick and MouseClickDrag functions.
Remember though, they won't work on a minimized window.
theoneofgod is offline  
Old 12/30/2011, 13:53   #5
 
elite*gold: 0
Join Date: Mar 2007
Posts: 10
Received Thanks: 1
Yes, but i dont need hold the item, just pick up with one mousedown/mouseup click, then move the mouse, and a new mousedown/mouseup click.
tsatsiga is offline  
Old 12/31/2011, 21:03   #6
 
theoneofgod's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
I see, sorry for misunderstanding. Well, if you want to drop the item at specific coordinates, it will have to be cursor coordinates (X, Y) based off your monitor, or SRO window.
theoneofgod is offline  
Reply

Tags
autoit


Similar Threads Similar Threads
[Question] Autoalchemy for ESRO?
08/18/2011 - SRO Private Server - 3 Replies
Well first of all i search for the terms and cant find any thread open with this question so i decide open a new one, if any mod consider its unappropiated close it :) I want to know if there is any way to use a autoenchanter for alchemy +1+2+3... I remember in isro with sbot using this tool but have no idea for a private server, it would be nice because of the succes rate. If anyone knows something can PM me here in forums or just answer the thread. Thanks in advance and sorry for my...



All times are GMT +1. The time now is 10:34.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.