aboutsummaryrefslogtreecommitdiff
path: root/src/packet_distribution.cpp
AgeCommit message (Collapse)Author
2021-01-10Add arup_clear() and clear arup when fetching new areasSkye Deving
Theoretically fixes #313 The "FA" packet from the server invalidates the client's previous area list so it makes sense for the arup information tied to that list to be invalidated as well (especially seeing that the area and arup share the same index). As we repopulate the client's area list, we do the same for the arup list.
2021-01-09Add desk_mods 2 -5 for more flexibility in emotes (#353)in1tiate
2021-01-06Merge pull request #316 from AttorneyOnline/messageboxoldmud0
add BB packet for a MessageBox popup
2021-01-03FL toggle for Y offset (#360)scatterflower
Use "y_offset" to enable the Y offset protocol extension.
2020-11-16move enter courtroom to the PV packet instead of just doing it when you ↵stonedDiscord
click a character
2020-11-07Merge pull request #312 from AttorneyOnline/fix-doubleclickoldmud0
fix doubleclick server being buggy
2020-11-01reset doubleclick flag on connectscatterflower
2020-10-06add BB packet for a MessageBox popupstonedDiscord
2020-10-04fix doubleclick server being buggyscatterflower
2020-08-21remove slow loadingscatterflower
2020-08-21remove remaining traces of fantacryptscatterflower
2020-08-21remove fantacryptscatterflower
2020-08-16clang formatscatterflower
2020-08-15Only regenerate the area list once per ARUP packetscatterflower
2020-07-31Add option for automatic logging (#203)windrammer
Just so we're on the same page, this is enabled by default. Co-authored-by: Cents02 <Cents02@Cents0.me>
2020-07-23Make 'FL' packet reset settings to default and take the new settings in (#186)Crystalwarrior
* Fix colors in ic logs not parsing HTML properly when log_goes_downwards=false and colorlog=true * Restore KFO branding * Reset the settings values when receiving the 'FL' packet. This allows enabling/disabling features at runtime, such as ARUP system. * Revert "Restore KFO branding" This reverts commit 7f19b6257a0d75ec1d392b9b8c02a384c8dba43d.
2020-06-12Fix connect button not enablingoldmud0
Apparently this had never been staged, and while everyone was having problems with the connect button, everything was working just fine for me. This enables the connect button a bit earlier in the handshake process than in 2.6, since there are some older servers out there that don't send FL (and so the connect button would never get enabled). This might lead to race conditions, and sometimes the progress bar does hang, but you can just cancel and reconnect - I haven't encountered a crash so far.
2020-05-23translate stuff that got run oversD
2020-05-22Merge KFO source unconditionally into AO2oldmud0
2020-05-22Perform clang-formatoldmud0
If you don't want to see this commit on blames, use the hidden whitespace option on GitHub, or use `-w` in git-blame.
2020-05-22Full revert to tag 2.6.2oldmud0
Due to a countless number of changes made to the core that were not fully understood, tested, or documented, it was decided to roll everything back to the last known stable version (2.6.2). Changes dropped include: - Witness needed - Shake - Frame SFX - Multiple custom objections - Multithreaded thumbnail generation - Looping - Various translation additions - "Mirror IC" - Color in IC log - An invocation of clang-format Next time, work together and split your big fork into independently testable feature branches.
2020-05-22clang 2 electric boogalooCrystalwarrior
{ BasedOnStyle: LLVM, BreakBeforeBraces: Stroustrup}
2020-05-22Clang-ify the code with this styling using Visual Studio Code:Crystalwarrior
{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Stroustrup, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All } (this is the Visual Studio preset with only "BreakBeforeBraces" changed from Allman to Stroustrup)
2020-04-17Run clang-format on entire projectoldmud0
Indentation fixed to 2 spaces per tab. Braces set to Stroustrup style. Lines reflow at 80 characters. One-line method bodies are on the same line as the signature. Space always after `//`. No indentation on preprocessor macros. Includes are sorted lexicographically. If you don't want to see this commit on blames, use the hidden whitespace option on GitHub, or use `-w` in git-blame.
2020-04-17Mega-merge of CR forkoldmud0
CR likely stands for "CentsRaidensnake." Like the Case Cafe mega-merge before it, this was not a clean merge, and it had to be split up into two parts: the actual changes, and the attempt it made to reformat the entire code via clang-format. This branch had a complicated set of changes that would be difficult to describe in this commit message. It would be better described in a proper changelog.
2020-03-15it's basically the same packet minus requesting the next listsD
2020-03-15Merge branch 'master' into pr/104sD
2020-03-13move area list detection algorithm into a seperate functionsD
2020-03-13musictime is a bad name for thissD
2020-03-06indentationsD
2020-03-06Merge branch 'master' into music_list_updatestonedDiscord
2020-02-24Make pos dropdown more abstract and actually useful by letting servers send ↵Crystalwarrior
only pos you can actually access. Pos dropdown system also reads the actual bg folder of the current BG to see all the created pos.
2020-02-23loading lost in translationsD
2020-02-23replace music loadingsD
2020-02-23detect == as music startsD
2020-02-21put the old char loading backsD
2020-02-21area count got renamedsD
2020-02-21Merge branch 'master' into 2.7stonedDiscord
2019-10-23Allow gender (blip sounds) that don't use sfx-blip naming conventionCrystalwarrior
Fix "prezoom" packet being ignored Allow char.ini's to indicate a zoom w/ preanimation by using emote_mod=4 ((ALL OF THESE ARE UNTESTED - TESTING NEEDED!))
2019-10-12Allow area list to contain metadata (as well as categories for future expansion)Crystalwarrior
Fix backwards compatibility breaking when you join a server that doesn't support effects after previously joining a server that does
2019-10-01Fix some read_file errors on effect loadingCrystalwarrior
Make FM packet only fetch music, and new FA packet to fetch areas (this way you don't have to reload the entire music list just to get new areas) Fix a possible segfault with emote lists if emote list size is bad Hide casing button if server doesn't support casing Hide the remove buttons by default for iniswaps and sfx list so they're not clickable when they shouldn't be Prevent background from being displayed unless the server asked us to Fix some redundancy surrounding current_side Rework music list so list_music doesn't care about search bar and the hiding is actually done in the search function Implement text centering, rightening and justifying Fix text scrolling meme that happened with \n and skipped chars Fix the pos dropdown not actually caring if you selected jur and sea pos. Fix the pos dropdown sending like a million packets when scrolled through. Prevent characters from being incorrectly resized if a different-scaled character speaks Fix character select screen letting you choose characters that the server doesn't want us to be
2019-09-24Fix an issue with AOCharmovie hanging on frame1 animationsCrystalwarrior
Fix an issue with the logger screwing up the server folder name string if character ' was used
2019-09-24When the background is changed, display it in the correct position as ↵Crystalwarrior
dictated by the server packets Add a new "set pos" packet Udpate the pos dropdown according to the current pos
2019-09-18Implement effects system that reads your folder in theme/effects, or ↵Crystalwarrior
misc/<folder name>/<effects> Add an effect packet Allow aomovie to be fed a direct path Add some really terrible helper functions that shouldn't exist, sorry.
2019-09-17Streamlined ini swapping so the user can set up multiple character folders ↵Crystalwarrior
associated with a character. This will save to the character folder's iniswaps.ini. You can click on the dropdown and edit the text inside to add an iniswap, and press the [X] button that'll appear next to it to remove the ini swap. Recode the enter_courtroom and add a new update_character feature - the two are now separate and responsible for different things. The courtroom will reload the whole theme and widgets while the character is only responsible for all ui elements related to the character. This drastically improves performance when switching characters using /switch or something Add a set_char_ini helper function that allows you to modify the character variables. For now only used to set name= field when iniswapping
2019-09-16Add additive text option where your messages are added to your previous one, ↵Crystalwarrior
fully networked and ready for the server Adjust some pointless static bool casts to be actual logic checks
2019-09-16Add file reading, writing and appending functions that create folders if ↵Crystalwarrior
bool is true Fix server_address not being properly created in packet distribution Create a log file when you join a server in the logs/<server name>/<logname>.log and update it every time there's a new chat entry minor refactor of chatlogpiece
2019-09-14Fix the objection_stop_music option not doing anythingCrystalwarrior
Stop the animation for the side player char in pairing so as not to affect anything Remove the "DOOM" packet as anyone who has the source code can just remove it anyway
2019-09-13Set up screenshake button uiCrystalwarrior
Rewrite Goofball's doScreenshake() function to be much more modular and multi-purpose (also rename to do_screenshake() to match other functions) Add networking needed to make screenshake work. Works with AOV version of tsuserver3 (button screenshake only so far). Add get_theme_pos helper function, currently unused.
2019-09-11Add clear_music and clear_areasCrystalwarrior
Comment out the index as it can be potentially confusing alongside "true" area numbers Add "FM" to Packet Received that would reload the areas and music list TODO: Test this with arup systems