Commit Graph
100 Commits
Author SHA1 Message Date
Mattes D acf90a2c1a Merge pull request #440 from mc-server/repeaterfixes
Fixed redstone wire and certain repeater scenarios
2013-12-18 09:59:31 -08:00
Mattes D b6e1f62df7 Merge pull request #442 from mc-server/Nether_Wart
Implented Nether Wart.
2013-12-18 09:58:41 -08:00
Mattes D d6d42c36ea Merge pull request #441 from mc-server/hookentityanimation
Renamed back EntityAnimation to PlayerAnimation
2013-12-18 09:57:35 -08:00
madmaxoft 4402725c61 Removed offending tr1/memory header inclusion.
We already use <memory> at line 160, this was a double include, additionally causing problems (#424).
2013-12-18 12:04:31 +01:00
madmaxoft f8f4ab88f6 Fixed player falling through the floor on spawn.
The 1.7 client seems to have math issues with exact coords. Adding 0.001 to the Y coord fixed the problem.
2013-12-17 20:16:06 +01:00
madmaxoft bd568ed089 cBlockArea: origin is initialized in the constructor and the loader. 2013-12-17 20:16:06 +01:00
Mattes D 3a32a1e902 Merge pull request #439 from mc-server/Buckets
Made buckets work when the player does not 'look' at a block.
2013-12-17 11:15:07 -08:00
madmaxoft a4f4ba534e Fixed naming and initialization. 2013-12-17 20:10:03 +01:00
madmaxoft 5d4e1725d4 APIDump: Ignoring the multi-inheritance members.
We may get to documenting them one day, but for now they are unused anyway, so there's no point in documenting them. They are a by-product of multiple inheritance, re-introduced due to #422.
2013-12-16 22:13:46 +01:00
madmaxoft daade8ddee Fixed multiple inheritance in ToLua++.
This fixes #422.
2013-12-16 22:13:46 +01:00
madmaxoft f521cbeb31 Fixed cClientHandle::Tick() being called from two threads.
When the player was initialized, the Tick() function continued to stream chunk, while the cWorld called Tick() from its tick thread.
Final fix for #187.
2013-12-16 10:41:51 +01:00
madmaxoft e024278b02 Fixed multiple player spawn broadcasts. 2013-12-16 10:41:50 +01:00
madmaxoft c33c8882b3 Fixed player spawning packet.
The player was spawned 1.62 blocks below their pos. This fixes #323.
2013-12-15 20:50:07 +01:00
madmaxoft c19f2d7383 ProtoProxy: Fixed description-changing to work with 1.7.4. 2013-12-15 20:41:35 +01:00
madmaxoft 4ee4cab2d3 Fixed calling OnPlayerJoined() in the wrong place.
This is the first part of a fix for #187.
2013-12-15 20:12:55 +01:00
Mattes D 54b5f3b712 Merge pull request #433 from mc-server/redstoneimprovements
Fixed more wire bugs
2013-12-15 08:18:42 -08:00
madmaxoft 368b7a40b5 Fixed indentation. 2013-12-15 15:58:03 +01:00
Mattes D af4237de77 Merge pull request #434 from mc-server/Player_Abilities
Player abilities
2013-12-15 06:52:39 -08:00
Mattes D 4f92f18a8d Merge pull request #432 from mc-server/Broadcast_Effects
Broadcast effects
2013-12-15 04:42:15 -08:00
Mattes D 5e6a4c99a7 Merge pull request #431 from mc-server/Entity_Effects
Entity Effects
2013-12-14 14:40:24 -08:00
madmaxoft 812ea39a5c Added tolua++ redirection include.
This is needed because ToLua++ regenerates the Bindings file with bad #include, and it would be too difficult to fix ToLua++; this is an easier solution.
Should fix PR #431.
2013-12-14 23:34:57 +01:00
madmaxoft 322382e379 Removed leftover debugging messages from cProtocol172. 2013-12-14 23:34:56 +01:00
Mattes D 22ee94ffaf Merge pull request #430 from mc-server/redstoneimprovements
Implemented note block playing and fixed wire
2013-12-14 13:00:30 -08:00
Mattes D 2aa98c7beb Merge pull request #428 from mc-server/cTNTEntity_Export
Exported the cTNTEntity
2013-12-14 07:32:14 -08:00
Mattes D 3bf65e986b Merge pull request #426 from SamJBarney/master
Fixed clang autodetection.
2013-12-14 06:51:58 -08:00
Mattes D 8a6c28b8f0 Merge pull request #423 from mc-server/redstoneimprovements
Redstone and configuration improvements
2013-12-14 06:41:00 -08:00
Mattes D 8033abe8ce Merge pull request #419 from mc-server/redstoneloading
Redstone data is now loaded on chunk load
2013-12-13 11:55:08 -08:00
madmaxoft 33c6bcc2f4 Fixed threading issues affecting cProtocol172. 2013-12-13 17:53:26 +01:00
madmaxoft 91587f63c4 Unknown packet type extended to 32 bits. 2013-12-12 23:05:23 +01:00
madmaxoft f3c9ea0ed2 Fixed protocol 1.7 recovery after unknown packet. 2013-12-12 23:05:02 +01:00
Mattes D 7035d31e9d Merge pull request #417 from mc-server/WorldUpdate
World update
2013-12-11 08:02:45 -08:00
Mattes D 858b03deb4 Merge pull request #416 from mc-server/repeaterfix
Provides a possible fix for repeater timings
2013-12-10 22:36:31 -08:00
Mattes D 60ca21b598 Merge pull request #414 from worktycho/abortondeadlock
add abort call to deadlock detection code
2013-12-10 12:55:57 -08:00
Mattes D 9cfd8f6910 Merge pull request #412 from mc-server/fixes
Main feature: repeater delays!
2013-12-10 06:19:38 -08:00
Mattes D 567354b3ca Merge pull request #410 from worktycho/master
Micelanious fixes for various warnings
2013-12-09 12:16:57 -08:00
madmaxoft 3712ee7b11 Fixed angle normalization typo. 2013-12-08 18:54:04 +01:00
madmaxoft 4608beb3c6 Fixed tolua++ compilation.
Duplicate files, wrong includes, const-incorrect code...
2013-12-08 18:24:56 +01:00
madmaxoft fd68095acc Fixed VS2008 compilation after those huge changes. 2013-12-08 18:13:30 +01:00
Mattes D ac6b4cda7c Merge pull request #408 from mc-server/SpawnPoint_Fix
Now spawn points will not be in deep oceans or rivers etc.
2013-12-08 09:07:49 -08:00
Mattes D 6f23d2ec94 Merge pull request #404 from mc-server/fixesnfeatures
Fixes n' features
2013-12-08 09:07:34 -08:00
madmaxoft 906fd50343 Removed unused ToLua files.
Those were used to compile the tolua executable and were getting in the way - Unix makefile tried to compile them into MCS.
2013-12-08 18:05:49 +01:00
madmaxoft 6785bb7c16 Fixed normalizing large angles. 2013-12-08 13:08:56 +01:00
madmaxoft 044fd237b6 Moved bindings-related to a Bindings subfolder.
Ref.: #407
2013-12-08 12:17:54 +01:00
madmaxoft 13dd1b0c94 Ignoring Gallery plugin settings. 2013-12-08 11:48:44 +01:00
madmaxoft 62adb2b965 Fixed stationary water starting fires and flowing lava not. 2013-12-08 11:47:40 +01:00
Mattes D 7d58fa56f2 Merge pull request #405 from mc-server/SpawnFallingBlock
Spawn falling block
2013-12-07 05:50:42 -08:00
Mattes D dde1c3a7cd Merge pull request #394 from SamJBarney/master
Fire no longer goes out when on top of nether rack
2013-12-06 02:41:37 -08:00
madmaxoft a02ed3b92e APIDump: Documented the new cPluginManager:GetCurrentPlugin() function. 2013-12-05 22:06:52 +01:00
madmaxoft 1205c540ee Added cPluginManager:GetCurrentPlugin() to Lua API. 2013-12-05 22:03:07 +01:00
madmaxoft 1373539bce ProtoProxy: Fixed metadata parsing. 2013-12-05 12:20:37 +01:00
madmaxoft 321b259213 ByteBuffer: Fixed optimization failures with threading checks. 2013-12-05 10:33:26 +01:00
madmaxoft fb2df44458 Fixed LuaStatic intermediate and output folders. 2013-12-04 21:35:29 +01:00
madmaxoft 4fd876aa7c Added a new Debug_LuaStatic configuration.
This re-enables plugin debugging using Decoda, lost when we moved Lua out to a DLL.
2013-12-04 20:35:54 +01:00
madmaxoft e48168aa13 Lava can spawn fire.
Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65.
2013-12-04 19:48:42 +01:00
madmaxoft be1cdadda7 Fixed an error in cChunk's block ticking.
Absolute coords were passed to a handler expecting relative coords.
2013-12-04 19:47:08 +01:00
madmaxoft 28e905bfff Fixed a linker warning in MSVC debug build. 2013-12-03 22:18:03 +01:00
madmaxoft 0a2fcf909c Added a quick LuaRocks testing plugin.
You need to install the luarocks system and through it the luasocket and 30log rocks.
2013-12-03 21:48:40 +01:00
madmaxoft 8cb3fb5893 Allowed Linux builds to use LuaRocks.
This works by exporting all the symbols for the dynamic loader so that LuaRocks' shared libraries may bind to them on load. Also allowed lua's dlopen().
2013-12-03 21:40:58 +01:00
madmaxoft 0e48fd35bd Made Lua compila as a standalone DLL on Windows.
This enables us to use LuaRocks.
2013-12-03 21:37:34 +01:00
madmaxoft 70cf0c09a8 The server builds and uses Lua as DLL in Debug mode.
This is a test to see how LuaRocks will interact. Only debug mode on Windows is affected, all other platforms and modes are unchanged.
2013-12-02 22:36:59 +01:00
madmaxoft e07c54f7f8 APIDump: Added missing params to OnPlayerRightClick() hook. 2013-12-02 22:36:59 +01:00
Mattes D 1c384ec1d7 Merge pull request #392 from SamJBarney/master
Fixed 1.7 slab and stair placement.
2013-12-02 11:38:22 -08:00
madmaxoft ffd2caea66 Fixed compiler warnings in LightingThread.cpp. 2013-12-01 14:04:17 +01:00
madmaxoft 3dfd051fcb Fixed linux compile errors and formatting in RedstoneSimulator.cpp 2013-12-01 13:58:04 +01:00
madmaxoft bf30528ec4 DeadlockDetect is configurable now.
This is needed when debugging Lua plugins.
2013-11-30 22:14:47 +01:00
madmaxoft 9a36564ce9 Fixed compiler warnings in IsBiomeNoDownfall(). 2013-11-30 19:13:04 +01:00
Mattes D 2bbe5046e9 Merge pull request #387 from mc-server/trapdoors
Trapdoors, redstone fixes, and snow
2013-11-30 07:20:27 -08:00
madmaxoft c70c2fa42f Changed cBlockHandler->OnUpdate() to use cChunk directly. 2013-11-30 15:58:27 +01:00
madmaxoft 8eae5f2f3a Added IsBiomeNoDownfall() function. 2013-11-30 15:57:56 +01:00
madmaxoft 78f9d97459 Explicitly set spawnpoint fixes.
The value names are case-insensitive.
The debug message is printed only once.
2013-11-30 15:03:29 +01:00
madmaxoft 8e4a1b2ca1 Added the trapdoor header to project file. 2013-11-30 14:52:35 +01:00
madmaxoft 2383016b1d Added the real tick duration to the OnWorldTick hook. 2013-11-30 14:22:26 +01:00
madmaxoft 251647f3bd Fixed compilation in VS2008. 2013-11-30 13:54:10 +01:00
madmaxoft 463de118a0 Grass doesn't spread to podzol or grassless dirt blocks. 2013-11-30 13:48:22 +01:00
madmaxoft ca79a1a6a6 APIDump: Updated the project file to include all partial docs files. 2013-11-30 13:36:40 +01:00
madmaxoft 754d991b4f Added floor pattern for MegaTaiga biomes. 2013-11-30 13:34:52 +01:00
madmaxoft 78f0195d26 Implemented mesa biomes in DistortedHeightmap CompoGen. 2013-11-29 21:47:09 +01:00
madmaxoft cbe8d1aa6d Fixed CheckerboardBiomeGen in negative coords. 2013-11-29 21:45:20 +01:00
madmaxoft 9b881a15ef DistortedHeightmap: Improved speed, prepared for mesa biomes.
This generates the rainbow-mesa as seen on the first mesa screenshot in the forum.
2013-11-29 18:42:56 +01:00
madmaxoft 3963a72046 Fixed an off-by-one error in cByteBuffer.
Could have caused random protocol errors and maybe even crashes.
2013-11-29 18:39:40 +01:00
madmaxoft f027b71a31 Alpha-sorted BlockMetas, added red sand. 2013-11-29 18:38:27 +01:00
madmaxoft f6df5cea87 Trees will generate in the new biomes.
Only the generic trees, the special variants haven't yet been implemented.
2013-11-28 22:08:42 +01:00
madmaxoft 057821d9b7 Added new biomes to old composition generator.
Mostly placeholders only, true per-biome characteristics still need to be implemented. This is only to test the new biome generators.
2013-11-28 21:51:18 +01:00
madmaxoft 95ab73e4ed Added new biomes to old height generators.
Now Biomal and DistortedHeight generators will work with new biomes.
2013-11-28 21:15:50 +01:00
madmaxoft 41175b5549 BiomeVisualiser: Using the common BiomeGen creation code. 2013-11-28 20:19:10 +01:00
madmaxoft c0a6c2b533 Moved BiomeGen creation from INI file data to BioGen.cpp.
This way it can be shared between MCServer and BiomeVisualiser.
2013-11-28 20:15:52 +01:00
madmaxoft 012840360e Moved json includes to where they are really needed. 2013-11-28 20:14:34 +01:00
madmaxoft bdd86d7934 BiomeVisualiser: Added the TwoLevel biome generator. 2013-11-28 20:00:30 +01:00
madmaxoft 8acf0129e1 BiomeVisualiser: The biome settings are read from a file. 2013-11-28 20:00:29 +01:00
Mattes D 13dade5a83 Merge pull request #362 from mc-server/redstonefixes
Multiple bugfixes
2013-11-28 10:59:44 -08:00
madmaxoft c90f021ed4 Fixed RCONClient after foldermove. 2013-11-28 13:55:28 +01:00
madmaxoft cfd9a29046 Fixed MemDumpAnalysis after foldermove. 2013-11-28 13:53:38 +01:00
madmaxoft bb37271f30 Fixed BlockZapper after folder move. 2013-11-28 13:48:52 +01:00
madmaxoft afd94a0b11 Fixed BiomeVisualiser after folder move. 2013-11-28 10:09:45 +01:00
madmaxoft 54c82c746e Fixed AnvilStats after folder move. 2013-11-28 10:05:39 +01:00
madmaxoft 19895dc428 ProtoProxy: Fixed after folder move. 2013-11-28 09:52:28 +01:00
madmaxoft bec27617a2 Voronoi-related biomegens use the new cVoronoiMap class. 2013-11-27 21:42:34 +01:00
madmaxoft ac793df2ab Added missing files for Voronoi map generation. 2013-11-27 14:26:28 +01:00
madmaxoft 97b03df372 Fixed Win nightbuild scripts after folder moves. 2013-11-27 14:24:36 +01:00
madmaxoft 557ebc88d7 Removed faulty .gitattributes.
They cause git to think that files have been modified although they have not, and makes it impossible to revert the files to un-changed form.
See http://stackoverflow.com/questions/5009096/files-showing-as-modified-directly-after-git-clone 's first answer.
2013-11-27 09:32:53 +01:00