5018 Commits

Author SHA1 Message Date
UnknownShadow200
73825de0bb Move more to ClassicSession 2022-01-09 22:42:57 +11:00
UnknownShadow200
0c936dc874 Move more classic protocol related functions to ClassicProtocol class 2022-01-08 23:43:16 +11:00
UnknownShadow200
ce276a4de1 Update ClientHeldBlock even when following/on train 2022-01-07 23:01:53 +11:00
UnknownShadow200
fe0f7fc6f2 Split up classic/CPE raw packet processing into separate ClassicProtocol.cs 2022-01-06 21:29:02 +11:00
UnknownShadow200
603e82de54 Make DatabaseExts methods public per request (Thanks Venk) 2022-01-04 20:30:00 +11:00
UnknownShadow200
b3ac96e57c Release 1.9.3.8 1.9.3.8 2022-01-04 08:39:49 +11:00
UnknownShadow200
6160cb42f3 Revert 'Zone build permissions are now initialised to be same as level's build permissions'
Reverted until performance issues with massive zone blacklists are resolved
2022-01-04 08:14:40 +11:00
UnknownShadow200
f20ae79f9c CLI: Warn when running with name verification disabled on startup 2022-01-03 14:47:53 +11:00
UnknownShadow200
f40044cf24
Merge pull request #677 from forkiesassds/patch-10
change classic 0.30 to 0.28-0.30
2022-01-02 08:20:03 +11:00
forkiesassds
f65e4ed5f8
change classic 0.30 to 0.28-0.30 2022-01-01 22:55:07 +02:00
UnknownShadow200
0bab641ca5 Fix Database.TableExists rarely returning a false positive in MySQL backend
If table 'InboxTestA' existed, then Database.TableExists('InboxTest_') would wrongly return true

This would hence cause an error to get logged every time 'Test_' user logged in (when MySQL was being used as the SQL backend)
2022-01-01 14:03:23 +11:00
UnknownShadow200
422426e2ab Zone build permissions are now initialised to be same as level's build permissions (previously used to default to completely public) 2021-12-29 23:21:25 +11:00
UnknownShadow200
59b79f038a Make /whitelist automatically add + to end of usernames when classicube-account-plus mode is enabled 2021-12-29 16:46:41 +11:00
UnknownShadow200
ad9238250c Show 'Classic 0.30' instead of '(unknown)' in /clients for non-CPE clients with protocol version 7
This is more consistent with /clients names for clients with protocol version < 7 (e.g. 'Classic 0.0.16')
2021-12-29 14:51:45 +11:00
UnknownShadow200
2adc4bdb17 Remove $ip 2021-12-29 13:58:40 +11:00
UnknownShadow200
c5913ad8dd Make clone detection case insensitive (Thanks Hedwig7s, addresses #673) 2021-12-21 22:20:21 +11:00
UnknownShadow200
b895924a83 Allow using -1 for env variables
Please don't look at the terrible way I implemented this
2021-12-18 21:00:49 +11:00
UnknownShadow200
b6682b101d Use ENV_USE_DEFAULT instead of -1 constant 2021-12-18 20:23:22 +11:00
UnknownShadow200
c19921879c Release 1.9.3.7 1.9.3.7 2021-12-17 10:06:43 +11:00
UnknownShadow200
6dcd6ee66b Further tidyup upnp 2021-12-17 08:04:47 +11:00
UnknownShadow200
0f6221bcb0 UPnP: Log unhandled errors and log discovered device locations 2021-12-13 19:38:26 +11:00
UnknownShadow200
aa0f9ff886 Remove (s) emote shortcut
This shortcut was almost always used unintentionally by player(s), so remove it.
You can still use (sect) and (section)
2021-12-09 17:18:39 +11:00
UnknownShadow200
28c9f7176a Revert "WIP on 0.0.15 support"
This reverts commit 6ad84472ae0574a93f5a993e18d2136d28b7adfe.
2021-12-06 11:46:50 +11:00
UnknownShadow200
6ad84472ae WIP on 0.0.15 support 2021-12-05 17:04:40 +11:00
UnknownShadow200
12ba611b6a Make DefaultAuthenticator non-sealed 2021-12-05 13:24:17 +11:00
UnknownShadow200
ee577c89c2 Allow overrding mppass verification for an authentication service 2021-12-05 13:18:17 +11:00
UnknownShadow200
23b8befc0d GUI: Trying to perform player action instead when no player selected shows warning dialog box now instead of adding line to status log 2021-12-05 09:49:10 +11:00
UnknownShadow200
9021349da2 Drop support for .lvl files without 2 byte signature, which has been there since 2010
I checked the oldest source codes of MCZall and MCSharp I could find, and they both still had the 2 byte signature.
Therefore I have decided to drop this never tested code given how unlikely it is that someone would actually import such an old .lvl file.
This also allows for better error message when a non MCSharp level is provided as a .lvl file
2021-12-04 19:58:34 +11:00
UnknownShadow200
4ac011552f
Add link to now open source API documentation
Although I gave up pretty quickly, so not much there
2021-12-02 21:07:08 +11:00
UnknownShadow200
94fa6c3c2d Drop typecodes in .dat parser that haven't been observed in practice 2021-11-28 14:42:43 +11:00
UnknownShadow200
4efa528cc2 Fix session modified overflowing after 2 billion (Thanks rdebath, addresses #663) 2021-11-21 22:25:43 +11:00
UnknownShadow200
9f12f21b87 Remove obsolete devs.txt
If you are using years old versions of MCGalaxy at this point, I think you can accept an extra error message on startup.
Especially since accessing github doesn't work on Windows with old versions of MCGalaxy anyways since github switched to TLS 1.2 minimum
2021-11-19 08:36:16 +11:00
UnknownShadow200
c92a1f0a65 Make TLS 1.1/1.2 flags in HttpUtil public 2021-11-19 08:10:29 +11:00
UnknownShadow200
e51d1690fa Fix SECURE_WEBSOCKETS not compiling 2021-11-13 11:59:26 +11:00
UnknownShadow200
b2d35b06db GUI: WIP on custom update available dialog to address #662 2021-11-12 23:12:54 +11:00
UnknownShadow200
8afbd356d1 GUI: Make custom commands popup font consistent with rest 2021-11-12 20:11:21 +11:00
UnknownShadow200
ada34d4c32 GUI: Fix icon not showing in popup dialogs on Mono
This took a long time to figure out because
1) for testing purposes I set Icon before the window handle had been created
2) When the window handle was later created, mono would not actually apply the custom icon since the border style is FixedDialog (see CreateHandle in Form.cs)
3) I later set Icon again in multiple other places. However, this was essentially a noop because Mono checked if the new icon was the same as the same previously assigned icon and do nothing in that case.
However, the assumption in step 3) was incorrect because the previously assigned icon had not actually been applied to the window.
Unfortunately this meant the correct Icon never showed at all. So the correct solution to this is to only assign Icon once in the Load event of forms.

