SRL Archive - SRL Archives

SRL Revision #14.


Wizzup?

2008-02-21 17:29:37

SRL Revision #14.
There has been another cleanup and a lot of bugfixes.
There is a new Bitmaps.scar, which contains a lot bitmaps that you can easily use and will be updated when they become obsolete or broken.
The 'gametab-fix' has been applied.

Removed functions:
  • function SendText2
  • procedure SendText
  • function IsUpTextMulti
  • function ClickNpcChatText
  • function FindInventoryText
  • function hitkeys
  • function GetUpTextColor
  • function GetNewChatMsg
  • procedure MouseFindFlag
  • procedure MouseFindNoFlag
  • function HumanCircleFlag
  • function HpPercent HPPercentEx has been renamed to HPPercent
  • function GetHp
  • function NormDist
  • function FindObjTPA, FindObjTPAMulti is renamed to FindObjTPA

Adjusted functions:
  • function FindNPCChatText
  • procedure TypeSend
  • function ClickText
  • function CheckOre

File adjustments:
  • Bitmap.scar, Color.scar and DTM.scar are combined into Color.scar.
  • Bitmaps.scar is added.
  • The old Bitmap folder got removed.
  • ItemList.scar, Loading.scar, MiscellaneousColorFinder.scar, MusicLocation.scar, VarrockWestColorFinder.scar and Wilderness.scar all are removed.

We understand that a lot of scripts need updating after this cleanup. Please have patience and wait for the scripting to adjust their scripts or adjust yourself. Do not make a thread requesting someone to adjust it for you!


Some easy adjustments you can do yourself:

ClickNpcChatText('hello', True) –> FindNPCChatText('Hello', ClickLeft);
ClickNpcChatText('hello', False) –> FindNPCChatText('Hello', ClickRight);

MouseFindFlag(x, y, 1, 1) –> MFF(x, y, 1, 1)
MouseFindNoFlag(x, y, 1, 1) –> MFNF(x, y, 1, 1)

s := GetNewChatMsg –> if (not (GetLastChatText(s))) then LastChatter(s);

tarajunky

2008-02-21 18:24:41

IsUpTextMulti('blah','blah','blah') –> IsUpTextMultiCustom(['blah','blah','blah'])