SCLib - SytheClient's functions in a handy DLL

Discussion in 'Programming General' started by Blupig, Jul 30, 2010.

SCLib - SytheClient's functions in a handy DLL
  1. Unread #1 - Jul 30, 2010 at 7:54 PM
  2. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    SCLib - SytheClient's functions in a handy DLL

    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:
    Code:
    Splash()
    Class: SCLib.General
    Method type: Sub/void
    Returns: N/A
    Instruction: Shows SCLib splash box

    Code:
    ZoomImage(Image, ZoomFactor)
    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)

    Code:
    Wait(Milliseconds)
    Class: SCLib.General
    Method type: Sub/void
    Returns: N/A
    Instruction: Waits/pauses without freezing

    Code:
    App_Path()
    Class: SCLib.General
    Method type: Function
    Returns: Application startup path
    Instruction: N/A

    Code:
    FolderExists(Path)
    Class: SCLib.IO
    Method type: Function
    Returns: Boolean
    Instruction: True if the folder exists, false if it doesn't

    Code:
    ListFiles(ListObject, Path, FileExtension)
    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

    Code:
    SaveList(ListObject, Path)
    Class: SCLib.IO
    Method type: Sub/void
    Returns: N/A
    Instruction: Saves contents of a list-type control in the specified path

    Code:
    OpenList(ListObject, 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

    Code:
    OpenString(Path)
    Class: SCLib.IO
    Method type: Function
    Returns: Contents of file at specified path
    Instruction: N/A

    Code:
    SaveString(Path, Source)
    Class: SCLib.IO
    Method type: Sub/void
    Returns: N/A
    Instruction: Saves string from a source to a path

    Code:
    ObjShotToPath(Control, 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

    Code:
    IsDecimal(Number)
    Class: SCLib.Math
    Method type: Function
    Returns: Boolean
    Instruction: True if it is a decimal, false if not

    Code:
    RandomNumber(MaxNumber, MinNumber)
    Class: SCLib.Math
    Method type: Function
    Returns: Random integer between MinNumber and MaxNumber
    Instruction: N/A

    Code:
    MakeNegative(Number)
    Class: SCLib.Math
    Method type: Function
    Returns: Negative of specified number
    Instruction: N/A

    Code:
    RoundDown(Decimal)
    Class: SCLib.Math
    Method type: Function
    Returns: Decimal rounded down, regardless of size of decimals
    Instruction: N/A

    Code:
    SmartType(Text, Pause, Enter)
    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

    Code:
    GenerateExpDB(Level)
    Class: SCLib.Runescape
    Method type: Function
    Returns: Amount of experience at specified level
    Instruction: N/A

    Code:
    MaxHitMelee(StrengthLevel, StrengthBonus, SpecialBonus, PotionBonus, PrayerBonus, OtherBonuse, StyleBonus)
    Class: SCLib.Runescape
    Method type: Function
    Returns: Maximum melee hit given things above
    Instruction: N/A

    Code:
    CalculateCombat(atk, def, str, hp, ranged, magic, summoning, prayer)
    Class: SCLib.Runescape
    Method type: Function
    Returns: Combat level
    Instruction: N/A

    Code:
    GetTotalPeople()
    Class: SCLib.Runescape
    Method type: Function
    Returns: Total people playing Runescape
    Instruction: N/A

    Code:
    GetRSNews()
    Class: SCLib.Runescape
    Method type: Function
    Returns: Most recent RS news article exerpt
    Instruction: N/A

    Code:
    GetCurrentX()
    Class: SCLib.Runescape
    Method type: Function
    Returns: Current X of the mouse
    Instruction: N/A

    Code:
    GetCurrentY()
    Class: SCLib.Runescape
    Method type: Function
    Returns: Current Y of the mouse
    Instruction: N/A

    Code:
    GetMousePos()
    Class: SCLib.Runescape
    Method type: Function
    Returns: Point
    Instruction: Combination of both GetCurrentX() and GetCurrentY()

    Code:
    LeftClick()
    Class: SCLib.Runescape
    Method type: Sub/void
    Returns: N/A
    Instruction: Left clicks

    Code:
    LeftDown()
    Class: SCLib.Runescape
    Method type: Sub/void
    Returns: N/A
    Instruction: Presses left mouse button down

    Code:
    LeftUp()
    Class: SCLib.Runescape
    Method type: Sub/void
    Returns: N/A
    Instruction: Releases left mouse button

    Code:
    MiddleClick()
    Class: SCLib.Runescape
    Method type: Sub/void
    Returns: N/A
    Instruction: Clicks middle (R3)

    Code:
    MiddleDown()
    Class: SCLib.Runescape
    Method type: Sub/void
    Returns: N/A
    Instruction: Presses middle mouse button down

    Code:
    MiddleUp()
    Class: SCLib.Runescape
    Method type: Sub/void
    Returns: N/A
    Instruction: Releases middle mouse button

    Code:
    RightClick()
    Class: SCLib.Runescape
    Method type: Sub/void
    Returns: N/A
    Instruction: Right clicks

    Code:
    RightDown()
    Class: SCLib.Runescape
    Method type: Sub/void
    Returns: N/A
    Instruction: Presses right mouse button down

    Code:
    RightUp()
    Class: SCLib.Runescape
    Method type: Sub/void
    Returns: N/A
    Instruction: Releases right mouse button

    Code:
    MoveMouse(X, Y)
    Class: SCLib.Runescape
    Method type: Sub/void
    Returns: N/A
    Instruction: Sets the mouse's position at specified X, Y coordinate

    Code:
    GetIP()
    Class: SCLib.WebParsing
    Method type: Function
    Returns: Current IP address
    Instruction: N/A

    Code:
    DownloadImage(URL)
    Class: SCLib.WebParsing
    Method type: Function
    Returns: Bitmap from specified URL
    Instruction: N/A

    Code:
    DownloadWebSource(URL)
    Class: SCLib.WebParsing
    Method type: Function
    Returns: Specified URL's page source code
    Instruction: N/A

    Code:
    GetBetween(Source, Start, End, StartPosition)
    Class: SCLib.WebParsing
    Method type: Function
    Returns: String between Start and End in Source, from StartPosition onward
    Instruction: N/A

    Code:
    GetBetweenAll(Source, Start, End)
    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
     
< ei | Web Crawler - Help! >

Users viewing this thread
1 guest


 
 
Adblock breaks this site