SRL Archive - First Scripts

Drop's PowerMiner!


droppeD:)

2009-01-11 05:15:45

YAy! my first script!

what does it do?
Mines and drops ores( Iron, Tin, and Copper)

a couple things about the script:

1.After the ore is dropped, the autocolor picks up the color of the ore, so the mouse will right click it( but not pick it up). Not to worry, the autocolor will still pick up the actual rock, and it will still mine.
2.Some times the auto color picks up other colors, but it should still mine the rock =)

How to setup the script:
{------------------------------Script Info-------------------------------------|
| ScriptName = Power Miner |
| Author = DroppeD=) or 0 vv n ag e |
| Description = Mines ores then drops them |
| Version = 1 |
| Date = 1/10/09 |
|______________________________________________________________________________|
|-----------------------------Instructions-------------------------------------|
| |
| Instructions: |
| Setup: 1. Be next to the ore you wish to mine! |
| 2. Your Pickaxe MUST be equiped or in the FIRST slot of your |
| inventory |
| 2. Input SRL-stats ID & Password [In constants] |
| 3. Fill out lines 37 to 45 |
| 4. Read the "Need to knows" below. |
| 5. Push play! |
| |
| |
|______________________________________________________________________________}

Rawr pls post feedback =)

oxox0xoxo

2009-01-11 09:07:49

ty for this hack i will use it thanks again

Tickyy

2009-01-11 11:34:17

From: oxox0xoxo
ty for this hack i will use it thanks again


wtf…. well let's pass to the script.

- First, You can use mining.scar tools for all kind of any ore… (if you still need help with this PM me).

i'm almost done with my script you can take a look later …

The rest looks okey… nice for a first script.

ian.

2009-01-11 12:24:45

>.> your drop proc is long.. you could just drop(1..5); wait(500); blah blah

but it looks nice for your first script ^^

oh yeah.. your tolerance is a bit much..

it should be lower I think

senrath

2009-01-11 12:39:45

I'd replace this:
if (IsUpText('icka')) then
begin
DropItem(2);
DropItem(3);
DropItem(4);
DropItem(5);
RanWait(250+random(700));
DropItem(6);
DropItem(7);
DropItem(8);
DropItem(9);
DropItem(10);
DropItem(11);
RanWait(250+random(700));
DropItem(12);
DropItem(13);
DropItem(14);
DropItem(15);
DropItem(16);
DropItem(17);
RanWait(250+random(700));
DropItem(18);
DropItem(19);
DropItem(20);
DropItem(21);
DropItem(22);
DropItem(23);
DropItem(24);
DropItem(25);
DropItem(26);
DropItem(27);
DropItem(28);
end else
with a for to do loop. It would make it much smaller, and neater.

droppeD:)

2009-01-11 15:23:28

yea i new the drop process was realy long, i just didn't know wut to use instead. and as for the mining.scar i wasn't sure how to use that for the ores.

thanks guys, i'll fix it right away =)

Wootmankeh

2009-01-18 07:17:01

** Warning in GameTab: 0 is no valid GameTab**
Script could not execute, you did something wrong!
Successfully executed

What should i do?