UnknownShadow200
12d8e93e77
IRC: Simplify code, part 2 (Combine RFC2812Util into Connection)
2022-03-31 22:24:58 +11:00
UnknownShadow200
cc4cff3be2
IRC: Simplify code, part 1
2022-03-31 21:23:51 +11:00
UnknownShadow200
354c1b6573
IRC: Combine Connection/Listener into one class
2022-03-31 21:07:01 +11:00
UnknownShadow200
734c9ff74f
GUI: Also make economy ranks datagridview identify ranks by permissions too
2022-03-31 20:53:19 +11:00
UnknownShadow200
9edc54dc38
GUI: Start rewriting permission combo boxes to identify ranks by permission level, part 2
2022-03-31 19:28:39 +11:00
UnknownShadow200
fad54977fb
GUI: Start rewriting permission combo boxes to identify ranks by permission level instead of name
2022-03-31 12:01:01 +11:00
UnknownShadow200
0663cabbf9
Add option to allow banning staff IPs
2022-03-30 23:54:46 +11:00
UnknownShadow200
c63dde60d2
Discord: Prepare for message content int requirement
2022-03-29 22:12:21 +11:00
UnknownShadow200
557cd908f3
Prevent naming a rank 'Console'
2022-03-28 22:00:14 +11:00
UnknownShadow200
9067e60258
GUI: Allow setting Console rank for command/block permissions
2022-03-27 21:50:01 +11:00
UnknownShadow200
0a2e0f77b3
Workaround a client plugin crash
2022-03-27 11:38:47 +11:00
UnknownShadow200
d5d79af47f
Allow more characters in bot ai/palette names
2022-03-27 10:54:02 +11:00
UnknownShadow200
f1b27e4244
GUI: Fix changing rank not immediately updating players table in main GUI
...
Previously the Rank column would remain out of date until a player joined/left/went to a level
2022-03-26 23:26:44 +11:00
UnknownShadow200
059a8a5fb7
Rank with Owner permission level is no longer mandatory now
...
If the relay bot controller permission level setting does not map to a rank, then the rank with the highest permission level < controller permission level is used instead of defaulting to owner rank
2022-03-24 23:20:51 +11:00
UnknownShadow200
867cb63bc0
WIP on separate console rank
2022-03-23 21:37:27 +11:00
UnknownShadow200
84200f9dcc
Start phasing out references to Nobody rank
2022-03-23 20:27:57 +11:00
UnknownShadow200
afb6fbe0e3
Simplify IRC bot code a bit more
2022-03-23 19:41:51 +11:00
UnknownShadow200
ea81add62f
Make /ops and /admins work with renamed ranks
2022-03-22 19:22:21 +11:00
UnknownShadow200
a6e83a5295
Improve rank.properties informational text
2022-03-21 22:17:44 +11:00
UnknownShadow200
e8d3d314e6
/zonemark without a zone name assumes current zone (Thanks Goodly)
2022-03-21 21:42:08 +11:00
UnknownShadow200
3779dfbeef
Combine Group.cs/GroupProperties.cs into one file
2022-03-20 23:13:12 +11:00
UnknownShadow200
7769b52de2
Prevent trying to save files with invalid windows filename characters
...
e.g. /copy save main?
2022-03-19 15:26:16 +11:00
UnknownShadow200
4be17cccc8
/abort: Get rid of 'remove unsent pending block updates made by the player' code (Thanks Goodly)
...
Because the actual blocks in the level blocks arrays were still updated, all this resulted in was the appearance of the map in clients becoming out of sync with the actual blocks in the map. (i.e. the blocks were actually changed, but didn't appear changed to clients until /reload ing)
2022-03-18 17:27:57 +11:00
UnknownShadow200
9e8f06f906
IRC: Just mutate a character instead of making random name when the preferred method of just appending _ to handle nickname collision does not resolve the collision
2022-03-18 08:29:06 +11:00
UnknownShadow200
877db69c8b
Merge pull request #695 from UnknownShadow200/DrawopFixup5
...
Improvements to spheroid draw ops
2022-03-18 07:32:39 +11:00
UnknownShadow200
76a5099f9d
Check for null thread in level.Cleanup
...
Although the NullReferenceException would always be caught, it would still trigger debugger break in visual studio by default which was a bit annoying
2022-03-17 23:55:37 +11:00
UnknownShadow200
b639f4d482
/mark: Allow using relative to last marked coordinate too (e.g. /m x~3 y~4 z~-2)
2022-03-16 23:33:26 +11:00
UnknownShadow200
25bc759161
Default to flatgrass theme in /gen instead of always requiring a theme
2022-03-15 23:27:06 +11:00
UnknownShadow200
8a3da98a3a
More accurate 'blocks affected' calculation for /eh and /cylinder
2022-03-14 21:18:03 +11:00
UnknownShadow200
7323daa4b8
use clearer variables/code for hollow spheroid draw ops
2022-03-14 19:26:03 +11:00
UnknownShadow200
c3d99baa19
Add cylinder to /draw and fix height differences between draw vs regular command
2022-03-14 16:31:06 +11:00
UnknownShadow200
f085a235e7
Add cone mode for /spheroid
...
Also change /spheroid vertical to /spheroid cylinder
2022-03-14 14:48:55 +11:00
UnknownShadow200
ab500c9715
Create generic ShapedDrawOp to form base class for spheroid, cylinder, torus draw operations etc
2022-03-14 14:16:03 +11:00
UnknownShadow200
176294f87b
Improve /draw cone look (Thanks Goodly)
2022-03-14 13:12:03 +11:00
UnknownShadow200
bbe5016ef0
Change classicgen to use still lava/water instead of active lava/water, to match original classic
...
Also when executing commands from discord/IRC, add a space between service type and username for 'fake player' database ID
i.e. fixes when doing /up from Discord/IRC, that /b in-game doesn't show a space between 'Discord/IRC' and username
2022-03-12 23:09:40 +11:00
UnknownShadow200
262cef5d1f
Fix some colored multiline messages having redundant 'two color codes in a row' at start of lines after first line, fixes #579
...
The 'two color codes in a row' also did not display properly in original minecraft classic client
Test case: /help shortcuts
2022-03-11 17:47:49 +11:00
UnknownShadow200
4099595e78
Remove trailing color codes/whitespace from individual lines when sending chat that spans multiple lines, fixes #688
...
Fixes original minecraft classic client crashing when receiving a chat message packet that ended with a color code
Test case: In console type '/say AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA&a AAA'
2022-03-11 08:07:54 +11:00
UnknownShadow200
2316bf991d
Linewrapper now prepends &f when message starts with space and client doesn't support emotes, fixes #656
...
This avoids the issue where messages with leading whitespace have that whitespace trimmed by original minecraft classic client
For an example of when such message(s) could occur:
1) Change default system color to white
2) Do /info
2022-03-10 23:16:25 +11:00
UnknownShadow200
3aad4e5396
IRC: Default to using port 6697. Also always use SSL/TLS when connecting on port 6697
2022-03-09 21:29:54 +11:00
UnknownShadow200
23e535db91
Adjust LineWrapper.CleanupColors to avoid leading whitespace, addresses #656
2022-03-08 22:29:13 +11:00
UnknownShadow200
e4cc75699e
Doing /map should print info of current level, but would wrongly try to set a map option when executed on a level whose name matched one of the map options (Addresses #690 , thanks rdebath)
2022-03-07 20:54:37 +11:00
UnknownShadow200
c4d9da0f4e
Fix kick messages with system color codes in them not being escaped
2022-03-07 20:08:07 +11:00
UnknownShadow200
bf1e4794de
Better constant naming in Block class, addresses #689 (Thanks rdebath)
2022-03-06 23:57:50 +11:00
UnknownShadow200
f1dad2a3e4
Merge pull request #692 from UnknownShadow200/ProtocolRewrite3
...
Make network code more modular
2022-03-06 16:30:41 +11:00
UnknownShadow200
fd0113e4c6
Fix TEN_BIT_BLOCKS and a few minor code cleanup changes
2022-03-06 14:45:40 +11:00
UnknownShadow200
16bb834a9a
Fix last commit whoops
2022-03-06 10:10:50 +11:00
UnknownShadow200
984301ada0
Embed and load GUI icon from source code directly instead of through Window.resx
...
Avoids a 'Couldn't process file Window\Window.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file. Remove the mark of the web if you want to process these files' error that happens for some people when trying to compile the GUI
2022-03-06 09:47:26 +11:00
UnknownShadow200
9c8c7689dc
Move Player CPE stuff into ClassicProtocol and Player.Networking.cs
2022-03-04 21:19:41 +11:00
UnknownShadow200
279f1dcf58
Move even more to session class
2022-03-04 11:56:00 +11:00
UnknownShadow200
4f11ee20bb
Move more sending things to session
...
Setting spawnpoint done by /checkpoint, fallback for bufferedblocksender, updating entity positions
2022-03-04 08:17:00 +11:00