SRL Archive - MSI Bugs

Varrock West Miner


Infantry001

2011-12-15 23:23:51

Currently, I'm using the Varrock West Miner for Clay and Silver.

Two issues I've noticed:

1) The walking path is a bit too close to the city wall. Because of the not-so-accurate nature of SPS, sometimes, the script winds up clicking inside the city walls (either that, or the random offset of Mouse just shoves it over). Regardless, I'm sure this is just a quick fix of adjusting the path so that it lies a bit farther westward.

2) The object finding is slightly off. I am mining clay and silver, with Silver set to 80%, and Clay set to 20%. Many times, it will mine clay (thinking it is mining silver), and sometimes, it will even mine tin. Now, I understand that clay, silver, and tin are all very similar in color. So probably needs slight adjustments of the color.

Thanks for all the great work, MSI guys! This project is truly amazing! Hopefully I manage to wrap my head around it soon ;)

Coh3n

2011-12-31 04:18:10

The path can be adjusted easily enough, but I've tried multiple times to get distinctive colors for Tin and Silver for that location, and I've had no luck. I recommend using the Crafting Guild Miner for Silver, and Draynor for Clay. Works wonders for me.

YoHoJo

2011-12-31 06:33:11

Hmm I'll try and help again with silver/tin colors I found some nice ones before.

Infantry001

2011-12-31 17:19:53

Thanks for the advice, Coh3n. Now if only I cold get my characters to level 40 crafting… hehe.

Kyle Undefined

2012-01-13 23:28:30

I really don't know how to adjust the path for this, just spent the last 45 minutes looking through the code and I see how it all ties together. But since there isn't a set path to walk, I'm kind of lost.

I have had this still happen to me, rarely though.

Infantry001

2012-01-15 18:00:19

Isn't all the Path information in Scripts.simba?

SCRIPT_VW_MINER:
with MSI_Scripts[whichScript] do
begin
Name := 'Varrock West Miner';
Constant := SCRIPT_VW_MINER;
SkillName := 'Mining';
SkillConst := SKILL_MINING;
BankType := Bank;
WhichBank := MSI_BANK_VW;
AutoObjects := @MSI_MineInvFull;
BankObjects := @MSI_BankStandard;
PlayerSetup := @MSI_SetupMining;

Defaults.Rocks := [ROCK_TIN, ROCK_CLAY, ROCK_IRON, ROCK_SILVER];

with PathInfo do
begin
Name := 'LOC_VW_BANK to LOC_VW_MINE';
StartLoc := LOC_VW_BANK;
EndLoc := LOC_VW_MINE;

SPSPath := [
TPointArray([Point(4580, 2903), Point(4516, 2952),
Point(4555, 3175)])
];

SPSAreas := [
TStringArray(['11_7'])
];
end;
end;

Kyle Undefined

2012-01-15 21:16:05

But that's only three clicks, there are more than that to get to the mine, unless I'm just over thinking how the walking is done.

Coh3n

2012-01-16 15:05:39

From: Kyle Undefined
But that's only three clicks, there are more than that to get to the mine, unless I'm just over thinking how the walking is done.
Each point is a node on the path. The points in between are calculated during runtime.

Kyle Undefined

2012-01-16 16:51:19

Ahhh, I see, so in order to change the path, I just need to change the nodes. Gotcha.