PDA

View Full Version : Silkroad login bot


night_blade
31st October 2005, 02:40
it a newbi bot so sorry if it look ugly
SetActiveWindow Asheron's Call
delay 1000
MousePos 120, 277 <<< change it to wher ever ur Silkroad Shortcut icon
or set the icon to the top right corner

say ur login <<< del ur login and change it to ur real login ( say monkey )
delay 2000
keys {TAB}
say ur password <<<del ur password and change it to ur real password ( say monkeyman )
delay 2000

change what eva u wish but dont post this on any other forum mostly gamerz planet

LampioesKiller
31st October 2005, 14:40
Heyz could u plz tell how to use that?
I dont know what to make with that 1.mac file.

alcap0ne
31st October 2005, 15:24
u need download AC tool - http://207.58.143.100/files/actoolinstall_530.exe

Chickenfish
31st October 2005, 17:35
I didn't check yours (not fond of downloading stuff here ;) ) but for those who are interested and too lazy to check the other thread, this is mine...

There's some work: you have to adjust the mousepositions to fit your computer's settings, use control+m to determine your mousepos.
This is written in and for AC Tool, google for it if you want to use my macro

what it does: clicks the Silk Road icon, clicks the start button, clicks in the name bar, fills in your nick, clicks in the password bar (you can replace this line by tabbing and a 200 delay if you want, might be easier) presses enter every 3 seconds, then it clicks where the "confirm" button appears when you crash, it checks if SRO_Client is still running, repeats pressing return if it is, restarts the process if it isn't, so you can just go afk and check once in a while to see if you're in ^^ feel free to change whatever you want or improve this macro

MousePos 110, 253
DoubleClick
Delay 5000
MousePos 761, 527
LeftClick
Delay 6000
SetActiveWindow SRO_Client
delay 500

MousePos 548, 433

delay 400
leftclick
delay 200
Say nickname
MousePos 496, 464
delay 200
leftclick
delay 200

say password


loop 50
iswindow SRO_Client
keys {return}
delay 3000

MousePos 517, 425
delay 200
leftclick
delay 1000


Else
delay 1500
restart
End
end

night_blade
31st October 2005, 18:02
u might have to changer some of the delay to abit longer
and the icon for the top right is MousePos 967, 34 not MousePos 120, 277

DaHudge
31st October 2005, 19:46
u might have to changer some of the delay to abit longer
and the icon for the top right is MousePos 967, 34 not MousePos 120, 277

Depends on what resolution your running at...

LampioesKiller
31st October 2005, 21:02
Nice guys i know understand how to use this.
Great job all and thx for the explanation

Chickenfish
31st October 2005, 23:37
Cuz of positive comments of others, I just dled your file and checked it

I'd suggest removing the first line: "SetActiveWindow Asheron's Call" is complete nonsense if you wanna make a sro login

furthermore, you added about 30 strings with the same command, I suggest doing this

loop 30
DoubleClick
delay 2000

