1609 Commits

Author SHA1 Message Date
UnknownShadow200
e5d8e0e95e scale movement steps for bots with update interval time, so bots appear to always move at same speed. 2016-07-31 00:19:27 +10:00
UnknownShadow200
64f54d0e44 Fix bot jumping to actually work, cleanup PlayerBot code. 2016-07-30 23:39:27 +10:00
UnknownShadow200
5e4a189511 Make bot movement not use 90% cpu on mono and also make it consistent movement speed regardless of position sending interval, partially addresses #205. 2016-07-30 16:54:18 +10:00
UnknownShadow200
036e758e38 Move Hunt/Kill to Instructions class. 2016-07-30 16:12:42 +10:00
UnknownShadow200
3a0c852ab6 Refactor bots code to use separate Instruction class. 2016-07-30 13:02:15 +10:00
UnknownShadow200
b15e598250 Now /server restore no longer reads the entire file in one go. (Avoids running out of memory for big databases) 2016-07-29 15:01:00 +10:00
UnknownShadow200
f2d6b6c283 Make /server restore actually sort of work. 2016-07-29 13:57:11 +10:00
UnknownShadow200
367cefa97b Fix /server backup lite for windows. 2016-07-29 13:35:21 +10:00
UnknownShadow200
49a7a1ab03 Fix PluginManager.Unload erroring on mono. 2016-07-29 10:05:33 +10:00
UnknownShadow200
23b0d3fcc9 Now make /zg start on level you are currently on, and also globally announce the level zombie survival is running on. 2016-07-29 09:58:55 +10:00
UnknownShadow200
d7b53bebea Show map Zombie survival is running on in /zg status. 2016-07-29 08:59:22 +10:00
UnknownShadow200
2a4061b61c If a player is both banned and tempbanned, /unban should remove both bans. Also fix name colour in tab not being updated when doing /unban. 2016-07-29 08:54:47 +10:00
UnknownShadow200
b188c12172 Make perbuild/pervisit/perbuildmax/pervisitmax show actual rank name instead of the LevelPermission enum value (thanks Joshim4), also fix not showing multiple level matches for those commands too. 2016-07-29 08:46:49 +10:00
UnknownShadow200
7116c49e8f Now /unban partially matches player names. 2016-07-28 23:13:15 +10:00
UnknownShadow200
cb51be2d6a Add initial ThreadSafeCache class, also do Database.TableExists checks for zones/portals/messages. 2016-07-28 22:07:14 +10:00
UnknownShadow200
b5b8197c04 Don't allow /ascend or /descend when you can't use hacks. (Thanks goodlyay) 2016-07-28 17:17:22 +10:00
UnknownShadow200
4a3a1b82c5 Now with less linq and less tabs. 2016-07-28 16:42:54 +10:00
UnknownShadow200
2f29aeaccd Now default to CLI mode when not running on windows, avoids the unintuitive method of the user having to know to change 'cli=true' in viewmode.cfg. 2016-07-28 16:09:14 +10:00
UnknownShadow200
568c855ca1 Fix /cmdunload showing an 'incorrect command name' message afterwards, cleanup cmdload/unload code in the gui. 2016-07-28 15:54:21 +10:00
UnknownShadow200
95435c3c48 Don't forget to create new array after having written previous array to socket. 2016-07-28 12:31:51 +10:00
UnknownShadow200
31110aa3d4 Minor performance optimisation for sending level in classic+hax mode. 2016-07-28 11:52:31 +10:00
UnknownShadow200
deeb68f2a9 Don't define blocks with /importing .cw files if they are the same as globally defined custom blocks. 2016-07-27 22:23:57 +10:00
UnknownShadow200
565873d7d4 Now create block def json files when importing .cw maps. 2016-07-27 19:20:52 +10:00
UnknownShadow200
2364ce351d Integrate stripped down fNbt into the source code. 2016-07-27 15:56:06 +10:00
UnknownShadow200
ac4be0321d Now read environment data from .cw files, still need to do the block definitions file. 2016-07-27 14:43:48 +10:00
UnknownShadow200
7075d062bf Basic .cw importer that only imports blocks. 2016-07-27 14:01:37 +10:00
UnknownShadow200
51d3bcf9e7 Fix being unable to do /os map chat if you can't change map options. (Thanks JPlaysClassic) 2016-07-27 12:50:02 +10:00
UnknownShadow200
6748c2811d Add fNbt.dll as a reference. 2016-07-27 12:45:56 +10:00
UnknownShadow200
ae06d438bb Space wars: Death of the tabs. 2016-07-27 09:38:28 +10:00
UnknownShadow200
2c6fa19453 Fix /send storing the second half of the message (if > 255 chars) instead of first bit on mysql backend. 2016-07-27 09:33:46 +10:00
UnknownShadow200
b551b63c65 Reduce code duplication of Scripting.cs and MCForgeScripter.cs 2016-07-27 09:18:21 +10:00
UnknownShadow200
5948804f11 Make checking for temp rank expiry another scheduler task, instead of a whole separate timer. 2016-07-27 08:39:45 +10:00
UnknownShadow200
1056c06ac4 Fix /copy @ with rotate flips too. (Thanks goodlyay) 2016-07-26 18:13:55 +10:00
UnknownShadow200
740ee15e40 More Execute instead of executeQuery and Fill instead of fillData for Database. calls. 2016-07-26 17:07:48 +10:00
UnknownShadow200
a6597f8dfd More Execute instead of executeQuery and Fill instead of fillData for Database. calls. 2016-07-26 16:53:35 +10:00
UnknownShadow200
06de285989 More Execute instead of executeQuery and Fill instead of fillData for Database. calls. 2016-07-26 16:27:03 +10:00
UnknownShadow200
d30edf8df4 More Execute instead of executeQuery and Fill instead of fillData for Database. calls. 2016-07-26 16:07:06 +10:00
UnknownShadow200
6e97d8a047 Execute instead of executeQuery and Fill instead of fillData for Database. calls. 2016-07-26 15:55:50 +10:00
UnknownShadow200
4f61d5bbe5 Initial work on new Fill/Execute method which makes binding parameters much for prepared statements much easier. 2016-07-26 15:48:22 +10:00
UnknownShadow200
cac792e9a4 Tabs to spaces. 2016-07-26 12:35:33 +10:00
UnknownShadow200
0cc9849537 For mirror copy flips, also mirror the copy offset (Thanks goodlyay). Still need to fix copy offsets for rotate copy flips. 2016-07-26 12:33:11 +10:00
UnknownShadow200
e8289cb112 Make /emote save the emotelist when the command is called, not in Player.save. Also add a generic formatted Join extension method for IEnumerable<T>. 2016-07-26 11:59:26 +10:00
UnknownShadow200
8a7ed8637f Now with less LINQ usage. 2016-07-26 11:14:04 +10:00
UnknownShadow200
9b1fc58bfe Fixes and cleanup for whitelist code.
Can no longer join when you are on the whitelist but are banned, fix whitelist not saving when adding/removing someone from console, /whitelist [name] is now implicitly treated as /whitelist add [name].
2016-07-26 10:45:10 +10:00
UnknownShadow200
96d6ac3029 Use consistent method of finding IP in /banip and /unbanip, also warn in (the very rare case) that the input matches both an IP and a classicube.net account. 2016-07-26 10:27:55 +10:00
UnknownShadow200
48b527f7a4 Don't allow /banip on invalid ips (like a.b.c.d), cleanup /banip. 2016-07-26 09:51:24 +10:00
UnknownShadow200
60586a67e0 Fix /resizelvl not changing main world, if the old world was set to the server's main world. 2016-07-25 22:27:17 +10:00
UnknownShadow200
3be8c02faa Now /ride just makes you not killed by train blocks, rather than invincible alltogether. 2016-07-25 22:22:39 +10:00
UnknownShadow200
0be654b006 Better field names for PaletteEntry. 2016-07-25 22:08:44 +10:00
UnknownShadow200
92b7b6ad60 Use named block constants instead of hardcoding their ids in ImagePalette.cs 2016-07-25 18:54:21 +10:00