Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update from cw #18

Merged
merged 46 commits into from
Mar 7, 2024
Merged

update from cw #18

merged 46 commits into from
Mar 7, 2024

Conversation

stonedDiscord
Copy link
Owner

No description provided.

stonedDiscord and others added 30 commits June 21, 2023 22:56
* let ci run every time

* Perma ban info display fix

copy pasted from KFO-Server-AOV yeehaw

* major spelling mistake

* add webfiles info command

* keep track of iniswapping

* fix up webfiles command

* also account for ipv6

* make broadcast accessible to hub owners only

---------

Co-authored-by: yemta <[email protected]>
Get all the multi-clients of the IPID provided, detects multiclients on the same hardware even if the IPIDs are different.
improve overlay_hub help text slightly
…s don't have to spam enter to send a message when they have a Queue system client-side to handle this (inconsistent delays suck, as practice showed)
…y, just makes users confused why pressing enter doesn't work
* Implement mid-text emote swapping

* Change delimiters from () to <>
* Run markdownlint on readme

* Fix indendation manually

* Copy config_sample instead of rename

Renaming makes a bunch of changes to the git working tree
* Add secure websocket options to config sample

* Send secure websocket port to MS

* Add some comments about secure websocket

* PEP8 formatting masterserverclient.py

* no need to run get_my_ip if we have it already

* phrasing
* Handle the missing cases

* Initial AOG RC-1 release
* Changed the name of "clear_area_char_links"

* Put the "CU Packet" doc on client_manager.py

* Changed the authority level to the correct value.

* Added comments to the 3 action types.

* Adds more commentarys

* Removes redundant fetch of user links

* Removing the user links should be before adding.

* Updated comments on 'get_new_area_user_links'

* Reverted "unnecesary fetching of user links"

* Make the user link only get declared if it exists

* Only fetch the user links that are declared

* Adds the TODO about hidding.

* Update to the new char_name with TT and CU packets

* Document a possibility with live updating

* Fixed critical exploit with the action type

* Add a "self clear" option on the CU packet

* Reordered the "char_name" assignment

* Revert "Update to the new char_name with TT (...)"

* Revert the "Revert update to the new char_name..."

* Add clear on exit and fetching on join

* Adds the server links feature on the server

* Fixed typo on "emote_name"  to "last_sprite"
* Handle the missing cases

* Initial AOG RC-1 release

* Refactor the connect function

* Used codeium to create the docstrings

* Removes unnecessary mutability of the IP on body.

* Changed to lazy % formatting so PyLint can be happy

* The loop is only needed here

* Removed unused imports

* More organized imports with Pylint in mind

* Forgot to add the "Retrying in 5 seconds..."
(without saving it as a last message because that only made things worse)
* Resolve merge conflict

* Make sure system imports are on top in tsuserver.py

* Rename to setup_logging, stdout_handler snakecase

* Rework logging in msclient

* Place interval in self

* Rework log handling, make everything the same format

* Rename to standard log levels and use lazy string eval in passing to logger

* Revert masterserverclient.py
Crystalwarrior and others added 16 commits November 13, 2023 00:35
* Rename start script to omit space

* Use python on windows

* characters doesn't exist anymore, storage is probably correct

* Lock requirements.txt file with versions

Since there may be breaking changes between versions of
packages, it's generally recommended to use specific versions
This requirements.txt file was generated by installing the
existing requirements to a fresh virtual environment, then
running pip freeze.

* Upgrade Python requirement from 3.7 to 3.11

Python 3.7 stopped getting security updates four months ago.
See https://endoflife.date/python

* Rewrite README

Generally, prefer using virtual environments.
Reformulate and slim down some things.
Add new section "Pro Tips" for cool advice.
The readme does not generally need a whole debugging guide for docker.

The readme is not a blogpost. Refrain from 'hot takes', please.

* Update helper scripts to use venv

* No point in activating venv for one command

* Remove more cheeky comments
* Formatting

* Rework error handling in masterserverclient

The finally block is always executed, so there's not need to
hardcode another sleep(5) in the try blocks.

Since the second except is a generic exception, make sure to log
it as a hard error.

Also make 60 less of a magic number by making it a class variable.

* Add secure websockets to config sample

* Log uncaught exception properly

* Add secure websocket advertising again
)

* Add QoL server-side commands for DL Manager
Now you can use it outside of AOG.

* Set the new shortcuts for the new commands
* Update aoprotocol.py

* Update casing.py
* Update messaging.py

* Update client_manager.py

* Update client_manager.py

* Update messaging.py
* Update area_manager.py

* Update area_manager.py

* Update areas.py

* Update client_manager.py

* Update client_manager.py

* Update config.yaml

* Update area_manager.py

* Update client_manager.py

* Update command_aliases.yaml
… and coinflip commands

Update requirements.txt to use aiohttp 3.9.0 to work on Python 12
* Add a Rock Paper Scissors command
RPS-5 variation hard-coded for now
/rps by itself displays rules, /rps [choice] submits a choice
Winner is announced when 2 opponents fight each other

* Add /rps_rules command to set up the rock paper scissors rules
Rock Paper Scissors rules are now tracked in the Hub
@stonedDiscord stonedDiscord merged commit c6bb517 into stonedDiscord:master Mar 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants