SRL Archive - RS3 Outdated / Broken Scripts

TarCollector BETA


sm0k3

2013-03-11 01:13:21

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:

Itankbots

2013-03-21 02:30:55

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 :)

sm0k3

2013-04-13 17:47:32

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

The Mayor

2013-04-13 18:32:39

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 :)

The Mayor

2013-04-13 19:09:56

E: Excuse double :o

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

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:

TarPrice := GETGEprice(1939);

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

{$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 :D

====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 :)

sm0k3

2013-04-13 19:39:52

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

sm0k3

2013-04-14 10:31:47

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

lordasukuu

2013-05-10 23:52:00

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 :)

sm0k3

2013-05-13 07:43:32

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

SMART_DebugTPA(True,TarCpoints);
SMART_DebugTPA(false,i);
Would then become


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


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

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

aaronmoses

2013-06-20 14:19:15

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!!!!

Kevin

2013-06-20 14:23:32

From: aaronmoses
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:
{$DEFINE SMART8}
to
{$DEFINE SMART}

aaronmoses

2013-06-20 14:43:09

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.

sm0k3

2013-06-20 15:22:36

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

happy hippo

2013-06-20 16:59:30

Guna Run This later after i sell some stuffs proggy imminent

happy hippo

2013-06-20 17:04:04

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

Kevin

2013-06-20 17:06:44

From: happy hippo
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.

happy hippo

2013-06-20 17:11:51

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

king52588

2013-08-03 01:05:36

is a good script