Commit Graph

5605 Commits

Author SHA1 Message Date
Tomas Slusny
636aa2f079 Null-check location for multi-location clues
Sometimes it can be null.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-14 18:13:59 +02:00
Tomas Slusny
ecfcd6d67b Make 3 step cryptic clues more robust (better splitting)
- Instead of depending on specific formatting and size of clue text, just
split and parse everything stripping all tags when needed.
- Exit early on size < 3 to prevent NPEs and ArrayOutOfBounds

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-14 18:13:39 +02:00
Tomas Slusny
fb1c2f4b02 Merge pull request #6001 from NathenSample/debugClues
Log error when encountering an unmatched clue string
2018-10-14 14:30:26 +02:00
forsco
a7414f1166 Remove switch case for swapQuick that would cause rest of swaps to be skipped (#6007) 2018-10-14 11:14:20 +02:00
Nathen
2808b3d8b8 Log if we fail to match clue text 2018-10-14 09:41:12 +01:00
Hydrox6
656ae729d5 Correctly reset widget.originalY in WidgetOverlay (#6004) 2018-10-14 03:24:41 +02:00
Tomas Slusny
6236ba0de2 Merge pull request #5992 from deathbeam/discord-raids
Add raiding activity to Discord plugin
2018-10-14 02:59:52 +02:00
Tomas Slusny
ba30827e77 Merge pull request #6000 from trimbe/cryptic-clue-fix
Fix lava maze dungeon cryptic clue
2018-10-14 02:37:55 +02:00
Tomas Slusny
631e3e7c4f Add raiding activity to Discord plugin
- Add support for Varbit triggers to Discord plugin
- Add Chambers Of Xeric and Theatre of Blood to Discord plugin
- Put these two to separate category because according to wiki they are
separate

Closes #4223
Closes #4224

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-14 01:47:25 +02:00
trimbe
a4cfa2b034 Fix lava maze dungeon cryptic clue 2018-10-13 19:34:34 -04:00
Tomas Slusny
7c67445bf8 Merge pull request #5995 from deathbeam/sort-options-by-name-as-well
Sort config panel options by name as well
2018-10-14 00:37:31 +02:00
Tomas Slusny
a8f42ab007 Sort config panel options by name as well
In addition to sorting config panel options by position, sort them also
by name to remove need of setting positions everywhere for consistent
order.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-13 23:13:18 +02:00
robinwithes
f6aad4c4f1 Update slayer task based on VarPlayer value if available (#5989)
Closes #5984
2018-10-13 21:47:54 +02:00
Tomas Slusny
bbd9667304 Merge pull request #4805 from ConnorVG/discord-raids-mlm-events
DiscordPlugin: Add MLM
2018-10-13 21:43:39 +02:00
Connor S. Parks
b11ffcbdea DiscordPlugin: Add MLM
Closes #4222
2018-10-13 21:30:41 +02:00
Tomas Slusny
4f5fb62667 Merge pull request #5982 from deathbeam/skill-lookup-varbit
Move local player hiscore type check to client thread
2018-10-13 19:26:29 +02:00
Tomas Slusny
d42ceeb98c Merge pull request #5981 from deathbeam/varbit-stuff
Move ChatMessageManager#refreshAll to client thread
2018-10-13 18:23:06 +02:00
Tomas Slusny
01ce193e9c Merge pull request #5986 from ellscape/mystic-mist-buy-limit
Mystic Mist Staff buy limit corrected from 6 to 8
2018-10-13 14:57:09 +02:00
ellscape
765c317d2d Mystic Mist Staff buy limit corrected from 6 to 8 2018-10-13 13:39:42 +01:00
Tomas Slusny
8759423f07 Move local player hiscore type check to client thread
Closes #5896

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-13 12:05:01 +02:00
Tomas Slusny
71091d4aae Move ChatMessageManager#refreshAll to client thread
Closes #5897

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-13 11:58:05 +02:00
Tomas Slusny
9828dd047a Merge pull request #5898 from deathbeam/fix-corrupted-settings
Implement locking and corrupted file sanitization to ConfigManager
2018-10-13 11:54:15 +02:00
Tomas Slusny
189e59e972 Merge pull request #5975 from Nightfirecat/combat-bracelet-slayer-update
slayer: Add combat bracelet task update handling
2018-10-13 03:15:07 +02:00
Farmour
90c0af242e Add PRIVATE_MESSAGE_RECEIVED_MOD to chat recoloring (#5977)
This makes recoloring of pmod/jmod private messages work

Fixes #5938
2018-10-13 02:04:23 +02:00
Tomas Slusny
b77fbc1f8c Merge pull request #5967 from Nightfirecat/simulate-npc-spawns
GameEventManager: Simulate Actor spawn events
2018-10-13 00:50:21 +02:00
Tomas Slusny
ceb85907a5 Merge pull request #5973 from deathbeam/widget-bounds-limit
Limit widget overlay bounds to parent
2018-10-12 23:59:00 +02:00
Jordan Atwood
8594cd4a93 slayer: Add combat bracelet task update handling
Fixes runelite/runelite#4473
2018-10-12 14:35:24 -07:00
Tomas Slusny
176ac567b5 Limit widget overlay bounds to parent
Add limiting of widget overlay bounds to parent bounds in order to not
get out of sync with actual overlay position and drawn overlay position.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-12 22:39:22 +02:00
SebastiaanVanspauwen
f09f609784 WidgetOverlay: Make k/d counter moveable (#5829)
![kd](https://user-images.githubusercontent.com/43320258/46539921-20862500-c8b8-11e8-97f9-c00e028dd346.gif)

Fixes #5793
2018-10-12 22:18:04 +02:00
Tomas Slusny
a61afb2f0c Merge pull request #5969 from deathbeam/swap-stuff
Disable bury and harpoon swaps by default
2018-10-12 21:42:32 +02:00
Tomas Slusny
307fe9e1c7 Merge pull request #5965 from deathbeam/quick-pass
Properly reorder menu entry config & add swaps for quick pass/travel/start
2018-10-12 21:15:00 +02:00
Tomas Slusny
5558b6bf03 Disable bury and harpoon swaps by default
Even though the swapper plugin is disabled by default, many people
enable it and these defaults are very niche and annoying in some
scenarios.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-12 20:26:33 +02:00
Tomas Slusny
61d08d54a6 Add quick pass/travel/start menu entry swapping
Closes #2226
Closes #1459

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-12 20:25:04 +02:00
Tomas Slusny
8b40f71c41 Merge pull request #5640 from deathbeam/bounty-hunter-layoutable
Make bounty hunter stats widget layoutable
2018-10-12 20:15:30 +02:00
Jordan Atwood
d0464f71b4 GameEventManager: Simulate Actor spawn events 2018-10-12 10:37:49 -07:00
Tomas Slusny
643a89223c Reorder menu swaps again by name
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-12 18:49:05 +02:00
Tomas Slusny
33954ccf67 Lock configuration file when writing to filesystem
Use OS-wide exclusive lock when writing configuration file to filesystem
to prevent config file corruption when multiple concurrent writers try
to write to same config file at same time.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-12 16:41:13 +02:00
Tomas Slusny
85c9ec890b Use UTF-8 instead of ISO 8859-1 when loading/saving config
In order to prevent failures on reading/writing incorrectly escaped
characters or writing special UTF-8 characters on save as gibberish,
explicitly specify UTF-8 encoding when loading and writing properties.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-12 16:41:13 +02:00
Tomas Slusny
4a5e4491c9 Remove invalid properties from map on property load
In order to not have config file flooded with invalid and corrupted
properties in case of file corruption, remove all these invalid
properties from property map on configuration load.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-12 16:41:13 +02:00
Tomas Slusny
b0fbc09013 Merge pull request #5960 from deathbeam/fix-kraken-boss
Fix cave kraken boss task name
2018-10-12 15:20:02 +02:00
Tomas Slusny
b14c0726b8 Add optional "the" when checking slayer task progress message
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-12 14:30:13 +02:00
Tomas Slusny
0b87e2e8f9 Fix cave kraken boss task name
Closes #5958

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-12 13:31:33 +02:00
Tomas Slusny
400d34d563 Merge pull request #5873 from raiyni/recent-chats
Add recent clan chats to clan chat plugin
2018-10-12 10:41:55 +02:00
Ron Young
9f37d6a83d Add recent clan chats plugin
Add functionality to display recent clan chats in clan chat interface
when you are not in CC.
2018-10-12 10:40:34 +02:00
Tomas Slusny
417991210a Merge pull request #5907 from deathbeam/fix-slayer-counter
Correctly parse slayer task with the and breaks in npc name
2018-10-12 10:23:49 +02:00
Tomas Slusny
3a340fc2d1 Merge pull request #5949 from deathbeam/remember-tag-tab
Add option to remember last opened tag tab
2018-10-12 09:09:29 +02:00
Tomas Slusny
429e7b53ac Merge pull request #5946 from Nightfirecat/remove-deprecated-farming-config-migration
time tracking: Remove deprecated config migration
2018-10-12 08:19:47 +02:00
Tomas Slusny
e9fdd5b6a4 Merge pull request #5905 from deathbeam/raid-scouter-simplify
Move raid scouter layout to title
2018-10-12 08:01:21 +02:00
Tomas Slusny
45fa78ce28 Merge pull request #5910 from raiyni/search-limit
Don't limit bank search and title explicitly to 15 characters
2018-10-12 07:58:59 +02:00
Bruno_
0f49b90c45 Fix OSB price duplicationon delayed lookup (#5860)
Fixes #5858
2018-10-12 07:58:37 +02:00