anyone here can make a script of autopot the key is q...w...e...a...s...d so everytime i press the hotkey it floods qweasd in my screen thanks i will used it in ran online private server
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc
Global $Paused
HotKeySet("{F12}","startover") ;i allocate to key F12 the function start over
;i do this because when i exit the game the auto-hunt might be too fast for me to stop
; so i'll just press F12 and it will be stopped
; also u can add any key u want F1-12, NumPad0-9 ... and so on
startover() ; i call that same function to run so i just won't have to press F12
Func startover();i declare it
$mobColorRed = "0xFF1F1E"
$mobColorYellow = "0xFEFE00"
$1mobColorYellow = "E0E91E"
$mobColorOrange = "0xFE8000"
$MobColorGreen = "0xC0BE40"
$MobColorGrey = "0x787878"
$1MobColorGrey = "0x8B8F8F"
$xTop = 30; i declare them
$yTop = 73
$xBot = 1802
$yBot = 892
$mobGreen = "0xC0BE40"; i also declare the mob color HERE
Sleep(6000)
while 1
$coord = PixelSearch($xTop,$yTop,$xBot,$yBot,$MobColorGrey,$1MobColorGrey,105);i search for the green mobs
$n = @error
If NOT @error Then;if the mob is found
while $n = 0;while it is still in the screen
$x = Random($coord[0], $coord[0]+1040, 1);we randomize coordinates so we won't miss the mob
;since mobs have different shape and sizes
$y = Random($coord[1], $coord[1]+840, 1)
MouseClick("left", $x, $y, 2, 0); i click at the randomized coordinates
HotKeySet("{PAUSE}", "TogglePause")
sleep(3000)
$mm = PixelGetColor ( 799 , 11 ); i get the pixel color of that mob HP LIMIT
$mob = Hex($mm, 106);since the pixel i got is hex and PixelGetcolor function returns a decimal value i convert it
If $mob = "FFD26C" Then; HERE i compare the converted value i got from PixelGetColor in that point with the have i collected using AWI in the same point
ExitLoop; if it's a match (that means that the mob was selected)
;it will exit the loop and continue
EndIf
$coord = PixelSearch($xTop,$yTop,$xBot,$yBot,$MobColorGrey,$1MobColorGrey,105);w e repeat the same pixel search
; the ideea is that the program will try to click the mob untill he is selected
$n = @error
wend
;in this moment we have the mob selected
If $mob = "FFD26C" Then ; HERE but we check it anyway
while $mob = "FFD26C" ; HERE so as long as the mob is selected
HotKeySet("{PAUSE}", "TogglePause")
Send("1"); we just send the skills from F4 to F1
Send("2"); chaotic i know but since we use speed hack
Send("3");adding waiting times will just be a waste of time
Send("4")
$mm = PixelGetColor ( 799 , 11 );we once again look for the mob's HP so we can complete the while loop
$mob = Hex($mm, 2);this means that the keys will be pressed untill the mob is dead
wend
Send("1"); we just send the skills from F4 to F1
Send("2"); chaotic i know but since we use speed hack
Send("3");adding waiting times will just be a waste of time
Send("4")
Send("{Space}"); after the mob is dead we collect the items
Sleep(200)
EndIf
;now remember the "IF NOT @error Then" from the start?
;what if there is no mob in the screen?
;what then?
Else;if no mob is found
Send("{Right 7}") ;rotate the camera to look in other directions
HotKeySet("{PAUSE}", "TogglePause")
Endif
Wend
Endfunc ;and i end it
while 1; it will just keep the program in stand by untill the function is called
; useless in our case since we called the function automatically but it's good for u to know it
sleep(1000)
WEnd
Any clues to get it working ? Its clicking randomly but dont pick monsters even if i clik it then doesn't attack
Edit;
Ok i get it working a little but the problem of recognizing mob colours is still exist.
I guess this is due to transpraent mob names.
Can anyone share the complete codes here? The pre-made codes given by Dizzydbd is not working, it used to turn around and around.. i try to change the color hex code. but still nothing happens.. Can anyone share it here? thanks a lot!
@ronaldgrn
don't spoonfeed them that much lol, just let them read and then they can make it themselves, else.. too bad, then can always buy CR if they don't want to put effort in reading and learning
Errrm... Just tried it but since there was Xtrap or GG on every server I couldnt really test it. I guess both Guides I found here are just for bypassed or unprotected Servers?
Request Simple Auto Join War Script 06/24/2010 - 12Sky2 - 0 Replies Hi im really not that well at coding in auto it , i was wondering if a more experienced player can make me a simple auto war join script , a continious one , thanks if this is possible , hope im not asking to much
thanks guys
[Autologin] Simple autoit script 06/29/2009 - SRO Hacks, Bots, Cheats & Exploits - 44 Replies Hey,the captcha system is out .
So the ecsro minimised autologin script works on iSro too,now :)
Source:
Global $Paused
$hWnd = WinGetHandle ("SRO_Client")
HotKeySet ("{F10}","Start")
HotKeySet ("{F9}","Pause")
NEED help making simple auto attack script 06/28/2008 - Lineage 2 - 0 Replies I have walker 2.03 and i need help making a SIMPLE auto attack script. All i wanna do is target mod, attack, pick up items, target closest mod and repeat. I can add heals and all that stuff later just need help starting a basic combat script.
[Request] Simple AutoIt Script 06/26/2008 - Dekaron - 5 Replies Hello, I'm looking for an autoit script that basically presses 1 2 3 4 5, one after the other every second continuously. Thanks in advance, EW.
need help making a simple autoit script 05/21/2006 - Silkroad Online - 2 Replies hey guys, i wanna make a simple autoit script to press alt and tab every 2 mins...can anyone help me make a code for it? thnkz alot...my bot is wack, keep getting stuck in town and auto zerk dont work...so i wanna make a script tat does does 2 things to keep bot running and use zerk..