aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-03-29Don't list legacy serversOsmium Sorcerer
We haven't been able to connect to legacy servers for a very long time now, and the entries only serve to clutter the list. It's time to filter them out in favor of cleaning up the list and showing WSS-enabled servers due appreciation.
2026-03-29Support Secure WebSocketOsmium Sorcerer
Add full WSS support to public server list (using wss_port, overriding insecure port), favorite servers list, and direct connections, and show which servers are secure. Revert the upstream's removal of `legacy` ServerInfo field, as I use it to filter out legacy servers. To differentiate schemes, the `scheme` field is used, either "ws" or "wss". I don't see the reason to add "tcp" protocol when we don't even support it. For the UI, add icons for secure and insecure connections. Highlight secure servers with a green background. In the favorite server dialog, a checkbox was added to select whether the server is using WSS. In the direct connection dialog, support "wss" scheme and default ports: 80 for WS, 443 for WSS, as per the WebSocket specification.
2026-03-29Change image extensionsOsmium Sorcerer
WebP was being incorrectly labeled as not static. While it does support animation, it's a static image format by itself. As a result, WebP icons didn't work, for example. Only label APNG and GIF as explicitly not static, and add AVIF and WebP to defaults.
2026-03-29Remove IL packetOsmium Sorcerer
IL packet is a relic from pre-IPID days when moderators used it to get the "IP list" of connected users. Its function is to display a list of strings in the OOC chat box. That's it. Not even some obscure feature that can be revived. Everything IL can do, CT can do (the "OOC message" packet).
2026-03-29Remove sending CT on server joinOsmium Sorcerer
Strange idea, no realization. Trying to set up a "username requirement" is antithetical to AO's pseudonymous nature. At least, CT packet is not the way to do this: nothing guarantees its uniqueness, it's prone to spoofing if we can send arbitrary CT messages at some point during the handshake, and not everyone has their OOC names preconfigured. It was never meant to be. Delete it.
2026-03-29Reduce dialog button delay from 3 seconds to 1Osmium Sorcerer
2026-03-29Opt out of pinging the masterserver by defaultOsmium Sorcerer
2026-03-29Change masterserver URL scheme to HTTPSOsmium Sorcerer
No question.
2026-03-29Remove clientside /pos command behaviorOsmium Sorcerer
We have SP and JD to precisely handle positions and judge buttons.
2026-03-29Fix warnings and deprecated functionsOsmium Sorcerer
- For QCheckBox: stateChanged -> checkStateChanged - QChar(PREANIM) -> QLatin1Char(PREANIM) - Unused result on demo_file.open() - QPointer include was missing from lobby.h - Missing const and override qualifiers
2026-03-29Reset IC message text input on sendOsmium Sorcerer
Instead of waiting for the incoming message and checking that you've sent it by comparing character IDs, reset it right away after pressing Enter. From the network standpoint, there's no reason to wait and acknowledge the IC message this way because TCP already ensures reliabile delivery. Removing this avoids sending duplicate messages during lag spikes. It also subjectively improves responsiveness. We lose a bit of convenience. The text box will be cleared even if your message was never broadcast (due to serverside mute, for example), but Ctrl+Z fixes that, and that's how OOC chat has always worked.
2026-03-29Remove redundant authentication success messageOsmium Sorcerer
Server already gives the response to our authentication atttempt, there's no need for CLIENT to tell us about the "Disable Modcalls" button (which is actually labeled "Guard").
2026-03-29Show area list by default instead of musicOsmium Sorcerer
2026-03-29Allow saving character side in update_characterOsmium Sorcerer
This fixes "Reload theme" button resetting position.
2026-03-29Remove sending client ID and HDID in CC packetOsmium Sorcerer
The "select character" packet, CC, only needs one field: the character ID you're selecting. It uses two more: a client ID and an HDID. To select a character, you have to send your HDID every single time. This is ridiculous, you alredy send it to the server when you join. Remove it. I hoped to use empty strings in both unused fields to fully erase them without breaking the packet structure, but some servers *require* both to be present, so hardcode "0" instead. CC doesn't need anything beyond CID. Client ID _might_ be used for some spoofing protection, but even then it sounds far-fetched.
2026-03-29Support passworded characters in character listOsmium Sorcerer
This obscure feature has been present for years, from sending passwords to the server to showing `char_passworded` image over character icons. Servers could already exploit clients sending `PW` with a password every time they select a character to implement passworded characters. The clients had no way of knowing which ones were passworded, however, and couldn't filter them despite "Passworded" checkbox being here all along. The approach used by this commit is a hack. During loading, server sends SC which is a list of characters, each one having name, description, and evidence. In practice, only names were used. Descriptions were stored in memory but unused, and evidence was ignored altogether. By adding a magic value "P" in this "character evidence" field, server can mark passworded characters without breaking Vanilla compatibility.
2026-03-29Stop setting volume on evidence showOsmium Sorcerer
Presenting evidence took volume as a parameter which it also set. It's unnecessary as the evidence uses the same SFX player, the volume of which is controlled by the player with a slider.
2026-03-29Force HTTPS scheme in music streaming URIsOsmium Sorcerer
Additionally, fix the path construction for music tracks that are requested via asset URI.
2026-03-29Rewrite audio engine: replace BASS with miniaudioOsmium Sorcerer
SFX and blip players largely remain the same. For the music player, we now have to implement network streaming natively, we no longer have a convenient function that did everything for us. I introduced QNetworkRequest to download the stream in memory and signal when it's ready to be decoded and played back. The size is guarded to prevent the client from accidentally downloading terabytes of audio. Delete QFutureWatcher, we no longer need it for concurrency. miniaudio uses a separate audio thread. Network donwloads and communication with the track name display are handled by Qt signals. Also, delete an odd "music.txt" feature. Its purpose was specifying offsets for loops in a text file per track, but it remained obscure and unused in practice. Unsupported: - Large streams, including unbounded ones (radio). We'll need a ring buffer for that, and a mechanism to write to it from the network and feed it to the audio thread. - Effect flags: fade in, fade out, sync pos. Ignored. - Audio device selection.
2026-03-29Update CMake build informationOsmium Sorcerer
- Change CMake minimum version. - Turn off tests and Discord RPC by default in CMake. Let these features be explicitly enabled if desired. - Add three build profiles: Dev, Debug, Release. Dev offers the fastest unoptimized builds. Debug enables additional symbols, tracing, and turns on Address Sanitizer. Release is aggressively optimized, including LTO.
2026-03-29Add third_party directory for dependenciesOsmium Sorcerer
New dependencies: - Miniaudio as our new audio engine, replacing BASS. Includes additional codecs. - Libsodium for cryptography. For now, CMake shall handle its inclusion, but, ideally, we'll check it in too.
2026-02-06Double scaling factor (#1104)stonedDiscord
* float scaling * float scaling factor * aooptions float * doublespinbox * header file double * double it up * clamp to 0.1
2026-02-03WSS support (#1114)stonedDiscord
* add ssl scheme * use protocol * set port * remove last legacy entry
2026-02-02bass.h moved to c folder (#1112)stonedDiscord
* bass.h moved to c folder * opus too * c folder
2025-07-30No more bash (#1106)OrioleNix
* Make it actually non-bash dependent changed the way script_dir is found to not call on bash * Make dynamic install not bash dependent Removes a bash requirement for the env call * Update APPIMAGE_INSTALL.sh * Update DYNAMIC_INSTALL.sh
2025-07-28Fixing shebang statements for edge cases (#1105)OrioleNix
* selecting /usr/bin/env helps edgecases There are systems (though rare) that don't have bash, but instead only have sh, or zsh, etc, which would otherwise be able to use our shell scripts, there's no reason to not allow the environment to select its shell. * Update DYNAMIC_INSTALL.sh This applies to both the dynamic and appimage installations
2025-05-31Delete dubious MIT license (#1100)Salanto
* Delete diubious MIT license AO2 does not gain copyright by people adding code. This license was added under dubious legal ground and, at best, should've only been added once consent from all contributors whose code was incorporated was given. * Adjust readme, add relicense.md
2025-05-08Close punishment dialog when the user leaves (#1097)Salanto
* Close punishment dialog when the user leaves Prevents silly moments where the wrong person gets banned/kicked * Fix formatting --------- Co-authored-by: stonedDiscord <Tukz@gmx.de>
2025-05-08Explicitly set app icon on widgets (#1098)Salanto
2025-04-21demo fixes (#1095)in1tiate
- fix RD being recorded twice - fix demos recording themselves
2025-04-15Add tooltip explaining playerlist format (#1092)in1tiate
2025-03-17More Linux integration (#1085)lambdcalculus
* Add integration shell scripts for linux! These shell scripts (one for appimage and one for dynamic) both should: 1: Move the program files to ~/.local/Attorney_Online 2: Create a .desktop file (which is what applications on Linux use to know to be interacted with) in the ~/.local/share/applications folder (where all other user applications tend to go), with at current a temporary logo until the logo file is parsed out from the xapplication window. 3: open the application, assuming the necessary dependencies are fulfilled Dynamic required some further support due to the startup shell command working correctly when you click it manually, but struggling on the .desktop folder, so it has the additional step of recreating the current launch.sh command, which still functions if you go to the folder to click it, or if you open the program before integration to test things. Both sh commands open AO2-Client at completion time. I hope this will help newer Linux users, or older Linux users who normally wouldn't bother, to bring AO into their normal day to day experience. This has been tested on (by me): Fedora 40 Workstation (Gnome) Arch Linux KDE Plasma 6 Ubuntu Unity 24.10 aka Oracular Oriole Debian 13 Trixie (Before it's freeze, marking date February 9th 2025) Thank you for reading, have a wonderful day! * linux CI tweaks * remove the need for `launch.sh` * add git hash as appimage version * bit of reorganization * add linux install scripts to CI * tweak linux install scripts to add install scripts * remove `launch.sh` (as per previous commit) * add instructions in README_LINUX * include icon in linux install * fix install script and fix typo * add exec path to desktop files * why would freedesktop.org do this to me --------- Co-authored-by: OrioleNix <163466443+OrioleNix@users.noreply.github.com>
2025-03-14Fix crashes related to music list context menu (#1088)in1tiate
2025-03-09Remember category expansion state when regenerating music list (#1083)in1tiate
* remember category expansion state when regenerating musiclist * don't do file i/o here actually --------- Co-authored-by: stonedDiscord <Tukz@gmx.de>
2025-02-28contribs (#1087)in1tiate
2025-02-18improve language for previews (#1084)in1tiate
2025-02-09Fix shownames toggle not being respected in several places, clean up ↵in1tiate
implementation (#1080) * Move showname switch to settings and fix it * let the append function handle shownames
2025-01-29Update clone target in configure.sh (#1077)Salanto
2025-01-28fix faulty return code causing no error message (#1075)in1tiate
2025-01-23Make sure QList is large enough before calling at() (#1074)in1tiate
2025-01-23Use global evidence instead of local for display (#1073)in1tiate
2025-01-23Fix null pointer exception on motd fetch failure (#1071)in1tiate
2025-01-23Fix legacy position population (#1069)in1tiate
* Reworked legacy position population - Changed data structure to a static list of pairs to avoid unnecessary deep copies - Fixed oversight which caused iteration over the value and not the key of the previous QMap * clang-format pass :rolling_eyes: * disambiguate pair order further
2025-01-14Merge pull request #1067 from AttorneyOnline/cleanupin1tiate
Very cool and professional cleanup of clazy warnings
2025-01-13Merge branch 'master' into cleanupin1tiate
2025-01-13don't filter out information we have anyway (#1068)in1tiate
2025-01-13Merge branch 'master' into cleanupin1tiate
2025-01-13Add the ability to "favorite" songs and pin them to the the top of the ↵in1tiate
songlist (#1066) * add song favoriting * remove incorrectly placed sort() * store as qstringlist instead of using keys
2025-01-11avoid loop container detachin1tiate
2025-01-11clazy cleanupin1tiate