PDA

View Full Version : [Minigame] [ogLib] oglCastleWars



Obscurity
07-29-2015, 02:47 AM
oglCastleWars
By Obscurity



Introduction



The oglCastleWars script is targetted to players looking to get their completionist capes or Thaler.

Once in-game, the script will randomly choose an AFK location, be it by climbing the ladder or exiting the doors. Outside of the respawn room, it'll simply keep you logged in. It'll do this by walking you around every so often, and rotating the camera.

If you enter the lobby while a game is already in session, it'll join when prompted.


Requirements



GLX - Simba/Plugins/...



GLX.dll (https://github.com/Brandon-T/GLX/releases/download/3.7/GLX.dll)
OpenGL32.dll (https://github.com/Brandon-T/GLX/releases/download/3.7/OpenGL32.dll)


ogLib - Simba/Includes/...



ogLib-master.zip (https://github.com/ObscuritySRL/ogLib/archive/master.zip)


Setup



Setup for oglCastleWars is simple. Take the following screenshot:
http://puu.sh/jgTiN/c51b277a1e.jpg

You have no need for you inventory or other interfaces. However, I recommend including one or a few interfaces just to be unique. Don't make them cover a large portion of the screen.

Most importantly, take breaks.

Bug: For now, having the in-game clock disabled is causing glModelArray.getVisible() to fail. For that reason, your in-game clock must be shown.


Progress Reports



To come!




July 28, 2015:


26524


August 31, 2015:


26678

Obscurity
07-29-2015, 03:27 AM
Sorry for those who downloaded it already - you'll notice you got stuck at the results screen.

I've fixed/updated it in the original post. :). Should be working correctly now.

Clutch
07-29-2015, 03:31 AM
Sorry for those who downloaded it already - you'll notice you got stuck at the results screen.

I've fixed/updated it in the original post. :). Should be working correctly now.
Sweet will check it out tomorrow, 1 hour away from hitting 99 construction :D!

Edit: Still have to check out your livid farm script as well.

Taric
07-29-2015, 03:57 AM
trips get in here. He made that thing that you wanted.

Congrats on the release senpai. Now get back to work on ogLib you slacker!

Threshold
08-03-2015, 10:51 PM
Not gonna lie, this is very tempting considering it's the only trim req I actually would hate having to do.

Just the sheer amount of time needed though still :c

Obscurity
08-04-2015, 01:08 AM
I figured people would use it for Thaler while it's in the spotlight.

wingerfinger
08-04-2015, 04:21 AM
been using it :D gj on script
some problems i have is when i die my character wont exit the portal and will just stay there
don't know if that's suppose to happen or if i'm suppose to walk out by turning off smart

edit: it might of been because the my clock was disabled, sorry !

Chaos-Energy
08-04-2015, 02:27 PM
The catapult can also be destroyed so regex to check if you're in game should be:


(?i).*(?i)Health:? \d+% (Un)?Locked ((Cleared|Collapsed) )+(Destroyed|Damaged|Operational).*

Other than that it works great.

EDIT: Also add Destroyed to the respawn room check of course.

trips
08-10-2015, 05:47 AM
trips get in here. He made that thing that you wanted.

Congrats on the release senpai. Now get back to work on ogLib you slacker!

Cheers bud, thanks for letting me know. :)

Also, great release Obscurity. Really appreciate this!

Obscurity
08-10-2015, 10:17 AM
The catapult can also be destroyed so regex to check if you're in game should be:


(?i).*(?i)Health:? \d+% (Un)?Locked ((Cleared|Collapsed) )+(Destroyed|Damaged|Operational).*

Other than that it works great.

EDIT: Also add Destroyed to the respawn room check of course.
Will change next time I'm home. I was just going by the official RS Wiki

trips
08-10-2015, 05:43 PM
Will change next time I'm home. I was just going by the official RS Wiki

Dunno what I did or am doing wrong. I can't notice anything wrong with my setup/client. But when I start it while in the CastleWars lobby it doesn't do anything. It doesn't error or stop the script, it's just not doing anything at all. Am I not suppose to start the script while logged in?

drew3170
09-01-2015, 12:40 AM
Is this working atm?

Obscurity
09-01-2015, 12:57 AM
drew3170; Easy way to find out.
Chaos-Energy; Added your changes. I've only been able to access my home PC through TeamViewer on my phone the few minutes I manage to get on WiFi, so I can't test. If someone could try it out, that'd be great.

kiwikiwi
09-01-2015, 03:24 AM
Congrats on the release. Now I need to find a VPS that supports OpenGl!

drew3170
09-01-2015, 05:05 AM
Ok so after every game I have to manually go back to the lobby or is it supposed to do it for me? I tried it and so far it will not go back to the lobby after the game is over. And yes i do have timer on and have the interface setup like your's in the post.

Ecer
09-14-2015, 11:58 PM
Wooo I might try this out later, will provide some feedback.

crazykid
01-17-2016, 03:30 AM
Was looking for one of these! Thanks obscurity, you're just freakin awesome :D

trinitrotoluene
05-21-2016, 10:47 PM
Thanks so much now i wont have to spend hours of my life afking for my comp....

Rogue Sniper
09-14-2016, 08:26 PM
does this use smart client or do i need to start a client and drag simba to it?

GetHyper
09-15-2016, 08:44 AM
does this use smart client or do i need to start a client and drag simba to it?

Afaik - You can use oglib through smart, just change in game settings.