5429 Commits

Author SHA1 Message Date
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
UnknownShadow200
4911fdda35
Merge pull request #633 from forkiesassds/patch-3
[Countdown] Set speedtype to default one if speedtype is null
2021-09-10 08:56:54 +10:00
forkiesassds
7df29c0e93
surround the if statement in { } 2021-09-09 16:15:45 +03:00
forkiesassds
8b15516312
[Countdown] Set speedtype to default one if speedtype is null
Fixes #578.
2021-09-08 19:43:30 +03:00
UnknownShadow200
102f8630ca Restrict /blockprops to not allow setting blocks that you are not allowed to use, fixes #631 (Thanks xnotx123) 2021-09-08 22:56:28 +10:00
UnknownShadow200
f0d544860e Add overload to CommandParser.GetBlockIfAllowed that takes action argument 2021-09-08 19:52:12 +10:00
UnknownShadow200
2029395413
Add links to docker support pull requests in readme 2021-09-06 17:11:36 +10:00
UnknownShadow200
0081e8e965 Discord/IRC: Add UserID property for the bot's own user ID 2021-09-03 22:29:13 +10:00
UnknownShadow200
dce50dfdca Add comments to Scripting and slightly improve example command comments 2021-09-03 20:04:23 +10:00
UnknownShadow200
44e7fd4e6f Also include filename when compiling multiple source code files in error logs 2021-09-02 22:26:16 +10:00
UnknownShadow200
8769eba535 When compiling commands/plugins with multiple source code files, message sent to player should include filename (Thanks Goodly) 2021-09-02 22:04:30 +10:00
UnknownShadow200
baa61a4143 Make tabs/whitespace consistent, which will probably last less than 24 hours 2021-09-02 20:20:02 +10:00