5440 Commits

Author SHA1 Message Date
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
UnknownShadow200
7bd5ef4ed0 WIP on supporting variable sized handshake packet 2021-09-27 20:40:06 +10:00
UnknownShadow200
5c612be82b Move PlayerDB folder creating methods to only be called once on server startup and on nick/login/logout setting methods 2021-09-27 19:34:59 +10:00
UnknownShadow200
a79a17777a Fix drawops disconnecting preclassic client when using block ids > gold 2021-09-27 19:17:59 +10:00
UnknownShadow200
fad58cda9e Fix preclassic client disconnecting on manual block place > gold, or when sent map with block > gold, or when promoted/demoted 2021-09-27 18:51:58 +10:00
UnknownShadow200
595ecee1df WIP on preclassic client support 2021-09-27 12:14:52 +10:00
UnknownShadow200
86103c4ee8 Discord: Fix very rare case where a in-game message just after a .who would wrongly still be combined and hence not appear in Discord 2021-09-26 14:33:49 +10:00
UnknownShadow200
78d969f2fc Discord: Fix remaining markdown escaping issues
e.g. command output was wrongly affected by markdown, color codes that used markdown characters weren't removed
2021-09-25 17:00:20 +10:00
UnknownShadow200
f78c928ba1 Discord: Fix markdown showing in .who output 2021-09-25 14:55:38 +10:00
UnknownShadow200
fcf2727527 Fix never showing line numbers on mono for commands/plugins with .mdb files (Thanks Venk) 2021-09-19 10:52:53 +10:00
UnknownShadow200
ac245d493f unify countdown speed handling 2021-09-13 22:26:51 +10:00
Goodlyay
4ac53c1012 Rework /Museum
Level argument is now optional and defaults to the level you're currently in
New keywords for special backups: *latest, for the latest numbered backup, and *current, for a museum of the level as currently stored on disk (previously "/museum [name]" with no backup argument)
Using /Museum without any arguments now outputs the backups of the level you're in, like /Restore
2021-09-12 00:36:24 -07:00