SRL Archive - RS3 Help

Ending "Waiting while the player is moving..." early


Ross

2014-08-17 15:59:24

Is there any way to have a script check if the next procedure is doable before the character stops moving? I'm using SPS currently. It would greatly improve the efficiency of my tanning script and make it seem a little more human.

KeepBotting

2014-08-17 16:37:16

You mean like searching for Ellis while you're running towards him? Yeah, you can do that. Just override .walkPath() and hack your object finding routine in there somewhere.

mitchell li

2014-08-19 15:40:51

From: therossity
Is there any way to have a script check if the next procedure is doable before the character stops moving? I'm using SPS currently. It would greatly improve the efficiency of my tanning script and make it seem a little more human.

That would be awesome if you could get it to work. Is there a delay between finding the color and right clicking the coordinate found? because that would make the click go above ellis

KeepBotting

2014-08-19 17:40:06

From: mitchell li
That would be awesome if you could get it to work. Is there a delay between finding the color and right clicking the coordinate found? because that would make the click go above ellis

Not aside from moving the mouse, but you could simply jack the mouse speed up really high for the duration of the function and that'd bring misclicking down to a minimum

using that in combination with didRedClick or w/e it's called now would mean pretty much flawless object finding while moving

Ross

2014-08-19 18:00:00

From: KeepBotting
Not aside from moving the mouse, but you could simply jack the mouse speed up really high for the duration of the function and that'd bring misclicking down to a minimum

using that in combination with didRedClick or w/e it's called now would mean pretty much flawless object finding while moving


That's what the mayor was suggesting to me yesterday, I think I'm going to toy aaround with that in a bit. I'm about to release v2.0.


Off question: is there any way to reduce the variance in SPS points? The script ends up outside the tanning room way too often.

KeepBotting

2014-08-19 18:11:17

From: therossity
That's what the mayor was suggesting to me yesterday, I think I'm going to toy aaround with that in a bit. I'm about to release v2.0.


Off question: is there any way to reduce the variance in SPS points? The script ends up outside the tanning room way too often.


I find that blindWalking the last point of your path (after walking the rest) helps immensely with SPS accuracy.

Ross

2014-08-19 18:14:44

From: KeepBotting
I find that blindWalking the last point of your path (after walking the rest) helps immensely with SPS accuracy.


Could you expand on that a bit? What would that look like?

KeepBotting

2014-08-19 18:16:43

From: therossity
Could you expand on that a bit? What would that look like?


whateverYourMapIsCalled.blindWalk(point(x, y)); //should be the last point on your path

right after you finish walking your normal path

Ross

2014-08-19 18:19:54

From: KeepBotting
whateverYourMapIsCalled.blindWalk(point(x, y)); //should be the last point on your path

right after you finish walking your normal path


So should I include the last point in the initial SPS path and the blindwalk? My path is only 2 points.

KeepBotting

2014-08-19 18:27:31

From: therossity
So should I include the last point in the initial SPS path and the blindwalk? My path is only 2 points.


Yeah include it in both, blindWalk will exit if you're too close to the point to bother walking there

Ross

2014-08-19 18:42:19

From: KeepBotting
Yeah include it in both, blindWalk will exit if you're too close to the point to bother walking there


"whateverYourMapIsCalled" isn'tr working for me

In my case my map.png is AL_KHARID, is that what you meant?

KeepBotting

2014-08-19 18:47:41

From: therossity
"whateverYourMapIsCalled" isn'tr working for me

In my case my map.png is AL_KHARID, is that what you meant?


Yes, use the name of your map

Ross

2014-08-19 18:52:32

From: KeepBotting
Yes, use the name of your map


Exception in Script: Unknown declaration "AL_KHARID"


Where would I declare it? I already have it in the SPS setup.

mitchell li

2014-08-19 18:58:49

From: therossity
Exception in Script: Unknown declaration "AL_KHARID"


Where would I declare it? I already have it in the SPS setup.


If you are having trouble with SPS you could find one of the colors of the kebab icon on the map. Use that to find your position and click the bank and the tanning building.

KeepBotting

2014-08-19 19:07:35

From: therossity
Exception in Script: Unknown declaration "AL_KHARID"


Where would I declare it? I already have it in the SPS setup.


Maybe you're using 'sps' instead of your map's name as an identifier?

Incurable

2014-08-31 11:00:21

From: therossity
That's what the mayor was suggesting to me yesterday, I think I'm going to toy aaround with that in a bit. I'm about to release v2.0.


Off question: is there any way to reduce the variance in SPS points? The script ends up outside the tanning room way too often.


Did you manage to get a working version of this? I'd like to know before I take a crack at it myself. :)

Ross

2014-08-31 11:08:35

From: Incurable
Did you manage to get a working version of this? I'd like to know before I take a crack at it myself. :)


Nope! Let me know if you figure it out :)

Incurable

2014-08-31 11:57:05

From: therossity
Nope! Let me know if you figure it out :)


Thanks anyway, will do. :)

Spaceblow

2014-08-31 17:52:27

From: Incurable
Thanks anyway, will do. :)
Could you please also let me know? I tried to figure it out myself a while ago but I had no idea how it could be done so I forgot about it. :)