SRL Archive - First Scripts

[SRL 4][RS Member] Macrosoft Lumbridge Swamp Tar Collector V1 Beta!


Macrosoft

2007-09-29 12:52:07

Hello and this is my first script using scar. After 3 months of programming, my Swamp Tar Collector is finally here!

Please Note this is a Beta Version and still need more testing…From YOU!

The script will collect swamp tar, a stackable members object worth about 200gp on the Runescape Forums!

ONLY USE THIS SCRIPT ON A MEMBERS WORLD!


Features
-Will Reset it self with Lumby Home Tele, If it can.
-Will re-activate the players if you set players[].Booleans[0] to true. It will get the minutes until you can do the next lumb home tele and then make the player active again after that time!
-Because of the previous 2 features, It can run for a long time with enough players, but will most likely run for very little with one player
-You can start Anywhere! However it is recomended that you start in the lumbridge swamp
-a cool progress report
-Antiban and anti randoms
-Will only chat if someone is on the minimap
-Will Stop if you press F12

Coming Soon
-More stuff to help keep it from walking out of the swamp
-The option to have a player log out after a certain amount of time or tar

Enjoy!


btw, dont tell me there are no failsafes, just look at the main loop and you will see plenty


AND REMEMBER TO POST PROGRESS REPORTS DRN LEECHERS!

(You can edit out your army's usernames)

HyperSecret

2007-09-29 13:23:27

just a few little things….could use failsafes in your procedures…also you dont really need the loginifnot function, you can just "If no logged in then loginplayer" … also your lumbtele doesnt teleport to lumby…definantly needs standards, it is kinda hard to read…i dont know anything about tar picking so i cant really go more indepth than that…

EDIT: does this actually pick up tar? cuz the only time i see PickUpTar is in a if not pickuptar then….but i dont see an else to start pickuptar if pickuptar…

Macrosoft

2007-09-29 13:27:44

ok, lol that is how i do my standards, I guess im weird

the lumb tele function doesnt do the teleport?

HyperSecret

2007-09-29 13:35:21

Function LumbTele: Boolean;
begin
GameTab(7);
wait(1000 + random(100));
begin
if (not(GetLumbridgeMins=0)) then
begin
LumbMins[CurrentPlayer]:= GetLumbridgeMins;
Result:=False;
end
else
Result:=True;
end;
end;

it doesnt look like it atleast…there is not cast spell or anything…

Macrosoft

2007-09-29 13:40:51

getlumbrdgemins returns the amount of mins left before teleporting, if it rerurns 0, it teleported

also, should i fix it up a little more, or can I apply for srl membership with it, the way it is?

HyperSecret

2007-09-29 13:44:46

i dont think you would get membership with it…but show me where it actually "casts" the teleport spell…cuz i cant seem to find it anywhere…

Macrosoft

2007-09-29 13:46:31

function GetLumbridgeMins: Integer;
begin
Cast('1');
Wait(1000);
Mouse(646, 82, 3, 3, True);
if Pos('another', GetBlackChatMessage) <> 0 then
Result := StrToInt(Trim(Between('another', 'minutes', GetBlackChatMessage)))
else Result := 0;
end;


also, failsafes are in the main loop

HyperSecret

2007-09-29 13:55:39

you dont have that function in the script you have posted up there…

Macrosoft

2007-09-29 14:23:26

lol, that is a SRL function in srl/skill/magic.scar, I use it in my script

get it now? lol

HyperSecret

2007-09-29 22:01:27

oh i guess i didnt know that…my bad…

Macrosoft

2007-09-29 23:03:10

lol, dont feel bad, it is not that known, i found it in the manual, and it was perfect, so I used it

PeteJohn

2007-09-30 13:26:19

I will try it once i get membership, i will post feedback

Macrosoft

2007-10-01 16:14:27

ok, i just fixed some minor errors in the script

Negaal

2007-10-01 16:33:24

err, very good about 1st script, just standards are hardly missing and no failsafes…

nething

2007-10-01 18:07:46

He said earlier that failsafes are in the main loop… I haven't looked at the script so I'm just going on what he said earlier. I can't test it atm cuz my only member account is my main -.-

EDIT: Yea standards could be better but looks alright… can't test though =\.

Macrosoft

2007-10-02 15:38:44

From: alberts00
what i can get from tar and if there are anti ban ?


yes there is anti ban, and swamp tar can be sold for 200gp each and is stackable, so you can make a good amount of money.

I think that is what you asked, your english want very good so im not sure.

Sk8boardinggit

2007-10-02 16:43:26

This autoer is amazing =D I'll be posting a proggy of it once finished. I'll be leaving it on all night so i'll tell you all how well it does =]

the scar noob

2007-10-02 16:56:40

Comments that I wanted to tell you are already been said.
This script will need more clean-up but it seems that you already get the basics. You also seem to know how to solve the problems (make the script, what to do etc..), but you could improve the way how:)
Like more efficienter locationing (look at Function SwampCheck: Boolean; for eg.)

-Tsn.

Macrosoft

2007-10-02 18:26:03

From: the scar noob
Comments that I wanted to tell you are already been said.
This script will need more clean-up but it seems that you already get the basics. You also seem to know how to solve the problems (make the script, what to do etc..), but you could improve the way how:)
Like more efficienter locationing (look at Function SwampCheck: Boolean; for eg.)

-Tsn.



lol, yeah, swampcheck is a little iffy, but i checked it like 8 times, it got it right everytime. I am also going to add something, in the next version, that will help keep it from walking out of the swamp. Basicly it will find the color of normal grass, and click the other side of the mm. I dk if there are any better solutions, so tell me if there is.

From: Sk8boardinggit
This autoer is amazing =D I'll be posting a proggy of it once finished. I'll be leaving it on all night so i'll tell you all how well it does =]


How many players are you using, Im not sure it will run very long without more than one player.

Is the script good because you tested it, or good because you are guessing? lol

Edit:I will be expecting that proggy

Sk8boardinggit

2007-10-05 18:12:10

Lol. My main is banned at the moment Grrr, So can't post that proggy… I'll see if they give me character back as i gave a rather good appeal =D If i do i'll try it again and post a new proggy. =]

Macrosoft

2007-10-06 11:18:02

wait, did you run the script yet?

orion pax

2007-10-07 15:52:19

Glad I'm not the only one that thinks that a swamp tar picking script is a good idea. Just wish I would get this kind of feed back on mine. Mine just lacks options and shiny things to make it look good. As far as picking it its like 99%. Just wish it was faster.

I will give yours a try later and let you know what I think. Maybe we get pull our resources together and combine them and make 1 perfect one. Or maybe I have ideas you havent thought of or maybe you have some that i could use.

About how many an hour does yours pick? Mine gets about 150 an hour i think if my math is right. Maybe more….

Macrosoft

2007-10-07 22:27:27

i cant test, my membership ran out, made the script with a free to play account (aren't I special)

Edit:If i have an if (not(PickUpTar)), will it still pick up tar?