SRL Archive - SRL Archives

Messyness


Harry

2008-04-06 13:16:40

Made SRL a lot cleaner looking and 2 dupe procedures I noticed today ;)

GameTab.scar - CurrentWorld.
WorldSwitcher.scar - GetCurrentWorld.
Why 2 procedures for the (same?) thing? ;)


Updated the Routines list to have all the correct procedures and authors for about 6 hours today, making sure they were all correct. ;) If you see any wrong, let me know so I can fix 'em:

AntiRandoms

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » AntiRandom Routines --//
//-----------------------------------------------------------------//
// * procedure SRLRandomsReport; // * by Starblaster100
// * function FindMod: Boolean; // * by Stupid3ooo
// * function FindFight: Boolean; // * by Stupid3ooo
// * function InConvo: Boolean; // * by WT-Fakawi
// * procedure DwarfItem; // * by Sumilion
// * function FindLamp(skill: String): Boolean; // * by Pups, Starblaster100, and PriSoner
// * function FindDead: Boolean; // * by Stupid3ooo
// * function TrollsInGoodPos: Boolean; // * by Wizzup?
// * function p_GetScore: Integer; // * by Wizzup?
// * function GetOutOfHere: Boolean; // * by Wizzup?
// * function SolvePinball: Boolean; // * by Wizzup?
// * function InBlack: Boolean; // * by WT-Fakawi
// * function NoGameTab: Boolean; // * by WT-Fakawi
// * function IntArrayMatch(Ar1,
// Ar2: TIntegerArray): Boolean; // * by Nielsie95
// * function PercentBlackMM: Integer; // * by Nielsie95 and Wizzup?
// * function GetMusic: string; // * by Nielsie95
// * function NoGameTabLocs: Boolean; // * by Nielsie95 and Wizzup?
// * function SolveTalkingRandom(RawMenuText:
// String): Boolean; // * by SRL Developers Team.
// * function SolveNonTalkingRandoms; // * by: Nielsie95 and Wizzup?
// * function ChooseOptionGetMenuText(var
// RawMenuText: String; x, y: Integer;
// txt: String): Boolean; // * by Stupid3ooo, modded by WT-Fakawi.
// * function FindTalk: Boolean; // * by MastaRaymond and help from Wizzup?
// * function FindInventoryRandoms: Boolean; // * by The SRL Developers Team!... all time sexiness by Mutant
// * function FindNonInventoryRandoms: Boolean; // * by The SRL Developers Team!... all time sexiness by Mutant
// * function FindNormalRandoms: Boolean; // * by The SRL Developers Team!... all time sexiness by Mutant
// * procedure FTWait(Time: Integer); // * by WT-Fakawi

Box

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » Box Routines --//
//-----------------------------------------------------------------//
// * function FindBox: Boolean; // * by WT-Fakawi
// * function GambleBox: Boolean; // * by WT-Fakawi
// * function GetBoxSide: Integer; // * by pups
// * function GetQuestion(var num: Integer;
// var shape: string): Integer; // * by pups
// * function OpenBox: Boolean; // * by pups
// * function SolveBox: Boolean; // * by pups

ChatRandoms

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » ChatRandom Routines --//
//-----------------------------------------------------------------//
// * procedure LoadNPCArray; // * by Wizzup and Nielsie95
// * procedure ChatWait; // * by Nielsie95
// * function ClickContinue(Click, Wait: Boolean): Boolean; // * by Nielsie95
// * function AreTalking: Boolean; // * by Wizzup
// * function GetTalkingNPCName: string; // * by Nielsie95
// * function NPCPlayerName(Name: string): string; // * by Nielsie95
// * function GetNPCEvent: string; // * by Nielsie95
// * function SolveChatRandom: Boolean; // * by Nielsie95

