Commit Graph

17949 Commits

Author SHA1 Message Date
Owain van Brakel
0b4d4c5fd3 Merge pull request #3166 from Owain94/mixins-misc-gpu 2022-04-25 11:02:03 +02:00
Owain van Brakel
97dd655e5a Merge remote-tracking branch 'runelite/master' 2022-04-25 11:00:47 +02:00
Owain van Brakel
26ca429e59 project(mixins): remove WIDGET_CONTINUE check 2022-04-25 10:56:54 +02:00
Owain van Brakel
060d45c617 project(api): remove menu event 2022-04-25 10:56:06 +02:00
Hydrox6
e73ccc3069 npcaggro: fix unintended loss of calibration
After using 8ad5977ad5 for a while, I
noticed that the plugin would lose calibration seemingly at random.
Given I was sitting at Redwoods, this didn't make sense. I want to give
some context as to what was happening and why, baked permanently into
the commit history:

The plugin requires that a few things exist when it saves data, or else
it assumes that something went wrong and it resets the config. One of
these things is that the infobox object exists.
Usually, this is fine, as one is created on login with the stored
duration, as long as said duration is not negative.
However, if the user stood in the same area for 10 minutes and then
logged out somehow (either manually or through AFK), upon logging back
in the config would not create a new infobox as the stored duration is
negative.
Either toggling the plugin or restarting the client at this point would
clear the reference to the old Infobox, and a new one would not be
created on login due to the aforementioned negative duration.
If the plugin was toggled, the calibration is instantly lost, and the
user now sees the tutorial overlay.
If the client was restarted, it would appear as if the plugin is working
fine, and it would fix itself if the player moved far enough. If they
just logged out, however, it would clear its config.
Either way, in most situations, the user is now forced to recalibrate
the plugin when they've done nothing wrong, only commited the heinous
crime of XP wasting.

