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

KFO Update Wooohoooo #33

Open
wants to merge 114 commits into
base: TsuKry-2.11-Testing
Choose a base branch
from

Conversation

iamacoderforfun
Copy link
Collaborator

No description provided.

stonedDiscord and others added 30 commits April 4, 2023 13:23
copy pasted from KFO-Server-AOV yeehaw
* 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
* 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
Crystalwarrior and others added 30 commits May 15, 2024 16:31
* Add triple pair

---------

Co-authored-by: Crystalwarrior <[email protected]>
* Update need command

* add need command timer

* add need call webhook function

* add need call webhook function variables

* Update config.yaml

* change timer with delay

* change timer with delay

* check if need_webhook exists in server config

* add url to need_webhook config

* add title to config

* check if need_webhook is enabled

* add color to send_webhook

* Update webhooks.py
* Update admin.py

* Update webhooks.py

* Update webhooks.py

* Update webhooks.py

* Update config.yaml

* Update webhooks.py

* Update webhooks.py

* Update webhooks.py

* Update config.yaml

* Update webhooks.py

* Update config.yaml
* fix musiclists

* fix list hubs

* fix load hub

* Update hubs.py

* Update hubs.py
* Create .gitkeep

* Delete storage/musiclists/.gitkeep

* Create .gitkeep

* Create .gitkeep

* Create .gitkeep

* Create .gitkeep

* Fix musiclists command

* fix list_hubs command

* Update hubs.py

* Update music.py

* Update area_manager.py

* Update area.py

* remove write_read folder

* remove write_read folder

* remove write_read folder

* remove write_read folder

* remove write_read folder

* remove write_read folder

* Update hubs.py

* Update hubs.py

* Update music.py

* Update hubs.py

* Update hubs.py

* Update hubs.py
* Update commands.md

* Update commands.md

* Update commands.md

* Update webhooks.py

* Update commands.md
* Allow discord users to view populated areas via BridgeBot

* Update discordbot.py
* add auto pair attribute to area
* update documentation
* Improve area information retrieval on discord

- Renames getareas to gethubs
- Message splitting when character limit is reached
Multi pair, max pair partners area prefs
* Sync command tree on ready

* Make gethubs a slash command

* Switch to discord interactions
70% of the valid voters must vote
AFKers, CMs, hidden players, spectators, and people already in a minigame don't count
…ent in hub)

* Add "show_in_dark" setting for evidence so it appears regardless of /lights status, allowing you to create "light switches" etc.
* Add evidence with triggers for the /trigger command
Fix /lights not updating people's evidence lists properly
Fix overlays not being saved even when using /save_hub /load_hub
* Add format timer

* send format if a client enters in an area

* Add format string to timer class

* Add format string to timer class

* Add format string to timer class

* add format timer to doc

* Use send_timer_set_time function instead of for loop

* Update roleplay.py

* Update roleplay.py

* add format_timer to command aliases

* Fix restart timer when change format

* add format_timer to commands

* add timer interval command

* add interval to timer

* add interval to timer

* add interval to timer

* add timer interval command to documentation

* add more info to the /format_timer doc

* Update timer interval docs

* modify timer interval

* update format timer command

* Update roleplay.py

* Update roleplay.py

* add send_timer_set_interval function

* Update roleplay.py

* Update area_manager.py

---------

Co-authored-by: Alex Noir <[email protected]>
…w, whatever message you use the "witness testimony" button on will be considered the testimony title
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.

9 participants