amount

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » Amount Routines --//
//-----------------------------------------------------------------//
// * function ShopScreen: Boolean; // * by masquerader
// * function TradeScreen: Boolean; // * by masquerader
// * function TradeScreen2: Boolean; // * by masquerader
// * function GetAmount(itemx, itemy: Integer):
// Integer; // * by masquerader
// * procedure AreaInfo(area: String; var startx,
// starty, rowsize, colsize,
// colnumber, rownumber: Integer); // * by masquerader
// * function CheckArea(area: String): Boolean; // * by masquerader
// * function AmountCoords(area: String; i:
// Integer): TPoint; // * by masquerader
// * function Amount(area: String; i: Integer):
// Integer; // * by masquerader
// * function ItemCoordsColor(area: String; color,
// tol: Integer): TPointArray; // * by masquerader
// * function ItemCoordsBmp(area: String; bmp, tol:
// Integer): TPointArray; // * by masquerader
// * function ItemCoordsDtm(area: String; dtm:
// Integer): TPointArray; // * by masquerader
// * function CountItemsColor(area: String;
// color, tol: Integer): Integer; // * by masquerader
// * function CountItemsBmp(area: String; bmp,
// tol: Integer): Integer; // * by masquerader
// * function CountItemsDtm(area: String;
// dtm: Integer): Integer; // * by masquerader
// * function CountItemsArea(area:
// string): Integer; // * by masquerader
// * function AmountColor(area: String; color,
// tol: Integer): Integer; // * by masquerader
// * function AmountBmp(area: String; itembmp,
// tol: Integer): Integer; // * by masquerader
// * function AmountDtm(area: String; dtm:
// Integer): Integer; // * by masquerader
// * function loadcoinbmp: Integer; // * by masquerader
// * function CoinAmount(area: String): Integer; // * by masquerader
// * function LoadRune(runetype: String): Integer; // * by masquerader
// * function RuneAmount(area, runetype: String):
// Integer; // * by masquerader and modified by Ron
// * procedure ShopSwitchTab(name:string); // * by Rasta Magician

//documentation at [url]http://wiki.srl-forums.com/index.php/Amount.scar[/url]
// (feel free to improve)

Bank

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » Bank Routines --//
//-----------------------------------------------------------------//
// * function BankScreen:Boolean; // * by RSN
// * function PinScreen:Boolean; // * by Starblaster100
// * function InPin(pin: string): Boolean; // * by RSN / Starblaster100
// * function BankIndexToBankPoint(Ind: Integer): TPoint; // * by Wizzup
// * function BankPointToIndex(P: TPoint): Integer; // * by Wizzup
// * function BankIndexToMSBox(Ind: Integer): TBox; // * by Wizzup
// * function MSTPointToBankIndex(P: TPoint): Integer; // * by Wizzup
// * procedure FixBank // * WT-Fakawi/RsN
// * procedure Deposit(slot, toslot, thetype:integer); // * by PPLSUQBAWLZ / Stupid3ooo
// * procedure Withdraw(Col,Row,Amount:integer); // * by Odie3355/Stupid3ooo/Starblaster100 fixed by Town
// * procedure DepositAll; // * by Mutant Squirrle
// * function OpenBankQuiet(WhichBank:string):Boolean; // * by WT-Fakawi
// * function FindBank(TheBank:string): Boolean; // * by WT-Fakawi
// * procedure CloseBank; // * by Starblaster100
// * function OpenBankGlass(WhichBank:String;
// ChangeCompass:Boolean): Boolean; // * By Wizzup?
// * function OpenBankFast(Location: String): Boolean; // * by Wizzup? and Nielsie95
// * function OpenBank; // * by SRL Development Team


Color

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » ColorFinding Routines --//
//-----------------------------------------------------------------//

// * Function FindDeformed(var Xoff,Yoff: integer;
// BMP,a,b,c,d: integer): Boolean; // * by WT-Fakawi
// * Procedure FindColorsPie(Var Points: TPointArray;
// Color, Tol: Integer; StartD, EndD,
// MinR, MaxR: Extended; x1, y1, x2,
// y2, Mx, My: Integer); // * by Wizzup?
// * function DTMRotated(DTM: Integer; var x, y:
// Integer; x1, y1, x2, y2:
// Integer):Boolean; // * by Yakman

DoorProfiles

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » Door Routines --//
//-----------------------------------------------------------------//
// * function GetDoorColor: Integer; // * by Boreas
// * function GetSecondDoorColor(First: Integer): Integer; // * by Boreas
// * function IsTPointInDropDot(TP: TPoint): Boolean; // * by Boreas
// * function IgnoreDropDots(TheList: array of array of TPoint):
// array of array of TPoint; // * by Boreas
// * function GetAllDoorPixels: array of array of TPoint; // * by Boreas
// * function MdPtOfArray(var Slope: Extended; TheArray:
// array of TPoint): TPoint // * by Boreas
// * function GetDoors: array of DoorProfile; // * by Boreas

FlagChat

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » Mouse Flag & Chat Routines --//
//-----------------------------------------------------------------//
// * function Flag: Boolean; // * by PPLSUQBAWLZ/Odie533
// * function FlagPresent: Boolean; // * by Mutant Squirrle
// * function FlagDistance: Integer; // * by PPLSUQBAWLZ/Odie533
// * procedure MouseFlag(cx, cy, rx, ry: Integer); // * by RsN
// * Function MFF(ax, ay, xmod, ymod: Integer):Boolean; // * by WT-Fakawi
// * Function MFNF(ax, ay, xmod, ymod: Integer):Boolean; // * by WT-Fakawi
// * procedure FFlag(Distance: Integer); // * by Wizzup? / WT-Fakawi.
// * procedure SetChat(state: String; chat: Integer); // * by: Wizzup? modded by WT-Fakawi and Starblaster100
// * procedure ChatsOff; // * by Starblaster100

GameTab

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » GameTab Routines I --//
//-----------------------------------------------------------------//
// * GameTab 1 = Fightmode
// * GameTab 2 = Statistic
// * GameTab 3 = Quest
// * GameTab 4 = Inventory (see Inventory.scar)
// * GameTab 5 = Wield
// * GameTab 6 = Prayer
// * GameTab 7 = Mage
// * GameTab 8 = Add Friend
// * GameTab 9 = Del Friend
// * GameTab 10 = ClanChat
// * GameTab 11 = Run/Tools
// * GameTab 12 = Emotes
// * GameTab 13 = Music
// * GameTab 14 = LogOut
// * GameTab 15 = Summoning
//****************************************************************************//
// * function GetCurrentTab: Integer; // * by Wizzup?
// * function TabExists(TabNumber: Integer): Boolean; // * by Flyboy
// * function GameTab(tabnumber: Integer): Boolean; // * by Starblaster100
// * function SetFightMode(oFightMode: Integer):
// Boolean; // * Nielsie95
// * function GetCombatLevel: Integer; // * by Nielsie95
// * function SkillCoords(row, column: Integer):
// TPoint; // * by RsN
// * function SkillToCoords(skill: String): TPoint; // * by Masquerader extended by Cheesehunk
// * function GetSkillInfo: Integer; // * by: Raymond
// * function GetSkillLevel(skill: string): Integer; // * by ???
// * function GetMMLevels: integer; // * by Raymond
// * function GetXP(Skill: String): Integer; // * by Nielsie95
// * function XpTillNextLevel(Skill:String): Integer; // * by Nielsie95
// * function HpPercent: Integer; // * by Wizzup?
// * procedure GetAllLevels; // * by WT-Fakawi
// * function CurrentWorld: Integer; // * by Cheesehunk,modified by Ron, and fixed by ZephyrsFury
// * function EquipmentCoords(i : Integer) : TPoint; // * by RsN
// * function WearingItem(i: Integer): Boolean; // * by RsN
// * procedure TakeOff(i: Integer); // * by RsN
// * function CheckEquipItems(number:Integer):Boolean;// * by SDcit
// * procedure SetRun(run: Boolean); // * by Wizzup?
// * procedure RunControl(Run: Boolean); // * by Wizzup?
// * procedure SetBar(Bar: String; Point: Integer); // * by Nielsie95
// * procedure DoEmote(EmoteNumber: Integer); // * by Sumilion
// * procedure Retaliate(AutoRet:Boolean); // * By WT-Fakawi & n3ss3s

Globals

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » Global Variables --//
//-----------------------------------------------------------------//
// * procedure LoadSRLBitMaps; // * by SRL Dev Team
// * procedure FreeSRLBitMaps; // * by Ron
// * procedure srl_Warn(ProcName, ErrorMessage:
// String; wVersion: Integer); // * by SRL Dev Team


Inventory

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » Inventory Routines --//
//-----------------------------------------------------------------//
// * function GetInven(Inven : Integer) : TInvenItem; // * Sky Scripter
// * function GetInventoryArray : array of TInvenItem; // * Sky Scripter
// * function InvBox(i :Integer): TBox; // * WT-Fakawi / Wizzup?
// * function ItemCoords(i: Integer): TPoint; // * by RsN
// * Function CoordsToItem(x,y : integer) : Integer; // * by Raymond
// * Function GetInvItemBounds(InvSpot: Integer; T: TBox): Boolean; // * by Wizzup?
// * procedure MMouseItem(i: Integer); // * by RsN
// * procedure MouseItem(i: Integer; left: Boolean); // * by RsN
// * procedure DragItem(inv1, inv2: Integer); // * by RsN
// * function ExistsItem(i: Integer): Boolean; // * by RsN
// * procedure GetEmptyItemPosition(var x, y: Integer); // * by RsN
// * function InvCount: Integer; // * by RsN
// * function InvEmpty: Boolean; // * by WT-Fakawi
// * function InvFull: Boolean; // * by RsN
// * function CountItems(identifier: Integer; identifiertype:
// string; tol: TIntegerArray): Integer; // * by WT-Fakawi / Sumilion
// * function ClickAllItems(identifier: Integer; identifiertype,
// option: string; waitnum: Integer; tol:
// TIntegerArray):Integer; // * by WT-Fakawi / Sumilion
// * procedure DropItem(i: Integer); // * by Lorax
// * procedure DropAll; // * by Lorax
// * procedure ArrangeInv; // * by Cheesehunk

MapWalk

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » MapWalking Routines --//
//-----------------------------------------------------------------//
// * function rs_GetCompassAngleDegrees: Extended; // * by Wizzup?
// * function rs_GetCompassAngleRadians: Extended; // * by Wizzup?
// * function MakeCompass(Direction: string): Boolean; // * by nielsie95
// * procedure RunTo(dir: String; runfar: Boolean); // * by Mutant Squirrle and nielsie95
// * procedure RunAway(dir: string; RunFar: Boolean; Action,
// WaitTime: Integer); // * by Nielsie95
// * procedure StoreToRoadColorArray; // * by Wizzup? / WT-Fakawi.
// * function GetOldRoadColors: Boolean; // * by Wizzup? / WT-Fakawi.
// * function GetNewRoadColor(xs, ys, xe, ye, tol: Integer):
// Boolean; // * by Wizzup? / WT-Fakawi, and modified by Ron
// * function RoadColorChecker: Boolean; // * by Wizzup? / WT-Fakawi, and modified by Ron
// * procedure CountFlag(Distance: Integer); // * by Wizzup? / WT-Fakawi.
// * function LinearWalkEx(var tpa: TPointArray; cx, cy, TheColor,
// tol: Integer; Direction: Integer; Radius:
// Integer): Boolean; // * by Nielsie95
// * function RadialWalkEx(var tpa: TPointArray; cx, cy, TheColor,
// tol: Integer; StartRadial, EndRadial: Integer;
// Radius: Integer): Boolean; // * by Nielsie95
// * function RadialWalk(TheColor: Integer; StartRadial,
// EndRadial: Integer; Radius: Integer; Xmod, Ymod:
// Integer): Boolean; // * by Nielsie95
// * function LinearWalk(TheColor: Integer; Direction: Integer;
// Radius: Integer; Xmod, Ymod: Integer): Boolean; // * by Nielsie95
// * function RadialRoadWalk(TheColor: Integer; StartRadial,
// EndRadial: Integer; Radius: Integer; Xmod, Ymod:
// Integer): Boolean; // * by Nielsie95
// * function LinearRoadWalk(TheColor: Integer; Direction: Integer;
// Radius: Integer; Xmod, Ymod: Integer): Boolean; // * by Nielsie95
// * function WaterWalk(StartRadial, EndRadial: Integer; Radius,
// FFlagBreakOut: Integer; Xoff, Yoff, Xmod, Ymod:
// Integer): Boolean; // * by Nielsie95
// * procedure SetAngle(highest : Boolen); // * by Raymond
// * function PlayersOnMap(xx1, yy1, xx2, yy2: integer): integer; // * by Footballjds

Object

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » ObjectFinding Routines --//
//-----------------------------------------------------------------//
// * function FindObjEx(var cx, cy: Integer; Text: TStringArray; Color: TIntegerArray; Tol, // * By Starblaster100
// CenterX, CenterY: Integer; Step: Extended; xs, ys, xe, ye: Integer): Boolean;
// * function FindObj(var cx, cy: Integer; Text: string; Color, Tol: Integer): Boolean; // * By Starblaster100
// * function FindObjCustom(var cx, cy: Integer; Text: TStringArray; Color: TIntegerArray; // * By Starblaster100
// Tol: Integer): Boolean;
// * function FindObjectDeformed(var ObjX, ObjY :integer; UpText1, UpText2: String; BMP, // * By WT-Fakawi
// a, b, c, d: integer): Boolean;
// * function FindObjTPA(Var x, y: Integer; color, tol, cts, ObjWidth, ObjHeight, // * by Wizzup?
// minCount: Integer; UpText: string): Boolean;
// * function FindObjTPAMulti(var x, y: integer; color, tol, cts, ObjWidth, ObjHeight, // * by Wizzup?
// minCount :Integer; UpText: tstringarray): Boolean;

