Commit Graph

9375 Commits

Author SHA1 Message Date
data-dependent
49482e3784 mining: Fix gem rock respawn time (#12481) 2020-09-15 02:23:31 +00:00
Jordan
3700063d3b Merge pull request #12336 from MarbleTurtle/TrouverFix 2020-09-14 17:28:59 -07:00
MarbleTurtle
8d65dcb1ea clues: Support items locked with Trouver parchment 2020-09-14 17:17:43 -07:00
Jordan Atwood
e4fe839efe EmoteClue: Fix Infernal max cape item ID
Two infernal max cape items exist: one being the item which players can
use, and another presumably being the item displayed in the dialog shown
when combining a max cape and an infernal cape. `INFERNAL_MAX_CAPE` is
the definition for the latter cape, and `INFERNAL_MAX_CAPE_21285` is the
real item players would have.
2020-09-14 17:17:30 -07:00
jcwhisman
2c2c013cba timers: Fix inferno timer starting time 2020-09-14 08:07:04 -05:00
Kyle
85cdd73cb1 Merge pull request #2797 from Macweese/PlayerManager-high-risk-world
PlayerManager: High risk world mechanics
2020-09-13 19:33:11 +01:00
Adam
5a524471f8 mining plugin: track dense essence mining
Mining dense essense doesn't have a chat message so this starts the mining session based on animation instead.

Co-authored-by: chasertw123 <henderson.chase@gmail.com>
2020-09-13 13:50:41 -04:00
Jordan Atwood
754fbf2b13 HotColdLocation: Center some location spots
Center some hot-cold locations as reported and verified from the mega
issue.

Ref: runelite/runelite#9601
2020-09-13 09:57:34 -07:00
Adam
14147ce1c5 ge: include username in machine hash 2020-09-11 18:00:48 -04:00
Max Weber
dc83821599 config: implicitly tag all hub plugins as pluginhub 2020-09-11 14:23:10 +02:00
Tyler Bochard
f453e56be7 Delete TimeFormatMode.java
This was made available in the external plugins repo at:  
https://github.com/open-osrs/plugins/blob/master/timetracking/src/main/java/net/runelite/client/plugins/timetracking/TimeFormatMode.java
2020-09-10 17:34:19 -04:00
Broooklyn
5ef9896fdd worldmap: add Sourhog Cave dungeon location 2020-09-10 12:48:28 -04:00
Broooklyn
7754cf006c worldmap: add A Porcine of Interest quest start location 2020-09-10 12:48:28 -04:00
jcwhisman
43c5e1f916 ElapsedTimer: Display time in mm:ss format 2020-09-09 17:38:03 -07:00
Adam
01447e52a7 timers: consolidate teleblock timers 2020-09-09 11:08:17 -04:00
Adam
d2c72d6cbe core overlay: cleanup
Avoid checking config if there is no core npc
2020-09-09 11:07:04 -04:00
Matthew C
e2f848fbbf slayer: Add black knights and pirates 2020-09-08 23:32:12 -07:00
Matthew C
6fd2eb5e63 slayer: Sort Task enum alphabetically 2020-09-08 23:31:50 -07:00
Matthew C
230bba0ea7 corp: Add toggle for dark energy core highlighting (#12462) 2020-09-09 03:30:41 +00:00
Matthew C
3c920ead9a timers: Add Mage Arena 2 teleblock timers 2020-09-08 17:19:17 -07:00
ThatGamerBlue
06006bf7ae Merge remote-tracking branch 'runelite/master' 2020-09-08 18:50:27 +01:00
Macweese
f3a4ef3518 Update ImageCapture.java 2020-09-07 18:47:25 +02:00
Macweese
9b7a2e5cfd Sort coordinates
Added Math.min() & Math.max() when passing point coordinates.

This makes it easier to add new locations without having to worry about entering the specific coordinates to the respective parameter.
I.e. no need to follow the previously addressed convention.

...Just in case.

• Adjusted a few locations tiny bit.
• Removed Wilderness Obelisk 27 Portal as I felt Wilderness GWD is so close and is a more descriptive location.
2020-09-07 15:03:47 +02:00
Jordan Atwood
a6628564f8 banktags: Don't lose scroll position when hiding separators 2020-09-07 00:40:24 -07:00
Macweese
af733b76b1 import worldtype maybe
ape
2020-09-06 19:49:15 +02:00
Macweese
5166e9921e PlayerManager: High risk world mechanics
Checkstyle
2020-09-06 19:39:30 +02:00
Macweese
f93d7e8847 PlayerManager: High risk world mechanics
Update PlayerManager to work with the latest changes made to high risk worlds.

Protect item prayer is completely disabled on high risk worlds.

Also changed the ternary operator to only apply if the prayer level is less than 25, since players can use the prayer if they are 25 prayer.
2020-09-06 19:30:46 +02:00
Macweese
65d2f45090 WorldLocation: Fields hierarchy
After some testing I found that a niche issue arises from the combination of the alphabetical sorting and the for loop. This aims to band-aid the issue as best possible until proper rework is done.

Renamed fields

Appended main areas (BB) which house other locations with `_ZONE` .

Example
Old → `HOSIDIUS("Hosidius", new Location(1737, 3627, 1789, 3582), 0),`
New → `HOSIDIUS_ZONE("Hosidius", new Location(1737, 3627, 1789, 3582), 0),`

Reason for this is to solve a problem with the `for loop` responsible for iterating over all locations to find which one the player is located in.
Since they are sorted alphabetically, `HOSIDIUS` comes before `HOSIDIUS_BANK` or any other location prefixed with "hosidius".
Disregarding if  `worldArea ∈ BB`.

So, coincidentally, appending BB areas with `_ZONE` is just a lucky "solution" as a result of the alphabetical sorting to push the area down in the hierarchy.

To be clear; This is a hack, not a proper solution.
Ideally, in a perfect world the entire thing would be replaced by a proper R-Tree or other spatial access method.
However, for now, this is as good as it gets seeing as it'd be a pretty big task.
2020-09-05 10:54:21 +02:00
Kyle
03f73e32ab Update WeaponMap.java 2020-09-04 19:52:40 +01:00
Kyle
304b79d7b0 weaponmap: add amys saw
weaponmap: add amys saw
2020-09-04 15:18:49 +01:00
Michael Archer
e388f5a0f7 timers: Update stunned Abyssal Sire ID (#12410)
A recent game update changed the NPC IDs used for sire's stunned state,
causing the stun timer to become applied and removed at the wrong time.
2020-09-04 07:28:59 +00:00
David
0a4cb9bf5a menuentryswapper: Add Island of Stone quick travel (#12422) 2020-09-04 07:23:12 +00:00
Broooklyn
1db0f66a98 clues: Fix Watchtower master emote step coordinates (#12429) 2020-09-04 07:04:02 +00:00
Macweese
49fa4c7f08 WorldLocation: Major expansion
Added over 500 new locations.
Some locations were merged together, or split further into finer segments.
Removed few locations.

Spelling corrections

Renamed and organised fields.
Renamed few field display labels to give a more intuitive description of the intended world point.

Limited margin of "distance to area" to 128 squares(region length*2) to prevent mislabeling areas. Particularly in instances.

Fixed error which caused each world area to be placed on wrong coordinates along y-axis.

Added Math.abs() to get absolute value when calculating polygon dimensions from coordinates.
2020-09-03 21:00:30 +02:00
Matt Davenport
9beec30b3f cluescrolls: add fairy ring codes to emote clues 2020-09-02 17:57:23 -04:00
Max Weber
47f3a965b7 runelite-client: remove removed items 2020-09-02 05:30:51 -06:00
Ganom
e3132599bf plugintype: Rename important to system. (#2794) 2020-08-31 16:13:06 -04:00
Adam
2021b4c1ff grounditems: add test for notify on highlight 2020-08-31 13:19:06 -04:00
Adam
d7cb489eaf grounditems: fix showing Lots! for stack size in notifications
The value cannot be more than MAX_VALUE so the previous condition was
never met. Additionally use MAX_QUANTITY constant instead of abusing
char max value which is completely unrelated.
2020-08-31 13:19:05 -04:00
Matthew C
d8ddbe2cfa grounditems: fix notifications for highlighted drops
Fix notifications for highlighted drops occuring when a non highlighted drop is
assigned a value tier with the same color as highlighted drops. Check the
highlightedItems list directly instead of doing a color comparison.
2020-08-31 13:16:59 -04:00
Kyle
9b2eb98372 Merge pull request #2791 from Dyldozer/master
LootManager: Nightmare Fix
2020-08-31 16:02:04 +01:00
ThatGamerBlue
ae9be07bae pluginmanager: only load jar plugins from the folder 2020-08-31 12:34:39 +01:00
Dozer
392c91cae4 delete tabs 2020-08-30 23:57:07 -05:00
Dozer
dfade0c26c Nightmare loot tracking fix 2020-08-30 23:54:33 -05:00
Hexagon
46b297ce09 zalcano-plugin: Fix lingering graphicsobject highlighting 2020-08-30 20:57:56 -04:00
Adam
45bbf31fe9 gpu: error when shader creation fails 2020-08-30 18:50:19 -04:00
honeyhoney
c79c8f55e0 color picker: resize color slider to fit knob at max rgba values 2020-08-30 15:21:29 -04:00
Adam
8bbd3b9365 itemstats: correct typo in Better (Some capped) description 2020-08-30 15:15:49 -04:00
emiljensen2
b8f6920ebb antidrag: add deposit box for bank drag 2020-08-30 15:14:49 -04:00
Jordan Atwood
d1a765091a screenshot: Fix BA high gamble toggle
Because both level up dialogs and BA high gambles use the same widget
interface, commit 40f032bede caused BA
high gambles and some level up dialogs to trigger screenshots if either
config was enabled in the config, as that would set a flag to capture a
screenshot on the next game tick based on the widget text. This commit
adds config checks to the DIALOG_SPRITE_TEXT branch to ensure the
appropriate config flag must be set for a screenshot to be captured.
2020-08-30 13:14:06 -04:00