|
You last visited: Today at 08:20
Advertisement
Help with AutoIt AutoAlchemy Tool !
Discussion on Help with AutoIt AutoAlchemy Tool ! within the SRO Private Server forum part of the Silkroad Online category.
03/27/2012, 20:39
|
#1
|
elite*gold: 0
Join Date: Feb 2011
Posts: 16
Received Thanks: 0
|
Help with AutoIt AutoAlchemy Tool !
Hi,
I want to make a Alchemy Tool for personal use and i dont know how to stop it automatical after the weapon (or equip) is +5 !! I need help i asked in some AutoIt Forums, but they couldnt help me ! 
Here is the script I have made:
Code:
HotKeySet("{F1}", "_Startbot")
while 1 * 10
WEnd
HotKeySet("{F2}", "_EndeBot")
Func _Startbot()
MouseClick ("left" , 1095, 569, 1 , 2)
sleep(10)
MouseClick ("left" , 324, 531, 1 , 2)
Sleep(10)
MouseClick ("left" , 1131, 567, 1 , 2)
Sleep(10)
MouseClick ("left" , 406, 532, 1 , 2)
Sleep(10)
MouseClick ("left" , 445, 634, 1 , 2)
EndFunc
Func _EndeBot()
Exit
EndFunc
But how can I make him stop after +5 ?!
|
|
|
03/27/2012, 20:45
|
#2
|
elite*gold: 0
Join Date: Jan 2012
Posts: 1,867
Received Thanks: 1,091
|
You can pm NoN_Stop for those scripts , he is professional at AutoIT , but he turned to c# ( his opinion that c# is better )
|
|
|
03/28/2012, 11:53
|
#3
|
elite*gold: 0
Join Date: Feb 2011
Posts: 16
Received Thanks: 0
|
Come on guys noone can help me ? No chances to do that with AutoIt ?
|
|
|
03/28/2012, 12:27
|
#4
|
elite*gold: 0
Join Date: Apr 2008
Posts: 565
Received Thanks: 170
|
would u like to release it after u finish it?
|
|
|
03/28/2012, 12:29
|
#5
|
elite*gold: 0
Join Date: Feb 2011
Posts: 16
Received Thanks: 0
|
Just the script
|
|
|
03/28/2012, 12:31
|
#6
|
elite*gold: 0
Join Date: Jun 2010
Posts: 206
Received Thanks: 41
|
Quote:
Originally Posted by •ᵔBeGodOfWarᵔ•
You can pm NoN_Stop for those scripts , he is professional at AutoIT , but he turned to c# ( his opinion that c# is better )
|
+1
|
|
|
03/28/2012, 14:16
|
#7
|
elite*gold: 0
Join Date: Sep 2010
Posts: 131
Received Thanks: 30
|
GL
|
|
|
03/28/2012, 14:49
|
#8
|
elite*gold: 0
Join Date: Feb 2011
Posts: 16
Received Thanks: 0
|
Script look like this now:
Code:
#include <NomadMemory.au3>
HotKeySet("{F1}", "_EndeBot")
Global $sName = "[SRO_Client]" ;Prozessnamen hier eintragen
Global $hOpen = _MemoryOpen(ProcessExists($sName))
While 5 > _MemoryRead(0x1513ECF8, $hOpen)
MouseClick ("left" , 1095, 569, 1 , 2)
sleep(10)
MouseClick ("left" , 324, 531, 1 , 2)
Sleep(10)
MouseClick ("left" , 1131, 567, 1 , 2)
Sleep(10)
MouseClick ("left" , 406, 532, 1 , 2)
Sleep(10)
MouseClick ("left" , 445, 634, 1 , 2)
sleep(5500)
Sleep(50)
WEnd
_MemoryClose($hOpen)
Func _EndeBot()
Exit
EndFunc
But he still doenst Stop is something wrong with:
"While 5 > _MemoryRead(0x1513ECF8, $hOpen)" ?
Or anyother mistake ?
|
|
|
03/28/2012, 18:49
|
#9
|
elite*gold: 0
Join Date: Nov 2007
Posts: 959
Received Thanks: 602
|
the code itself looks fine to me,but I think the memory address won't stay the same...you should check that
|
|
|
03/28/2012, 18:51
|
#10
|
elite*gold: 35
Join Date: Dec 2011
Posts: 468
Received Thanks: 429
|
Quote:
Originally Posted by kingbad
Just the script 
|
Quote:
Originally Posted by Ahmed_Kabo
+1 
|
Quote:
Originally Posted by midomatrix
GL
|
useful posts , thx for 'em.
|
|
|
03/28/2012, 18:52
|
#11
|
elite*gold: 11
Join Date: May 2009
Posts: 617
Received Thanks: 589
|
Quote:
Originally Posted by kingbad
Script look like this now:
Code:
#include <NomadMemory.au3>
HotKeySet("{F1}", "_EndeBot")
Global $sName = "[SRO_Client]" ;Prozessnamen hier eintragen
Global $hOpen = _MemoryOpen(ProcessExists($sName))
While 5 > _MemoryRead(0x1513ECF8, $hOpen)
MouseClick ("left" , 1095, 569, 1 , 2)
sleep(10)
MouseClick ("left" , 324, 531, 1 , 2)
Sleep(10)
MouseClick ("left" , 1131, 567, 1 , 2)
Sleep(10)
MouseClick ("left" , 406, 532, 1 , 2)
Sleep(10)
MouseClick ("left" , 445, 634, 1 , 2)
sleep(5500)
Sleep(50)
WEnd
_MemoryClose($hOpen)
Func _EndeBot()
Exit
EndFunc
But he still doenst Stop is something wrong with:
"While 5 > _MemoryRead(0x1513ECF8, $hOpen)" ?
Or anyother mistake ?
|
code is true but 0x1513ECF8 offset is wrong, each different sro_client all adresses different you must find them. btw. if you use send() instead of mouse click script will work in all screen resolitions
|
|
|
03/28/2012, 19:17
|
#12
|
elite*gold: 0
Join Date: Feb 2011
Posts: 16
Received Thanks: 0
|
Yes, Could you make an example for send() ? (Iam alittle bit noobie in autoit)
And I Also know that the adress is changing everytime, 0x1513ECF8 was just a scan example.. i scanned and tried on the same client like it was scanned .. it didnt work
|
|
|
03/28/2012, 19:35
|
#13
|
elite*gold: 0
Join Date: Jul 2011
Posts: 1,189
Received Thanks: 531
|
sniff the packets when making alchemy to +5 ?.
|
|
|
03/28/2012, 19:54
|
#14
|
elite*gold: 0
Join Date: Feb 2011
Posts: 16
Received Thanks: 0
|
Could you help me a little bit more ?
It is working know !!
|
|
|
03/28/2012, 22:27
|
#15
|
elite*gold: 130
Join Date: Mar 2008
Posts: 2,485
Received Thanks: 934
|
Oh, I would need that one badly! I want to waste my uhm... 2500 wep elixirs. x) Can't wait.
|
|
|
All times are GMT +1. The time now is 08:20.
|
|