Players

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » PlayerArray Routines --//
//-----------------------------------------------------------------//
// * function LoggedIn: Boolean; | by WT-Fakawi
// * Procedure SetPlayerNameTPAs; | by ???
// * procedure NumberOfPlayers(Number: Integer); | by BenLand100 / Wizzup?

RC

//----------------------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » Remote Control Routines Beta --//
//----------------------------------------------------------------------------//
// * function RCReadCommand: String; // * by WT-Fakawi
// * procedure RCSetNick; // * by WT-Fakawi
// * function RCFindMaster(var Mx, My: Integer;
// X1, Y1, X2, Y2: Integer): Boolean; // * by WT-Fakawi
// * function RCHowManyOnline: Integer; // * by WT-Fakawi
// * function RCFindFriend: String; // * by WT-Fakawi
// * function RCPrivateMessageColorFound: Boolean; // * by WT-Fakawi
// * function ReturnStatus: String; // * by WT-Fakawi
// * procedure RCResetStatus; // * by WT-Fakawi
// * function RC: Boolean; // * by WT-Fakawi

Symbol

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » Symbol Routines --//
//-----------------------------------------------------------------//
// * function LoadSymbolBitmapColor(Name: String): Integer; // * by Stupid3ooo, WT-Fakawi, Bebemycat2, Ron, and StarBlaster100
// * function GetSymbolColorIn(var rx, ry: Integer; Name:
// string; xs, ys, xe, ye: Integer): Integer; // * by Starblaster100 based off of the ideas of Stupid3000
// * function GetSymbolColor(var rx, ry: Integer; Name:
// string): Integer; // * by Stupid3ooo and Modified by Starblaster100
// * function FindSymbol(var rx, ry: Integer; Name: String):
// Boolean; // * by Stupid3ooo
// * function FindSymbolIn(var rx, ry: Integer; Name: string;
// xs, ys, xe, ye: Integer): Boolean; // * by Starblaster100, based on the ideas of Stupid3ooo
// * procedure FindSymbols(var AnsTPA: Array of Tpoint;
// SymbolName: String); // * by Boreas

Text

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » Text Routines --//
//-----------------------------------------------------------------//
// * procedure TypeByte(k: Byte); // * by Mutant Squirrle
// * procedure TypeSend(Text: String); // * by SKy Scripter
// * function GetUpText: String; // * by Freddy1990
// * function IsUpText(UpText: String): Boolean; // * by Masquerader / Nielsie95 / Freddy1990
// * function IsUpTextMultiCustom(Text: TStringArray): Boolean; // * by Starblaster100 / Nielsie95 / Freddy1990
// * function FindNPCChatText(txt: string; Action: (ClickLeft,
// ClickRight,Move,Nothing)): Boolean; // * by Kernel Klink and Nielsie95
// * function FindText(var cx, cy: Integer; txt: String; font, xs,
// ys, xe, ye: Integer): Boolean; // * by Stupid3ooo
// * function ChooseOption(txt: String): Boolean; // * by Wizzup?
// * procedure CloseWindow; // * by Solemn Wishes and Starblaster100
// * function TextCoords(textn: Integer): TPoint; // * by Wizzup?
// * function ChatsBlackText: Array Of String; // * by Wizzup?
// * function IsChatBlackTextAnyLine(ChatTxt: String): Boolean; // * by Wizzup?
// * function GetBlackChatMessage: String; // * by Wizzup?
// * function FindBlackChatMessage(ChatMsg: String): Boolean; // * by Wizzup?
// * function LastChatter(var name: String): Boolean; // * by masquerader
// * function GetLastChatText(var chat: String): Boolean; // * by masquerader
// * procedure FixChat; // * by WT-Fakawi
// * function SaveToChatLog: Boolean; // * by WT-Fakawi / masquerader
// * function InChat(Text: String): Boolean; // * by WT-Fakawi
// * function ClickOption(s: String; i: Integer): Boolean; // * by Starblaster100
// * function ClickText(txt: String; font, x1, y1, x2, y2: Integer;
// left: Boolean): Boolean; // * by Stupid3ooo and SKy Scripter
// * function LoadTextTPA(Text : String; Chars : Integer;var
// height : integer) : TPointArray; // * by Raymond
// * function FindTextTpaEx(Color,Tol,xs,ys,xe,ye : integer;var
// x,y : integer; Txt : string; Chars : Integer;
// Action : (ClickLeft,ClickRight,Move,Nothing)):
// Boolean; // * by Raymond
// * function FindTextTpa(Color,Tol,xs,ys,xe,ye : integer; Txt:
// string; Chars : Integer; Action : (ClickLeft,
// ClickRight,Move,Nothing)) : Boolean; // * by Raymond

