Results 1 to 5 of 5

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

  1. #1
    Join Date
    May 2007
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

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

    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

  2. #2
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    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');"

  3. #3
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

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

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  4. #4
    Join Date
    May 2007
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @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

  5. #5
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    EPIC FAIL! Don't grave dig!

    ~Camo
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Want to make a 1337 script tell me your ideas
    By ShowerThoughts in forum RS3 Outdated / Broken Scripts
    Replies: 24
    Last Post: 05-25-2008, 06:08 AM
  2. Efficient Utilization of Run Energy in Scripts.
    By L3ss Than 33 in forum Bot Information and Spottings
    Replies: 8
    Last Post: 02-03-2008, 09:56 AM
  3. 2 ideas here (mining/smithing)
    By burnout in forum RS3 Outdated / Broken Scripts
    Replies: 0
    Last Post: 03-23-2007, 05:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •