Page 8 of 10 FirstFirst ... 678910 LastLast
Results 176 to 200 of 229

Thread: ogLib

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

    Default

    Fixed an incorrect ID for the debilitate ability, it will now function correctly when used in procedures like actionbar.clickAbility().
    Besides that, make sure your ogLib has been updated, the prior update is very important.
    Last edited by Clarity; 10-26-2015 at 10:15 AM.

  2. #177
    Join Date
    Jun 2012
    Posts
    586
    Mentioned
    112 Post(s)
    Quoted
    296 Post(s)

    Default

    Added a basic ogLib-Setup.simba to the initial post. It will download GLX.dll, OpenGL32.dll, and ogLib. If any errors occur, it will revert.

    See here for more details.

    Code:
          .  ..
    .-..-.|  .|-.
    `-'`-|'-''`-'
       `-'
    
        Move: C:\Simba\Includes\ogLib
         -To: C:\Simba\Includes\ogLib-tmp
    
    Download: https://github.com/ObscuritySRL/ogLi...ive/master.zip
     -----To: C:\Simba\Includes\ogLib.zip.tmp
    
     Extract: C:\Simba\Includes\ogLib.zip.tmp
      ----To: C:\Simba\Includes\
    
        Move: C:\Simba\Includes\ogLib-master
         -To: C:\Simba\Includes\ogLib
    
        Move: C:\Simba\Plugins\GLX.dll
         -To: C:\Simba\Plugins\GLX.dll.tmp
    
    Download: https://github.com/Brandon-T/GLX/rel...ad/3.7/GLX.dll
     -----To: C:\Simba\Plugins\GLX.dll
    
        Move: C:\Simba\Plugins\OpenGL32.dll
         -To: C:\Simba\Plugins\OpenGL32.dll.tmp
    
    Download: https://github.com/Brandon-T/GLX/rel...7/OpenGL32.dll
     -----To: C:\Simba\Plugins\OpenGL32.dll
    
      Delete: C:\Simba\Includes\ogLib-tmp
    
      Delete: C:\Simba\Plugins\GLX.dll.tmp
    
      Delete: C:\Simba\Plugins\OpenGL32.dll.tmp
    
          .  ..
    .-..-.|  .|-.
    `-'`-|'-''`-'
       `-'
    Last edited by Obscurity; 10-31-2015 at 02:58 PM.




    Skype: obscuritySRL@outlook.com

  3. #178
    Join Date
    Feb 2013
    Location
    The Boonies
    Posts
    203
    Mentioned
    9 Post(s)
    Quoted
    70 Post(s)

    Default

    This thing is pretty awesome to be honest, I'm gonna try and work with it in a project asap. To clarify, it's meant to be completely separate from SRL, right? No merging of functionality needed to complete the same tasks?

    Might we be able to expect some form of 'official' documentation for ogLib at some point? Digging around in the include is fun and all, but...
    Last edited by Lama; 11-01-2015 at 08:21 PM.

  4. #179
    Join Date
    Jan 2012
    Location
    East Coast
    Posts
    733
    Mentioned
    81 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by Lama View Post
    This thing is pretty awesome to be honest, I'm gonna try and work with it in a project asap. To clarify, it's meant to be completely separate from SRL, right? No merging of functionality needed to complete the same tasks?
    Yes, although you can use them together and create some pretty spectacular stuff.

    Quote Originally Posted by Lama View Post
    Might we be able to expect some form of 'official' documentation for ogLib at some point? Digging around in the include is fun and all, but...
    Doubtful, you'll get used to the include the more you use it. There is already some pretty good documentation from within the include.

  5. #180
    Join Date
    Feb 2013
    Location
    The Boonies
    Posts
    203
    Mentioned
    9 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by Ross View Post
    Yes, although you can use them together and create some pretty spectacular stuff.
    How do I go about implementing both? If I try to include both, I get tons of errors.

    EDIT: Example:

    Simba Code:
    {$i ogLib\lib\core\core.simba}
    {$i srl-6/srl.simba}
    {$i srl-6/lib/misc/srlplayerform.simba}

    Code:
    Error: Duplicate declaration "TCountDown"
    Last edited by Lama; 11-01-2015 at 09:02 PM.

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

    Default

    Quote Originally Posted by Lama View Post
    How do I go about implementing both? If I try to include both, I get tons of errors.

    EDIT: Example:

    Simba Code:
    {$i ogLib\lib\core\core.simba}
    {$i srl-6/srl.simba}
    {$i srl-6/lib/misc/srlplayerform.simba}

    Code:
    Error: Duplicate declaration "TCountDown"
    Simba Code:
    {$DEFINE DARKSCAPE} //optional
    {$DEFINE SRLCOMPATIBILITY}
    {$I SRL-6/SRL.simba}
    {$i ogLib/lib/core/core.simba}

    Every update we add some documentation within the include, and the codehints/function list should be fully functional. Eventually when we aren't so busy we can get to official documentation via Sphinx or something.
    Last edited by Clarity; 11-01-2015 at 09:43 PM.

  7. #182
    Join Date
    Jun 2012
    Posts
    586
    Mentioned
    112 Post(s)
    Quoted
    296 Post(s)

    Default

    Clarity beat me.




    Skype: obscuritySRL@outlook.com

  8. #183
    Join Date
    Feb 2013
    Location
    The Boonies
    Posts
    203
    Mentioned
    9 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    Simba Code:
    {$DEFINE DARKSCAPE} //optional
    {$DEFINE SRLCOMPATIBILITY}
    {$I SRL-6/SRL.simba}
    {$i ogLib/lib/core/core.simba}

    Every update we add some documentation within the include, and the codehints/function list should be fully functional. Eventually when we aren't so busy we can get to official documentation via Sphinx or something.
    Ah perfect, thank you. What does {$DEFINE DARKSCAPE} do?

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

  10. #185
    Join Date
    Feb 2013
    Location
    The Boonies
    Posts
    203
    Mentioned
    9 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    It changes whether SMART loads RS3 or DarkScape. ogLib fully functions with both games.
    I'm having a problem, which I assume is from the lack of
    Code:
    {$DEFINE SMART}
    , when I try to use smartImage to paint an image, I'm getting the unknown declaration, but when I put in
    Code:
    {$DEFINE SMART}
    I get a
    Code:
    Error: Duplicate declaration "SmartGetClients" at line 1
    What can I do for painting bitmaps onscreen if I can't use smartImage?

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

  12. #187
    Join Date
    Jun 2012
    Posts
    586
    Mentioned
    112 Post(s)
    Quoted
    296 Post(s)

    Default

    @Lama;

    Also, look into eZForm. Apart from drawing model/texture positions on screen, it pretty much removes all need for paints. Especially since it can automatically DL and add/change images in one line. :-).

    Link to the thread and the include are in my siggy!




    Skype: obscuritySRL@outlook.com

  13. #188
    Join Date
    Feb 2013
    Location
    The Boonies
    Posts
    203
    Mentioned
    9 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by Obscurity View Post
    @Lama;

    Also, look into eZForm. Apart from drawing model/texture positions on screen, it pretty much removes all need for paints. Especially since it can automatically DL and add/change images in one line. :-).

    Link to the thread and the include are in my siggy!
    Yeah I've done some rudimentary messing around with it, but I need to do more! It looks pretty interesting, gotta find the parallels with what I know with SPF though before I really lock it down.

    EDIT: and of course the painting stuff. Mmmmmm.
    Last edited by Lama; 11-02-2015 at 03:34 PM.

  14. #189
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    I have just a general question I hope it's OK I put it in here!
    With the C++ client on it's way it would appear that Java's days are numbered in terms of its involvement with Runescape. Obviously SRL being a colour detection bot will be fine but I'm curious will this plug-in become redundant with a client that is not built in java?
    Sleeping...

  15. #190
    Join Date
    Jun 2012
    Posts
    586
    Mentioned
    112 Post(s)
    Quoted
    296 Post(s)

    Default

    @rkroxpunk;
    Jagex has stated a number of times that NXT will use Open/WebGL. Things will change, yes, but we'll adapt.




    Skype: obscuritySRL@outlook.com

  16. #191
    Join Date
    Jun 2012
    Posts
    586
    Mentioned
    112 Post(s)
    Quoted
    296 Post(s)

    Default

    ogLib.sex



    My first time writing a Simba extension, so forgive me. However, I put together a quick ogLib updater. You can find it here.



    A few notes:

    It being my first extension, I don't expect it to work too well. It took a bit of getting used to but I don't think it's that bad.

    Updates can take a while. Upwards of a minute. This is because unlike how SRL grabs a single compressed file and extracts - I couldn't and therefore had to do it one file at a time. Don't worry though, as this will change soon.




    Skype: obscuritySRL@outlook.com

  17. #192
    Join Date
    Jan 2012
    Location
    East Coast
    Posts
    733
    Mentioned
    81 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by Obscurity View Post
    ogLib.sex



    My first time writing a Simba extension, so forgive me. However, I put together a quick ogLib updater. You can find it here.



    A few notes:

    It being my first extension, I don't expect it to work too well. It took a bit of getting used to but I don't think it's that bad.

    Updates can take a while. Upwards of a minute. This is because unlike how SRL grabs a single compressed file and extracts - I couldn't and therefore had to do it one file at a time. Don't worry though, as this will change soon.
    Awesome! This is going to make updating SO much easier. Nice work, +rep

  18. #193
    Join Date
    Feb 2013
    Location
    The Boonies
    Posts
    203
    Mentioned
    9 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by Obscurity View Post
    ogLib.sex



    My first time writing a Simba extension, so forgive me. However, I put together a quick ogLib updater. You can find it here.



    A few notes:

    It being my first extension, I don't expect it to work too well. It took a bit of getting used to but I don't think it's that bad.

    Updates can take a while. Upwards of a minute. This is because unlike how SRL grabs a single compressed file and extracts - I couldn't and therefore had to do it one file at a time. Don't worry though, as this will change soon.
    Hey that's pretty cool, works!

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

    Default

    After a lot of requests, I have sat down to fully finish documentation, which will be both present in the includes and displayed at docs.oglib.org (currently offline until finished).

    Hopefully this will make things a lot easier for newcomers. Stay tuned!

  20. #195
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Can someone help me? When using the SRL COMPATABILTY I'm getting an: Error: Unknown declaration "rightClickOption"

  21. #196
    Join Date
    Jun 2012
    Posts
    586
    Mentioned
    112 Post(s)
    Quoted
    296 Post(s)

    Default

    @Ross; is the expert in that department, but I think if you're also using SRL, if you want to use OGLs functions, they require using tMouse.rightClickOption(). Might be the other way around.




    Skype: obscuritySRL@outlook.com

  22. #197
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by Obscurity View Post
    ogLib.sex



    My first time writing a Simba extension, so forgive me. However, I put together a quick ogLib updater. You can find it here.



    A few notes:

    It being my first extension, I don't expect it to work too well. It took a bit of getting used to but I don't think it's that bad.

    Updates can take a while. Upwards of a minute. This is because unlike how SRL grabs a single compressed file and extracts - I couldn't and therefore had to do it one file at a time. Don't worry though, as this will change soon.
    Hey, this is really cool. I might clone it later and try to learn how extensions work...

    Simba Code:
    inc(reputation('Obscurity'));
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  23. #198
    Join Date
    Dec 2011
    Posts
    445
    Mentioned
    26 Post(s)
    Quoted
    256 Post(s)

    Default

    Quick request, can we go back to having a global SmartUserAgent variable? I like having consistent UserAgents for specific accounts.

    I hate having to go back into smart.simba and manually add the string there, and each time ogLib is updated I have to do it again.

    EDIT: Also, smartShowConsole?

    EDIT2: SRL-6 no longer seems to work, Colour Capture is being disabled.

  24. #199
    Join Date
    Nov 2015
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I have a script with a slow memory leak (hours of usage). I gave up on locating it and tried to allocate more memory to smart.

    I added a -Xmx2g to
    self.target:=smartSpawnClient(self.getJavaPath(),r eplace(pluginPath,'\','/',[0]),funcParams[0],','+funcParams[1],funcWidth,funcHeight,'',self.getUserAgent(),'-XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=30','OpenGL32.dll');
    and it caused none of my scripts to work properly. Is there some weird interaction that ogLib processing is bound to the SMART's GC cycle?

  25. #200
    Join Date
    Dec 2011
    Location
    New York
    Posts
    119
    Mentioned
    5 Post(s)
    Quoted
    40 Post(s)

    Default

    Error: Unknown declaration "pro_initSocket" at line 41
    Compiling failed.

    Getting that error with the ogLib-setup script.

Page 8 of 10 FirstFirst ... 678910 LastLast

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
  •