Commit Graph

6769 Commits

Author SHA1 Message Date
Adam
c271580e74 chat commands: fix tob hm/sm kc/pb tracking
The : in the boss name breaks for logged in users, so remap it to a
clean name instead. Also add short names.
2021-06-05 17:21:09 -04:00
Adam
d3a2e4bbc2 config manager: disallow : in key names
The config service rewrites . -> : and : -> . for storage since mongodb
does not support . in field names. This causes any keys set with : to
get changed after going to the config service and back.
2021-06-05 17:21:09 -04:00
SkylerPIlot
879e3ce737 spec counter: add Alchemical Hydra
This keeps the counter up when the hydra changes phases

Signed-off-by: SkylerPIlot <SkylerParthemore@gmail.com>
2021-06-05 17:18:45 -04:00
LlemonDuck
eddb7276a2 idle notifier: reset six hour notif on startup
Six hour notification could trigger incorrectly when the plugin was enabled if the player disabled -> logged out -> logged in -> enabled, since the notification timer was not reset.
2021-06-04 19:15:11 -04:00
Adam
559410b537 mta: clear hint arrow when leaving enchantment and alchemist room 2021-06-04 16:13:34 -04:00
Adam
ab5d90fdca chat filter: remove filter login
This has been added as a setting ingame with the latest update
2021-06-03 13:01:12 -04:00
Adam
3d034c38d3 hiscore panel: add tob hard mode 2021-06-03 11:05:22 -04:00
Adam
657132b39b chat channel: add target mode config 2021-06-02 16:50:13 -04:00
Adam
8fe75748f9 camera: add zoom slider tooltip when dragging
Co-authored-by: superiorser9 <superiorser9@gmail.com>
2021-06-01 20:31:22 -04:00
Jordan Atwood
25ec5a7c5c ProgressBar: Fix center label centering
BorderLayout does not guarantee equal sizing of its children, so having
a component centered between two components of unequal sizes will leave
it centered relative to their sizes, such as the following:

```
|-----BorderLayout-------------------------------------------|
||----WEST----||------CENTER------||----------EAST----------||
||------------||------------------||------------------------||
|------------------------------------------------------------|
```

Conversely, GridLayout uses fixed, equal-width columns for its children,
ensuring the center component will always occupy the center third of the
parent's dimensions.

P.S. This change causes labels to truncate earlier as they do not expand
beyond a third of the parent container's dimensions. Because the use
case for this component is with small labels, I do not anticipate this
will cause breakage.
2021-06-01 12:15:49 -04:00
Jordan Atwood
e57f6d0d6e XpInfoBox: Give stats panel equal column widths 2021-06-01 11:02:55 -04:00
Max Weber
14545aac26 rl-client: never cache 4/5xx requests 2021-05-31 11:25:43 -04:00
Adam
b6462e4619 chat filter: fix collapsing replayed public chat
Public chat is both replayed and also collapsed. Since replayed messages
don't send chat message events, all replayed messages would be filtered
due to the last message id not being updated for any of them. Instead,
set all stored messages ids to -1 on login, since the ids are
invalidated anyway, and then use it to not collapse replayed chat.
2021-05-31 00:19:24 -04:00
Adam
d4dc309cf5 sprite manager: use constructor injection
Also make cache private
2021-05-30 23:46:55 -04:00
Adam
68e8712ffc chatchannel: fix clan join/leave timeouts with fc join/leave off 2021-05-29 22:17:55 -04:00
Adam
fb7cea1678 team: add clan member counter 2021-05-29 15:51:54 -04:00
Adam
d98adda7c2 team capes: rename to team
Move friends list indicator from chatchannel to team plugin
2021-05-29 15:51:53 -04:00
Adam
3c59e4bcf0 Strip tags when doing friends chat lookups
The previous friend chat manager would do this when loading a name into the cache, but now that the cache is gone, we need to do it prior to the lookup
2021-05-29 15:51:51 -04:00
Adam
1ae01335b4 chat channel: add typing modes
This allows changing the target of typed messages via /f, /c, /g, and
/p. All further messages go to the given target until a new target is
specified.
2021-05-27 21:59:17 -04:00
Adam
e7a5b604fe friends chat: rename to chatchannel
This makes the friends chat plugin applicable to all chat channels, and adds join/leave notifications for clan chats
2021-05-27 19:58:58 -04:00
Max Weber
58e351dca6 timestamp: use less callbacks in script overlays
all of these separate callbacks are error prone to update and hard to
test
2021-05-27 13:48:50 -04:00
Max Weber
adabb68ff1 ChatboxPanelManager: use ScriptPreFired 2021-05-27 13:48:50 -04:00
Max Weber
939852f135 rl-client: cleanup cs2 overlays 2021-05-27 13:48:50 -04:00
Adam
5bd8932f8e chat commands: add clan chat 2021-05-26 16:50:06 -04:00
Adam
fbd0b57b68 chat notifications: add clan chat 2021-05-26 16:50:05 -04:00
Adam
6957cea91f emoji plugin: add clan chat 2021-05-26 16:50:04 -04:00
Adam
5f9ccd2538 chat filter: add clan chat 2021-05-26 16:50:03 -04:00
Adam
7de3b61860 player indicators: add clans 2021-05-26 16:50:02 -04:00
Adam
1c75a97df5 world hopper: add hop-to clan member 2021-05-26 16:50:01 -04:00
Adam
0f0d3de2c4 chat colors: add clan recolors 2021-05-26 16:50:00 -04:00
Adam
474ef1562b chat icon manager: add clan chat icons 2021-05-26 16:49:59 -04:00
Adam
9794fc9597 Change config name of party plugin to disable by default
Since the plugin was rewritten and changed to disable by default, it will not retroactively apply to existing configs without this
2021-05-25 14:13:17 -04:00
Adam
a781efc73a friendchatmanager: rename to chaticonmanager
FriendsChatManager predates the api having an ability to look up clan
members by name, without doing string matching, hence the caching. This
is no longer necessary as we can do efficient lookups of players by name
now.

