#2 getting master up to date

Merged
wwevo merged 23 commits from development into master 1 month ago
wwevo commented 1 month ago

new queue system more control over locations during hordenights most stuff for auto restarts is in now. added a bunch of status messages moved some stuf out of the module main loops

fixed a bunch of small issues and bugs

new queue system more control over locations during hordenights most stuff for auto restarts is in now. added a bunch of status messages moved some stuf out of the module main loops fixed a bunch of small issues and bugs
wwevo referenced this issue from a commit 1 month ago
getting master up to date (#2) tinkered with the auto-kicking and login restrictions new players (players without any permissions set) will not be allowed to log in during hordenights if they are in the lobby or village and will in fact be kicked. fixed the uptime command players attempting to log in during hordenights will be kicked, unless the server is already empty moved blood_moon starting hour to module level, i'm sure it will be needed later added uptime command to show how long the gameserver has been running fixed some logic errors. well. hotfixed it. no restarts during the night for now. will need to implement more comprehensive database entries. added logic to determine if a restart should be scheduled. takes upcoming hordenights and already scheduled shutdowns into account. We will not auto-restart if it's less than two hours to hordenight! added game-uptime to the gameserver status widget (hover online-status for now) forced shutdown will now give a brief warning and will wait 5 seconds ^^ removed clunky helper function that was barely used at all, it only added to the already present confusion players module is now storing all data inside the active_dataset permissions module is now storing data inside the active_dataset removed disable after success functionality moved initial setup methods out of the modules mainloops, getgameprefs for example. they will call themselves again if they fail. This removes the need for a "disable after success" option. fixed a few bugs occurring on fresh /no database start fixed shutdown not working properly. probably be more actions out there that needs some updating added fail messages to a few teleport commands telnet commands are using the new Queue class, timestamps and stuff will be made us of now, was hoping this might help fixing the double teleport bug ^^ added a bunch of status messages for now fixed the odd command removed uuid4 from non-tracked stuff., those will be moved to the new class soon(ish) had to rename the queue class and file to somethnig else. pycharms debugger stopped working in the queue.py file. renaming it instantly helped. raised engineio max payload size to avoid an exception. handling a lot of small connections would cause the built in tampering protection, default is set to 16. i've raised it to 48 for. not a serious error, only happening on startup with a browser + backlog. just ugly is all. added general queue mixin to retire local solutions in different modules added event_data and dispatchers_steamid to queued commands added note about using serveradmin.xml for permissions to the readme removed funding file for github, since we aren't using github any longer fixed a ton of authentication, muting and teleporting problems. added check for a player being in limbo before teleporting new players should now be correctly muted IF a password is set AND if they are NOT authenticated already. still have some trouble with players whose bot-data has been deleted but already exists on the server fixed call to wrong module moved executing telnet triggers to the telnet module... should enhance response times a bit. lobby will no longer fetch people if no password is set. <- this needs more work and thought. moved gettime out of the modules main loop. Goal is to not have hardcoded calls at all. Co-authored-by: wwevo <evoisat@gmail.com> Reviewed-on: https://code.chrani.net/wwevo/chrani-bot-tng/pulls/2
wwevo merged commit 86578c17f2 into master 1 month ago
The pull request has been merged as 86578c17f2.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.