Commit Graph

343 Commits

Author SHA1 Message Date
trimbe
257bf18742 api: add method to play sound effects while volume is muted 2019-06-24 20:43:35 -04:00
WooxSolo
45766fd65e Add sounds to devtools 2019-06-24 15:55:11 -04:00
Adam
438fbc9b0d api: rename unknownSoundValues1 -> queuedSoundEffectLoops 2019-06-24 15:44:27 -04:00
Hydrox6
381ffdabf6 api: remove unneeded Health Bar Override code 2019-06-18 23:38:10 +01:00
Hydrox6
940a404ec6 api: implement resetHealthBarCaches and getHealthBarFrontSpriteId
Remove getHealthBarCache
2019-06-18 23:38:05 +01:00
Adam
59886b084a mixins: fix duplicate spawn events for large gameobjects 2019-06-06 09:56:03 -04:00
Adam
57f60a36e4 api: modify Widget.getWidgetItem to return widget items when no item exists
This allows plugins to get the canvas bounds of where items would be if
they existed. Update existing usages to account for the new behavior.
2019-06-03 20:23:27 -04:00
Ron Young
373fba0b5a mixins: correct widget item bounds location for if1 2019-06-02 19:59:05 -04:00
Adam
417e48fc7e mixins: fix game object events to not fire for actors, projectiles, and graphic objects
The client adds and removes these temporary objects each frame, and
was firing multiple despawn events each frame.
2019-05-31 22:19:02 -04:00
Max Weber
f2935dcfdb mixins: Correct DecorativeObject's clickbox
- getOrientation has nothing to do with getClickbox's orientation parameter
- model A is offset by x/yOffset
- model B exists sometimes
2019-05-16 04:01:25 -06:00
Max Weber
feb2454e55 mixins: Correct WallObject's clickbox
The orientation is baked into the model and this var has nothing to do with what this method takes in this slot
2019-05-16 04:01:25 -06:00
Adam
7d06fd36e6 interface styles: increase padding of overridden healthbar 2019-04-22 20:49:54 -04:00
Ron Young
917921dd47 interface styles: add 2010 menu 2019-04-22 11:24:28 -04:00
Adam
8bfc0f2b21 widgetitem: associate Widget with WidgetItem 2019-04-19 14:40:27 -04:00
Hydrox6
d7e0e11e73 mixins: renderWidgetLayer: skip hidden widgets 2019-04-19 08:51:40 -04:00
Adam
9b9aee3e2b Add WidgetItemOverlay
This simplifies the logic required for plugins to draw an overlay over an item.
2019-04-16 20:57:52 -04:00
Adam
f7332aa074 mixins: set thread name on client thread 2019-04-13 14:00:15 -04:00
Lotto
8f53358a4e client: add HD health bars to Interface Styles 2019-04-06 14:29:49 -04:00
Adam
bd9a69dc19 runescape-api: rename CombatInfo2 to HealthBar 2019-04-06 13:41:32 -04:00
Adam
5acf9ad1e7 mixins: set array capacity in getVertices 2019-04-05 22:47:03 -04:00
Max Weber
dd993224ef mixins: Fix convex hulls being incorrectly contoured
the Models returned by getModel are already contoured if required; we do not need to do it again
2019-03-31 09:53:03 -04:00
Adam
540edb3da3 mixins: fix incorrect usage of getNameables()
The length of the NameableContainer must be accounted for.
2019-03-27 17:08:46 -04:00
Adam
bc41e18d31 Merge pull request #3380 from Hydrox6/right-click-bank-buttons
Add ability to disable Left Click to bank inventory, equipment, and looting bag options
2019-03-26 17:26:05 -04:00
Magic fTail
ee98065735 api: add overhead text changed event and setOverheadText 2019-03-19 14:37:35 -04:00
Adam
181b6f0c1c api: add event for controlling menu left click behavior 2019-03-19 00:32:25 +00:00
trimbe
8285bc80ca mixins: use last non-null child to determine index for new widgets 2019-03-12 14:57:52 -04:00
Adam
c5ebc9547c api: update 178 2019-03-07 08:38:55 -05:00
Adam
21bc06a13c Merge pull request #8088 from Adam-/xptracker-overall
xptracker: correct total xp per hour calculation
2019-03-05 20:15:50 -05:00
trimbe
e9597e85d8 mixins: use a ClanMember for ClanMemberJoined/Left 2019-03-03 20:17:03 -05:00
Adam
e5f9db4fb4 api: add methods to get clan owner and chat name
Co-authored-by: trimbe <benno.tremback@gmail.com>
2019-03-03 15:03:43 -05:00
Adam
facf438b50 api: add clan member join and leave events
Co-authored-by: trimbe <benno.tremback@gmail.com>
2019-03-03 15:03:43 -05:00
Adam
24003c69a7 api: add method to remove MessageNodes
Co-authored-by: trimbe <benno.tremback@gmail.com>
2019-03-03 15:03:43 -05:00
Adam
188bb70417 xptracker: use long for tracking overall xp 2019-03-03 14:41:17 -05:00
Adam
9b0bb2b732 runescape-api: make RSNameableContainer a generic type 2019-03-02 18:37:08 -05:00
Adam
b6ab78b501 api: add changed varp index to VarbitChanged event 2019-03-01 22:28:56 -05:00
Adam
5e9d0c1abb mixins: inject Client constructor for initialization of enumCache 2019-02-26 08:50:44 -05:00
Adam
7830d003ca api: add RS Enum API 2019-02-25 16:40:26 -05:00
Max Weber
1089eba6bc mixins: rename gameDraw to renderWidgetLayer 2019-02-18 20:51:38 -07:00
Max Weber
38ab569422 mixins: Include game crash string in log
This lets the client print the cs2 vm stack to our logs
2019-02-16 20:36:33 -07:00
Max Weber
1715a369c0 mixins: Fix DecorativeObject ConvexHulls 2019-02-12 04:08:24 -07:00
Adam
d4682746c7 api: remove SetMessage event 2019-02-07 19:42:25 -05:00
Adam
d7e605f051 api: add MessageNode and timestamp to ChatMessage event 2019-02-07 19:42:24 -05:00
Adam
1bb29d4cd0 api: remove projectile getInteracting
This is unused currently and is being abused by some hacked clients.
2019-02-01 20:52:24 -05:00
Max Weber
001ac540e7 mixins: Don't clobber left click forced menuops 2019-01-28 05:06:53 -07:00
Max Weber
935ce60791 mixins: Force RUNELITE_OVERLAY menuops to not be left click
This is similar to how you cannot left click the remove placeholder button
2019-01-26 07:57:59 -07:00
Adam
ccae0c2c48 api: mark getCollisionMaps as nullable 2019-01-19 15:23:47 -05:00
Tomas Slusny
0d5eac1a88 Add ClientTick event
Add ClientTick event that is fired every time game cycle counter
is updated.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-13 19:35:24 -05:00
Max Weber
7268d2cf34 ScriptVM: Bump execution time limit
This was changed a long time ago in Jagex's code. Normal listeners timeout after 500kops, but onLoadListeners timeout after 5mops
2019-01-07 19:03:15 -07:00
Adam
a342a1f220 Merge pull request #7200 from Abextm/skybox-y
Add Skybox plugin
2019-01-07 13:48:49 -05:00
Max Weber
9098d1fa94 Add Skybox plugin 2019-01-07 13:39:09 -05:00