Results 1 to 4 of 4

Thread: Coin Finding

  1. #1
    Join Date
    Dec 2009
    Location
    Newcastle, Australia
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Coin Finding

    What is the best way to find coins in someone's bank, My script calls for 30gp to be withdrawn (in some cases, don't worry bout that) and with the pic for gold changing depending on the amount of gold, I need a good way to find it...

    The only thing i can think of is findcolortolerance...and then MMouse, then check up text...if it fails remove all the points in a certain area...

    other option is I do that once, and then store the information...if it is wrong, then we run that again....

    need a better solution than that though... what do you guys think?

    Edit, found Bitmap for coins in amount.scar...yay for windows search function being able to look inside files...WIN!

    EDIT2: that was the SRL 4 manual, which was out of date, giving me a loadcoinbmp, but the new one is better....findcoins...returning co-ordinates...YES! delete the thread...sorry for the time waste...took me all of what 2 mins?

    Edit3: DONT DELETE, How do i withdraw them now....almost had it sorted...

    EDIT FOUR:
    Right using a function....MSTPointToBankPoint
    I can convert the co-ords to a bank point....
    BUT the findcoins is broken...so still have issues...I am getting rather irritated....its a cycle...yay Fixed...damn nope...yay fixed...damn nope...yay fixed...damn nope.... ARGH!
    Last edited by Bad Boy JH; 01-26-2010 at 10:11 AM.

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

    Default

    Haha, you could make a beat with your cycle lol. I think a simple FindColorTol and an UpText check would be your best bet.

    ~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.


  3. #3
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    First call "FixBank", and make sure the user got it visible in first tab/top.
    Then use FindColorsTol/SplitTPA/MiddleTPA to scroll until you find your gold stack.

    In other words, read up TPA's..

  4. #4
    Join Date
    Dec 2009
    Location
    Newcastle, Australia
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    should have posted here, I made a function, and posted in public SVN, cause i feel if its needed, it should be available...

Thread Information

Users Browsing this Thread

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

Posting Permissions

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