Commit Graph
14677 Commits
Author SHA1 Message Date
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
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
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
Ganom e3132599bf plugintype: Rename important to system. (#2794) 2020-08-31 16:13:06 -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
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
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
Owain van Brakel 6d342d7abc Merge remote-tracking branch 'runelite/master' into master 2020-08-28 03:17:10 +02:00
OpenOSRS 99d1d193e5 project: Update gradle dependencies 2020-08-28 00:04:21 +00:00
Owain van Brakel 7010955ae9 Merge pull request #2778 from open-osrs/GRADLE-WRAPPER-UPDATE-4a491b2
project: Update gradle wrapper
2020-08-28 01:28:43 +02:00
Meeran 29e0b92590 ItemMapping: Fix Ring of Endurance mapping (#12408)
`RING_OF_ENDURANCE_24844` is the ingame item which can actually be
obtained. `RING_OF_ENDURANCE` is the original ring ID for [the ring
which could not be traded on the Grand Exchange on Darkmeyer's day of
release][1]. This commit corrects the mapping to map to the tradeable
ring.

[1]: https://secure.runescape.com/m=news/darkmeyer-day-one-feedback-changes?oldschool=1
2020-08-27 19:04:27 +00:00
OpenOSRS b181468be2 project: Update gradle wrapper 2020-08-27 00:03:13 +00:00
mnasra 64bcd9aa34 itemstats: Fix super antiposion potion duration (#12403) 2020-08-26 22:31:28 +00:00
Martin H 22ec9e52b5 blastfurnace: Use border color for clickbox overlay fills (#12379)
Previously, all clickbox overlays had a red tint, even if the border was
green symbolizing a "good" state.
2020-08-26 22:25:49 +00:00
ThatGamerBlue 4a491b273d Merge pull request #2777 from ThatGamerBlue/191
project: rev 191
2020-08-26 21:18:45 +01:00
ThatGamerBlue b6ea56781c rsclient: rev 191 2020-08-26 21:11:23 +01:00
ThatGamerBlue 106de31a9d deobber: fixes 2020-08-26 21:01:24 +01:00
Adam a918c5955f menu swapper: add amy to npc contact swap 2020-08-26 10:07:17 -04:00
Runelite auto updater 0fda0a6ef3 Bump for 1.6.26-SNAPSHOT 2020-08-26 11:32:41 +00:00
Runelite auto updater 766ffdb7ac Release 1.6.25 2020-08-26 11:32:32 +00:00
Max Weber 1c6e11643d Merge branch 'cache-code-2020-08-26-rev191' into master 2020-08-26 05:09:37 -06:00
RuneLite Cache-Code Autoupdater 14083b1d4a Update Scripts to 2020-08-26-rev191 2020-08-26 05:08:26 -06:00
Runelite auto updater 5cea0cdea1 Update 191 2020-08-26 10:40:41 +00:00
RuneLite Cache-Code Autoupdater da43b51479 Update NPC IDs to 2020-08-26-rev191 2020-08-26 10:32:40 +00:00
RuneLite Cache-Code Autoupdater 9bb02da671 Update Object IDs to 2020-08-26-rev191 2020-08-26 10:32:39 +00:00
RuneLite Cache-Code Autoupdater 614c33fdfd Update Item variations to 2020-08-26-rev191 2020-08-26 10:32:39 +00:00
RuneLite Cache-Code Autoupdater c8db5a9b48 Update Item IDs to 2020-08-26-rev191 2020-08-26 10:32:39 +00:00
RansomTime 9588076059 task: add Iorweth Warriors to list of targets for elves 2020-08-25 11:03:27 -04:00
Adam 30516b0bc3 Add Leagues hiscores and update icons for Trailblazer League 2020-08-25 10:44:53 -04:00
honeyhoney 76d38333d2 WorldMapOverlay: Adjust tooltip text position to match vanilla tooltips (#12380) 2020-08-25 02:58:02 +00:00
honeyhoney 7efd8d18d1 bank: Fix NPE in PostScriptFired subscriber (#12342)
The bank widget can become null before the bank build script finishes by
holding the bank close key as the bank is opened. This commit adds a
null check to avoid this possible NPE.
2020-08-24 21:05:56 +00:00
Jordan e1ef747ed9 Merge pull request #12348 from Broooklyn/nightmare-chatcommand
chat commands: add Nightmare abbreviations
2020-08-24 13:54:34 -07:00
honeyhoney a450df01b6 menuentryswapper: Add Rellekka quick travel NPCs (#12333) 2020-08-24 20:43:03 +00:00
trimbe 7c01e44628 bank tags: invoke only the scrollbar update after removing separators
Invoking the tab separator removal allowed tab separators to be visible
and interactable for a frame. On slower computers, users could click and
navigate to a tab during that period. The removal no longer needs to be
invoked after e4b43d9 so we can just invoke the script run.
2020-08-24 20:35:15 +00:00
Jordan Atwood fb47850686 ItemIdentification: Fix target teleport definition 2020-08-24 13:11:57 -07:00
Broooklyn d57f990183 Item identification: add tablets 2020-08-24 15:20:29 -04:00