688 Commits

Author SHA1 Message Date
UnknownShadow200
6b04139c5b Modularise core zombie code some more, poll player positions every 50ms instead of every 500ms, also rounds start after 30 seconds not two minutes. 2016-03-13 10:51:01 +11:00
UnknownShadow200
2752a9e018 Add /bounties, start work for /bounty. 2016-03-13 10:27:08 +11:00
UnknownShadow200
0f2d42301a Only show zombie survival commands in /help when zombie survival is active, start basis for game teams. 2016-03-12 23:40:09 +11:00
UnknownShadow200
723aa56e57 Quick fix for rank group colour being hidden in the gui. 2016-03-12 22:15:35 +11:00
UnknownShadow200
2f2a62cf45 Prettify gui. 2016-03-12 22:01:54 +11:00
UnknownShadow200
561c3bf597 Rename some controls in the properties window to more logical ones. 2016-03-12 18:23:30 +11:00
UnknownShadow200
b71918e34f Add static CaselessEquals/CaselessStarts extension methods, remove the useless 'ignore omnibans' button. 2016-03-12 17:33:42 +11:00
UnknownShadow200
69eb45492e Quick fix for NullReferenceException in properties gui. 2016-03-12 16:55:55 +11:00
UnknownShadow200
9c2d3f14bf Shave two bytes off each undo entry, reduces memory usage even further. 2016-03-12 16:43:50 +11:00
UnknownShadow200
1d48c3822a Minor performance optimisations for /undo, fix missing some block updates if we only undid for a small amount of time. 2016-03-12 14:10:48 +11:00
UnknownShadow200
7dd3f578e7 Majorly optimise /undo and /redo - less memory and CPU usage, less bandwidth usage, and less likelihood of overloading the server. 2016-03-12 13:41:33 +11:00
UnknownShadow200
fe0b16b33f First pass of optimisations for /undo - use O(1) lookup instead of O(n) lookup for Block.canPlace. 2016-03-12 12:16:42 +11:00
UnknownShadow200
5f0146da3e Use BulkBlockUpdate to reduce bandwidth consumption, also create a BulkBlockSender class for future usage elsewhere. 2016-03-12 11:21:42 +11:00
UnknownShadow200
aa85421070 Parameterised queries now use independent instances, thus avoiding the problem of multiple queries mixing up the old static parameters list. 2016-03-12 07:38:59 +11:00
UnknownShadow200
b919ed98a6 Cleanup initalising commands, use much nicer GetTypes() instead of hardcoding every single command (Thanks Xeonaion). Remove /heartbeat and also remove /interval as its license explictly prevents us from modifying its source code. 2016-03-11 21:55:11 +11:00
UnknownShadow200
786d197b12 Merge pull request #115 from MCSoup-classic/master
Fix "^detail.user=" exploit
2016-03-11 20:11:53 +11:00
UnknownShadow200
74116ee8f7 Remove seed from random rainbow brush, start work on adding a random brush. 2016-03-11 19:35:29 +11:00
UnknownShadow200
7d22d75111 Cuboid modes holes and random should read given arguments. (Thanks goodlyay) 2016-03-11 19:21:12 +11:00
UnknownShadow200
ded5647e6d Spin command now rotates origin point correctly. (Thanks goodlyay) 2016-03-11 18:46:33 +11:00
Rasmus
d35243f39b Fixes 2016-03-11 07:04:07 +01:00
UnknownShadow200
7cfc021420 Majorly cleanup /impersonate. The SendIt function only worked for online players, yet the Use method still tried to handle offline players.. ugh. 2016-03-11 12:41:18 +11:00
UnknownShadow200
b18919d08c Cleanup /fakerank. 2016-03-11 12:23:06 +11:00
UnknownShadow200
464d66443f Update more commands to use PlayerInfo.FindOrShowMatches, cleanup some commands. 2016-03-11 11:59:02 +11:00
UnknownShadow200
ec0080c586 Merge branch 'master' of github.com:Hetal728/MCGalaxy 2016-03-11 11:05:07 +11:00
UnknownShadow200
573fcbac59 Use PlayerInfo.FindOrShowMatches in more places, cleanup /oprules and /opstats. 2016-03-11 11:04:53 +11:00
UnknownShadow200
6a5cb14b5c Add PlayerInfo.FindOrShowMatches to avoid the unhelpful 'player is offline' when multiple players match the input, also cleanup /rules. 2016-03-11 09:12:16 +11:00
Rasmus
b13bb96d17 Fix "^detail.user=" exploit
Try it on a server with CC and you will see the reason.
2016-03-10 16:58:08 +01:00
UnknownShadow200
70739f5d15 Fix torus missing blocks, also modularise zombie game code more. 2016-03-10 23:49:03 +11:00
UnknownShadow200
9e4eed36b1 Remove references to mcgalaxy.tk/mcgalaxy.ml, modularise Server.cs more, also updating staff list no longer blocks the main thread. 2016-03-10 23:08:38 +11:00
UnknownShadow200
17eb068d51 Quick fix for /paste throwing a NullReferenceException. (Thanks goodlyay) 2016-03-10 18:30:27 +11:00
UnknownShadow200
fbd3db48eb Update help for all drawing commands, add help for brushes. 2016-03-10 17:51:59 +11:00
UnknownShadow200
3bb6f9aa45 Add /replacebrush and /replacenotbrush. 2016-03-10 13:23:12 +11:00
UnknownShadow200
bcaf2e43d3 Cleanup /replace, /replacenot, and /replaceadd commands to be more modular. 2016-03-10 12:49:06 +11:00
UnknownShadow200
8485ed8727 Add brushes replace and replacenot. 2016-03-10 12:26:19 +11:00
UnknownShadow200
d19ffbb363 Merge branch 'master' of github.com:Hetal728/MCGalaxy 2016-03-10 09:59:43 +11:00
UnknownShadow200
651f2925d6 Ensure license attribution is correct. 2016-03-10 09:26:05 +11:00
UnknownShadow200
98ed1bc4f4 Remove some unused code, also allow configuring gen/admingen limits. (Thanks FabTheZen) 2016-03-10 09:19:56 +11:00
UnknownShadow200
10259cc4da Some minor code cleanup, also /splace now works vertically. (Thanks FabTheZen), closes #114. 2016-03-09 23:12:01 +11:00
UnknownShadow200
8fe518da49 Non-kick disconnections should show the reason in console. (Thanks goodlyay) 2016-03-09 14:47:35 +11:00
UnknownShadow200
166e5dfadf Clean up /temprank and /deltemprank, make them work with offline players. 2016-03-09 14:43:40 +11:00
UnknownShadow200
3fc5bb1b75 Fix brush arguments being incorrectly treated as draw modes in some cases. 2016-03-09 11:44:52 +11:00
UnknownShadow200
37cd475398 Add striped brush, also show brush name in draw operation output to the player. 2016-03-09 08:09:39 +11:00
UnknownShadow200
672e93ba2a Add black-and-white rainbow brush, add random rainbow brush with a seed. 2016-03-08 18:52:36 +11:00
UnknownShadow200
ab5f5f3824 Add rainbow brush. 2016-03-08 18:09:58 +11:00
UnknownShadow200
91dcb6e8fb Initial brush support. 2016-03-08 17:51:41 +11:00
UnknownShadow200
2b3a64d2e7 Make /search commands more sensible, cleanup CommandKeywords class. 2016-03-08 17:14:04 +11:00
UnknownShadow200
a9e9b081ff Cleanup /search and make it print help when an incorrect type is used, add CheckeredBrush and initial work on /brush. 2016-03-08 15:20:51 +11:00
UnknownShadow200
79dc8dfd82 Fix /rankmsg replacing all instances of the rank name in the input arguments, instead of just the first instance. 2016-03-08 11:48:13 +11:00
UnknownShadow200
9ec3df9f8c [Warning, may still have bugs] - refactored majority of the code to use a volatile array for players instead of a list, avoids those rare and hard to track down errors. 2016-03-08 11:31:34 +11:00
UnknownShadow200
819d8cb4f5 Super quick fix for /whois and /whowas. (Thanks FabTheZen) 2016-03-08 09:10:27 +11:00