Commit Graph

14906 Commits

Author SHA1 Message Date
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
Max Weber
431e09588b specify utf8 encoding
this should fix the following known bugs:
 - putting a U+2019 in the config causes it to become corrupted and
   ~double in size every launch
 - scripts become assembled incorrectly and the nbsp after your name in
   the chatbox becomes incorrect
 - the feed panel doesn't show emoji
2020-08-28 21:58:08 -04:00
Owain van Brakel
469695db7c Merge pull request #2788 from open-osrs/NPC-UPDATE
client: Update NPC stats
2020-08-29 03:36:37 +02:00
Hydrox6
ca2416a838 timetracking: add configuration for displaying time in 12 hour format 2020-08-28 21:20:53 -04:00
Jordan
3e91232dd5 Merge pull request #12413 from Broooklyn/slayer-unlock
slayer: fix Tzhaar SlayerUnlock enum typo
2020-08-28 17:49:40 -07:00
Broooklyn
1f1cbcfc25 slayer: fix Tzhaar SlayerUnlock enum typo 2020-08-28 20:22:38 -04:00
OpenOSRS
3d83b5e4db client: Update NPC stats 2020-08-29 00:12:44 +00:00
Owain van Brakel
928a3242bb Merge pull request #2781 from open-osrs/GRADLE-DEPS-UPDATE-7010955
project: Update gradle dependencies
2020-08-28 08:04:00 +02:00
Owain van Brakel
469a45cfd2 Merge pull request #2787 from open-osrs/ItemVariationMapping
ItemVariationMapping: Make load public
2020-08-28 08:00:45 +02:00
Owain van Brakel
fa6dc721bf jgroups: Update to version 5.0.0 2020-08-28 07:58:11 +02:00
Owain van Brakel
21428e68c0 ItemVariationMapping: Make load public 2020-08-28 07:53:46 +02:00
Owain van Brakel
926132243a Merge remote-tracking branch 'origin/master' into master 2020-08-28 07:25:41 +02:00
Owain van Brakel
1d7ac2193b Merge pull request #2786 from open-osrs/scraper
actions: Fix scraper
2020-08-28 07:25:08 +02:00
Owain van Brakel
a5b1917857 Merge pull request #2785 from open-osrs/NPC-UPDATE
Client: Update NPC stats
2020-08-28 07:24:54 +02:00
Owain van Brakel
547beaaef7 actions: Fix scraper 2020-08-28 07:23:42 +02:00
OpenOSRS
a91b739aaa Client: Update NPC stats 2020-08-28 05:02:48 +00:00
Owain van Brakel
79d85458c7 Merge pull request #2782 from Owain94/upstream-2808
project: Merge upstream
2020-08-28 03:27:38 +02:00