Commit Graph

15122 Commits

Author SHA1 Message Date
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
Jordan
2a3aede2ca Merge pull request #12464 from Matthew-nop/Timers-MageArenaTBs
timers: add Mage Arena 2 teleblock patterns.
2020-09-08 17:28:28 -07:00
Jordan Atwood
a0acbb0f7b Move Experience tests to proper test class 2020-09-08 17:27:52 -07:00
Matthew C
3c920ead9a timers: Add Mage Arena 2 teleblock timers 2020-09-08 17:19:17 -07:00
ThatGamerBlue
018405b3f4 Merge pull request #2800 from ThatGamerBlue/master
project: upstream
2020-09-08 21:01:30 +01:00
ThatGamerBlue
83bdef6706 bump versions 2020-09-08 18:58:11 +01:00
ThatGamerBlue
06006bf7ae Merge remote-tracking branch 'runelite/master' 2020-09-08 18:50:27 +01:00
Kyle
b544904ec8 Merge pull request #2798 from Macweese/image-capture
ImageCapture: udpate
2020-09-07 18:40:25 +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
arthur798
00fc1314f7 skillcalculator: Add Carpenter's outfit set bonus (#12412) 2020-09-04 07:30:43 +00: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
Jordan
94c1d14c78 Merge pull request #12441 from jmattdavenport/clue-scroll-emote-fairy-rings
cluescrolls: add fairy ring codes to emote clues
2020-09-03 23:49:30 -07: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
Adam
b9b505acc4 scripts: fix privateMessage message skipping
This was incorrectly looping if the message was to be skipped
2020-09-02 10:25:21 -04:00
Max Weber
081253273b Merge branch 'itemid-090220' into master 2020-09-02 05:56:08 -06:00
Runelite auto updater
b83c97ed1c Bump for 1.6.27-SNAPSHOT 2020-09-02 11:36:42 +00:00
Runelite auto updater
581ca2fdd5 Release 1.6.26 2020-09-02 11:36:33 +00:00
Max Weber
47f3a965b7 runelite-client: remove removed items 2020-09-02 05:30:51 -06:00
RuneLite Cache-Code Autoupdater
1189682534 Update Scripts to 2020-09-02-rev191 2020-09-02 05:14:16 -06:00
RuneLite Cache-Code Autoupdater
6325285fb6 Update Item variations to 2020-09-02-rev191 2020-09-02 11:10:15 +00:00
RuneLite Cache-Code Autoupdater
de31b01b46 Update Item IDs to 2020-09-02-rev191 2020-09-02 11:10:15 +00: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
ccecdeecfd Merge pull request #2792 from ThatGamerBlue/pluginmanager-jars
pluginmanager: only load jar plugins from the folder
2020-08-31 13:21:51 +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
Arman Rafian
5316b49d16 grounditems: fix despawn timer for KBD/NMZ instances 2020-08-30 11:48:03 -04:00