SRL Archive - Jr. Member OSRS Scripts

Superfonz's Jeweler


superfonz

2019-01-22 23:09:27

From: Dan the man
Haven't tried it out, but the script looks very clean. Well done.

I made a few adjustments to the AL include for my NMZ script which included the tboxes for orbs etc. Should be able to find it in the NMZ thread in my signature.

yeah i added some adjustments aswell, for example i added a interfaces such as the range and smithing chatbox interfaces.
{
==========
Interfaces
==========
}

type TInterface = record
Text : String;
TxtBounds : TBox;
FontType : String;
FontColor,
ColorTol : Integer;
end;

var
Interfaces: Array [0..17] of TInterface;

{
~To-add~
-Crafting screen
-Smithing screen
}

const
BANKSCREEN = 0;
PINSCREEN = 1;
PINPENDING = 2;
DEPOSITSCREEN = 3;
SHOPSCREEN = 4;
TRADESCREEN = 5;
TRADECSCREEN = 6;
DUELSCREEN = 7;
DUELCSCREEN = 8;
TELEOTHERSCREEN = 9;
GEMAINSCREEN = 10;
GEOFFERSCREEN = 11;
GECOLLECTSCREEN = 12;
JEWELLERYSCREEN = 13;
TARGETSCREEN = 14;
TANNINGSCREEN = 15;
SMELTCHATBOX = 16; <——
RANGECHATBOX = 17; <——

procedure setupInterfaces();
begin
with Interfaces[SMELTCHATBOX] do <—–
begin
FontType := 'StatChars07';
FontColor := 2109504;
ColorTol := 5;
Text := '5';
TxtBounds := toBox(220, 345, 330, 370)
end;
with Interfaces[RANGECHATBOX] do <——
begin
FontType := 'UpChars07_s';
FontColor := 2109504;
ColorTol := 5;
Text := 'cook';
TxtBounds := toBox(220, 345, 330, 370);
end;
end;