SRL Archive - RS3 Outdated / Broken Scripts

[SRL4] Powerminer


[S]paz

2007-10-07 13:58:32

SPAZTAZ666's Powerminer
Woot .. lol ok Basically Start near any rocks


Doesnt matter what but i suggest being over combat vl 20
So you dont die.. it should run away anyways.. :D


PLEASE POST PROGGIES AND ERROR REPORTS

BUGS fixed… please re-download and give me proggies or more bugs … lol

Thx go especially to Rasta Magician and [-Jesus-]

Birfday_Cake

2007-10-08 13:21:39

Dude, we need more information.

I have no clue where to start the script, what level I need to mine. WHAT I'm mining.

Just give us more info.

Sir R. M8gic1an

2007-10-21 09:46:10

i think he answered all your questions if you actually read it ;)
"start near any rocks… it will auto pick the rock based on ur mining lvl (copper, tin,iron or coal)"

need any further explanation? :p

RMagician

mark9510

2007-10-21 16:22:24

yeah just start declare your players and click run

winnets

2007-10-25 20:46:53

i gota problem. im in the dwarven mines and the script picks me to mine coal when i want iron and i get owned off scorps can u manually set it to iron?

richk1693

2007-10-25 21:22:59

Yea bad idea to have it set to highest one possiable. I want to mine iron, and it wants coal.

[-jesus-]

2007-10-26 16:31:22

From: winnets
i gota problem. im in the dwarven mines and the script picks me to mine coal when i want iron and i get owned off scorps can u manually set it to iron?


1. You should have your accs trained up so the scorpions wont attack them…

2. change this:
     end;
If(level >= 38) Then
Begin
Players[CurrentPlayer].Strings[0] := 'Coal';
end;

to something like:
     end;
If(level >= 70) Then
Begin
Players[CurrentPlayer].Strings[0] := 'Coal';
end;

So it will mine iron untill 70 mining or however long until the player is false/ script ends by random or anything.


& if ur in the dwarven mines or w/e add this(Inblack wont work tho):

Const
StartPlayer = 0; // Starting Player.
NumberOfUsers = 6; // How many players .
YourSRLStatsID = '1234';
YourSRLStatsPass = '1234';
SecondsToWait = 5; // Number Of Seconds You want to wait.
TimetoWait = 2500;
InGuild = true;// Are you in the dwarven mines?
MinutesPerLoad = 5; // Max amount of minutes to take before dropping.
RunDir = 'S'; // Run In Which Direction

In FindFastRandoms:
       7: begin
if not Inguild then
begin
if InBlack then
begin
Result := True;
Players[CurrentPlayer].loc := 'InBlack';
Logout;
Exit;
end;
end;
end;

[S]paz

2007-10-28 12:13:54

WOW srry its late but thx a lot for ur comments Jesus and other.. i added your suggestion + lots more failsafes

V2.5 Relesed :DD ReDownload

Sir R. M8gic1an

2007-10-28 16:13:01

looking great, but your multiplayer isn't quite right yet, and for example here:

//player 1 is the one we're using
NextPlayer(Players[CurrentPlayer].Active);
//so player 1 logs out, n p2 comes in
end;
if Players[CurrentPlayer].Booleans[0] = False then
//if players[!2!].booleans[0].....
Players[CurrentPlayer].Active:= False;
//Players[!2!].Active:=....
Logout;
//Logging out p2 before it even had a chance to do anything.
Exit;

do you see what's wrong?
and you need to have a loop in the main loop so that the different players go through all the procedures.


begin
SetupSRL;
SRLID := YourSRLSTATSID;
SRLPassword:= YOURSRLSTATSPASS;
Siggy;
ActivateClient;
wait(200);
DeclarePlayers;
LoginPlayer;
repeat
WhatOre;
MineOre;
Report;
if (Players[CurrentPlayer].Integers[0] = TLoads) Then
NextPlayer(players[CurrentPlayer].Active);
until(False);
end.

[S]paz

2007-10-30 12:41:53

thx for ur comments… keep em comming) and redownlod… jst killed some bugs

[-jesus-]

2007-10-30 16:43:21

You've been using NextPlayer() wrong =/.

"NextPlayer" switches to your next active player, but thats a Boolean(Bool. = True or False), so it would be like.. NextPlayer(True). That switches to the next active player & sets the current one as also being active, this way you can loop your players multiple times. However, if you put NextPlayer(False), it sets the current player as inactive & the script wont log him in anymore afterwards.

Hope that helped ;) ++rep? :)

[S]paz

2007-10-30 17:47:49

ahh i thought so .. it di look V messy lol thx ….

thought they banned rep.. if not then u can have soem rep
++rep :)

spaz

PS: RE-Download

Dilligaf

2007-11-18 16:23:17

Line 260: [Error] (16746:1): Identifier expected in script C:\DOCUME~1\Owner\LOCALS~1\Temp\[srl4]powerminer V2.5.scar

Xhalo

2007-11-28 23:04:16

This looks pretty solid im gonna give it a try. I will be back in liek a hour with results hopefully…

Line 257: [Error] (17094:1): Identifier expected in script C:\Documents

mnagi85

2007-11-30 04:18:00

Just define the variable and its data type. It will tell you which one by giving you the line the error is on. Easily solved. Looking forward to try this once identifier problem is solved.

[S]paz

2007-11-30 22:02:37

V 2.6 Releases
Srry for delay had a lot of other things on….

spaz

eaglejh

2007-12-05 16:03:40

Doesnt Seem to Dropp the ores just switches characters…

[]———————————————-[]

Powerminer created by Spaztaz666.
Version: 2.5.

Copper Mined and Dropped : 0ores
Tin Mined and Dropped : 0ores
Iron Mined and Dropped : 0ores
Coal Mined and Dropped : 0ores
Worked for 1 Minutes and 36 Seconds

[]———————————————-[]


[]———————————————-[]
NextPlayer

[S]paz

2007-12-05 16:54:11

NEW VERSION OUT RE DOWNLOAD FOR THE HARDCORE USERS :P:P:P

~Spaz

CatastrophicDesire

2007-12-07 15:41:17

I ran the script and the character (I only used one for testing) stayed logged in for 2 loads/drops then logged out. The script couldn't find the character then, obviously, so it kept saying "player logged, switching players" but then wouldn't do anything. I'll post a proggy when I run it again, with more characters…the last one was deleted thanks to parents.

~CD.

Negaal

2007-12-16 09:58:11

Hmm, when pick head flyes off it won't pick it up again…mhh

do
findpickheadcolors
with every player and in mining loop put in
findpick