Timing

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » Timing Routines --//
//-----------------------------------------------------------------//
// * function TimeRunning: String; // * Phalanx/RsN
// * procedure MarkTime(var TimeMarker: Integer); // * by Stupid3ooo
// * function TimeFromMark(TimeMarker: Integer): Integer; // * by Stupid3ooo
// * function TheTime : string; // * by RsN
// * function TheDate(DateFormat : Integer) : String; // * by Ron

ArrayLoader

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » arrayLoader --//
//-----------------------------------------------------------------//
// This list was last updated on March 26, 2007.
// * function strToTPtArrayEx(tPtStr, Separater : String) : TPointArray; // * by moparisthebest and modified by Ron
// * function strToTPtArray(tPtStr : String) : TPointArray; // * by moparisthebest and modified by Ron
// * function tPtArrayToStrEx(newTPoint: TPointArray; Separater : String) : String; // * by moparisthebest and modified by Ron
// * function tPtArrayToStr(newTPoint : TPointArray) : String; // * by moparisthebest and modified by Ron
// * function strToIntArrayEx(intArray, Separater : String) : Array of Integer; // * by moparisthebest and modified by Ron
// * function strToIntArray(intArray : String) : Array of Integer; // * by moparisthebest and modified by Ron
// * function intArrayToStrEx(intArray : Array of Integer;
// Separater : String) : String; // * by moparisthebest and modified by Ron
// * function intArrayToStr(intArray : Array of Integer) : String; // * by moparisthebest and modified by Ron
// * function strToFloatArrayEx(floatArray, Separater : String) : Array of Extended;// * by moparisthebest and modified by Ron
// * function strToFloatArray(floatArray : String) : Array of Extended; // * by moparisthebest and modified by Ron
// * function floatArrayToStrEx(floatArray : Array of Extended; Separater :
// String) : String; // * by moparisthebest and modified by Ron
// * function floatArrayToStr(floatArray : Array of Extended) : String; // * by moparisthebest and modified by Ron
// * function strToStrArrayEx(strArray, Separater : String) : Array of String; // * by moparisthebest and modified by Ron
// * function strToStrArray(strArray : String) : Array of String; // * by moparisthebest and modified by Ron
// * function strArrayToStrEx(strArray : Array of String;
// Separater : String) : String; // * by moparisthebest and modified by Ron
// * function strArrayToStr(strArray : Array of String) : String; // * by moparisthebest and modified by Ron
// * function strToBoolArrayEx(boolArray, Separater : String) : Array of Boolean; // * by moparisthebest and modified by Ron
// * function strToBoolArray(boolArray : String) : Array of Boolean; // * by moparisthebest and modified by Ron
// * function boolArrayToStrEx(boolArray : Array of Boolean;
// Separater : String): String; // * by moparisthebest and modified by Ron
// * function boolArrayToStr(boolArray : Array of Boolean) : String; // * by moparisthebest and modified by Ron

DraynorColorFinder

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-----------------------------------------------------------------//
// This list was last updated on March 25, 2007.
// * function FindDraynorRoadColor(var RoadColor :
// Integer; RX1, RY1, RX2, RY2: Integer): Boolean; // * by WT-Fakawi and modified by Ron
// * function FindDraynorLadderColor(var LadderColor :
// Integer): Boolean; // * by WT-Fakawi and modified by Ron
// * function FindDraynorHouseColor(var HouseColor :
// Integer): Boolean; // * by WT-Fakawi and modified by Ron
// * function IsRoad(RX1, RY1, RX2, RY2: Integer): Boolean; // * by WT-Fakawi and modified by Ron
// * function FindDraynorWaterColor(var WaterColor :
// Integer): Boolean; // * by WT-Fakawi and modified by Ron
// * function WaterFound(WX1, WY1, WX2, WY2: Integer): Boolean; // * by WT-Fakawi and modified by Ron
// * function FindDraynorRockColor(var RockColor :
// Integer): Boolean; // * by WT-Fakawi and modified by Ron
// * function RockFound(var RockColor : Integer;
// WX1, WY1, WX2, WY2: Integer): Boolean; // * by WT-Fakawi and modified by Ron
// * function FindDraynorDoorColor(var DoorColor :
// Integer): Boolean; // * by WT-Fakawi and modified by Ron
// * function FindDraynorColors(var RoadColor, WaterColor,
// BankColor, RockColor, DoorColor, LadderColor,
// HouseColor : Integer; DraynorMiscColor :
// Boolean) : Boolean; // * by WT-Fakawi and fixed by Ron