I spent way too much time on this
2021-11-11 22:31:59 +11:00
UnknownShadow200
8ee32ba780 Get rid of obsolete warning when compiling GUI, partially fix scale 1/2 not working 2021-11-10 20:37:14 +11:00
UnknownShadow200
dad908c68c GUI: Use FixedDialog instead for FixedToolWindow for improved appearance of popup dialogs, especially on Linux
Note that this means that popup dialogs now appear in taskbar on Linux, whereas they weren't before. However popup dialogs were already appearing before in taskbar on Windows, so at least the behaviour is consistent now
2021-11-10 18:51:55 +11:00
UnknownShadow200
1280f09f7a Also fix general logs calendar days being almost invisible in dark theme 2021-11-09 22:22:42 +11:00
UnknownShadow200
5b774651e3 GUI: Fix listboxes having almost invisible text color for unselected items on Gnome DE with dark theme (Thanks TehcJS, addresses #651)
Testcase: Ubuntu 20.04 with Adwaita-dark or Yaru-dark themes
2021-11-09 21:42:30 +11:00
UnknownShadow200
3642dc3665 Release 1.9.3.6 1.9.3.6 2021-11-07 12:14:04 +11:00
UnknownShadow200
90864a0c6b Split up Scripting.cs into Scripting.cs and ScriptingOperations.cs 2021-11-07 12:08:41 +11:00
UnknownShadow200
b5b8675dfb
Merge pull request #655 from SpiralP/add-cpe-plugin-message
Add new CPE type PluginMessage
2021-11-06 22:49:28 +11:00
SpiralP
842711021e wording 2021-11-06 02:01:09 -07:00
SpiralP
7660e189a8 rename to OnPluginMessageReceivedEvent, move to ServerEvents.cs 2021-11-06 01:59:54 -07:00
SpiralP
2e5d7bd3f2 remove version "2" 2021-11-06 01:24:39 -07:00
SpiralP
592da5c22c use PluginMessageDataLength instead of hardcode 64 2021-11-06 01:23:24 -07:00
SpiralP
f1cf534b6d add OnPlayerPluginMessageEvent, call it when receiving a CPE PluginMessage 2021-11-06 00:06:35 -07:00
SpiralP
62c7cf9951 add CpePluginMessage opcode, and PluginMessage helper 2021-11-05 23:34:55 -07:00