4142 Commits

Author SHA1 Message Date
UnknownShadow200
57a85ed71d compile again 2020-01-18 16:24:45 +11:00
UnknownShadow200
00278269fa Replace uses of p.Extras.Put with p.Extras[key] instead, and and obsolete warning for using deprecated p.Extras.Put and friends 2020-01-18 16:15:22 +11:00
UnknownShadow200
a959cd0ffe Move some stuff out of LevelInfo.cs and into the more appropriate Paths.cs 2020-01-18 16:11:34 +11:00
UnknownShadow200
460a24d64e Don't turn off 'auto unload' setting when setting main world, because Unload function already won't unload the main world. 2020-01-16 00:35:38 +11:00
UnknownShadow200
86d85a5339 One function for getting path to level's blockdefs, instead of three separate ways 2020-01-15 21:03:30 +11:00
UnknownShadow200
41e422025b Release 1.9.1.7 1.9.1.7 2020-01-13 18:30:31 +11:00
UnknownShadow200
b3bf97106e Don't try loading .env files in level.LoadMetadata
.env files has been deprecated for a very long time, and are automatically combined with properties file at server startup anyways.
2020-01-13 18:08:15 +11:00
UnknownShadow200
a814c1e9c4 Change BlockDefinition.Load to take arbitary path as argument 2020-01-13 12:38:54 +11:00
UnknownShadow200
f2cd09331e Add support for textures over 256 to .cw importer 2020-01-12 22:32:52 +11:00
UnknownShadow200
a999995fd2 Add support for importing blocks over 255 in .cw importer 2020-01-12 21:30:40 +11:00
UnknownShadow200
8f71f99b4f Fix a save that takes a while triggering physics shutdown 2020-01-12 17:41:11 +11:00
UnknownShadow200
22a3c00a05 Fix rare bug where doors would get stuck as air form on saving
This was caused by writing blocks to disc, then physics tick running in another thread, then writing physics checks to disc. This would cause physics checks to be written according to the blocks in the map after the tick finished, but the blocks in the file would be from before the tick executed.
2020-01-12 17:28:16 +11:00
UnknownShadow200
fdc04fa0cc Fix an incredibly extremely rare bug which caused zones to get lost on saving
The exporter works by counting number of physics checks with non-0 data, then writing that count to disc, and then writing the actual physics checks to disc. However, because the 'writing actual physics checks' reloaded the 'number of physics checks' instead of using the same 'number' as when it was counting number of physics checks with non-0 data, this could cause it to write more entries to disc than the count stated on the extremely rare chance that some other thread modified the checks list in-between writing the 'count' and the actual physics checks. This would then cause zones to not get loaded the next time the map was loaded from disc, because the importer would try interpreting that extra entry as a section identifier. Because that would not match any section identifiers it knew about, it would give up reading anymore data, and hence would not read the actual zones list section. Although I had taken steps to ensure physics could not change checks list while the map was being saved, I forgot that a user deleting a door block would still add a physics check to the list, which could thus extremely rarely trigger this bug. TL;DR multithreading is a pain.
2020-01-11 23:35:02 +11:00
UnknownShadow200
a865a60cce few very minor optimisations to libnoise 2020-01-09 22:51:15 +11:00
UnknownShadow200
76a98a3a18 Simplify Voronoi a bit 2020-01-09 21:50:58 +11:00
UnknownShadow200
7849b7a111 Avoid a few pointless memory allocations in .lvl exporter
This also fixes the .lvl header being endian dependent, not that it probably matters
2020-01-09 21:10:10 +11:00
UnknownShadow200
7742887367 Get rid of unnecessary Math class in libnoise 2020-01-09 14:07:49 +11:00
UnknownShadow200
f43fad2667 Get rid of stuff we don't really need from libnoise 2020-01-06 12:55:05 +11:00
UnknownShadow200
b98a10693c Integrate LibNoise into MCGalaxy instead of using external dll 2020-01-06 12:45:00 +11:00
UnknownShadow200
64cb2a170f Fix confusing behaviour where you could make a block be both a portal/MB, portal/door etc. Now you can only make it one behaviour.
This confused users because you could say make a block both a portal and a message block with /blockprops, but it would only behave as a message block.
2020-01-05 12:03:09 +11:00
UnknownShadow200
46203b6e74
Grammar fix in changelog to test webhook 2020-01-01 11:25:09 +11:00
UnknownShadow200
6655b34f13
Change from OSX to macOS in the readme 2020-01-01 10:25:06 +11:00
UnknownShadow200
47977435d1 Oops forgot to fix updater too 2019-12-27 12:50:00 +11:00
UnknownShadow200
ea666daf5b Fix building debug configuration putting some files in bin/release still (Thanks 123DMWM) 2019-12-27 12:47:53 +11:00
UnknownShadow200
4815333e29 Make /mirror x more logical in that it flips all X coordinates of blocks instead of Z coordinates (and save for /mirror z) 2019-12-24 20:35:22 +11:00
UnknownShadow200
42ef62035e Release 1.9.1.6 1.9.1.6 2019-12-24 15:59:14 +11:00
UnknownShadow200
b49b02580e Fix bots on a map getting deleted if you changed x/y/z scale of a bot to a decimal number and your system language uses , instead of . 2019-12-24 08:22:59 +11:00
UnknownShadow200
898d168f36 don't try catch in Message 10 times, just log error first time it throws an error. (although it never should anyways) 2019-12-07 10:08:39 +11:00
UnknownShadow200
5f1cc75012 Completely rewrite .dat parser, this fixes imported worlds having their blocks being shifted over 2019-12-02 19:13:30 +11:00
UnknownShadow200
60ec3ba964 should be 'had their model changed' not 'had their model change' 2019-11-27 21:27:26 +11:00
UnknownShadow200
43f7132091 Fix /model chibi incorrectly saying scale can only go up to 2 (Thanks fam0r) 2019-11-27 21:22:32 +11:00
Goodlyay
7babf97a8c Change VelocityControl standard from 32 being one
block height boost to 1 being one block height boost
2019-11-27 00:17:27 -08:00
Goodlyay
9068975d93 Add support for CPE VelocityControl 2019-11-26 22:59:39 -08:00
UnknownShadow200
76b5147fd5 Make sure salt is only ASCII alphanumeric, and double length to 32 2019-11-25 21:35:06 +11:00
UnknownShadow200
3447ee82c6 Fix /money without arguments showing '' is not a valid player name (Thanks yuri) 2019-11-25 11:13:44 +11:00
UnknownShadow200
c4390b3729 Release 1.9.1.5 1.9.1.5 2019-11-24 18:54:43 +11:00
UnknownShadow200
6512f06ee8 Bump MySql.Data.dll up to 6.9.8, so it works out of the box with MySQL server versions > 8.0. Fixes #521. 2019-11-24 18:39:45 +11:00
Goodlyay
f623d977ea this was supposed to be in the last commit 2019-11-19 00:28:55 -08:00
Goodlyay
d3b431a63c Add support for CPE SetSpawnpoint.
Also server informs you when you touch a checkpoint now.
2019-11-19 00:28:01 -08:00
UnknownShadow200
1e56be9007 fix painting over grass while holding dirt appearing as air, even though the block was actually unchanged in the world. Fixes #500. (thanks kylbert) 2019-11-18 08:28:19 +11:00
UnknownShadow200
3cfbd59023 Revert to previous behaviour of just using per-axis model scale, instead of multiplying by base model scale 2019-11-06 18:33:23 +11:00
UnknownShadow200
8ace5b0d40 fix /replace and /replacenot getting affected by transforms (thanks tornato) 2019-11-06 07:42:08 +11:00
UnknownShadow200
c9ce645878 Fix warps list not getting cleared before loading on /server reload. (Thanks DaScavenger) 2019-11-06 07:29:52 +11:00
UnknownShadow200
c84da8f915 Ensure Blockchange can't be called from multiple threads.
This fixes rare case where doing a large /copy, then adding three marks, would cause the third mark (and any subsequent marks) to cause a blockchange error
2019-11-02 22:03:59 +11:00
UnknownShadow200
7631785726 Invalid axis scale shouldn't still cause your model to get updated 2019-10-19 12:52:28 +11:00
UnknownShadow200
faa46585ad Restrict scale for players in /model 2019-10-19 12:40:24 +11:00
UnknownShadow200
3bf2de0d22 Cleanup AABB code by splitting it up into ModelInfo 2019-10-19 12:26:43 +11:00
UnknownShadow200
6070e77865 Don't restrict model bot axis scaling in /model, fix giant model scaling 2019-10-19 11:14:37 +11:00
UnknownShadow200
4784fe297b code cleanup and make changing /map chat instantly change tab list 2019-10-17 20:55:55 +11:00
Goodlyay
cc6b8dd4c0 Show in tab list when maps have local chat
And update wording of map chat to hopefully be more self explanatory.
From <Map> to <Local>
2019-10-15 03:23:49 -07:00