so a quick revamp of your macro: (ps:I don't understand the last 3 lines either tho, might wanna explain what you're doing there, I added them just to keep the original idea of your macro, ps2: I dunno if you encountered the "you got disconnected to server" message, but your macro doesn't do anything in that case, it just tries to go on, think of a way to implement that, I found it after some time ;))

MousePos 120, 277
DoubleClick
delay 3000
MousePos 724, 526
delay 4000
LeftClick
delay 10000
LeftClick
MousePos 501, 430
delay 3000
LeftClick
say ur login
delay 2000
keys {TAB}
say ur password
delay 2000
MousePos 441, 565
loop 30
DoubleClick
delay 2000
end
MousePos 565, 559
delay 5000
LeftClick

night_blade
1st November 2005, 14:03
thx 4 the loop tip :) im still a newbi at it :(
well u see if u get dc from the server after all the click is done is will auto click exit game . then it start agian from the top reconnect back to the game

DeMossiah
4th November 2005, 05:23
Muhar, DeMossiah Strikes back!

Change the constants with the resolution values (Get a screenshot, paste it in MS Paint... and you know where your mouse needs to be).
This code works perfectly on a 1280x1024 game and window resolution.
To make it loop, enter 0 as your loop value in the box.
A and be sure to stop it when your in.

//------------------------------//
// Change these to your details //
//------------------------------//
Constants
GamePath = <insert game path here>
Username = <insert username here>
Password = <insert password here>
End

Constants
StartButtonX = 835 // Start button of the launcher (Horizontal axis)
StartButtonY = 650 // Start button of the launcher (Vertical axis)
End

Constants
UsernameX = 675 // Username box (Horizontal axis)
UsernameY = 550 // Username box (Vertical axis)
PasswordX = 675 // Password box (Horizontal axis)
PasswordY = 575 // Password box (Vertical axis)
ConnectX = 585 // Connect button (Horizontal axis)
ConnectY = 680 // Connect button (Vertical axis)
LoginCheckX = 610 // A part of the username box wich stays black unless the disconnect window pops up (Horizontal axis)
LoginCheckY = 550 // A part of the username box wich stays black unless the disconnect window pops up (Vertical axis)
DisconnectX = 640 // The disconnect button (Horizontal axis)
DisconnectY = 550 // The disconnect button (Vertical axis)
End

//-----------------------------------------//
// Dont mess with anything below this line //
//-----------------------------------------//

IsWindow SRO_Client
SetActiveWindow SRO_Client
GetBlue $LoginCheckX, $LoginCheckY = 000000
MousePos $ConnectX, $ConnectY
LeftClick
Delay 5000
Else
MousePos $DisconnectX, $DisconnectY
LeftClick
Delay 5000
End
Else
ExecProgram $GamePath
Delay 1000
MousePos 720, 560
LeftClick
Delay 10000
SetActiveWindow Silkroad Online Launcher
MousePos $StartButtonX, $StartButtonY
LeftClick
Delay 10000
SetActiveWindow SRO_Client
LeftClick
Delay 500
MousePos $UsernameX, $UsernameY
LeftClick
Delay 500
Keys $Username
MousePos $PasswordX, $PasswordY
LeftClick
Delay 500
Keys $Password
End

campzsklz
5th November 2005, 07:12
i'm a noob... so where do i copy all this codes to?

i noe how to use le... but do anione have ani clue about ran online bot?

Chickenfish
11th November 2005, 13:09
update on the login macros, you now have to select the server as well

here's a new one: clicks the silkonline icon, waits, clicks the start button, waits, selects the server, fills in your username and password, presses enter, clicks where the "you got disconnected to server" window will pop up, restarts the macro if the game is shut down (when you click that button)

this one works for my resolution: 1024 by 768, you might have to change the mousepositions (use control M for this) and the delays (which seem to be longer nowadays, startup screen seems to take a tad longer than before so you might want to change these as well, delay 1 means that the bot will wait for 1/1000 second, so delay 1000 is 1 s

use ACTool to run this thingy, just start it up and when you are logged in, alt tab and close it.

delay 500
MousePos 110, 253
DoubleClick
Delay 5000
MousePos 761, 527
LeftClick
Delay 6000
SetActiveWindow SRO_Client
delay 500
leftclick
MousePos 484, 251
delay 1000
MousePos 484, 251

doubleclick
delay 750


MousePos 548, 433

delay 400
leftclick
delay 200
Say YOURNICKNAME

MousePos 496, 464
delay 200
leftclick
delay 250

say YOURPASSWORD
delay 2000

loop 25
iswindow SRO_Client
keys {return}
delay 3000

MousePos 517, 425
delay 200
leftclick
delay 1000


Else
delay 1500
restart
End
end

komy101
9th March 2008, 23:52
hi all im egyption i love them

hi all plz answer me