Results 1 to 6 of 6

Thread: cLib

  1. #1
    Join Date
    May 2006
    Location
    Belgium
    Posts
    36
    Mentioned
    10 Post(s)
    Quoted
    10 Post(s)

    Default cLib

    What is it?

    cLib is an include with functions that I personally use often in my ogLib-based scripts. As such, this include is completely useless if you're not using ogLib. You can read more about and download ogLib here: https://villavu.com/forum/showthread.php?t=112599

    You can see what cLib has to offer on GitHub and you are of course more than welcome to help out in developing it further.

    Installation

    There are two ways to install the library and both are pretty straightforward.

    Using ChaosUpdater

    1. Download the ChaosUpdater script at the bottom of the post or from GitHub.
    2. Run the script


    Manually

    1. Download the library at the bottom of the post (probably outdated) or from GitHub.
    2. Put it in the Includes folder of your Simba installation.


    Using cLib

    You can use cLib by including it like any other include. The include already includes ogLib/lib/core/core.simba so you don't have to anymore.

    Simba Code:
    {$i cLib.simba}

    Once you are using cLib you don't have to worry about updating it. cLib will check for updates everytime you use it and it will keep itself at the latest version.

    Known bugs

    None

    Todo

    • Documentation


    Changelog

    Credits

    • Obscurity - For his work on ogLib.
    • Clarity - For his work on ogLib.
    • Bly - For his idea of the player.getId() function.
    • Justin - For letting me know about a HTTP proxy service.
    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

  3. #3
    Join Date
    Jun 2014
    Posts
    463
    Mentioned
    27 Post(s)
    Quoted
    229 Post(s)

    Default

    Nice job, but would of been better to message @Obscurity or @Clarity to have them add these functions somewhere in the include so users of OGL don't have to download two packages. Good work on the functions though!
    Tsunami

  4. #4
    Join Date
    May 2006
    Location
    Belgium
    Posts
    36
    Mentioned
    10 Post(s)
    Quoted
    10 Post(s)

    Default

    I just made a pull request for some of the functions to be merged into ogLib. I was planning to do so earlier but I wanted to test them a bit first. Not all of them are currently working the way I want them to so I'll continue using this library as my testing area before doing PR's to ogLib.

  5. #5
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    @Chaos-Energy, your tLogin.logout() function doesn't work in F2P because of the ID being shared with the subscribe button; I just thought you'd like to know.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  6. #6
    Join Date
    May 2006
    Location
    Belgium
    Posts
    36
    Mentioned
    10 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by Incurable View Post
    @Chaos-Energy, your tLogin.logout() function doesn't work in F2P because of the ID being shared with the subscribe button; I just thought you'd like to know.
    Aha, so that's why someone said it opened the membership thing for them.

    Thanks for letting me know, I'll fix it soon.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •