5253 Commits

Author SHA1 Message Date
UnknownShadow200
70058489ee Allow # for ~ alternative for relative coords, as ~ can't be entered in original classic
Also fix can't rank to nobody in Players tab in GUI
Also add method for parsing relative floating point input (Thanks Goodly)
2022-03-03 19:12:32 +11:00
UnknownShadow200
d95ccaad1a Change superop->admin and nobody->owner rank, and make some other changes to default ranks
Can now /promote to 'nobody' rank, and /help ranks now shows 'nobody' rank

Changes to rank default:
  Banned: max /undo time reduced to 0m, /realm maps reduced to 0
  Guest: no changes
  Builder: no changes
  AdvBuilder: /realms maps increased to 5
  Operator: /realm maps increased to 8, AFK kicked after 1 hour
  Superop: name changed to Admin, /realm maps increased to 12, AFK kicked after 1 hour, max /undo time reduced to 14600d
  Nobody: name changed to Owner, /realm maps increased to 16, AFK kicked after 1 hour, max /undo time reduced to 14600d, draw limit increased to 134217728 blocks
2022-03-02 23:53:06 +11:00
UnknownShadow200
60c5698304 Fix /cmds shortcuts [modifier] ignoring modifier 2022-03-01 23:56:20 +11:00
UnknownShadow200
23f06267bf Move more protocol related stuff out of Player class 2022-03-01 22:10:49 +11:00
UnknownShadow200
b85b67be70 Fix custom blocks auto created from built in blocks having wrong Shape value, which would cause solid blocks to show wrong height to clients that only support BlockDefinitions and not BlockDefinitionsExt
Also minorly optimise Voronoi map generator
2022-02-27 22:14:11 +11:00
UnknownShadow200
1684d31e4c Try to use better fallback block ids when importing custom blocks from .cw files
If a global custom block exists for this block ID, then use the fallback block ID from the global custom block
Otherwise if this block ID is an original classic or CPE block, then use this block ID as the fallback ID
2022-02-27 21:27:43 +11:00
UnknownShadow200
0b1185da99 Make billow3D/perlin3D map generation a tiny bit faster 2022-02-27 15:49:34 +11:00
UnknownShadow200
fec61b9b48 Release 1.9.3.9 1.9.3.9 2022-02-27 09:57:32 +11:00
UnknownShadow200
6f71af3713 Change classic map gen to standard/simple theme instead of advanced theme
That way it can be used to generate maps in GUI and by players ranked less than superop by default
2022-02-26 11:32:44 +11:00
UnknownShadow200
3cb816a602 GUI: In players gui, 'do command' automatically strips leading / if it is provided (e.g. /cmd -> cmd)
This makes it more consistent with regular console command input

Also improve /vote messaging (thanks Goodly and Panda)
2022-02-22 23:29:48 +11:00
UnknownShadow200
50a718fb15 Fix wrong yaw/pitch when spawning self in classic 0.0.16a 2022-02-21 23:43:40 +11:00
UnknownShadow200
c4ba3b7e28 Fix teleporting self in 0.0.16-0.0.17 doing nothing 2022-02-21 19:55:11 +11:00
UnknownShadow200
f211335d37 GUI: In Players tab, change 'Send Message' message to behave as a direct/private message
Previously it just simply sent a '<CONSOLE>: [message]' message to the player
2022-02-19 12:39:00 +11:00
UnknownShadow200
c420d0df1d Improve some fallback blocks for < 0.30 classic versions 2022-02-17 17:56:42 +11:00
UnknownShadow200
9d82d5eb0f Fix 256 max players not working in GUI 2022-02-16 20:20:30 +11:00
UnknownShadow200
f8805bb1c0 Discord: Update Gateway api from v6 to v8 (websockets API) 2022-02-16 12:15:22 +11:00
UnknownShadow200
d42c059b71 Bump player limit to 256 2022-02-16 08:12:15 +11:00
UnknownShadow200
284c8a05f5 Remove misleading TargetName property from ModActionEvent (Thanks 123DMWM) 2022-02-15 18:14:24 +11:00
UnknownShadow200
ec2ba25d86 Cmdunload now includes name of command, /cmdload and /cmdunload now use &T before command names 2022-02-10 23:17:56 +11:00
UnknownShadow200
f82ea2cb51 Compiling now includes source filenames at end in success message (thanks Venk) 2022-02-08 21:01:57 +11:00
UnknownShadow200
ca8f6eba59 Change 'admin verification' to more generic 'account/password verification' in messages 2022-02-06 08:35:36 +11:00
UnknownShadow200
a1071758a0 Don't bother resending block permissions when defining a new custom block
Makes no difference in the client whether the block permissions are sent here or not
2022-02-04 22:26:21 +11:00
UnknownShadow200
5005a97aa6 Fix last commit 2022-02-04 12:01:33 +11:00
UnknownShadow200
54817d9bc3 Move AddExtension to ClassicProtocol.cs 2022-02-04 11:57:24 +11:00
UnknownShadow200
5e049dac89 Improve readme, mainly 'Letting others join your server' section 2022-02-03 21:01:22 +11:00
UnknownShadow200
dacfa31127 GUI: Hiding from taskbar is disabled by default now, but can be toggled on/off through option in the notify/systray menu 2022-02-03 18:25:59 +11:00
Goodlyay
9509ce2580 Clarify how to provide input when creating blocks 2022-01-31 12:54:59 -08:00
UnknownShadow200
9b71d235a2 Cmdbind can be used with any shortcut, not just /0 to /9 2022-01-26 22:52:43 +11:00
UnknownShadow200
3fb333d916 Fix /tw set difficulty sometimes erroring (Thanks UmbreoClaw) 2022-01-21 11:46:21 +11:00
UnknownShadow200
01021f4eff Fix ClassicProtocol.SendTeleport always using own entity, and move SetTextColor to ClassicProtocol 2022-01-17 11:43:12 +11:00
UnknownShadow200
6987b8e2b6 Move level sending to ClassicProtocol 2022-01-16 11:07:09 +11:00
UnknownShadow200
541957f1fc Fix if client supports both BlockDefinitions and EnvMapAppearance, but NOT EnvMapAspect, wrong horizon/border block ids are sent to client when they are set to block ids between 66-255 2022-01-16 09:38:53 +11:00
UnknownShadow200
7f889e14f1 Move more things to ClassicProtocol 2022-01-13 11:59:22 +11:00
UnknownShadow200
f1a7eded3c
Merge pull request #679 from UnknownShadow200/ProtocolMod
Start splitting off classic/CPE protocol into separate dedicated class
2022-01-12 21:09:11 +11:00
UnknownShadow200
5a92bbe422 Remove some deprecated and some now unused sending functions 2022-01-09 22:45:56 +11:00
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