[rSRO] jreBot Testing

05/11/2012 17:10 ImOnSpeed#121
Im playing on Atomix Silkroad (Vsro) and if i want to login with the bot i get a C8 error ?
Can someone help me pls ?
05/12/2012 00:12 frozenburn#122
Why bot choosing farest mobs instead of nearest ? And mby put also some priority list.
05/12/2012 00:51 jremy#123
Quote:
Originally Posted by frozenburn View Post
Why bot choosing farest mobs instead of nearest ? And mby put also some priority list.
Let's fix it shall we?
Code:
Func GetMob() ;finds and sets nearest target in a training area, feel free to replace it frozenburn!
	Dim $idTemp[200], $distanceTemp[200], $z = 0

	For $i = 0 To UBound($mob_list) - 1
		If $mob_list[$i] = "" Then
			ExitLoop
		Else
			$info = StringSplit($mob_list[$i], ",", 2)
			Dim $id = $info[0], $x = $info[1], $y = $info[2], $distance = $info[3], $type = $info[4]

			If Distance(GUICtrlRead($xInput), $x, GUICtrlRead($yInput), $y) <= GUICtrlRead($rInput) Then
				If $type = "giant" OR $type = "party" Then
					If GUICtrlRead($targetgiantCbox) = 1 Then
						;nothing for now
					Else
						If $id <> $killedId AND $id <> "" AND $id <> $targetId AND $id <> $ignoreId Then
							$idTemp[$z] = $id
							$distanceTemp[$z] = $distance
							$z += 1
						EndIf
					EndIf
				Else
					If $id <> $killedId AND $id <> "" AND $id <> $targetId AND $id <> $ignoreId Then
						$idTemp[$z] = $id
						$distanceTemp[$z] = $distance
						$z += 1
					EndIf
				EndIf
			EndIf
		EndIf
	Next
	$index = _ArrayMinIndex($distanceTemp, 0, 0, $z-1)
	If $idTemp[$index] <> "" Then SetTarget($idTemp[$index])
EndFunc
05/12/2012 14:17 garam_87#124
after login, i chouse my caracter and i get this messeage: "Line 32668 C:\Users\......\Downloads\jreBot_rSro.exe):

Error:Array variable has incorrect number of subscripts or subscript dimension range exeeded.

Who can help????????? THX
05/13/2012 11:05 frozenburn#125
Thx you jremy , but bot still attack farest mob.
Can you please think about auto res ?
05/13/2012 11:15 jremy#126
Quote:
Originally Posted by frozenburn View Post
Thx you jremy , but bot still attack farest mob.
I didn't release new version yet :)

Quote:
Originally Posted by garam_87 View Post
after login, i chouse my caracter and i get this messeage: "Line 32668 C:\Users\......\Downloads\jreBot_rSro.exe):

Error:Array variable has incorrect number of subscripts or subscript dimension range exeeded.

Who can help????????? THX
Can you let me know what items you have in inventroy?

Unless you are trying to use it in a private server. This bot is for russian silkroad!
05/13/2012 11:29 frozenburn#127
Quote:
Originally Posted by garam_87 View Post
after login, i chouse my caracter and i get this messeage: "Line 32668 C:\Users\......\Downloads\jreBot_rSro.exe):

Error:Array variable has incorrect number of subscripts or subscript dimension range exeeded.

Who can help????????? THX
I got same mistake , but i delete all quests and it helped me. Try to put all items to storge and then ,on bot , one by one take them back.
05/13/2012 12:00 garam_87#128
Quote:
Originally Posted by jremy View Post
I didn't release new version yet :)


Can you let me know what items you have in inventroy?

Unless you are trying to use it in a private server. This bot is for russian silkroad!
Tablets, 9d elements , 2 harp, MP,HP a dead wolf , universal pill, x-l vigor potion, return scroll, recovery-kit, and hgp, hp recovery gain thats all.
05/14/2012 09:49 jremy#129
@up, dead wolf is the problem, alive would work :) will fix it later (although my bot can't do anything with wolfs and never will)

Updated,
The bot tries to attack nearest monster now
Added weapon switch support for script buffs
05/14/2012 12:45 frozenburn#130
All work perfectly !
Thank you jremy !
But what will be next ?

Found bug with Swing march. Not casting, but Moving march cast is great.
05/16/2012 18:51 jremy#131
Updated for rSRO v1.042
NOTE: Don't have event pet/premiums in inventory. But them in storage before logging in with bot
05/17/2012 16:07 frozenburn#132
Thank you for keeping us updated ))
Still will be good to make few things like :
-Party buffs
-Auto revive , accept auto revive
-Send party invitation and accept it
-Run on horse
-Leave party if leader not ......
It would be great if you helped you with this little reminder ^_^
Look forward to hear you !
05/19/2012 09:24 tvoretsmira#133
The bot cannot cast buff Grass Walk - Flow. As soon as this buff ends, botting also ends. When I cast the buff myself, botting resumes.

The game massage: item[Drug of typoon -49 pieces]gained also sound funny. Why does bot try to buy negative quantity?

What is the correct way for exiting the game with jrebot?
05/19/2012 19:06 jratoviz#134
download link doesnt seem to be working, would love to give this bot a try
05/21/2012 16:11 tvoretsmira#135
I have made mirror for you:
[Only registered and activated users can see links. Click Here To Register...]