SRL Archive - RS3 Outdated / Broken Scripts

Function ideas to make mining/wc scripts more efficient. READ


Atomic1221

2007-10-30 09:30:01

After using many many scripts I've found a major fault in all of them: they all choose the 'closest' available mine or tree, but they fail to take into account the number of people working mining that tree/mine. For example, in Jukka's guild miner, the script chooses the closest coal mine which is great if there are no people around. But many times, the guild mine is crowded and you can instantly identify the autoers because they are the ones that try to all mine the same piece of coal (even though there are empty ones just a bit further away). This not only creates non-humanlike behavior but also can lead to banning :X. So here are the function which I propose that can be used together to help make these scripts more efficient:

IdentifyOtherPlayers: identifies other players on screen using the differences in color between the ground, the object (i.e. mine/tree), and the mining character. This is quite complex and requires that the colors near the tree/mine be all identified.

DetermineRealDistance: Multiplies the perceived distance to each of the available mines/trees by some integer determined by an algorithm which takes into account the number of other players at each of the mines/trees found in the previous function.

CompareRealDistances: Compares the 'real' distances to each mine/tree and chooses the 'closest' one.

Also, I don't know if anyone has thought of this but I think that SCAR should have a procedure that plays a sound when a random is identified and that the user has 8s to move the mouse to solve the random him/herself or 20s to solve the random if it is unsolvable. If the mouse is moved then the script breaks until the random is solved by the user.

Note: I use mining scripts much more than wc scripts but I think the same functions can be used. Also, these functions could be used in many many ways (such as if too many players are identified in certain time period then SCAR logs out and changes world).

Please post your thoughts regarding my ideas. Thanks

n3ss3s

2007-10-30 09:35:18

Compares the 'real' distances to each mine/tree and chooses the 'closest' one.
Umm SortTPAFrom much?

Also, I don't know if anyone has thought of this but I think that SCAR should have a procedure that plays a sound when a random is identified and that the user has 8s to move the mouse to solve the random him/herself or 20s to solve the random if it is unsolvable. If the mouse is moved then the script breaks until the random is solved by the user.
The idea of macroing is that you have a life until all players are false, no need to sit waiting if a random comes…

And adding sound when random is detected is not hard -

"If FindNormalRandoms Then PlaySound('C:\Windows\ShutDown.wav');"

JuKKa

2007-10-30 09:37:42

Funny how u know all about my script and havent seen a single post? leech much?

Atomic1221

2007-10-30 09:52:07

@n3ss3s so all what I said above is already included in SortTPAFrom? I thought that calculated the literal distance of an object/monster away from you. What I'm suggesting is that you also take into account the number of people next to the object when determining the distance. Also I searched and I found your fastmonsterfinder function and it is similar to what I'm saying but the only difference is that players' colors are dynamic but monster colors are always the same. To detect the players would require an opposite method which is to find the 'odd one out' (i.e. the players are the are the 'odd ones out' of the rest of the landscape). I might be wrong in what I'm saying so please enlighten me some more if I am. Also, I just thought that it would be good to know if you've encountered an unsolvable random like the discovery book. It sucks to start autoing, leave the computer for 4 hrs and then find that your 3 players all logged out after 15 minutes. Thanks for telling me about the playsound function I didn't know it existed already.

@Jukka, Whoa slow down there with the accusations :P i just started using it this morning when I turned level 60. And whenever I use a script i do post comments if i feel it'll help. Look at my comments on RICK's VE miner and Flesh Crawler. Anyway your script is so far perfect, and only has problems when the connection is lost on a crowded server ( i don't know if you could fix that) so if you just want a compliment then there you go :)

Kyle Undefined

2008-11-22 13:33:09

EPIC FAIL! Don't grave dig!

~Camo