Crystalwarrior
0a1a47c920
Expand .css power by giving object names to all AO UI elements ( #534 )
...
* Fix ic chatlog placeholder text not being translated
* Fix inconsistent/nonsensical path resolution for the backwards-compatibility misc/default/config.ini vs themes/current_theme/misc/default/config.ini
Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
2021-04-23 14:20:31 -05:00
Crystalwarrior
31abe0c848
Fix get_court_sfx using latin1 instead of utf-8 ( #540 )
...
Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
2021-04-23 14:17:45 -05:00
in1tiate
66f2369af2
Fix Cyrillic characters not being read correctly from QSettings inis ( #535 )
...
* set ini codecs to utf8
* fix color config reading in Latin1 rather than Utf8
2021-04-23 02:18:56 -05:00
oldmud0
93c8befece
Merge pull request #538 from AttorneyOnline/fix/showname-enable
...
Fix shownames disappearing forever if a message is sent while the shownames checkbox is unticked
2021-04-23 01:58:55 -05:00
oldmud0
b7585a1c6f
Merge pull request #533 from AttorneyOnline/fix/regression-charlayer-path
...
Fix regression that won't allow us to give a direct base/ path to a char emote
2021-04-23 01:57:24 -05:00
Crystalwarrior
9fbe899c0e
Automatically fix desynced demo files with issues pre-#496 PR ( #532 )
...
* Implement a demo auto-fixing solution. If the client detects a pre-2.9.1 demo file, it will prompt the user if they wish to correct it, since otherwise the demo will be desynched from reality.
The aforementioned issue was fixed in https://github.com/AttorneyOnline/AO2-Client/pull/496 however 2.9.0 still has incorrect demo recording.
Fix potential memory leak by not flushing and closing the demo file after opening it for reading.
* backup broken demo file before fixing it
* comments ahoy
Co-authored-by: in1tiate <radwoodward@vikings.grayson.edu>
2021-04-23 01:55:04 -05:00
in1tiate
9359ed7f54
make sure we save the shownames even when theyre disabled
2021-04-23 00:30:50 -05:00
Crystalwarrior
2c259a6337
Do the same as previous commit for the get_asset_paths func - only check for the direct file path before missingno
2021-04-22 19:11:39 +03:00
Crystalwarrior
d3e5cb933c
Charlayer - only check for direct path after the previous checks fail but before missingno
2021-04-22 19:09:44 +03:00
Crystalwarrior
d2c0c4fa0d
Fix charlayer regression not allowing us to *directly* refer to an emote we want to use with a file path (base/misc/blank for example)
...
Actually use the helper funcs for searching images instead of reimplementing the same thing
2021-04-22 19:02:07 +03:00
oldmud0
3e4de5da62
Merge pull request #531 from AttorneyOnline/fix/broken-demos
...
Fix demo playback max_wait -1 incorrect behavior when non-IC is processed
2021-04-21 01:04:45 -05:00
Crystalwarrior
fb4a5e0656
Fix log_chatmessage referring to the global m_chatmessage instead of the local variables that should be sent to it at the point of the func being called. ( #530 )
2021-04-21 02:54:08 +03:00
Crystalwarrior
7b058d1401
Fix last line in the .demo file not being processed
...
Fix timings for OOC being really busted if max_wait is -1 (dunno at which point this bug was introduced)
2021-04-21 02:14:49 +03:00
oldmud0
d0ef4831de
Merge pull request #504 from AttorneyOnline/fix/css-lag
...
Fix character select screen lag/performance overhead
2021-04-20 00:20:54 -05:00
oldmud0
56ca90d322
Merge pull request #529 from AttorneyOnline/crystalwarrior/coolchat-plus
...
Narrator IC chat support
2021-04-20 00:19:51 -05:00
Crystalwarrior
81c0f9a569
Better logs with OOC logging, [IC] and [OOC] tags ( #519 )
...
* Add OOC logging to the .log files, making them infinitely more precious to GMs especially of ambitious multi-area RPs
Add [IC] and [OOC] tags to distinguish between the types of msg
* minor wording change for .log top line to make it clearer that it's the server address and not the user address
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-04-20 00:13:56 -05:00
oldmud0
31073d090f
Merge pull request #528 from AttorneyOnline/crystalwarrior/coolchat
...
Tons of bug fixes for IC chat parsing
2021-04-20 00:11:50 -05:00
oldmud0
445d47c5b5
Merge pull request #527 from AttorneyOnline/fix/523
...
Fix ~~, ~> and <> breaking tick pos
2021-04-20 00:05:41 -05:00
in1tiate
e517a365d5
don't set a mask on elements affected by offsets ( #524 )
2021-04-20 03:27:25 +03:00
Crystalwarrior
a1abe8abfa
Fix blankposting when narrating not hiding the chatbox
...
Fix using objections against talking players not causing them to stop talking (with this method, they will only finish their current animation cycle unitl freezing in place)
2021-04-20 02:50:42 +03:00
Crystalwarrior
1edb5d9ae1
Add support for narrator chat (??!!) which does not affect the state of IC in any way, rather the only thing it affects is the IC chat box. INSANELY useful for GMs to play sound effects, talk over the situation, etc. without causing the IC viewport to reset.
...
Stress-tested with preanims, non-interrupting preanims, idle chat, talking chat, evidence presenting
2021-04-20 02:38:42 +03:00
Crystalwarrior
e36ac916a9
Fix anim_state deciding whether you're allowed to send a message or not (the only thing that should decide that is if text is done processing or not)
...
Fix objections forcing a missingno to appear when you object to someone mid-preanim, and their preanim ends before objection shout finishes. This also resolves a crapton of other bugs related to preanim_done() signal.
Move evidence display from handle_ic_speaking to start_chat_ticking (makes more sense over here)
Remove a misplaced set_static_duration for ui_vp_player_char (must've got here over a strange merge conflict or smth)
Remove useless anim_state and text_state setters in reload_theme func, the func that calls the BG to display already handles everything needed for IC reset
2021-04-20 02:36:15 +03:00
Crystalwarrior
9a20143e22
Fix ~~, ~> and <> breaking tick pos
2021-04-20 00:24:14 +03:00
in1tiate
8f0913d30e
euthanize morton ( #522 )
2021-04-19 23:18:39 +03:00
Crystalwarrior
97ea1a6ad4
Fix potential memory leak due to QMovie not being parented to anything
2021-04-19 23:11:17 +03:00
in1tiate
9b8945f21a
Fix character-specific color list not being properly regenerated on a theme reload ( #525 )
2021-04-19 00:45:11 -05:00
in1tiate
a5e1cc4173
Fix CASEA failing to validate packets with exactly six arguments ( #521 )
2021-04-16 00:42:43 -05:00
in1tiate
33cf6dea26
Send "CC" packet when selecting "Spectator" from the character selection screen ( #511 )
...
If n_char is -1, don't wait for a server response.
2021-04-11 15:36:32 -05:00
Crystalwarrior
d5c1273518
Fix demos incorrectly saving the packets (breaking encoding for things such as evidence by recording <and> instead of &)
...
ACTUALLY fix encoding errors, stop supporting the absolutely bonkers <and> exceptions just to support the previous bug instead of fixing the root issue
2021-04-07 15:25:18 +03:00
Crystalwarrior
132bf9b9d9
Don't generate QMovie() at all if we're told we're a static AOImage
2021-04-07 02:09:41 +03:00
in1tiate
c82dc8dec7
move code outside if/else block ( #518 )
2021-04-03 23:27:46 +03:00
oldmud0
350120d1b4
Merge pull request #516 from AttorneyOnline/elide-left
...
Set Qt::ElideLeft for dropdowns
2021-03-31 20:55:16 -05:00
in1tiate
ac82b83517
set Qt::ElideLeft for dropdowns
2021-03-31 05:11:48 -05:00
oldmud0
8ee7acb0c0
Merge pull request #514 from AttorneyOnline/fix/demoserver
...
Fix demo server not being added if serverlist.txt is missing, add translation support to demo server messages
2021-03-30 22:44:04 -05:00
in1tiate
9707753777
Update src/demoserver.cpp
...
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-03-30 22:10:29 -05:00
oldmud0
8dd7b4fa3c
Merge pull request #513 from AttorneyOnline/fix/chat-arrow-display
...
Fix chat arrow being displayed even when blankposting
2021-03-30 21:49:21 -05:00
in1tiate
b15e669bee
add translation support to demo server messages
2021-03-30 11:00:25 -05:00
in1tiate
6b267e8fdc
fix demo server not being added if serverlist.txt is absent
2021-03-30 11:00:13 -05:00
in1tiate
1d83fae23d
fix chat arrow being loaded when it doesnt need to be
2021-03-30 06:59:35 -05:00
in1tiate
73395f057b
use a string and not a boolean (stupid)
2021-03-30 05:49:28 -05:00
in1tiate
05ff6b08a2
add exception for LE packets in demos, which encode ampersand separators
2021-03-28 23:11:54 -05:00
in1tiate
4140a3339a
fix packets containing unencoded newlines being incorrectly split into multiple entries
2021-03-28 23:11:22 -05:00
oldmud0
7583c57442
Merge pull request #506 from AttorneyOnline/fix/song-parents
...
Fix a crash when shuffling songlists that have songs with no parent category
2021-03-28 18:55:14 -05:00
in1tiate
3f651d069d
add songs with no parent to clist
2021-03-27 23:01:35 -05:00
Crystalwarrior
885c510e3c
Merge branch 'master' into fix/css-lag
2021-03-25 23:44:46 +03:00
Crystalwarrior
48093c3f2b
Remove useless code for extra ui_selector that is not used
2021-03-24 23:05:46 +03:00
Crystalwarrior
37de947a3d
Mark ui_selector, ui_passworded, ui_taken for evidence and character select as static-only due to massice performance overhead for no substantial benefit
2021-03-24 23:05:09 +03:00
Crystalwarrior
d4c0b7a740
Fix desynchronized logs options checkbox not loading properly (is still properly saved tho)
2021-03-24 21:31:29 +03:00
oldmud0
e9eba9b5ab
Merge pull request #503 from AttorneyOnline/fix/skip-queue
...
Fix chat queue being cleared with no way to see what the msgs were
2021-03-21 22:42:18 -05:00
Crystalwarrior
ba36356a88
Fix log_chatmessage being called for the same message like 24 or more times causing insane spam
...
Reduce needless copy-pasting for shit that doesn't even need to be there
I actually made this fix but I stashed the older version when splitting the branches so you got the bugged verison instead.
2021-03-22 03:38:51 +03:00