1
0
Commit Graph

3084 Commits

Author SHA1 Message Date
Tiger Wang
b779d84663 Console trims its commands before executing 'em 2013-12-07 22:35:24 +00:00
Tiger Wang
405f67dac8 Fixed water starting fires 2013-12-07 22:35:01 +00:00
Tiger Wang
16db8533e1 Improved piston animations 2013-12-07 20:29:09 +00:00
Tiger Wang
5bed85aba0 Fixed some new 1.7 client crash bugs
Some technical blocks were removed; trying to render them as items
caused a crash.
2013-12-07 18:03:56 +00:00
Tiger Wang
a61082ffee Changed some FastSetBlocks to SetBlock
Should fix some duplication glitches.
2013-12-07 14:55:19 +00:00
Tiger Wang
1932cc38a1 Fixed trapdoors not toggling
The redstone simulator kept on resetting them.
2013-12-07 14:41:58 +00:00
Tiger Wang
347e80bdd8 Added basic ender chests
Note that they just mirror chests now, so no per player inventory.
2013-12-07 00:18:58 +00:00
Tiger Wang
30ead79049 Renamed animation function
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just
players can have animations, you know.
2013-12-06 23:47:07 +00:00
Tiger Wang
a5dd0e2b88 Fixed bed leave animation 2013-12-06 22:45:55 +00:00
Tiger Wang
b028731726 Fixed duplication glitch with QueueSetBlock
If a coordinate was queued, and then the block there was broken, it
would reappear: double items!

Also now just sets meta if previous and current blocktypes matched.
2013-12-06 22:29:15 +00:00
Tiger Wang
b115f3d636 Added trapdoor cursor Y detection 2013-12-06 21:31:55 +00:00
Tiger Wang
ec226e00ab Puking now uses GetEyeHeight() 2013-12-06 20:41:58 +00:00
Tiger Wang
e2a557f46c Added pickup invalid item check
They aren't spawned at all if their itemtype isn't valid; possibly fixes
the client crashing with bad pickups.
2013-12-06 20:39:42 +00:00
Tiger Wang
126577214a Re-implemented redstone duplicate checking 2013-12-06 20:33:48 +00:00
Tiger Wang
289e8cba21 Fixed eating using wrong animation 2013-12-06 20:28:27 +00:00
Tiger Wang
008c515b4b Fixed trapdoors not overriding OnUse 2013-12-06 20:01:52 +00:00
Tiger Wang
6c7de446ae Spawn eggs use IsGameMode()
Possible fix for #316.
2013-12-06 20:00:49 +00:00
Tiger Wang
44d5fd1e87 Tools make a sound when breaking, fixes #266 2013-12-06 19:59:14 +00:00
Tiger Wang
77a7bfb3e5 Cleaned up torch code and added comments 2013-12-06 19:35:10 +00:00
Tiger Wang
73dd2e9bed Removed another export and inline'd stuff 2013-12-06 19:24:45 +00:00
Tiger Wang
0376b847d7 Removed exporting of a torch function 2013-12-06 19:23:27 +00:00
Tiger Wang
57b8b38511 Updated comments for slabs 2013-12-06 19:22:25 +00:00
Tiger Wang
ee4d57a076 Fixed pickups spawning for BlockEntities 2013-12-06 19:17:57 +00:00
Tiger Wang
127d021cde Regenerated VS2013 files 2013-12-06 19:15:53 +00: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
Samuel Barney
88d6454882 I don't know how this dissapeard. 2013-12-05 22:42:52 -07: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
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