1
0
Commit Graph

3207 Commits

Author SHA1 Message Date
madmaxoft
1205c540ee Added cPluginManager:GetCurrentPlugin() to Lua API. 2013-12-05 22:03:07 +01:00
Samuel Barney
d62bfdaca4 Merged if statements. 2013-12-05 10:01:23 -07:00
Samuel Barney
3d9396b097 Finished Merge 2013-12-05 07:34:56 -07:00
Samuel Barney
8acfe21503 Merge branch 'master' of https://github.com/mc-server/MCServer
Conflicts:
	src/Simulator/FireSimulator.h
2013-12-05 07:32:19 -07: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
Alexander Harkness
9f1efbdf21 Hopefully fixed the sparc not being detected 2013-12-04 18:57:23 +00: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
Samuel Barney
efae54db0a Made suggested changes 2013-12-03 19:05:34 -07:00
madmaxoft
28e905bfff Fixed a linker warning in MSVC debug build. 2013-12-03 22:18:03 +01:00
Alexander Harkness
5832781727 Updated TransAPI, fixes #389
@madmaxoft is this the right API usage?
2013-12-03 21:17:36 +00: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
Samuel Barney
30906a597c Fire no longer goes out when on top of nether rack 2013-12-02 14:11:45 -07: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
Samuel Barney
53d5eb09e0 Removed stray printf, again. 2013-12-02 09:56:42 -07:00
Samuel Barney
050702eaa1 Switched to using provided ReadItem function.
Fixed misplacing when clicking on the bottom of bottom slabs and the top of top slabs.
2013-12-02 09:32:28 -07:00
Samuel Barney
9e75df6a41 Removed stray printf. 2013-12-02 00:51:39 -07:00
Samuel Barney
458eff560b Fixed 1.7 slab and stair placement. 2013-12-01 20:40:12 -07: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
Tiger Wang
fad43f0c40 Fixed pistons extending
They didn't when a source was in front, but now they do! Yay!
2013-11-30 15:07:21 +00: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
Tiger Wang
dc8e8a3ddc Merge branch 'trapdoors' of https://github.com/mc-server/MCServer into trapdoors 2013-11-30 13:52:19 +00:00
madmaxoft
8e4a1b2ca1 Added the trapdoor header to project file. 2013-11-30 14:52:35 +01:00
Tiger Wang
363db1bdc4 Removed redstone duplicate power checking
There was no need for it, and it introduced some bugs.
2013-11-30 13:52:11 +00:00
Tiger Wang
d12106ee97 Improved piston direction checking
Now uses AddFaceDirection, as suggested by xoft.
2013-11-30 13:41:40 +00: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
Tiger Wang
455686e3ad Pistons no longer accept power through front face
This fixes #60.
2013-11-30 12:11:39 +00:00
Tiger Wang
ab382ef6b4 Fixed thin snow CanBeAt checking
Now takes into account the possibility that thin snow can be on top of
full thin snow.
2013-11-30 11:45:23 +00:00
Tiger Wang
0e0baa940a Properly fixed snow height, fixes #98 and #264 2013-11-30 00:31:21 +00:00
Tiger Wang
8d88c8f26f Improved redstone speed and fixed a wire bug
The redstone simulator no longer goes through the Powered and
LinkedPowered blocks lists for EVERY item in the chunk data, instead,
only at every tick.
Also, wires powering each other that had the same data value is now
fixed.
2013-11-30 00:30:49 +00:00
Tiger Wang
4741e5e794 Stairs reset meta when dropped, fixes #269
Additionally, they now have walking sounds.
2013-11-29 22:28:59 +00:00
Tiger Wang
1d69c80ad3 Implemented trapdoors, fixes #43 and #105
Also updated redstone simulator to support it
2013-11-29 22:27:08 +00:00
Tiger Wang
cee5160be8 Removed unneeded CPP files
Also removed unneeded #include in BlockStems
2013-11-29 22:25:07 +00:00