SRL Archive - First Scripts

Power Iron Miner my first script


Bionicle

2009-09-04 20:16:41

This is my first script i am giving to the public. I have used it before, (got me to 65 mining :spot: aand will get me to 99 after S.M.A.R.T. is fixed:() and was planing on uploading it a while ago. currently S.M.A.R.T. is broken and this wont work, but eventualy when S.M.A.R.T. is fixed again, please test and give me your oppinion of how it is :)

EDIT: SMART is fixed again :p

EDIT EDIT: removed attachment as this script is outdated and WILL NOT be updated.

caused

2009-09-04 20:30:37

I'm not a big fan of smart anyways, but you could disable it in the meantime And use a Virtual PC as alternative ;).

~caused

JAD

2009-09-04 20:55:23

Line 62 can be deleted because the next thing you do is check if you are not logged in again, and it will exit there.

In FindIron, you really should add some randomness to that MMouse.

Also in FindIron, what if the script never finds the uptext 'ocks'? Then it will be an infinite loop because you just have until(result) at the bottom. Try adding a mark time fail safe:

var Timer: Integer;

MarkTime(Timer);

....

until(result) or (TimeFromMark(Timer) > 10000+random(5000));
if(TimeFromMark(Timer) > 10000)then

....

You do your anti ban in the same spot every single time you mine a rock. Try doing like


if(random(10) = 0)then AntiBan;

Or add more randomness to the AntiBan case so that a number from the possible cases doesn't always come up.

If at the end of the script you had:

if(not(LoggedIn))then NextPlayer(False);

Instead of:

if not loggedin then terminatescript;

Then it would be a multi player script.




I am very impressed with your advanced object finding techniques! :) You look very promising for becoming an SRL member some day, so keep learning and good job!

~JAD

Bionicle

2009-09-04 21:51:21

From: JAD
Line 62 can be deleted because the next thing you do is check if you are not logged in again, and it will exit there.

In FindIron, you really should add some randomness to that MMouse.

Also in FindIron, what if the script never finds the uptext 'ocks'? Then it will be an infinite loop because you just have until(result) at the bottom. Try adding a mark time fail safe:

var Timer: Integer;

MarkTime(Timer);

....

until(result) or (TimeFromMark(Timer) > 10000+random(5000));
if(TimeFromMark(Timer) > 10000)then

....

You do your anti ban in the same spot every single time you mine a rock. Try doing like


if(random(10) = 0)then AntiBan;

Or add more randomness to the AntiBan case so that a number from the possible cases doesn't always come up.

If at the end of the script you had:

if(not(LoggedIn))then NextPlayer(False);

Instead of:

if not loggedin then terminatescript;

Then it would be a multi player script.




I am very impressed with your advanced object finding techniques! :) You look very promising for becoming an SRL member some day, so keep learning and good job!

~JAD


thankyou for your suggestions :) i will fix up my script and make a v1.1…after it can be tested with smart lol

Smarter Child

2009-09-05 05:18:31

From: JAD

I am very impressed with your advanced object finding techniques! :) You look very promising for becoming an SRL member some day, so keep learning and good job!

~JAD


Lol, he applied to SRL members.

By the way, it is a good script, like I said on the thread, but try making a better one. The first script you make isn't always the best script for SRL members.

snowleader

2009-09-13 19:57:14

about to test now…lets see if it is better than devils

p s u d

2009-09-16 12:32:34

Line 158: [Error] (17459:10): Duplicate identifier 'ALLPLAYERSINACTIVE' in script C:\Documents and Settings\hb\Skrivbord\[SRL]Powerminer 3[1].05.scar help please!!!

p s u d

2009-09-16 12:35:34

Include file C:\Program\SCAR 3.15\includes\srl\srl\reflection\reflection.scar does not exist.
Failed when compiling can someone help me get reflection?

Bionicle

2009-09-16 15:50:52

click here to get reflection

and for your first question, the error, i have no idea because i didnt use that in my script :eek: id just try installing reflection and then try again

edtor

2009-09-18 23:43:53

Pretty cool script, fast and accurate for mines that are not underground.
Gj :)

danishkahn

2009-09-20 08:34:22

hey one problem when i try to run the script i get this error Line 82: [Error] (20553:1): Duplicate identifier 'getItem' in script C:\Users\SCAR 3.21\includes\SRL\SRL\Reflection\Hooks.Scar :confused:
can someone please help me??

iiM Pope

2009-09-20 08:47:09

Yeah I am getting the error also.

dRez

2009-09-22 22:19:05

This script is perfect.

imso1337

2009-09-23 06:41:47

looks good

Tsige

2009-10-06 17:17:52

keep it up:)

thatgo916

2009-10-17 17:35:54

sweet script

Bionicle

2009-10-17 17:54:04

This script is perfect.
looks good
keep it up:)
sweet script


PLEASE don't make spam posts, as they are very annoying, and take up unneeded space.

If an admin can please close this thread, please do :). This script is outdated i think and i have no motivation to update it.

Thanks,
~bionicle

YoHoJo

2009-10-18 13:40:53

Closed by OPs request.
Please don't SPAM.
Good Day.