1668 Commits

Author SHA1 Message Date
UnknownShadow200
f357ce10a9 Fix being unable to use fly/ascend/descend on non -hax maps, fix 'can can' showing for when 'extra command permission' issues. 2016-08-12 19:52:12 +10:00
UnknownShadow200
1092b1dc1c Use better chat spam detection that works for multiple players spamming at once, instead of just one spammer in a row. Also fix issue with PlayerList/PlayerExtList opening the IOstream not being threadsafe. 2016-08-07 23:16:32 +10:00
UnknownShadow200
e0c8f84981 Fix trees not growing when physics is on and /map tree is true. (Thanks goodlyay) 2016-08-07 22:30:12 +10:00
UnknownShadow200
fc47df6329 Tidy up spam control box in gui. 2016-08-07 19:31:21 +10:00
UnknownShadow200
2b7a097e70 Fix empty bot nametags being lost on server restart (Thanks goodlyay), also fix empty bot nametags crashing WoM. 2016-08-07 15:53:12 +10:00
UnknownShadow200
0690333259 Make /explode do proper build permission checking. (Thanks goodlyay) 2016-08-07 15:22:23 +10:00
UnknownShadow200
6170b46491 Now more chat commands will auto-mute for them being used to spam. 2016-08-07 15:07:20 +10:00
UnknownShadow200
4d37af2c34 Don't need that pointless Thread.Abort() call. 2016-08-06 14:00:20 +10:00
UnknownShadow200
fe55a74808 Also validate radius/height for /draw when /draw is called, not after the marks have been placed. 2016-08-06 00:04:24 +10:00
UnknownShadow200
c417e33743 Rewrite DB backup code so it doesn't need to reference System.Data.DataExtensions. 2016-08-05 22:49:28 +10:00
UnknownShadow200
9b9cd3535f Now /map grass actually saves, and disables auto grass growing when level physics is 0 or 5. (Thanks Joseph) 2016-08-05 19:53:09 +10:00
UnknownShadow200
4bc09e9b1d Fix afk kick not saving changes when changed via properties gui. (Thanks goodlyay) 2016-08-05 19:47:08 +10:00
UnknownShadow200
d96947991b Fix /resetpass not working from console. (Thanks Jonesey) 2016-08-05 19:31:17 +10:00
UnknownShadow200
94e231ce49 Minor performance optimisations. 2016-08-05 18:52:44 +10:00
UnknownShadow200
ce33c52d48 Use more optimised /fill code. Shaves around 100ms off time taken to floodfill a million blocks on my machine. 2016-08-05 17:56:30 +10:00
UnknownShadow200
fe90f18a0e Fix /fill. 2016-08-05 16:18:09 +10:00
UnknownShadow200
384596f7f8 Now with less LINQ usage. 2016-08-05 15:48:06 +10:00
UnknownShadow200
438af7cd01 More code cleanup. 2016-08-05 15:25:51 +10:00
UnknownShadow200
20932c59ac Code style cleanup. 2016-08-05 15:03:19 +10:00
UnknownShadow200
549058756f Limit .who in public chat to at most once per second. 2016-08-05 14:56:17 +10:00
UnknownShadow200
41a6c2ca0a Now also perform brush syntax validation at the time the draw operation is called, in addition to when all marks are placed. 2016-08-05 13:58:03 +10:00
UnknownShadow200
c13c4c5c26 Bugfixes for drawop rewrite. 2016-08-05 13:39:41 +10:00
UnknownShadow200
34cb2f7c7f The great drawop rewrite part 3: The final frontier 2016-08-05 12:43:54 +10:00
UnknownShadow200
687deb946b Part 2 of the great drawop rewrite. 2016-08-04 18:17:22 +10:00
UnknownShadow200
c02e2d96d9 The great drawop rewrite. (Part 1) 2016-08-04 17:26:47 +10:00
UnknownShadow200
a3ee120e61 Combine simple brushes code into one files. 2016-08-04 12:35:09 +10:00
UnknownShadow200
3c3e16c1e3 Refactory all brushes into Brush code and BrushFactory code. 2016-08-04 12:32:01 +10:00
UnknownShadow200
b3ae2052d1 Start work on separate brush factory code (So we can validate arguments at the time the player first does /z, instead of by the time they have placed their second block. 2016-08-04 11:42:58 +10:00
UnknownShadow200
fdb00cadc1 Space wars II: Revenge of the Regex 2016-08-04 00:39:41 +10:00
UnknownShadow200
b923824dd4 Mark/Place should default to held block instead of stone. (Thanks canadacanucks01), also use the fact that clients with HeldBlock CPE ext update the held block in every position movement packet. 2016-08-03 23:57:26 +10:00
UnknownShadow200
e89d776e3e Now actual block bound (e.g. door/bird_blue) is logged to the BlockDB. (Thanks 123DMWM) 2016-08-03 23:45:03 +10:00
UnknownShadow200
e2c6a6212a Fix /copy cut always showing 'copied 0 blocks'. 2016-08-03 23:14:42 +10:00
UnknownShadow200
6f27cdc5fb Since people seem to be confused by the 'Someone logged in as you' message, now just show a '(reconnecting)' message. 2016-08-03 23:02:31 +10:00
UnknownShadow200
6f0a9e0abf Fix ExtInfo packet from last commit. 2016-08-03 21:31:48 +10:00
UnknownShadow200
d8e8159d8c Ensure PacketSize includes opcode. 2016-08-03 21:11:07 +10:00
UnknownShadow200
32616884ad Avoid unnecessary array copying. (Untested) 2016-08-03 20:48:16 +10:00
UnknownShadow200
2e4e314f5e Tidy up HandleMessage. 2016-08-03 20:09:27 +10:00
UnknownShadow200
ef53875460 Rewrite /pause to use main scheduler, instead of a separate timer. 2016-08-03 19:36:26 +10:00
UnknownShadow200
aeb4ac8fd8 Use Player.Message in more places so things work from IRC and console. 2016-08-03 19:15:07 +10:00
UnknownShadow200
59c0d50f2a Fix level.properties not saving after doing /env fog -1, use 66 instead of 128 for size of bindings array. 2016-08-03 18:15:45 +10:00
UnknownShadow200
d3e1381f8d Get rid of code duplication in /clones. 2016-08-03 09:37:40 +10:00
UnknownShadow200
3603893216 Now if only [block] is given for replace/replacenot/replaceall, it replaces that block with your current held block. 2016-08-03 09:32:52 +10:00
UnknownShadow200
93b70cbebc Make /ban /unban and /setrank use the same rank changing method. 2016-08-02 20:17:43 +10:00
UnknownShadow200
c2a318ea1d Now do partial rank name matching in /viewranks 2016-08-02 19:51:32 +10:00
UnknownShadow200
4336855f80 Less LINQ usage. 2016-08-02 19:28:22 +10:00
UnknownShadow200
b16c64eb62 Add some comments to PlayerInfo class. 2016-08-02 19:21:01 +10:00
UnknownShadow200
7b50b25c8a Now /voice no longer shows + before their name in chat. 2016-08-02 18:58:17 +10:00
UnknownShadow200
c9543e30a0 Bot ids are now per-world instead of a single global list, fixes having too many bots causing issues. (Thanks goodlyay) 2016-08-02 18:42:13 +10:00
UnknownShadow200
22003a321c Use safer method for retrieving next player id. 2016-08-02 18:27:21 +10:00
UnknownShadow200
b297191501 Turns out MySQL uses NULL instead of an empty string for the default empty value for totalCuboided column. 2016-08-02 12:46:46 +10:00