This is a small library I quickly cooked up to allow developers to use the functions and other methods that SytheClient uses to achieve its tasks. Included you'll find a few methods to help with parsing, string management, IO tasks and of course, plenty of methods related to Runescape application development.
The main goal of this library is to allow people who are just learning to program to be able to create plugins for SytheClient. If you have any questions related to the library or SytheClient itself, feel free to PM me or Flaming Idiots, another dev working on the project.
Compatible languages:
Click here
SCLib supports all common languages that use the .net framework, such as:
Visual Basic.net
Delphi.net
C#
F#
J#
C++.net
Python.net
(For a full list see the link above)
Download: http://uppit.com/16car9go2e2e/SCLib.dll
Documentation:
Class: SCLib.General
Method type: Sub/void
Returns: N/A
Instruction: Shows SCLib splash box
Class: SCLib.General
Method type: Sub/void
Returns: N/A
Instruction: Zooms in/out on an image based on ZoomFactor (< 1 is zoom out, > 1 is zoom in)
Class: SCLib.General
Method type: Sub/void
Returns: N/A
Instruction: Waits/pauses without freezing
Class: SCLib.General
Method type: Function
Returns: Application startup path
Instruction: N/A
Class: SCLib.IO
Method type: Function
Returns: Boolean
Instruction: True if the folder exists, false if it doesn't
Class: SCLib.IO
Method type: Sub/void
Returns: N/A
Instruction: Lists all the files of a path with a certain extension (e.g. "*.dll") in a list-type control
Class: SCLib.IO
Method type: Sub/void
Returns: N/A
Instruction: Saves contents of a list-type control in the specified path
Class: SCLib.IO
Method type: Sub/void
Returns: N/A
Instruction: Opens content of file at specified path and loads it into a list-type control
Class: SCLib.IO
Method type: Function
Returns: Contents of file at specified path
Instruction: N/A
Class: SCLib.IO
Method type: Sub/void
Returns: N/A
Instruction: Saves string from a source to a path
Class: SCLib.IO
Method type: Sub/void
Returns: N/A
Instruction: Takes a picture of a control and saves it at the specified path
Class: SCLib.Math
Method type: Function
Returns: Boolean
Instruction: True if it is a decimal, false if not
Class: SCLib.Math
Method type: Function
Returns: Random integer between MinNumber and MaxNumber
Instruction: N/A
Class: SCLib.Math
Method type: Function
Returns: Negative of specified number
Instruction: N/A
Class: SCLib.Math
Method type: Function
Returns: Decimal rounded down, regardless of size of decimals
Instruction: N/A
Class: SCLib.Runescape
Method type: Sub/void
Returns: N/A
Instruction: Types specified text like a human with "pause" in milliseconds between each letter, enter as false does not push enter after the message, true does
Class: SCLib.Runescape
Method type: Function
Returns: Amount of experience at specified level
Instruction: N/A
Class: SCLib.Runescape
Method type: Function
Returns: Maximum melee hit given things above
Instruction: N/A
Class: SCLib.Runescape
Method type: Function
Returns: Combat level
Instruction: N/A
Class: SCLib.Runescape
Method type: Function
Returns: Total people playing Runescape
Instruction: N/A
Class: SCLib.Runescape
Method type: Function
Returns: Most recent RS news article exerpt
Instruction: N/A
Class: SCLib.Runescape
Method type: Function
Returns: Current X of the mouse
Instruction: N/A
Class: SCLib.Runescape
Method type: Function
Returns: Current Y of the mouse
Instruction: N/A
Class: SCLib.Runescape
Method type: Function
Returns: Point
Instruction: Combination of both GetCurrentX() and GetCurrentY()
Class: SCLib.Runescape
Method type: Sub/void
Returns: N/A
Instruction: Left clicks
Class: SCLib.Runescape
Method type: Sub/void
Returns: N/A
Instruction: Presses left mouse button down
Class: SCLib.Runescape
Method type: Sub/void
Returns: N/A
Instruction: Releases left mouse button
Class: SCLib.Runescape
Method type: Sub/void
Returns: N/A
Instruction: Clicks middle (R3)
Class: SCLib.Runescape
Method type: Sub/void
Returns: N/A
Instruction: Presses middle mouse button down
Class: SCLib.Runescape
Method type: Sub/void
Returns: N/A
Instruction: Releases middle mouse button
Class: SCLib.Runescape
Method type: Sub/void
Returns: N/A
Instruction: Right clicks
Class: SCLib.Runescape
Method type: Sub/void
Returns: N/A
Instruction: Presses right mouse button down
Class: SCLib.Runescape
Method type: Sub/void
Returns: N/A
Instruction: Releases right mouse button
Class: SCLib.Runescape
Method type: Sub/void
Returns: N/A
Instruction: Sets the mouse's position at specified X, Y coordinate
Class: SCLib.WebParsing
Method type: Function
Returns: Current IP address
Instruction: N/A
Class: SCLib.WebParsing
Method type: Function
Returns: Bitmap from specified URL
Instruction: N/A
Class: SCLib.WebParsing
Method type: Function
Returns: Specified URL's page source code
Instruction: N/A
Class: SCLib.WebParsing
Method type: Function
Returns: String between Start and End in Source, from StartPosition onward
Instruction: N/A
Class: SCLib.WebParsing
Method type: Function
Returns: String array
Instruction: Gets between all items of Source that begin with Start and finish in End; array-based version of SCLib.WebParsing.GetBetween
The main goal of this library is to allow people who are just learning to program to be able to create plugins for SytheClient. If you have any questions related to the library or SytheClient itself, feel free to PM me or Flaming Idiots, another dev working on the project.
Compatible languages:
Click here
SCLib supports all common languages that use the .net framework, such as:
Visual Basic.net
Delphi.net
C#
F#
J#
C++.net
Python.net
(For a full list see the link above)
Download: http://uppit.com/16car9go2e2e/SCLib.dll
Documentation:
Code:
Splash()
Method type: Sub/void
Returns: N/A
Instruction: Shows SCLib splash box
Code:
ZoomImage(Image, ZoomFactor)
Method type: Sub/void
Returns: N/A
Instruction: Zooms in/out on an image based on ZoomFactor (< 1 is zoom out, > 1 is zoom in)
Code:
Wait(Milliseconds)
Method type: Sub/void
Returns: N/A
Instruction: Waits/pauses without freezing
Code:
App_Path()
Method type: Function
Returns: Application startup path
Instruction: N/A
Code:
FolderExists(Path)
Method type: Function
Returns: Boolean
Instruction: True if the folder exists, false if it doesn't
Code:
ListFiles(ListObject, Path, FileExtension)
Method type: Sub/void
Returns: N/A
Instruction: Lists all the files of a path with a certain extension (e.g. "*.dll") in a list-type control
Code:
SaveList(ListObject, Path)
Method type: Sub/void
Returns: N/A
Instruction: Saves contents of a list-type control in the specified path
Code:
OpenList(ListObject, Path)
Method type: Sub/void
Returns: N/A
Instruction: Opens content of file at specified path and loads it into a list-type control
Code:
OpenString(Path)
Method type: Function
Returns: Contents of file at specified path
Instruction: N/A
Code:
SaveString(Path, Source)
Method type: Sub/void
Returns: N/A
Instruction: Saves string from a source to a path
Code:
ObjShotToPath(Control, Path)
Method type: Sub/void
Returns: N/A
Instruction: Takes a picture of a control and saves it at the specified path
Code:
IsDecimal(Number)
Method type: Function
Returns: Boolean
Instruction: True if it is a decimal, false if not
Code:
RandomNumber(MaxNumber, MinNumber)
Method type: Function
Returns: Random integer between MinNumber and MaxNumber
Instruction: N/A
Code:
MakeNegative(Number)
Method type: Function
Returns: Negative of specified number
Instruction: N/A
Code:
RoundDown(Decimal)
Method type: Function
Returns: Decimal rounded down, regardless of size of decimals
Instruction: N/A
Code:
SmartType(Text, Pause, Enter)
Method type: Sub/void
Returns: N/A
Instruction: Types specified text like a human with "pause" in milliseconds between each letter, enter as false does not push enter after the message, true does
Code:
GenerateExpDB(Level)
Method type: Function
Returns: Amount of experience at specified level
Instruction: N/A
Code:
MaxHitMelee(StrengthLevel, StrengthBonus, SpecialBonus, PotionBonus, PrayerBonus, OtherBonuse, StyleBonus)
Method type: Function
Returns: Maximum melee hit given things above
Instruction: N/A
Code:
CalculateCombat(atk, def, str, hp, ranged, magic, summoning, prayer)
Method type: Function
Returns: Combat level
Instruction: N/A
Code:
GetTotalPeople()
Method type: Function
Returns: Total people playing Runescape
Instruction: N/A
Code:
GetRSNews()
Method type: Function
Returns: Most recent RS news article exerpt
Instruction: N/A
Code:
GetCurrentX()
Method type: Function
Returns: Current X of the mouse
Instruction: N/A
Code:
GetCurrentY()
Method type: Function
Returns: Current Y of the mouse
Instruction: N/A
Code:
GetMousePos()
Method type: Function
Returns: Point
Instruction: Combination of both GetCurrentX() and GetCurrentY()
Code:
LeftClick()
Method type: Sub/void
Returns: N/A
Instruction: Left clicks
Code:
LeftDown()
Method type: Sub/void
Returns: N/A
Instruction: Presses left mouse button down
Code:
LeftUp()
Method type: Sub/void
Returns: N/A
Instruction: Releases left mouse button
Code:
MiddleClick()
Method type: Sub/void
Returns: N/A
Instruction: Clicks middle (R3)
Code:
MiddleDown()
Method type: Sub/void
Returns: N/A
Instruction: Presses middle mouse button down
Code:
MiddleUp()
Method type: Sub/void
Returns: N/A
Instruction: Releases middle mouse button
Code:
RightClick()
Method type: Sub/void
Returns: N/A
Instruction: Right clicks
Code:
RightDown()
Method type: Sub/void
Returns: N/A
Instruction: Presses right mouse button down
Code:
RightUp()
Method type: Sub/void
Returns: N/A
Instruction: Releases right mouse button
Code:
MoveMouse(X, Y)
Method type: Sub/void
Returns: N/A
Instruction: Sets the mouse's position at specified X, Y coordinate
Code:
GetIP()
Method type: Function
Returns: Current IP address
Instruction: N/A
Code:
DownloadImage(URL)
Method type: Function
Returns: Bitmap from specified URL
Instruction: N/A
Code:
DownloadWebSource(URL)
Method type: Function
Returns: Specified URL's page source code
Instruction: N/A
Code:
GetBetween(Source, Start, End, StartPosition)
Method type: Function
Returns: String between Start and End in Source, from StartPosition onward
Instruction: N/A
Code:
GetBetweenAll(Source, Start, End)
Method type: Function
Returns: String array
Instruction: Gets between all items of Source that begin with Start and finish in End; array-based version of SCLib.WebParsing.GetBetween














