5501 Commits

Author SHA1 Message Date
UnknownShadow200
0e512e5941 Change /restore to also list backups when invalid backup number is passed (and /restoreselection) 2021-10-26 19:45:55 +11:00
UnknownShadow200
de6ce82d55 Fix museum not restricting perbuild to nobody and fix /place still being usable in museums 2021-10-26 17:34:25 +11:00
UnknownShadow200
3b83214ad9
Merge pull request #647 from UnknownShadow200/AuthServices2
Split up Heartbeat into Heartbeat and configurable AuthService
2021-10-23 12:09:00 +11:00
UnknownShadow200
411b6c38b6 Fixing 'Finding URL..' message being located a long way away from the first 'Server URL found' message 2021-10-22 20:13:43 +11:00
UnknownShadow200
dc92ff87b8 Add random comments and remove one unnecessary use of Formatter.ValidName 2021-10-22 12:03:04 +11:00
UnknownShadow200
bf9296cff3 Remove Player.ValidName as it will no longer be able to provide the same guarantees about usernames with pending authentication services changes 2021-10-21 21:45:58 +11:00
UnknownShadow200
4ecff0e0e5 Allow /copy save to use any filename, and improve Formatter.CheckFilenameOnly 2021-10-21 19:06:08 +11:00
UnknownShadow200
ae1b5d342b Tidyup authservices.properties help text 2021-10-21 18:27:11 +11:00
UnknownShadow200
48c2148c9c Allow configuring authentication services 2021-10-21 12:33:00 +11:00
UnknownShadow200
f6f1ac5fb3 Split up Heartbeat into AuthService and Heartbeat 2021-10-20 23:25:36 +11:00
UnknownShadow200
91ba52c872 Slightly better documentation in ranks.properties 2021-10-20 23:23:40 +11:00
UnknownShadow200
f8503f031e Add link to wiki in discordbot.properties 2021-10-20 23:05:56 +11:00
UnknownShadow200
b91eeaab43 Split up ConfigElement.SerialiseSimple into ConfigElement.SerialiseSimple/SerialiseElements 2021-10-20 22:58:47 +11:00
UnknownShadow200
48a8cceee4 Remove JailX/Y/Z from level properties (unused and were always written as 0 anyways) 2021-10-19 23:03:10 +11:00
UnknownShadow200
5fbbde2df7 Use preclassic like env by default for preclassic imported maps 2021-10-19 22:33:58 +11:00
UnknownShadow200
296051b571 Add preclassic map importing support 2021-10-19 22:20:47 +11:00
UnknownShadow200
a5b20aa01e Fix 'unsupported protocol version' kick log not including player name 2021-10-18 20:26:17 +11:00
UnknownShadow200
24f396a661 work out what missing 0.13 dat field is.. it's not spawn 2021-10-18 19:30:03 +11:00
UnknownShadow200
cd31921cb9 Add classic 0.13 dat importing support, mostly
Spawn coordinates aren't read though
2021-10-18 18:20:11 +11:00
UnknownShadow200
ed3543d607 Better error message when importing non .dat file as a .dat 2021-10-18 18:00:59 +11:00
UnknownShadow200
109cb48f68 Drop most of Command.all (obsolete 3 years) 2021-10-17 21:58:07 +11:00
UnknownShadow200
cca3b7359e Drop Player.leftGame (obsolete 6 years) and don't pointlessly reset some state on leaving 2021-10-17 16:04:17 +11:00
UnknownShadow200
0b70aa6fa3 Disable ClassiCubeAccountPlus by default, and don't strip trailing + from usernames when it is disabled 2021-10-17 14:12:52 +11:00
UnknownShadow200
71f7dd0e06 Simplify getting default realm owner behaviour for /mapinfo 2021-10-17 08:54:50 +11:00
UnknownShadow200
825cfabf44 Use Server.ToRawUsername instead of RemoveLastPlus() 2021-10-15 22:29:09 +11:00
UnknownShadow200
104c9a624c Fix /clients showing caller's client for all players (Thanks Fam0r) 2021-10-14 07:40:18 +11:00
UnknownShadow200
922425a7f0 Server.FormatName -> Server.ToRawUsername 2021-10-13 23:08:55 +11:00
UnknownShadow200
1fe25c0426 Discord: Don't log full error if can't reach discord.com is what's causing the error 2021-10-13 20:06:59 +11:00
UnknownShadow200
046d1ba42b Discord: If sending request failed, also include method/route in error log message 2021-10-13 19:44:39 +11:00
UnknownShadow200
c9c8d5e7ee Add Server.FormatName method, which at the moment just calls RemoveLastPlus 2021-10-09 20:25:16 +11:00
UnknownShadow200
9c55694180 Improve 'config contains non-allowed character' message to also include the problematic character (Thanks Dire) 2021-10-05 20:58:47 +11:00
UnknownShadow200
9b870c289c Change /clients to show classic < 0.30 versions (Thanks rdebath, fixes #643) 2021-10-05 20:38:33 +11:00
UnknownShadow200
4bcb5e3351 Ignore usertype field in handshake packet when protocol version is less than 7 (Thanks rdebath, addresses #643) 2021-10-04 12:17:23 +11:00
UnknownShadow200
efd4333ea4 Discord: Fix doing .who with level names with _ in them showing as '\_' instead of expected '_' (Thanks MESYETI) 2021-10-04 11:52:58 +11:00
UnknownShadow200
956aee5407 Release 1.9.3.5 1.9.3.5 2021-10-03 11:45:39 +11:00
UnknownShadow200
6317f0e067 Make protocol version field public 2021-10-03 09:44:30 +11:00
UnknownShadow200
366be0bf8e Fix getting stuck on map loading screen if you tried to join a level that had been unloaded 2021-10-03 09:20:44 +11:00
UnknownShadow200
44ac084877 Make it so heartbeat URLs are still updated after /server reload 2021-10-02 17:47:39 +10:00
UnknownShadow200
dd3845ff80 Support multiple heartbeats (WIP) 2021-10-02 16:30:37 +10:00
UnknownShadow200
b3f6d0da7a Cleanup Heartbeat class 2021-10-02 11:38:36 +10:00
UnknownShadow200
7e4f133d1f Move Hash field to ClassiCube heartbeat class
Fixes if you were using multiple heartbeats and the way the services calculated hashes differed, you'd get alternating 'classicube url found' messages logged to console every 30 seconds
2021-10-01 22:12:50 +10:00
UnknownShadow200
517831dc56
Merge pull request #635 from UnknownShadow200/PreProtocol6
Add support for protocols 3-5
2021-10-01 18:44:25 +10:00
UnknownShadow200
5235334db7 Move CPE handling methods out of Player.Networking.cs 2021-10-01 11:55:10 +10:00
UnknownShadow200
87dec1a792 Fix /compile keeping a reference to dll/pdb on disc (Thanks 123DMWM)
This prevented compiling the same command with a 'file already in use' error)
2021-10-01 08:36:34 +10:00
UnknownShadow200
331993041f Physics should never be enabled in museums 2021-09-30 11:37:01 +10:00
UnknownShadow200
57aeda4e24 Unswap swapped arguments 2021-09-29 08:16:14 +10:00
UnknownShadow200
e85266dc00 Move salt to Heartbeat class so each heartbeat has a separate salt 2021-09-29 08:14:39 +10:00
UnknownShadow200
ab6112fec7 Add fallback blocks for 3-5 versions of protocols
This means all earlier preclassic versions should be supported now without disconnecting the client due to sending an unsupported block type
2021-09-27 22:14:34 +10:00
UnknownShadow200
f872fd7809 fix handshake/identification packet for protocol versions < 5 2021-09-27 21:44:16 +10:00
UnknownShadow200
0cc3c94fe4 Combine packet handling/size calculation, might break something 2021-09-27 21:31:52 +10:00