Crystalwarrior
ad460ceaff
Fix pos dropdown failing to get properly populated with bg pos ( #661 )
...
(caused by bc49b3e976
2022-02-20 23:03:36 -06:00
oldmud0
bcbbb899f9
Merge pull request #657 from AttorneyOnline/icons-for-all
...
Add icons for iniswaps and emotes in the dropdown
2022-02-20 23:00:04 -06:00
oldmud0
d0336c1035
Merge pull request #654 from AttorneyOnline/fix-bg-bug
...
Fix backgrounds getting messed up, closes #635
2022-02-20 22:51:35 -06:00
oldmud0
b5908ad5e6
Merge pull request #660 from AttorneyOnline/fix-evidence
...
Fix evidence system, improve evidence user experience
2022-02-20 19:47:09 -06:00
oldmud0
f3d2e7078c
Merge pull request #664 from AttorneyOnline/fix-music-segfaults
...
Don't run the base content vpath shenanigans if music path is HTTP
2022-02-20 19:17:11 -06:00
oldmud0
7ecb43d3a2
Merge pull request #665 from AttorneyOnline/background-ini-overlays
...
Add [Overlay] overrides to background design.ini
2022-02-20 19:13:17 -06:00
Salanto
e4779f09eb
Effects follow offset, add ini option to disable offset for effect ( #663 )
...
* Effects follow offset, add ini option to disable offset for effect
This is pretty hacky, but the offset data is necessary to move the effect layer in relation to the character.
2022-02-20 18:56:10 -06:00
Alex Noir
57ff1b9d2c
Add background overlay overrides so you don't have to copy-paste the same file if you're just using it across multiple pos
2022-02-20 02:23:26 +03:00
Alex Noir
17b6f63268
Fix editing the image name not showing the "ok" button
2022-02-19 18:19:22 +03:00
Alex Noir
42b2a8af95
Fix evidence image button getting set to disabled
2022-02-19 17:59:56 +03:00
Alex Noir
39fbd4a881
Don't run the base content vpath shenanigans if music path is HTTP
2022-02-19 16:48:31 +03:00
Alex Noir
798617fc22
Polish up the evidence system so it's a single-click editing
...
Fix evidence editing regressions caused by #587
Fix issues with "ok" button detecting itself as "changes from the server"
Fix "ok" button remaining after you press it once, allowing you to spam evidence update packets by spamclicking it
2022-02-19 00:40:26 +03:00
Salanto
dd53b01ffd
Address potential source of race confition inside the play function ( #658 )
...
Current working theory is that setting the future opens a brief interval where it deconstructs the old future and returning an invalid QFuture,, causing a segmentation fault.
2022-02-18 22:51:27 +03:00
Alex Noir
0e2bd0b110
Add icons for iniswaps and emotes in the dropdown
...
Fix iniswap list not recognizing a name that's different from a character folder when switching to that character
2022-02-18 22:02:18 +03:00
Alex Noir
737d581b73
Fix backgrounds getting messed up, closes #635
2022-02-18 18:27:56 +03:00
Salanto
e6f06d8959
Add server description to favourites, if supported by server. ( #648 )
...
* Allow servers to directly set the server description
* Hijack PN packet to add description.
* Update lobby.cpp
Apply suggested change
2022-02-15 08:15:57 -06:00
Salanto
5e60f277e9
Add demo_append to WT/CE part of the "RT" packet handler. ( #649 )
...
* Add demo_append to WT/CE part of the "RT" packet handler.
* Fix indentation + put demo recording outside the if else chain
2022-02-15 08:14:42 -06:00
oldmud0
549ceddfaa
Merge pull request #631 from AttorneyOnline/fix/application-version
...
Fix Qt application version being empty
2022-01-08 15:28:40 -06:00
oldmud0
7389b5071b
Don't restart background if background is unchanged
2022-01-08 14:52:08 -06:00
oldmud0
7bf200a437
Fix Qt application version being empty
2022-01-08 14:21:56 -06:00
oldmud0
ba08ec0379
Fix more race conditions in AOLayer loading
...
- Uninitialized exit_loop variable
- Previous load task should stop completely before starting new load task
2022-01-08 12:55:10 -06:00
oldmud0
3ec3d3a121
Fix wrong precedence order for effects
...
This was causing the realization.png UI button to be loaded instead of the effect.
2022-01-08 12:51:49 -06:00
oldmud0
c07ff35897
Fix static effects not appearing
...
Static effects should be treated as infinitely looping animations.
2022-01-08 12:04:57 -06:00
oldmud0
c80a019574
Merge pull request #619 from AttorneyOnline/feature/http-ms
...
Switch to HTTP-based server list
2022-01-07 20:17:02 -06:00
oldmud0
9f09af1c39
Merge pull request #628 from AttorneyOnline/fix/msvc-aolayer-freeze
...
Fix MSVC builds freezing due to AOLayer concurrency issue
2022-01-06 08:23:41 -06:00
oldmud0
77b017a083
Fix MSVC builds freezing due to AOLayer concurrency issue
...
Variables accessed across threads should be atomic.
Also gave AOLayer its own thread pool and switched some lock calls to use QMutexLocker semantics.
2022-01-05 21:39:23 -06:00
oldmud0
7b4d1e96c6
Disambiguate settings with lobby_settings and courtroom_settings
2021-12-31 10:40:21 -06:00
oldmud0
e29a41b58f
Remove AO1 MS code
...
You won't be missed :')
2021-12-30 21:47:41 -06:00
oldmud0
8822db8e82
Remove lobby chat
...
Goodbye, lobby chat :(
2021-12-30 21:46:24 -06:00
oldmud0
5d79a83fb5
Prevent old/bad "backup MS" values from preventing connection
2021-12-30 21:26:28 -06:00
oldmud0
6e1e847750
Add and refine debug log messages ( #625 )
...
Since these are going to be visible to the user now, at least let's properly format them and make them somewhat helpful.
2021-12-30 20:44:59 -06:00
oldmud0
ee76c2ce61
Merge branch 'master' into feature/http-ms
...
# Conflicts:
# src/networkmanager.cpp
2021-12-30 20:31:44 -06:00
oldmud0
593bd54000
Merge pull request #624 from AttorneyOnline/feature/nicer-notice-timer
...
Polish appearance of "OK" button on notice
2021-12-26 13:18:33 -06:00
oldmud0
a180600bf4
Merge pull request #623 from AttorneyOnline/feature/debug-log
...
Remove MS chat and add debug log
2021-12-25 22:57:51 -06:00
oldmud0
dcff063f19
Don't hide "OK" on message timer, just disable it
2021-12-25 20:40:39 -06:00
oldmud0
ecfe6f2542
Change master chat in courtroom to debug log
...
Since the MS chat has been disabled for quite some time now (and we aren't planning on bringing it back since Discord, Guilded etc. have better chat features), I decided to go ahead and change the pane into a debug log to keep it useful and avoid creating a gaping hole in themes.
Though, maybe it is worth removing the whole switcher and keeping the debug log hidden away where it can't scare people.
2021-12-25 19:17:27 -06:00
Salanto
c57afe821e
Sanity check before removing the ui element ( #612 )
...
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-12-24 14:36:41 -06:00
Salanto
5ce0e6416e
Fix animation freeze when loading music files ( #609 )
...
* Implement async music loading
* Simplify music filename parsing and fix "missing" on streams
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-12-24 14:05:01 -06:00
oldmud0
d1fb7fde16
Merge pull request #622 from AttorneyOnline/fix/emote-button-gen
...
Fix emote buttons not generating due to bad VPath lookup
2021-12-24 09:09:43 -06:00
oldmud0
efeaf429e7
Merge pull request #621 from AttorneyOnline/split-demo-option
...
Split logging option into text and demo
2021-12-24 09:09:12 -06:00
oldmud0
f44f3f9fd4
Merge pull request #620 from AttorneyOnline/remove-clientside-wait
...
Remove client-side send waiting
2021-12-24 09:09:04 -06:00
oldmud0
3c7f5619db
Fix emote buttons not generating due to bad VPath lookup
2021-12-23 20:45:57 -06:00
oldmud0
2eed786c77
Split logging option into text and demo
...
Apparently, people don't like logging demos because it takes up too
much space. It's possible to enable NTFS compression for demo files
(or the entire demos folder), though.
2021-12-23 17:29:17 -06:00
oldmud0
bcbe9a8a67
Remove client-side send waiting
...
This piece of code from another era is not needed anymore thanks
to the message queue and decent server-side anti-flooding. Player
input won't be thrown away since the client waits for an
acknowledgement from the server before clearing the input box.
2021-12-23 17:05:11 -06:00
Pyraqq
26851be536
Add version to window title ( #613 )
...
Also updated the translation files for missing strings and updated the Polish translation.
2021-12-23 16:53:26 -06:00
oldmud0
d9e69cca06
Merge pull request #578 from AttorneyOnline/fix-desk-mods-again
...
Handle expanded desk modifiers on chat ticking start rather than on preanim complete signal
2021-12-22 00:59:48 -06:00
oldmud0
ecfb791e48
Roll back unintended changes
2021-12-18 22:41:45 -06:00
oldmud0
b0e9f8dbe5
Merge branch 'master' into feature/http-ms
2021-12-18 22:34:04 -06:00
oldmud0
cf12168ebd
Qt 5.9 compat; remove dead code
2021-12-18 22:22:30 -06:00
oldmud0
d137022174
Remove another markdown thing
2021-12-18 22:02:30 -06:00
oldmud0
133b3b58d9
Remove markdown thing
2021-12-18 21:40:11 -06:00
oldmud0
f1107aeac5
Finish out feature
...
- Add periodic timer for heartbeat
- Add option to settings for opting out from heartbeat/player metrics
- Change base URL to permanent URL
2021-12-18 20:29:55 -06:00
Salanto
641cca6504
Add compiler flags to ensure correct signal is used in older versions ( #617 )
2021-12-14 20:32:05 -06:00
Salanto
bc49b3e976
Update slots/signals to Qt5 connection style and eliminate some clazy warnings
2021-12-11 02:09:27 +01:00
in1tiate
658a1ae624
Add an explicit check for empty string to dir_exists
2021-11-15 17:03:36 -06:00
in1tiate
101a5e506f
Fix all files being allowed past the suffix check for images
2021-11-15 16:48:46 -06:00
Salanto
1f985c65c7
Resolve compile error due to enum first introdcued in Qt 5.14
...
Could Linux distros please update their Qt version? Thanks.
2021-10-12 07:27:06 +02:00
Salanto
2a923ac86f
Purge most clientside-OOC commands ( #599 )
...
Remove OOC-Client commands that are already replaced by UI elements that are easily accessible.
Debatable if /save_case and /load_case should stay as they seem unused by most users/servers.
* Maintain backwards compatability with older servers.
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-10-11 17:53:44 -05:00
Rosemary Witchaven
3c3b88f05c
Fix paired character only playing animations once ( #603 )
2021-10-10 17:59:07 -05:00
Rosemary Witchaven
273ae64535
Add missing check for anim_state 5 ( #601 )
2021-10-09 10:29:15 -05:00
Rosemary Witchaven
c163aab671
Allow user to configure log timestamp format ( #590 )
...
* user configurable timestamp format
* fix label making the entire settings window move jankily
* add a dropdown for sane timestamp formats
* streamline adding options to log timestamp format
2021-09-22 18:59:59 -05:00
Rosemary Witchaven
b2a4a41fd7
Fix background positions with no desk inheriting the previous position's desk ( #598 )
...
* kill bglayer if file not exist
* kill ALL layers if file not found
2021-09-18 09:33:00 -05:00
Salanto
97b1757da9
Remove /pair as a client-side command
...
Who was using this anyway?
2021-09-08 22:13:22 +02:00
Salanto
74d01e81fb
Fix VPath lookup ignoring possibility of remote files ( #588 )
...
* Fix VPath lookup ignoring possibility of remote files
* Use more formal URL check
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-09-02 18:25:28 -05:00
Rosemary Witchaven
7ce4dd6f61
Use event filters instead of subclassing QLineEdit and QPlainTextEdit ( #587 )
...
* replace aolineedit and aotextedit with event filters
* use a button to make evidence editable instead of double click
2021-08-30 21:23:11 -05:00
Rosemary Witchaven
8b82f5d592
Fix an infinite hang when loading the pair character, fix strange undesired behavior of the pair character ( #586 )
...
* sanity check if the frame we're waiting on isnt nonexistent
* consolidate conditionals
2021-08-24 19:37:13 -05:00
in1tiate
3bcf01bb21
asynchronously load animations for bigly performant gainz
2021-08-13 03:23:12 -05:00
in1tiate
2a18c1cdec
wait for thread to finish before starting new one
2021-08-11 20:14:35 -05:00
in1tiate
d84194871e
comment out debug_movie
2021-08-11 09:38:05 -05:00
in1tiate
51698ca6ac
debug_movie fixes
2021-08-11 09:28:59 -05:00
in1tiate
ce94cd2d1e
preload next frame before ticking over
2021-08-11 09:20:00 -05:00
in1tiate
6bbb45a6d1
handle expanded desk mods on chat ticking start
2021-08-01 11:13:52 -05:00
in1tiate
15f0ee3838
swap out custom UNUSED macro for Q_UNUSED
2021-07-29 08:54:34 -05:00
in1tiate
2d3cab82c8
Fix custom objections not playing sounds
2021-07-22 12:26:57 -05:00
Rose Witchaven
5190490a07
Set BASS_CONFIG_DEV_DEFAULT to 1 to enable automatic reinitialization of the default device when it is lost ( #564 )
...
fixes #561
2021-06-18 23:58:46 -05:00
Rose Witchaven
65f812cf73
Extend /pair command to work with character names as well as IDs ( #562 )
2021-06-16 23:58:39 -05:00
oldmud0
b682d69e49
Use new HTTP-based master server client
2021-06-13 22:16:41 -05:00
oldmud0
9e0a964af8
Merge pull request #554 from AttorneyOnline/feature/mounting
...
Add support for mounting multiple base folders
2021-06-09 19:41:09 -05:00
oldmud0
2f50cd5528
Clear case sensitive cache as well on vpath cache flush
2021-06-08 23:12:19 -05:00
oldmud0
2cb7ca7895
Move global stylesheet to lobby and courtroom
...
This way, it will not affect the options dialog.
2021-06-08 22:50:32 -05:00
oldmud0
fbce4937ef
Merge pull request #557 from AttorneyOnline/minor-optimize
...
Fix excessive calls to arup_append
2021-06-08 22:08:04 -05:00
oldmud0
7cbd343ce9
Fix excess calls to arup_append
...
According to profiling results, arup_append was being called around 90k times (!!) because it had been placed in the inner for loop. That's (tracks * areas)^2. Yikes!
2021-06-06 23:42:51 -05:00
oldmud0
b0a0926d35
Fix minor memory leak with configini
2021-06-06 23:39:19 -05:00
oldmud0
dcce175052
Fix clazy-range-loop-detach warning
2021-06-06 23:31:48 -05:00
oldmud0
e576a8b23d
Fix bug with case-sensitive vpath lookup
2021-06-06 23:27:30 -05:00
oldmud0
9ecd7c453c
Merge branch 'master' into feature/mounting
2021-06-06 23:23:33 -05:00
in1tiate
4fe4e6ad54
remember past search term when switching between area and music list
2021-06-06 22:54:14 -05:00
oldmud0
2ef7b206e2
Scan themes in all mount paths
2021-06-06 22:42:16 -05:00
oldmud0
387233e9e3
Don't store key in asset lookup cache
2021-06-06 22:41:40 -05:00
oldmud0
7a1c3f385e
Greatly improve case-insensitive lookup speed
...
By using hash tables, the algorithmic complexity of the case-insensitive
lookup has been reduced from O(n * k) to amortized O(k), where n is the
number of files in each level and k is the number of directory levels
that need to be traversed.
This massively improves performance on Linux when loading characters,
especially when there are many missing characters, since it is no longer
necessary to scan the entire character folder repeatedly.
2021-06-05 22:27:56 -05:00
oldmud0
037d96a5d9
Use intuitive behavior for loading assets with ambiguous extensions
2021-06-05 20:28:55 -05:00
oldmud0
d27501313c
Finish mounting feature
...
To pull this one off, a new class called VPath was created that denotes
"virtual" paths that can exist anywhere among the list of mount points.
It is functionally identical to QString, except that implicit conversion
between QString and VPath is not allowed. This makes it easy to spot
errors in path resolution at compile time, since get_real_path must be
called to resolve a VPath into an absolute path that can be passed into
a Qt function as a QString.
Other functions, such as the get_*_suffix functions, also return an
absolute path QString for convenience.
As for the rest of the functions that return a VPath, you will need to
call get_real_path yourself.
Finally, a path resolution cache was added to try to avoid blowing
up what is already a massive lookup cost for assets. The cache
is invalidated when the mount path list is changed.
Currently, this cache isn't bounded. Might need to write an LRU cache
if issues arise.
2021-06-05 14:58:40 -05:00
oldmud0
97f3d7a8bc
Merge pull request #549 from Salanto/asset-packet-musiclist
...
Music list streaming support over ASSet packet
2021-06-02 22:50:19 -05:00
oldmud0
a023657348
Partial: Add mount list to options dialog
2021-05-29 10:43:53 -05:00
in1tiate
167aae750f
account for both theme and misc pathing which are different because this program is well made and does not make me want to pull my hair out
2021-05-16 00:41:41 -05:00
Salanto
c6207a5478
Commit suggestion
2021-05-12 13:42:41 +02:00
Salanto
c056182ba0
Merge branch 'add-asset-packet' into asset-packet-musiclist
2021-05-12 01:56:33 +02:00
Salanto
8fc75f29a7
Prevent crash when sending empty ASS packet
2021-05-12 01:56:15 +02:00
Salanto
b8b6d3cbb3
Add musclist streaming support
...
Attempt Nr. 2 - Based on #548 and #501
+ Allows client to use a remote source as a last resort if the file can't be found locally.
+ Adds a check if the target file is missing.
This implementation assumed the streaming source to be structured like a webao content respository
2021-05-05 00:42:48 +02:00
Salanto
004bf12428
Merge remote-tracking branch 'origin/handle-music-refactor' into asset-packet-musiclist
2021-05-05 00:24:57 +02:00
Salanto
8a9bb6dc69
Add Asset Packet
...
This packet is used to send the client the URL of an online content repository, if available.
2021-05-04 05:39:50 +02:00
oldmud0
bea9fc1a05
Merge pull request #526 from AttorneyOnline/crystalwarrior/demo-reload
...
Add a /reload command that quickly reloads the current demo
2021-04-29 01:29:11 -05:00
oldmud0
75da07d190
Merge pull request #545 from MangosArentLiterature/default-shownames
...
Add default shownames
2021-04-29 00:53:57 -05:00
oldmud0
1d809726a9
Merge pull request #542 from AttorneyOnline/fix/aolayer-crap
...
Fix AOLayer-related regressions, deprecate BS no one uses and return sane behavior
2021-04-29 00:44:50 -05:00
MangosArentLiterature
99d083d114
Add default shownames
...
Adds a new setting to config.ini to set a default showname. This works similarly to default username, but for IC shownames, setting the client's showname automatically. Like default username, this has a 30 character limit.
* Adds a new option to config.ini, default_showname.
* Adds this setting to the options dialog.
* Adds get_default_showname() for retrieving this showname.
* Sets the showname box to this value upon joining a server.
2021-04-28 00:43:06 -05:00
in1tiate
0ced99c966
check for effects without path in p_misc
2021-04-26 12:14:16 -05:00
Crystalwarrior
8d9331a3ea
fix interfacelayer not applying stretching when load_image is called (reload theme, chat arrows, etc.)
2021-04-24 02:28:24 +03:00
Crystalwarrior
433b7f3315
Deprecate tick_ms and use actual milliseconds rather than arbitrary 60ms ticks for char.ini [Time]
...
Fix an extremely weird case where CharLayer::Play() was not called even on the CharLayer class (I don't understand why inheritance was straight up just ignored)
Fix using preanims with static images just breaking everything
Deprecate weird insanity [Time] with the % sign BS (What was this for again? Literally no one used this nor was aware of it)
Fix text_stay_time timer firing even if we're immediate
Just in case, stop the text delay timer when start_chat_ticking is called
2021-04-24 01:44:52 +03:00
oldmud0
6e3435ddba
Add setting for default scaling method
2021-04-23 16:09:25 -05:00
oldmud0
60daac3823
Move other duplicate reset calls to their own method
2021-04-23 14:29:16 -05:00
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
Crystalwarrior
de4115e20a
Merge branch 'master' into crystalwarrior/demo-reload
2021-04-23 16:12:35 +03: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
in1tiate
43340e8869
move timer reset to its own method
2021-04-22 23:46:55 -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
Crystalwarrior
86b342badc
Reset timers, evidence list and background whenever /load or /reload is used
2021-04-20 15:08:24 +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
Crystalwarrior
79d1abb48e
Add a /reload command that quickly reloads the current demo
2021-04-19 23:08:20 +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
2a1905d009
Trivial bounds check fix
2021-03-30 22:48:10 -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
Salanto
298422d453
Update courtroom.cpp to apply change requests
2021-03-22 20:45:10 +01: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
Crystalwarrior
702b275898
Fix chat messages being lost to the Ether if instant objection was used, or you switched an area during queue being parsed. (Your IC logs will be caught up to speed instead)
2021-03-22 02:10:06 +03:00
Crystalwarrior
106d9f3097
Fix blankposting forcing the message queue to sleep up until another message is received
2021-03-22 01:59:21 +03:00
Salanto
2c5da36992
Apply suggested changes
2021-03-21 21:17:52 +01:00
Salanto
a7b208b92d
small refactor handle_music
2021-03-21 04:59:15 +01:00
in1tiate
bddf6c67c2
Don't decode LE contents until after splitting by "&" ( #500 )
...
Should fix evidence, again.
2021-03-20 22:39:15 -05:00
Crystalwarrior
510c0f4b17
Add timer packets to demo playback ( #494 )
...
When the demo skips by some number of seconds, the timer will also skip forward by that duration.
Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-03-20 21:12:44 -05:00
Crystalwarrior
e3ba27c47e
Deprecate demo playback /min_wait ( #498 )
2021-03-20 13:41:35 -05:00
oldmud0
4bfd9f0d14
Merge pull request #497 from AttorneyOnline/fix/demos-evidence
...
Make demo files record evidence packets
2021-03-20 12:48:24 -05:00
oldmud0
8ba03150f6
Merge pull request #496 from AttorneyOnline/fix/demos-fix
...
Fix demos being recorded with incorrect timing. ⚠HUGE, VERY IMPORTANT FIX⚠
2021-03-20 12:47:38 -05:00
Crystalwarrior
f4cecc98af
Make demo files record evidence packets
2021-03-20 20:36:06 +03:00
Crystalwarrior
f113396ad3
⚠HUGE, VERY IMPORTANT FIX⚠
...
Fix demo playback being incorrectly timed due to the misplaced order of the wait#% packet (it should go BEFORE the appended message, not AFTER! We're delaying the message we're *writing*, not the *next message*!!!)
(cherry picked from commit 8319ebffe4c22c59c33d9c90161036d9c1ddddd5)
2021-03-20 20:30:12 +03:00
Crystalwarrior
118ff5c804
Fix demo playback not using UTF-8 codec, making it impossible to use for Russian chars and other special chars like emoji etc.
...
(cherry picked from commit f3e96ca6b38a5e069d98f2db4b17dfb7bb3f239b)
2021-03-20 20:29:17 +03:00
in1tiate
e4483719d4
Deprecate hardcoded string-based authentication, add AUTH packet ( #489 )
...
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-03-15 17:56:42 -05:00
in1tiate
3cac877378
Fix evidence icons not appearing after evidence has been presented once ( #491 )
...
all around me are familiar faces, worn out places, worn out faces
2021-03-14 19:35:30 -05:00
oldmud0
2cbb5c95ef
Fix timer using 32-bit ints instead of 64-bit ints ( #487 )
2021-03-07 00:01:54 +03:00
Crystalwarrior
016ce3ac40
Fix a segfault/crash due to invalid packet size checking for the timer (TI) packet
2021-03-04 14:03:37 +03:00
oldmud0
7d20de77d2
Fix files not being written as UTF-8
2021-03-03 16:23:06 -06:00
stonedDiscord
6e28bee92a
Hide ARUP fields when empty ( #479 )
...
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-03-02 10:02:03 -06:00
Crystalwarrior
1bb93cb7c0
Fix wrong pos being picked/displayed (most likely wit) if current_side is blank (a.k.a. use character default side)
2021-02-28 21:23:26 +03:00
Crystalwarrior
113529450d
Stop parenting qMesageBoxes to the courtroom (fixes stylesheet conflicts)
2021-02-28 21:04:47 +03:00
Crystalwarrior
71ceb758b9
Fix stickers settings option not being saved
2021-02-28 21:03:02 +03:00
Crystalwarrior
989234cf46
set default .css behavior to match established convention
2021-02-26 23:40:24 +03:00
oldmud0
a64241a0f0
Merge pull request #473 from AttorneyOnline/fix/everything
...
Fix change character lag, bg resizing and repos weirdness, inconsistent behavior, sticker setting etc.
2021-02-24 10:26:56 -06:00
Crystalwarrior
5ac95ada56
Make "stop music on objection" work in tandem with the server by calling "music_stop()" instead of only working on the client-side
2021-02-24 16:02:07 +03:00
oldmud0
7579457e89
Avoid use of QImageReader copy constructor
2021-02-22 14:31:23 -06:00
oldmud0
f1eb91a612
Load fonts located in base/fonts ( #475 )
...
This will register any font (OTF/TTF) located in the base/fonts folder
recursively. They can be used for any purpose, without needing to
install them on the system.
2021-02-22 23:22:46 +03:00
oldmud0
d32ad43665
Fix crash caused by pre-2.6 IC packet
2021-02-22 12:54:06 -06:00
Crystalwarrior
679dcca079
Remove hardcoded stylesheets from lobby
...
Stop doing the "tagget stylesheets" monstrosity
2021-02-21 16:18:45 +03:00
Crystalwarrior
354fbd239c
Stop hardcoding stylesheets so the behavior is more consistent finally (and courtorom_stylesheets.css is more useful)
2021-02-21 16:07:12 +03:00
Crystalwarrior
37011fc22d
Remove background-color stylesheet from the set_qfont (allowing stylesheets to properly initialize custom backgrounds for labels w/ transparent ones)
...
rename "set_dropdown_ to "set_stylesheet" cuz that's what it is
2021-02-21 15:50:34 +03:00
Crystalwarrior
ee918a4f81
Fix edge cases where screenshake uses wrong chatbox coordinates due to it being initialized later than needed.
2021-02-21 12:03:56 +03:00
Crystalwarrior
d6ebc3e80b
Fix chat arrow being frozen on frame 1
2021-02-21 11:38:04 +03:00
in1tiate
0ee6888dec
prevent static preanims from playing
2021-02-20 04:30:09 -06:00
in1tiate
f1aa57b125
fix speedlines never being unhidden
2021-02-20 04:10:35 -06:00