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.
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.
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
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.
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.
Last edited by Lama; 11-01-2015 at 09:02 PM.
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.
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
I'm having a problem, which I assume is from the lack of, when I try to use smartImage to paint an image, I'm getting the unknown declaration, but when I put inCode:{$DEFINE SMART}I get aCode:{$DEFINE SMART}What can I do for painting bitmaps onscreen if I can't use smartImage?Code:Error: Duplicate declaration "SmartGetClients" at line 1
^ Answered in PM.
All graphics methods are called via smart.graphics.someMethod(). These procedures can be found in graphics.simba.
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
@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!
Last edited by Lama; 11-02-2015 at 03:34 PM.
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...
@rkroxpunk;
Jagex has stated a number of times that NXT will use Open/WebGL. Things will change, yes, but we'll adapt.
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.
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!
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
Can someone help me? When using the SRL COMPATABILTY I'm getting an: Error: Unknown declaration "rightClickOption"
@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.
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
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.
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
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?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');
Error: Unknown declaration "pro_initSocket" at line 41
Compiling failed.
Getting that error with the ogLib-setup script.
There are currently 3 users browsing this thread. (0 members and 3 guests)