1732 Commits

Author SHA1 Message Date
UnknownShadow200
641633d3cd Some more minor code cleanup. 2016-08-14 00:27:59 +10:00
UnknownShadow200
b05961be7a Code cleanup. 2016-08-14 00:04:50 +10:00
UnknownShadow200
fd3f38870e Start work on adding a min purchase rank required for Economy, also fix RankUp item erroring if there was a gap between ranks. 2016-08-13 22:27:03 +10:00
UnknownShadow200
00b43d8305 Show username (if given) and reason (if given) in log files, when disconnecting users before they have completed the login process. 2016-08-13 21:22:08 +10:00
UnknownShadow200
100111037a Fix 'ZombieGame.ChangeMainWorld' not changing main world in first round. 2016-08-13 20:27:28 +10:00
UnknownShadow200
e315ee67fc Rewrite ProfanityFilter to be faster, and also tidy up its code. 2016-08-13 19:59:57 +10:00
UnknownShadow200
6a9edf1536 Fix being unable to use some commands on hidden players of the same rank, even though you can see them in tab list and an in game entity. (Thanks Joseph) 2016-08-13 19:22:44 +10:00
UnknownShadow200
6a1ade461b Replace the 'Cannot build here' message with an actually useful one. 2016-08-13 17:06:37 +10:00
UnknownShadow200
95d5ffed9c Fix /mb on same block yet again (Thanks goodlyay and JPlaysClassic), completely deprecate Database.AddParams as it is not threadsafe and is completely obsoleted by Execute()/Fill() now. 2016-08-13 16:56:59 +10:00
UnknownShadow200
1d9aa1910b Fix replacing an existing message block causing all message blocks in the map to be changed to the new message block, oops. (Thanks goodlyay) 2016-08-13 11:00:33 +10:00
UnknownShadow200
11b3238630 Remove my temp EnvColors testing code. (oooooops) 2016-08-13 08:18:15 +10:00
UnknownShadow200
4f0fd87639 Joining the spawn world should still use that world's motd if set. (Thanks Lordmaker) 2016-08-13 08:15:21 +10:00
UnknownShadow200
dd179325b9 Fix bug I introduced 3 commits ago where models.txt/skins.txt saving was borked. (Thanks goodlyay) 2016-08-13 08:08:26 +10:00
UnknownShadow200
965e9c6ecc Fix /cylinder. (Thanks Joshim4) 2016-08-12 19:55:38 +10:00
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