using autoit with silkroad online?
#1
Posted 26 March 2007 - 02:39 PM
Opt("MouseCoordMode", 1)
Opt("PixelCoordMode", 1)
Opt("WinTitleMatchMode", 2)
Dim $EndIt = ''
While 1
If Not ProcessExists('Silkroad.exe') Then
Run("C:\Program Files\Silkroad\Silkroad.exe")
EndIf
WinWait("Silkroad Online Launcher")
If Not WinActive("SilkRoad Online Launcher") Then
WinActivate("SilkRoad Online Launcher")
EndIf
Sleep(10000)
MouseClick("left", 756, 510, 1, 1)
WinWaitActive("SRO_Client")
Sleep(10000)
Send("{ENTER}")
Sleep (1000)
Send("user")
Send("{TAB}")
Sleep(500)
Send("pass")
Send("{ENTER}")
Sleep(10000)
Do
MouseMove(512, 428)
If PixelGetColor( 512, 428) == 0x9C4A31 Then
MouseClick("left", 512, 428, 1, 1); after this script has to begin from the beggining
Else
Send("{ENTER}"); this must be going till PixelGetColor( 512, 428) == 0x9C4A31 or PixelGetColor(493, 752) = 0x000000
ExitLoop
EndIF
Sleep(5000)
If PixelGetColor(493, 752) = 0x000000 Then $EndIt = 1
Until $EndIt = 1
Sleep(1000)
If $EndIt = 1 Then ExitLoop
WEnd
MouseClick("left", 332, 372, 1, 1)
Sleep (3000)
MouseClick("left", 766, 704, 1, 1); thats the end, it has to stop scirpt after this is done :)
Exit
#2
Posted 26 March 2007 - 03:17 PM
#3
Posted 26 March 2007 - 03:52 PM
Nikolai, on Mar 26 2007, 10:17 AM, said:
lol well if you really need something do to. Are you familiar with the game itself? Well i just want to see what its like to bot since about half of each server consists of them. I am level 32 now and near the Oasis killing scorpions. Do you need coordinates to help move around or tell it where to go? or is that what the color part of the script is? Do i just run out there to my spot then run the script?
My auto potions are on F4....slot 1 is HP, slot 2 is MP, and slot 3 is Universal pills for abnormal status. I am unsure if you need to even do anything with these, as they are auto-potions and already to heal me when my life goes down a certain percentage automatically already, but is there any way to know when i start getting low on potions? Do i need to put my auto-potions in certain spaces of inventory?
Before any attacks i need my shield buttons pressed....My shields are on F2....i will need F2 slot 1 activated every 431 seconds, F2 slot 2 every 415 seconds, F2 slot 3 every 436 seconds, F2 slot 4 every 421 seconds, and F2 slot 5 every 426 seconds.
Ok now for my attacks.....on F1 slot 1 i have my autograb...i want this button pressed after each kill of a monster about 5 times so that i pick up whatever is on the ground before going to the next monster.
F1 slot 2 needs to be pressed 2 seconds before an attack....then F1 slot 3 for first attack....then press F1 slot 4 for next attack, then press F1 slot 5, and finally F1 slot 6.....just to make sure the monster dies and if it is dead before the last attack, it should just run to next monster and repeat.
Basically thats how i want it, just a big repeat of killing monsters. If you need any more information please ask. thanks alot!!!!
TMANN05
#6
Posted 27 March 2007 - 12:04 AM
Nikolai, on Mar 26 2007, 05:29 PM, said:
hey thats ok, i can wait. i will experiment with autoit and keep checking back on here periodically to see if you made it back. Have fun lol.
#7
Posted 27 March 2007 - 12:15 AM
Im gonna go eat and then -_- for about a 1/2 hour cus its morning here and I have to go to work in about 2 hrs lol...
Ty,
~Nikolai :bye:
#8
Posted 27 March 2007 - 01:40 AM
Nikolai, on Mar 26 2007, 07:15 PM, said:
Im gonna go eat and then -_- for about a 1/2 hour cus its morning here and I have to go to work in about 2 hrs lol...
Ty,
~Nikolai :bye:
Well i just did a search on this site (which i didnt think of doing before) lol....and people say that autoit wont work on silkroad because gameguard wont let 3rd party software run simutaneously. So i am unsure of what to do now. I will keep searching i guess, maybe for another type of scripting program.
#9
Posted 27 March 2007 - 02:03 AM
TMANN05, on Mar 26 2007, 08:40 PM, said:
edit just somthing i found....sounds hard to me
If your trying to make a bot your probably going to have to make use of PixelSearch and PixelGetColor as well as MouseMove. Examples and descriptions of these functions appear in the help file.
#10
Posted 27 March 2007 - 10:51 PM
Still looking for the t2s script, anyone please let me know where i can find it
This post has been edited by Nikolai: 27 March 2007 - 10:52 PM
#11
Posted 27 March 2007 - 11:48 PM
Nikolai, on Mar 27 2007, 05:51 PM, said:
Still looking for the t2s script, anyone please let me know where i can find it
Mind if i add you to MSN messenger? What is this script you are looking for?
#14
Posted 29 March 2007 - 09:45 PM
and funny thing about that script, I found it on another forum, and it worked so perfectly I decided to learn autoit fer mehself =)
#16
Posted 30 March 2007 - 04:45 PM
Nikolai, on Mar 29 2007, 04:58 PM, said:
sounds great cant wait to try it out
#19
Posted 20 May 2007 - 03:43 AM
This is the latest version of the softmod...but its currently not working
http://rapidshare.com/files/31674688/SoftMod2_May_v4.rar
This is the latest bot version 1.62.....install this and the files will come up
http://rapidshare.com/files/30417731/sroboten1.62.exe
This is the latest .dll file
http://rapidshare.com/files/26339813/SoftMod2.dll
And last but not least is a nice program that disables gameguard so it may be possible to run autoit scripts ingame.
http://projecthax.com/download/HaxCr4x3.0.rar
So if anyone has free time and wants to look into this...and possibly get the source code from the bot and break it down, feel free and lets see if its possible to make our own softmod file to run this bot.

Sign In
Register
Help
MultiQuote