Also remove the old isMember utility function which is just duplicated
from the friends chat manager.
2021-05-24 23:35:06 -04:00
Adam
c72a571837 devtools: add modicons command 2021-05-24 23:24:56 -04:00
Adam
21275bb9f0 api: correct clans chattypes 2021-05-24 23:24:39 -04:00
Adam
5de8eee04d friendschat: readd user count
Also readd the Recent FCs title
2021-05-23 14:25:59 -04:00
Adam
b5375ae487 chat history: rebuild pmbox when all is cleared
Additionally it is unnecessary to manually remove messages when the clear option is vanilla, since it will do it already
2021-05-23 11:10:54 -04:00
Adam
945f0b6d77 chat history: support clan chat
Additionally fix the TAB_PRIVATE widget mapping which is incorrect with the
latest update. The old friends chat tab has also gained a Clear history
option so we no longer need to add it.
2021-05-23 00:10:41 -04:00
Adam
903e73f9f6 twitch: change chat trigger to /t
// was taken by clan chat with the recent update
2021-05-21 13:26:36 -04:00
JOROUSS-2070\JoRouss
ab2454ca75 party: readd overlay leave party menu entry 2021-05-20 20:29:25 -04:00
Adam
d97148346d party: only send location update when the location changes 2021-05-20 18:24:50 -04:00
JOROUSS-2070\JoRouss
8450795bab party: add party panel 2021-05-20 13:43:25 -04:00
Adam
ebfc3dab89 info panel: adjust nav button priority 2021-05-20 13:43:25 -04:00
Adam
fa145986b2 party service: sanitize user names 2021-05-20 11:14:20 -04:00
Adam
38cd07d025 discord plugin: sanity check user id and avatar id before building url 2021-05-20 10:40:55 -04:00
Adam
2a118bdb4d ui: queue repaint when progressbar is edited 2021-05-20 10:40:53 -04:00
Adam
94ad05fa0f minimap: add clan chat dot color configuration 2021-05-19 23:18:21 -04:00
emerald000
f150d344d3 Rename Armadylian Guards to Armadylean Guards 2021-05-19 12:05:56 -04:00
Max Weber
bd2cd07917 screenshot: don't attempt to draw a date when there is no report button
previously this would just silently ignore the screenshot if you were
on the orb of oculus or fullscreen world map interfaces until you were
back onto one of the normal tlis where the overlay is rendered.
2021-05-19 11:30:32 -04:00
Max Weber
ff033177de screenshot: use new report button offset 2021-05-19 11:30:32 -04:00