FindXP

// -------------------------------------------------------------------------- //
//-- Scar Standard Resource Library ------------ //
//-- » XP Routines ------------ //
//--------------------------------------------------------------------------- //
// * function ConvertXpToLvl(xp:integer):integer; // * by Brak and Flyboy
// * function ConvertLvlToXP(Level:Integer):Integer; // * by Ron
// * function FindXP(Skill, sType: string): Extended; // * by Abyssal, Smartzkid, and Bobarkinator

FreddyPlugin

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- FreddyPlugin routines --//
//-----------------------------------------------------------------//
// * procedure InitFreddyPlugin(WindowH: Hwnd); // * by Freddy1990
// * function ScanExactMinimapD(var x, y: Integer;
// color, tolerance: Integer):
// Boolean; // * by Freddy1990
// * function PartOfMM(x1, y1, x2, y2: Integer):
// Boolean; // * by Freddy1990
// * function ScanExactMMAreaD(var x, y: Integer;
// x1, y1, x2, y2, color, tolerance:
// Integer): Boolean; // * by Freddy1990
// * function FreddyPluginInfo: String; // * by Freddy1990
// * function FreddyPluginVersion: String; // * by Freddy1990
// * function OpenSCARBrowser: Boolean; // * by Freddy1990
// * function OpenSCSS: Boolean; // * by Freddy1990
// * procedure ChangeFPHandle(Handle: Hwnd); // * by Freddy1990

Path

// -------------------------------------------------------------------------- //
//-- Scar Standard Resource Library ------------ //
//-- » DDTM-Path Routines ------------ //
//--------------------------------------------------------------------------- //
// * Function SetPath(Number: Integer): Integer; //* by WT-Fakawi
// * Function WalkPath(ThePath: Integer): Boolean; //* by WT-Fakawi
// * Function FindPath(ThePath: Integer; Click:
// Boolean): Boolean; //* by WT-Fakawi
// * procedure PathRecorder(StartPath: Integer); //* by WT-Fakawi

trade

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- Trade Routines --//
//-----------------------------------------------------------------//
// * function GetTraderName:String // * By Masquerader
// * function AcceptTrade:boolean; // * By Masquerader
// * procedure Accept; // * By Masquerader
// * procedure Decline; // * By Masquerader
// * function Waiting:boolean; // * By Masquerader
// * function PlayerAccepted:boolean; // * By Masquerader
// * function CheckItem:boolean; // * By Masquerader
// * function TrimTradeName(TheString:
// String):String; // * By Wizzup?
// * function SomeoneTrades: Boolean; // * By Wizzup? and WT-Fakawi.
// * function HandleTrade: Boolean; // * By Wizzup?

Cooking

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- Cooking routines --//
//-----------------------------------------------------------------//
// * function FindRange(Var x, y : Integer;
// x1, y1, x2, y2 : Integer) : Boolean; // * by Squigglyo edited by Bebemycat2
// * procedure SetupCooking; // * by SRL Dev Team

Fighting

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- Fighting routines --//
//-----------------------------------------------------------------//
// * Function Damage:Integer; // * by WT-Fakawi
// * function FightNPC(Colors : TIntegerArray,
// tol, TimeOut: Integer): Boolean; // * by WT-Fakawi and Cazax
// * function InFight: Boolean; // * by XxKanexX
// * function IsFightAt(x, y: Integer): Boolean; // * by realrune

Firemaking

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- Firemaking routines --//
//-----------------------------------------------------------------//
// * procedure LoadFireMakingBitmaps; | by WT-Fakawi
// * function CantLightCheck; | by Dankness
// * procedure LightWait; | by Dankness
// * function WeHaveLogs(var WhereX, WhereY: Integer): Boolean;| by WT-Fakawi
// * function ThereIsFire(var WhereX,WhereY:integer):boolean; | by WT-Fakawi
// * function WeHaveLogs(var WhereX,WhereY:integer):boolean; | by WT-Fakawi

Fishing

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- Fishing routines --//
//-----------------------------------------------------------------//
// * function FindFishingEquipmentColor // * by Dankness and Wizzup
// * function FindFishingEquipment:boolean; // * by Stupid3ooo
// * Function FindWhirlPoolMS: Boolean; // * by Wizzup?
// * procedure HandleWhirlPool; // * by Dankness
// * procedure SetupFishing; // * by SRL Dev Team

