Help with AutoIt AutoAlchemy Tool !

03/27/2012 20:39 kingbad#1
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 •ᵔBeGodOfWarᵔ•#2
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 kingbad#3
Come on guys noone can help me ? No chances to do that with AutoIt ?
03/28/2012 12:27 fedeahuba#4
would u like to release it after u finish it?
03/28/2012 12:29 kingbad#5
Just the script :)
03/28/2012 12:31 Ahmed_Kabo#6
Quote:
Originally Posted by •ᵔBeGodOfWarᵔ• View Post
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 midomatrix#7
GL
03/28/2012 14:49 kingbad#8
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 vorosmihaly#9
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 skinner✔#10
Quote:
Originally Posted by kingbad View Post
Just the script :)
Quote:
Originally Posted by Ahmed_Kabo View Post
+1 :)
Quote:
Originally Posted by midomatrix View Post
GL
useful posts , thx for 'em.
03/28/2012 18:52 qoaway#11
Quote:
Originally Posted by kingbad View Post
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 kingbad#12
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 ✗EpicSoul✗#13
sniff the packets when making alchemy to +5 ?.
03/28/2012 19:54 kingbad#14
Could you help me a little bit more ? ;)

It is working know !!
03/28/2012 22:27 intercsaki#15
Oh, I would need that one badly! I want to waste my uhm... 2500 wep elixirs. x) Can't wait. :)