Results 1 to 18 of 18

Thread: TarCollector BETA

  1. #1
    Join Date
    Mar 2011
    Location
    Somerset, UK
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default TarCollector BETA

    Tar Collector V0.4a beta



    Still needs work and is still WIP so i would watch it as it may walk off somewhere ,, Dont Ask ME where though.. : []


    What it Does: Collects Tar
    Swamp Tar is Currently worth approx 335gp atm and althogh it can take a while to sell
    it realy easy money


    Just fill in your username and password , Make sure your in Lumbridge Swamp and the first Space in your inventory either:
    Allready is tar OR is EMTY.
    MAKE SURE THERE ARE SOME RED DOTS ON THE MINIMAP


    as the script is in beta it puts out some interesting debug as default if you dont like it tun it off

    UPDATE: V0.4a BETA Now available...
    :: Better Boundary Detection
    :: Get Price of tar from GE
    :: Cleaned up the code some more
    :: Better Walking not so random direction any more
    :: Less Waits speed things up a bit ... more profit








    ====Stats================================
    + Time Running: 24 Minutes and 34 Seconds
    + Tar Collected: 183
    + Estimated Earnings: 43188GP
    =========================================


    Download Here:
    Attached Files Attached Files
    Last edited by sm0k3; 04-14-2013 at 02:40 PM. Reason: Current GE Price update

  2. #2
    Join Date
    Nov 2011
    Location
    United States
    Posts
    815
    Mentioned
    6 Post(s)
    Quoted
    284 Post(s)

    Default

    Oooo! Damn. I was going to make an AIO money maker as my next project and include this method! haha, you beat me too it :P

    Ill test it tomorrow, all my mems accs are busy. Code looks pretty solid for your first script in a while tho mate! Gratz on release

  3. #3
    Join Date
    Mar 2011
    Location
    Somerset, UK
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

    Anyone been using this?? any proggies people does it work for you?

  4. #4
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Swamp tap is currently 335ea. This would be a good money maker for accounts with no stats. You could potentially get 230k+ per hour.

    E: will test this out and get a proggy for ya

  5. #5
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    E: Excuse double

    The WithinBounderies and Walkback was making it buggy. It just walked back and forth because it though it was lost.

    I basically simplified you mail loop to

    Simba Code:
    Repeat
       WalkToClosest;
       DoCollect;
    Until

    Now it runs the whole swamp loop and collects all the tars. The only problem with this is it may eventually get lost or lured so maybe check the boundaries every 10 tars or so.

    You can also automatically get the price using something like:

    Simba Code:
    TarPrice := GETGEprice(1939);

    if so make sure you call online.simba at the top:

    Simba Code:
    {$i srl/srl/misc/online.simba}

    It would be wise to calculate the amount of tar picked up rather that getting the inv count, I already had 9k tars in my inv

    Progress Report:
    ====Stats================================
    + Time Running: 17 Minutes and 13 Seconds
    + Tar Collected: 9687
    + Estimated Earnings: 3148275GP
    =========================================


    Just Inc(TarsCollected) after it picks one up, or get the inv count at the start and subtract it from the current inv count

  6. #6
    Join Date
    Mar 2011
    Location
    Somerset, UK
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

    Repeat
    WalkToClosest;
    DoCollect;
    Until

    sounds like youve told it not to follow the paths atall and just go to the closest every time.. dosen't this look a little wierd.. dosent your player just run all over the place ( to which ever's closest at the time) and whats going to happen when thees someone else picking it up aswell the player will probs just stand and wait for next spawn as other players allready got there ... just speculation am testing now
    Last edited by sm0k3; 04-14-2013 at 01:14 PM.

  7. #7
    Join Date
    Mar 2011
    Location
    Somerset, UK
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

    sorry for double post ... New update Better boundary handling altho SPS_GetMyPos still dosent seem to return the same values so still thinks its lost sometimes but it fixes itself quite quick
    Last edited by sm0k3; 04-14-2013 at 02:34 PM.

  8. #8
    Join Date
    Apr 2013
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    Error: Exception: Access violation at line 78
    The following bitmaps were not freed: [0]

    it took me to line 78 which is " SMART_CANVAS.FastDrawClear(0); "


    and any way of making this work for 07? like tell me how to and ill do it please

  9. #9
    Join Date
    Mar 2011
    Location
    Somerset, UK
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

    lordasukuu;

    havent yet Written any scripts for OSR so i cant help you there but im sure if you take a look at some tutorials on OSR you probably can get it to work but i dont know

    in response to your error

    find any occurances of SMART_DebugTPA

    and make sure the line contains the following

    if ( DEBUGSMART = True ) and not ( Length(THE-VAR) = 0 )
    you must change THE-VAR to the var name in SMART_DebugTPA

    heres an example
    Simba Code:
    SMART_DebugTPA(True,TarCpoints);
    SMART_DebugTPA(false,i);
    Would then become

    Simba Code:
    if ( DEBUGSMART = True ) and not ( Length(TarCpoints) = 0 ) then SMART_DebugTPA(True,TarCpoints);
                                                  ^ TarCpoints is the var to add as its the var ^ here that contains the data for DebugTPA
    if ( DEBUGSMART = True ) and not ( Length(i) = 0 ) then SMART_DebugTPA(false,i);
                                         here ^ add i because i is the variable  ^ here for DebugTPA


    this should have been done allready but your error basicly says i missed one
    as the error is because at some point the data SMART is trying to print to debug dosent exist
    in this case i believe is probably the red dots on the minimap or rather the lack of
    when you see this error

    you may find that some lines look like this

    Simba Code:
    if ( DEBUGSMART = True ) then SMART_DebugTPA(True,TarCpoints);
    if ( DEBUGSMART = True ) then SMART_DebugTPA(false,i);

    its the same idea here but add
    and not ( Length(THE-VAR) = 0 ) inside the if statement like this
    Simba Code:
    if ( DEBUGSMART = True ) and not ( Length(TarCpoints) = 0 ) then SMART_DebugTPA(True,TarCpoints);
                                      Again  ^ here i added TarCpoints as it is the variable ^ here containing the
                                      data for DebugTPA
    Last edited by sm0k3; 05-13-2013 at 11:51 AM.

  10. #10
    Join Date
    Jun 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Please help im in urgent need!!
    +REP TO ALL THOSE WHO HELP

    I download the file and it loads unto simba, i then hit run but i get an error
    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
    Compiling failed.

    PLEASE HELP!!!!

  11. #11
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    Quote Originally Posted by aaronmoses View Post
    Please help im in urgent need!!
    +REP TO ALL THOSE WHO HELP

    I download the file and it loads unto simba, i then hit run but i get an error
    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
    Compiling failed.

    PLEASE HELP!!!!
    It just means you don't have SMART8 installed, which is not a big deal because you can make it use your smart by changing the following at the top of the script:
    Simba Code:
    {$DEFINE SMART8}
    to
    Simba Code:
    {$DEFINE SMART}

  12. #12
    Join Date
    Jun 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Im sorry for being a noob im so sorry

    I have another question

    I get the error
    [Error] C:\Simba\Includes\SRL\SRL\misc\smartgraphics.simba (25:3): Unknown identifier 'SmartSetDebug' at line 24
    Compiling failed.

  13. #13
    Join Date
    Mar 2011
    Location
    Somerset, UK
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

    ok looks to me that you havent actualy installed SMART version 8 (SMART8) go here and follow this... http://villavu.com/forum/showthread.php?t=93563


    this should get you up and running in no time .. :0

  14. #14
    Join Date
    Feb 2013
    Posts
    303
    Mentioned
    4 Post(s)
    Quoted
    124 Post(s)

    Default

    Guna Run This later after i sell some stuffs proggy imminent

  15. #15
    Join Date
    Feb 2013
    Posts
    303
    Mentioned
    4 Post(s)
    Quoted
    124 Post(s)

    Default

    Tryd to run and i got this - [Hint] C:\Simba\Scripts\TarCollect.simba(278:3): Variable 'AFOUND' never used at line 277 ??

  16. #16
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    Quote Originally Posted by happy hippo View Post
    Tryd to run and i got this - [Hint] C:\Simba\Scripts\TarCollect.simba(278:3): Variable 'AFOUND' never used at line 277 ??
    That's not an error. [Hint] just means it's something he left in that doesn't do anything, so he probably added it, then removed the code around it.

  17. #17
    Join Date
    Feb 2013
    Posts
    303
    Mentioned
    4 Post(s)
    Quoted
    124 Post(s)

    Default

    Ohh Rly Di dident know that, well i got it to work thanks

  18. #18
    Join Date
    Apr 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    is a good script

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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