SRL Archive - MSI Suggestions

Seers Yews


Overtime

2010-10-17 13:34:23

Here is the Yews Seers Wcer. Please if needed, change the constants #'s as i know that you are working on Edgevill Yews and the Seers Maples.

I had a hard time with it switching to 2 locations. So i found a nice spot where it can see all 3 trees. It will locate that spot and stay there until either of trees pop up.

Less botting like :)

Globals

const
// Woodcutting
SCRIPT_POWER_CHOP = 10;
SCRIPT_VE_TREES = 11;
SCRIPT_VE_OAKS = 12;
SCRIPT_GE_YEWS = 13;
SCRIPT_DB_WILLOWS = 14;
SCRIPT_DB_TREES = 15;
SCRIPT_DB_OAKS = 16;
SCRIPT_RM_YEWS = 17;
SCRIPT_PS_WILLOWS = 18;
SCRIPT_PS_YEWS = 19;
SCRIPT_SV_MAGICS = 20;
SCRIPT_SV_YEWS = 21;

const
AREA_GE_YEWS_1 = 10;
AREA_GE_YEWS_2 = 11;

AREA_RM_YEWS_1 = 20;
AREA_RM_YEWS_2 = 21;

AREA_SV_YEWS_1 = 30;

AREA_ARRAY_LENGTH = 30; // Change to the highest area constant

 // Seers Village
LOC_SV_MAGICS = 100;
LOC_SV_YEWS = 101;
LOC_SV_BANK = 102;

LOC_ARRAY_LENGTH = 102; // Change to the highest location constant



Location
LOC_SV_YEWS:
with MSI_Locations[Which] do
begin
Name := 'Seers Village Yew trees';
Constant := LOC_SV_YEWS;
AtBank := False;
RelocatePoints := [Point(2709, 3463)];
RelocateAreas := [AREA_SV_YEWS_1];
RelocateDist := 3;
RelocateTime := 2000;

end;

Script
 SCRIPT_SV_YEWS:
with MSI_Scripts[whichScript] do
begin
Name := 'Seers Village Yews';
Constant := SCRIPT_SV_YEWS;
SkillName := 'Woodcutting';
SkillConstant := SKILL_WOODCUTTING;
Objects := [TREE_YEW];
Items := [[LOGS_YEW]];
BankType := Bank;
WhichBank := MSI_BANK_SV;
CompassAng := -1;
AutoObjects := @MSI_ChopInvFull;
PlayerSetup := @MSI_SetupWoodcutting;

with PathInfo do
begin
StartLoc := LOC_SV_BANK;
EndLoc := LOC_SV_YEWS;

Reflection := [
Point(2725, 3493), Point(2725, 3485),
Point(2725, 3477), Point(2725, 3468),
Point(2720, 3443), Point(2720, 3431),
Point(2719, 3463), Point(2714, 3464)
];

// ObstaclePoints := [];
// Obstacles := [];
// DoObstacles := [];
end;
end;


[0:12:12]: { MSI Phoenix Player Report }
[0:12:12]: {------------------------- Revision 342 -------------------------}
[0:12:12]: { Time Running: 12 Minutes and 12 Seconds }
[0:12:12]: {----------------------------------------------------------------}
[0:12:12]: { }
[0:12:12]: { Player 0:**** }
[0:12:12]: { Location: Seers Village Bank }
[0:12:12]: { Time: 10m 59s }
[0:12:12]: { Total Loads: 1 }
[0:12:12]: { Active: False }
[0:12:12]: { Reason: Finished total loads! }
[0:12:12]: { }
[0:12:12]: { Script: Seers Village Yews }
[0:12:12]: { Time: 10m 59s }
[0:12:12]: { Skill: Woodcutting }
[0:12:12]: { Loads: 1 }
[0:12:12]: { Exp: 4,725 }
[0:12:12]: { Level: 99 }
[0:12:12]: { Item: Yew logs }
[0:12:12]: { Amount: 27 }
[0:12:12]: { }
[0:12:12]: {----------------------------------------------------------------}
[0:12:12]: {----------------------------------------------------------------}
[0:12:12]: Thank-you for using MSI Phoenix scripts!
[0:12:12]: Successfully executed.

Yep works :)

If you can find better points or make it to where it doesnt relocate like a maniac, then do so. But right now its flawless :D

keep up the work everyone!

Coh3n

2010-10-17 15:02:48

Looks good. You made a color area constant, but you didn't actually make the area. :p That feature is used for color relocating. In this case, since the script doesn't have color walking, the color relocation would never be used.

Just letting you know you don't need to add the constant unless you're going to make the record. :)

Overtime

2010-10-17 15:09:11

ah ok thanks good to know ! :)

Coh3n

2010-10-18 08:38:33

Committed, along with Seers Maples.

jizzoe

2010-10-19 20:24:16

do i just copy and paste this into simba or is this in msi?

NCDS

2010-10-19 20:32:46

From: jizzoe
do i just copy and paste this into simba or is this in msi?


"Committed" means it has been officially added ;)

Overtime

2010-10-19 20:37:08

he probably doesnt have msi?

Download msi and set up everything.

If you have MSI just update it.