Sourceserver

Latest version: v0.10.0

Safety actively analyzes 630360 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.9.0

Brand new automated server connection retry for any servers closed automatically by the required number of consecutive failed pings, which solves the issue of server blackouts not being detected due to the bot not being manually retried with `retry`.
The bot will also send a DM to users set to be notified when the bot successfully regains connection to a server after automatic closure, including a manual `retry` before the bot can auto retry.

Additionally, overhaul and refactor of old bot code that hadn't been touched in a while, and minor work on the GMod relay client.

Major Changes
* Automatic retry system with user ping 9
* `custom` API payload type added to facilitate game specific or other raw printing to Discord through the relay (using this in addition to the GMod client's shared hook for inbound messages would allow for practically any degree of relay driven integration, like ULX passthrough) 7

Minor Changes
* Replaced unnecessary global variables with locals in the GMod client 2dd83ef093321a39ca0eb23d82f6f45b55294ab7
* Formatting on specific info property prints has been improved 10
* Bot commands are no longer sent through the relay 3
* `notifyIfDown` and `dontNotifyIfDown` commands refactored and renamed to `notify` and `dontNotify` to reflect the new notification on restart of an automatically closed server 56851c53f9111aceefc934491e4ecb1f10655bf4 0cbf68d1d5680f9ca675ec889485b368c168974e
* `custom` API payload type used to send a message through relay from the GMod client when the relay is toggled 00b4ac432275699ff76c6648d359c173d06de680
* DM messages updated to reflect people being notified for the server coming back up too fa8981061ec2948cee748f974fbe37aa0f9fc543

Bug Fixes
* Calling `peopleToNotify` no longer prints an unfinished list message 8
* The GMod client can no longer be toggled to the same state using `startRelay` and `stopRelay` 572f1b3fa9f1102e0870df8cd7d5aae0462d2f09
* Missing verbose check on join/leave event HTTP activity added to GMod client 64b0ab51a4dd2bcb45737c344f3fe297d8236d56
* Fixed bug where calling `ServerCommands` cog commands in a channel with no server connection would result in attempting to index with an invalid key fa9aa4081ca2213d86a02a87d55ee54a22a8082f
* Failing to establish a connection with a server using `connect` will no longer add that closed server object to the JSON data 8d0411e96b389f88f3f9314df85b0fd4bcfaeb6a

0.8.1

Bug Fixes
* Incremented package version number f1f3bdfe3dcf8f6384a6477879872376895fc3cd

0.8.0

Massive work on the relay system in this one.

Major Changes
* Player deaths are now supported in the relay HTTP API and implemented into the GMod client 5
* Discord members' display role's name is now sent with messages in the HTTP API, and displayed in the GMod client 4

Minor Changes
* Responses to bot commands are now sent as replies to the command message using the new Discord reply feature. 6

0.7.1

Minor Changes
* Made rules a property

Bug Fixes
* When I made info a property that gets info from the server when accessed, I inadvertently broke processing split packets, which used to access the cached variable, but was now accessing an updated variable. This meant that **AFTER** a split packet was detected, an info request was sent, this info request then got one of the split packets, as it was sent after the initial split packet was received, and the first attempt to get the next split packet got the response to the info request.

0.7.0

After a 2 month hiatus of this project, development has been resumed!

Major Changes
* Relay messages now take their colour from the HTTP API's `teamColour` parameter 580e58907857c033b96ecf59132607883096635b
* Repeat messages from the same user will concatenate into a single embed in a similar fashion to standard Discord message concatenation 580e58907857c033b96ecf59132607883096635b

Minor Changes
* Verbose flag added to GMod relay client to toggle printing repeat debug information ac2ab68319c6cef66166997007bd61529f235eef

Bug Fixes
* GMod relay client's GET loop no longer terminates on an unsuccessful request, preventing further Discord messages from being displayed ac2ab68319c6cef66166997007bd61529f235eef

0.6.1

Minor Changes
* Improved .ping() function definition 722245e58e711a0709953337cd7a5399eb2ead98
* Reworked `SourceServer`'s connection method to match `MasterServer` 2630b4098dcb85a7509c75acfe592ab5fe820a78

*Note, forgot to stage changes to `sourceserver.py` so any changes made to that file hadn't been committed*

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.