Commit Graph

10385 Commits

Author SHA1 Message Date
Adam
f7606c7aca ui: fix frame maximized bounds with dpi scaling
Due to JDK-4737788, maximizing an undecorated frame incorrectly covers the
taskbar. Substance attempts to correct this by computing its own maximized
bounds, but it does not account for DPI scaling. Since Substance automatically
calls setMaximizedBounds when the frame is resized to do this we simply
override it and replace the bounds with our own which includes the scaling of
the display.

This also fixes the frame maximizing to the incorrect display on 11.0.8 due to
JDK-8231564, which changes the coordinates setMaximizedBounds() expects to be
relative to the primary display instead of the current display. Previously,
Substance was always setting the bounds x/y to 0 due to this.

Co-authored-by: Runemoro <runemoro1@gmail.com>
2020-09-18 22:28:43 -04:00
ThatGamerBlue
7ceda4d597 Revert "client: upstream 9/17/2020" 2020-09-18 19:08:51 +01:00
Hydrox6
620e42ba80 motherlode: add 3a pickaxe 2020-09-18 11:30:53 +01:00
OpenOSRS
8fe9670181 client: Update NPC stats (#2806) 2020-09-18 10:13:24 +01:00
Null
1cd6b6a058 client: upstream 9/17/2020 2020-09-17 23:36:09 -04:00
Broooklyn
9dfcdb51d6 discord: fix Barbarian Assault regions 2020-09-17 22:38:01 -04:00
Jordan
ba6820fde4 Merge pull request #12377 from Broooklyn/discord-regions 2020-09-16 16:41:30 -07:00
Broooklyn
f7ead24611 discord: add additional mapped regions
This commit also fixes some typos in existing entries and changes some
entries' area types from `CITIES` to `REGIONS` where appropriate.
2020-09-16 16:33:27 -07:00
Broooklyn
5d30ffd813 discord: add Region AreaType 2020-09-16 16:33:17 -07:00
Jordan
ec411bf003 Merge pull request #12498 from spatiag/fix-achievement-diary-quest-requirement
achievementdiary: Fix Western Provinces quest requirement
2020-09-16 11:11:04 -07:00
Broooklyn
6750557eba discord: update config names and descriptions 2020-09-16 03:59:55 -04:00
Adam
197c667edf item manager: fix item outlines to more accurately fit model
Not sure where these original arguments come from, but it was
incorrectly noting the items and then attempting to adjust zoom to
account for that, which makes most item outlines slightly off
2020-09-15 19:14:24 -04:00
Sean Patiag
aa2bb76ccc achievementdiary: Fix Western Provinces quest requirement 2020-09-15 04:36:21 -07:00
Jordan
c3fd3beaba Merge pull request #12479 from Broooklyn/quest-updates 2020-09-14 19:29:44 -07:00
data-dependent
49482e3784 mining: Fix gem rock respawn time (#12481) 2020-09-15 02:23:31 +00:00
arthur798
666b94dd11 skillcalculator: Add Hallowed sepulchre floors to agility calculator (#12414) 2020-09-15 02:09:42 +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
OpenOSRS
4b3891a42c client: Update NPC stats (#2805) 2020-09-14 14:07:45 +01:00
jcwhisman
2c2c013cba timers: Fix inferno timer starting time 2020-09-14 08:07:04 -05:00
OpenOSRS
d7416a01d8 gradle: Update gradle dependencies (#2795) 2020-09-13 19:34:15 +01:00
OpenOSRS
a2998d63b9 client: Update NPC stats (#2789) 2020-09-13 19:33:51 +01: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
Max Weber
a0e4080b86 skybox: include twisted league and hosidius POH themes 2020-09-13 00:50:29 -06: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
Illya Myshakov
4f7a51face skillcalc: Add Blisterwood Logs firemaking and woodcutting calc (#12456)
Co-authored-by: Illya Myshakov <imyshakov@uwaterloo.ca>
2020-09-11 13:56:47 +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
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
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