Magic

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- Mage routines --//
//-----------------------------------------------------------------//

// * procedure SetUpAutoCast(AutoSpell:String;Style:String); // * by Wizzup?
// * procedure Cast(TheSpell:String); // * by Wizzup?, Flyboy, Cheesehunk, and Freddy1990
// * function CastSpell(SpellNumber: Integer): Boolean; // * by Spky
// * function CastOn(Spell, Monster: String; MonsterColor:
// Integer; Tolerance: Integer): Boolean; // * by Spky
// * function GetLumbridgeMins: Integer; // * by Wizzup?
// * procedure SetupMagic; // * by SRL Dev Team

Mining

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- Mining routines --//
//-----------------------------------------------------------------//
// * procedure DisplayWindow(xs, ys, xe, ye, WindowLength,
// WindowHeight: Integer); // * by ???
// * function GasCheck(gx, gy: integer): Boolean; // * by Piv
// * function FindGas(fx, fy: Integer): Boolean; // * by Stupid3ooo
// * function GasFound(gx, gy: Integer): Boolean; // * by RSN
// * function FindPickHeadColor: Boolean; // * by WT-Fakawi
// * function FindPick: Boolean; // * by WT-Fakawi
// * function CheckOre(OreX,OreY,RefColor,Tol:LongInt):Integer; // * by Wizzup? and n3ss3s
// * function OreColorCount(OreX,OreY,RefColor,Tol,MinCount:
// LongInt):Boolean; // * by Wizzup?
// * function FindObjOre(var cx, cy: Integer; Text: String; color,
// tolerance, Count: Integer): Boolean; // * by Stupid3ooo, modded by Wizzup?
// * procedure LoadMiningBitMaps; // * by Stupid3ooo
// * procedure SetupMining; // * by WT-Fakawi

Ranging

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- Ranging routines --//
//-----------------------------------------------------------------//
// * function ArrowAmount: Integer; // * by masquerader
// * function getarrowcolor: Boolean; // * by masquerader, fixed by Freddy1900
// * function findinvarrows(var arrowx, arrowy: Integer): Boolean;// * by masquerader
// * function invarrows: Integer; // * by masquerader
// * function EquipArrows: Boolean; // * Freddy1990
// * procedure SetupRanging; // * by SRL Dev Team

RuneCrafting

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- Runecrafting routines --//
//-----------------------------------------------------------------//
// * function EnterRCAlter : Boolean; // * by n3ss3s
// * procedure ClickPouch(Pouch, Option: String; Tol: Integer;); // * by Psychor and Wizzup?
// * function FindTalismanInInventory(TalismanName: String): Boolean; // * by Nielsie95
// * procedure ClickTalisman; // * by Pyro
// * procedure SetUpRuneCrafting; // * by Wizzup? and Bebemycat2

WoodCutting.

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- Woodcutting routines --//
//-----------------------------------------------------------------//
// * function FindAxe: Boolean; // * by Sumilion, edited by Rasta Magician
// * procedure FindBirdsNest; // * by Liquid and Starblaster100
// * function FindEnt(TreeColor: Integer): Boolean; // * by Sumilion
// * procedure SetupWoodcutting; // * SRL Dev Team

So, just add those to the first few lines of the include file, and it will look a lot better, and consistant through-out SRL. :)

Thanks fellow scripters for reading!

~ Harry

ShowerThoughts

2008-04-06 13:40:24


Hermpie:
I said to much good job today!

Hy71194:
Say bad job then:p


Bad JOB!!!

Hermpie ;)

Special Ed

2008-04-06 21:25:06

You… spent a lot of time on that! Good work! You deserve a cookie my friend.


Harry

2008-04-06 21:28:03

From: Special Ed
You… spent a lot of time on that! Good work! You deserve a cookie my friend.



Thank you ;)

*Licks lips.*

ZephyrsFury

2008-04-07 04:12:59

CurrentWorld gets the world from the friends gametab. GetCurrentWorld gets it from the login screen thus being in WorldSwitcher.scar. Sorry I should have named it better.

Harry

2008-04-08 15:57:40

From: ZephyrsFury
CurrentWorld gets the world from the friends gametab. GetCurrentWorld gets it from the login screen thus being in WorldSwitcher.scar. Sorry I should have named it better.


Ooow, I see. :) Thanks for explaining it.