Results 1 to 6 of 6

Thread: Oglib help

  1. #1
    Join Date
    Aug 2014
    Posts
    278
    Mentioned
    10 Post(s)
    Quoted
    113 Post(s)

    Default Oglib help

    i Can`t seem to run any oglib based scripts
    i always get a compilation error.
    (its a different line for every script)

    any help?
    i think obscurity told me something about viewport update
    which i have no idea what is/ how to update??.

    thanks for you help.

    trying to get back into the rs3 world. one step at a time

  2. #2
    Join Date
    Sep 2014
    Location
    C:\Simba\
    Posts
    565
    Mentioned
    9 Post(s)
    Quoted
    71 Post(s)

    Default

    https://github.com/ObscuritySRL/ogLib
    Press the "Download ZIP" button, delete the content of your old ogLib folder probably located in /Includes/
    extract this there, make sure it only extracts the files into the folder, not a folder inside of a folder.

    I am not sure whether or not this is actually your problem since I don't use ogLib, but I will gladly try to help you if it doesn't work.
    Feel free to ask me any questions, I will do my best to answer them!

    Previously known as YouPee.

  3. #3
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    1,252
    Mentioned
    1 Post(s)
    Quoted
    22 Post(s)

    Default

    Follow the instructions here and you can update ogLib as an extension just like you do with SPS etc.

    Not sure what script you are trying to run but any personal ones I use the main thing I had to update was:
    Simba Code:
    ogl.setup();
    had to be changed to:
    Simba Code:
    ogl.setup([800, 600], [0, 0, 576, 388]);
    for a script working with a fixed screen.

    Hope this has helped, otherwise if you could post the name of the script or at least the error being thrown that would be very helpful

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

  5. #5
    Join Date
    Aug 2014
    Posts
    278
    Mentioned
    10 Post(s)
    Quoted
    113 Post(s)

    Default

    i did what p1ng said. got a new compile error
    i think im just doing something wrong...
    its mostly ross` scripts

    Error: Unknown declaration "__graphics" at line 225
    Compiling failed. (Ross` Runespan)

    Error: Unknown declaration "__graphics" at line 128
    Compiling failed. (Ross` AIO WC) same error

    yup after i did what p1ng said thats the new compiling error
    i get.

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

    Default

    Quote Originally Posted by Cyanempire View Post
    i did what p1ng said. got a new compile error
    i think im just doing something wrong...
    its mostly ross` scripts

    Error: Unknown declaration "__graphics" at line 225
    Compiling failed. (Ross` Runespan)

    Error: Unknown declaration "__graphics" at line 128
    Compiling failed. (Ross` AIO WC) same error

    yup after i did what p1ng said thats the new compiling error
    i get.
    The script is out of date, you did not do anything wrong.

    Change "__graphics" to "graphics" in all instances.

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
  •