1707 Commits

Author SHA1 Message Date
UnknownShadow200
d5ca11caf1 First attempt at cleaning up /map. 2016-07-17 22:11:34 +10:00
UnknownShadow200
171dcfed8f Include rank(s) required in message when you cannot place a block in /mode, also don't include seconds when timespan is over a day and 'seconds' is true. 2016-07-17 21:29:55 +10:00
UnknownShadow200
186dc8918e Cleanup IRC bot code, cleanup hasher code. 2016-07-17 17:32:02 +10:00
UnknownShadow200
a007213c7b Fix /cd generate not properly replacing existing map if it is loaded. 2016-07-17 17:02:16 +10:00
UnknownShadow200
3b4966944e Pack items in BlockQueue into a ulong. (Saves 4 bytes per entry as struct was packed to 4 byte alignment.) 2016-07-17 16:34:06 +10:00
UnknownShadow200
146419d22f Allow doing /opchat [message] and /adminchat [message], as an alternative to putting # and + as first character of a message. 2016-07-17 15:14:34 +10:00
UnknownShadow200
82f936f7a2 Remove the pointless chat tab in the gui, since op chat was not logged to it and chat sent from it did not show on IRC. 2016-07-17 15:06:13 +10:00
UnknownShadow200
d90fac8f7f Unload old map (without saving) when a /restore is done. 2016-07-16 09:57:00 +10:00
UnknownShadow200
6e05af1be6 Fix kicker/kickee in IRC messages (thanks 123DMWM), remove 'has' from leave/join IRC messages. 2016-07-15 12:32:42 +10:00
UnknownShadow200
a6b78325bb Use safer method of changing same map in /restore. 2016-07-14 23:13:25 +10:00
UnknownShadow200
81735196ac Don't spin up a pointless thread that just increments a variable, sleeps for up to 3 seconds, then just decrements that variable again. Use a ask instead. 2016-07-14 22:47:53 +10:00
UnknownShadow200
e3f2875111 Add p.Rank as shortcut for p.group.Permission 2016-07-14 22:22:31 +10:00
UnknownShadow200
f2b60e488e Fix issue with /main [mapname] causing mapname to be loaded twice if [mapname] was already a loaded map. 2016-07-14 16:37:59 +10:00
UnknownShadow200
e6f82e09d7 Using rocket/firework/door no longer adds entry to BlockDB. 2016-07-13 10:11:02 +10:00
UnknownShadow200
5c1c4cc937 Simplify /binfo output and also use relative instead of absolute time. 2016-07-13 09:54:27 +10:00
UnknownShadow200
8631316201 Use DateTime.UtcNow in more places and fix TimeUtils.Shorten for negative timespans. 2016-07-13 09:19:34 +10:00
UnknownShadow200
b98ffc5bf5 Include message about coordinates in pixels for normal sized blocks in lb/gb creation process. (Thanks goodlyay) Closes #195. 2016-07-11 20:21:57 +10:00
UnknownShadow200
49533facba Fix getting 'cannot build that far away' message when clicking extremities of reach, and when reach distance is increased. (Thanks grimmjowforever) 2016-07-11 20:15:36 +10:00
UnknownShadow200
1eb64acc24 Fix icon not disappearing from taskbar on windows. 2016-07-11 19:41:02 +10:00
UnknownShadow200
86fde29248 Do not create a separate unnecessary thread for initing the server. 2016-07-11 19:24:24 +10:00
UnknownShadow200
d63b1bf3f5 Make many timer tasks use scheduler instead, use separate background scheduler for auto-level and blockdb saving. 2016-07-11 15:09:46 +10:00
UnknownShadow200
bee32936d8 Make Scheduler more extensible and start reducing usage of timers. 2016-07-11 14:52:55 +10:00
UnknownShadow200
3a71370af5 Initial implementation of new improved scheduler class. 2016-07-11 14:11:57 +10:00
UnknownShadow200
3bf528ee54 Remove the abandoned native sql backend replacement code. 2016-07-11 12:47:42 +10:00
UnknownShadow200
cf8e344c52 Ensure that statements in cleaned up in native sql backend, to avoid connection leaks if an error occurs. 2016-07-11 12:46:11 +10:00
UnknownShadow200
30d99ccbd1 Fix rare case in which level blockdb is not saved after level is auto-saved. 2016-07-11 11:40:13 +10:00
UnknownShadow200
1293736b4a Add step/steps/doublestep/doublesteps as block aliases per request. 2016-07-10 23:27:24 +10:00
UnknownShadow200
fdd729174f Fix /deletelvl and /renamelvl not deleting/moving bots (Thanks JPlaysClassic). 2016-07-08 10:22:06 +10:00
UnknownShadow200
7e8a5b35a1 Don't create a separate thread just to initalise a timer. 2016-07-08 00:21:02 +10:00
UnknownShadow200
220c5b0512 LocationChecker thread sleeps for a bit longer when no players are online. 2016-07-07 23:15:16 +10:00
UnknownShadow200
9b47c1cb86 Add /os map perbuild. (Thanks FabTheZen) 2016-07-07 23:12:18 +10:00
UnknownShadow200
30dd0f1bfa Add /circle as alias for /sphere circle. 2016-07-07 15:24:20 +10:00
UnknownShadow200
ad59115977 Fix issue with database file handles being left open. 2016-07-06 16:02:35 +10:00
UnknownShadow200
31f81410f6 Release 1.8.7.4 1.8.7.4 2016-07-06 09:34:08 +10:00
UnknownShadow200
f2c9112a44 Fix auto-level saving not working, I am an idiot. 2016-07-06 09:09:43 +10:00
UnknownShadow200
a5367c331b Fix very obscure bug that causes 10,000s of active tdoors to rarely fail. (Thanks peace_out_man) 2016-07-04 23:39:07 +10:00
UnknownShadow200
2fd27a745b Fix /botsummon not saving bot position changes on main level. 2016-07-04 21:03:57 +10:00
UnknownShadow200
fe4a286a6d Rewrite all drawops to use iterators instead. 2016-07-04 19:31:55 +10:00
UnknownShadow200
48eea6202d Add /ignore nicks. (Thanks goodlyay) 2016-07-04 14:58:22 +10:00
UnknownShadow200
94ca8f2247 Cleanup /warp. 2016-07-04 14:35:08 +10:00
UnknownShadow200
859b66a4fc Cleanup /waypoint. 2016-07-04 14:17:24 +10:00
UnknownShadow200
175e9c14e0 Remove /ozone and make it part of /zone with /zone map. 2016-07-04 13:54:45 +10:00
UnknownShadow200
111618295a Add /sphere circle which draws a circle (Thanks Empy), closes #170. 2016-07-04 13:41:52 +10:00
UnknownShadow200
085d0ad854 Centre should place multiple blocks if axis length is even. (Thanks Empy) 2016-07-04 13:24:53 +10:00
UnknownShadow200
93d4d01d42 Fix being unable to add/delete zones on an /os map if your rank did not have access to /zone. 2016-07-04 12:19:23 +10:00
UnknownShadow200
a90045c47f Fix being unable to delete /os maps if perbuild is higher than your rank. 2016-07-04 12:02:35 +10:00
UnknownShadow200
440660aef7 Fix custom colours > 6 characters being truncated when using mysql (thanks yorkiebarz), add ability to teleport to bots (Thanks Benedani). 2016-07-04 11:49:45 +10:00
UnknownShadow200
1e958772ea Show relative time last/first seen in /seen. 2016-07-03 20:07:25 +10:00
UnknownShadow200
08831597cf More modularising. 2016-07-03 00:26:48 +10:00
UnknownShadow200
1c2b1cf2ae Modularise Server.cs 2016-07-02 19:47:34 +10:00