Most of this was due to how the plugin tracked the aggro time, which was
through its infobox. This really shouldn't be how it does it, and so now
it keeps track of the time separately, and doesn't rely on the creation
of the infobox to block the saving of data.
2022-04-24 19:16:25 -04:00
Adam
d7f1681e6a util: use error log level for exception loggers 2022-04-24 19:15:45 -04:00
Adam
fc1c12c0e3 infobox: consistently require non-negative timer durations 2022-04-24 19:15:45 -04:00
Vandager
1d0a0315d4 player indicators: decorate player name in trade window
Co-authored-by: Vandager <66982484+Vandager@users.noreply.github.com>
2022-04-24 18:49:05 -04:00
Adam
c4055e765a ci: disable maven-shade-plugin 2022-04-24 16:44:18 -04:00
Adam
36730dccbc client: update pmd 2022-04-24 13:46:42 -04:00
Adam
6a4544ed2e cl: set pmd cache location 2022-04-24 13:46:42 -04:00
Ganom
015facf0cc script-vm: add default handler for mes callbacks. (#3170)
Co-authored-by: Ganom <ganom@ganomsoftware.com>
2022-04-24 09:02:35 -04:00
Adam
1edd417336 api: remove Nullable on getLocalPlayer
While this can be null, in the vast majority of events and also in every overlay it cannot be, and just triggers unncessary warnings from IDE inspections
2022-04-23 19:32:10 -04:00
Owain van Brakel
3502b98ec6 Merge pull request #3169 from open-osrs/moc-oops 2022-04-23 12:06:40 +02:00
Owain van Brakel
bf6a9e140b project(api): MOC oopsie 2022-04-23 12:00:23 +02:00
Owain van Brakel
250ebedaff Merge remote-tracking branch 'origin/master' 2022-04-23 08:31:23 +02:00
Owain van Brakel
5a4ffe17b4 Merge pull request #3168 from open-osrs/actions-2304 2022-04-23 08:30:45 +02:00
Owain van Brakel
2a94e1c3dc Merge pull request #3167 from open-osrs/upstream-2304 2022-04-23 08:30:37 +02:00
Owain van Brakel
2b4d449f46 project(actions): Update 2022-04-23 08:25:38 +02:00
Owain van Brakel
5b096d8059 Merge remote-tracking branch 'runelite/master' 2022-04-23 08:03:58 +02:00
Owain van Brakel
8f50ca4750 project(mixins): Misc GPU 2022-04-23 08:03:07 +02:00
Adam
1149a5a0e7 examine: remove unused import 2022-04-22 21:39:37 -04:00
Adam
e6d83c8322 examine: fix examining ground items
Remove support for examining npcs/objects which has been unused for a long time. All examines I see go through this examine_item script, so we can assume the ITEM_EXAMINE chat message type is used for all examines.
2022-04-22 21:31:41 -04:00
Owain van Brakel
7016516340 project(mixins): Don't try to use unlocked FPS on the login screen 2022-04-23 02:42:27 +02:00
Adam
9bd36db0c9 chat commands: update gotr kill message 2022-04-22 20:03:19 -04:00
Adam
8746c09354 interact highlight: fix detecting spell attacks on npc click
This was counting any widget use as an attack, when only spell use
should be
2022-04-22 13:12:05 -04:00
JZ
643eaf0bcc Merge pull request #3165 from JumpIfZero/rl-upstream-220422
project: upstream 220422
2022-04-22 13:19:13 +03:00
JumpIfZero
a299ea1d3a project: bump RL version 2022-04-22 13:04:54 +03:00
JumpIfZero
2b2477ab9b Merge remote-tracking branch 'rl-upstream/master' into rl-upstream-220422 2022-04-22 13:03:52 +03:00
JZ
a46242f1f7 Merge pull request #3164 from JumpIfZero/rev2046
project: rev204.6
2022-04-22 12:52:35 +03:00
JumpIfZero
37c411ec00 project: bump versions 2022-04-22 12:43:36 +03:00
JumpIfZero
2dc9359cba project: hello again rev206 2022-04-22 12:43:18 +03:00
Runelite auto updater
c9734026bd Update 204.6 2022-04-22 09:16:03 +00:00
Adam
20d2566471 interact highlight: fix using npc attack color on item use 2022-04-21 14:23:01 -04:00
Adam
f8e754b62f examine: fix item examine message recolor 2022-04-21 09:41:03 -04:00
Adam
d533285a32 timers: update for if3 inv 2022-04-21 09:41:02 -04:00
Owain van Brakel
1cdb6e9060 project(version): Bump RL version 2022-04-21 10:43:54 +02:00
Owain van Brakel
8b6aafef68 project(mixins): Always try to grab a widget 2022-04-21 10:42:43 +02:00
Owain van Brakel
adc5479027 Merge pull request #3163 from Ganom/deprecate-methods 2022-04-21 07:54:58 +02:00
Ganom
809d2d85af rs-api: add deprecated tags to if1 selector methods. 2022-04-21 01:45:56 -04:00
Owain van Brakel
e9c3ef53ca Merge remote-tracking branch 'origin/master' 2022-04-21 07:21:49 +02:00
Owain van Brakel
47119e681b Merge remote-tracking branch 'runelite/master' 2022-04-21 07:19:54 +02:00
Owain van Brakel
9db62ee6fc project(api): Add selectedSpellItemId 2022-04-21 07:18:40 +02:00
Ganom
2309c2e804 client-mixin: invoke x/y should be -1. 2022-04-20 18:06:09 -04:00
Adam
96fbdda03d runelite: remove otl requester
This is being replaced with a different api signature later
2022-04-20 17:50:19 -04:00
Owain van Brakel
192405fd18 Merge pull request #3162 from open-osrs/crash 2022-04-20 23:36:10 +02:00
Owain van Brakel
ca07234036 project(bs-things): Checkstylee 2022-04-20 23:31:41 +02:00
ThatGamerBlue
eadc31db1b try and fix the crash 2022-04-20 22:30:17 +01:00
Owain van Brakel
1c4a0bd154 Merge pull request #3161 from open-osrs/upstream-2004 2022-04-20 20:25:26 +02:00
Owain van Brakel
7aa80a742c project(checkstyle): Oops 2022-04-20 20:25:12 +02:00