Commit Graph
100 Commits
Author SHA1 Message Date
Tiger Wang 2dd823da09 Disconnection message no longer shown if ping 2013-12-18 22:06:36 +00:00
Tiger Wang b4ac4a14fa Prettified command error messages
Using the magic of overlords (overloads) and standards compliance.
2013-12-18 22:05:41 +00:00
Tiger Wang aaaa53ce9d The "<>" of a player name is now coloured 2013-12-18 18:18:06 +00:00
Tiger Wang 26632bbb8a Fixed 1.7 player disconnection not calling hook
This fixes #357
2013-12-18 18:17:17 +00:00
Tiger Wang db5d7963e2 Renamed back EntityAnimation to PlayerAnimation
This fixes #411 and partially reverts
30ead79049
2013-12-18 16:11:15 +00:00
Tiger Wang 13a22918e5 Fixed wire powering blocks beneath 2013-12-17 23:05:42 +00:00
Tiger Wang 09c47fabd2 Fixed bad repeater power queuing in corner case
Repeaters remain queued to power even if their original source has since
unpowered. Also functionised and cleaned up code.
2013-12-17 23:05:27 +00:00
Tiger Wang ed80ff9fc8 Merge pull request #438 from mc-server/Boats
Implemented boating functionality.
2013-12-16 14:14:44 -08:00
Tiger Wang 3e6fd5c6e5 Removed some old cRedstone remnants 2013-12-16 17:35:20 +00:00
Tiger Wang ba4eae2d16 Implemented xoft's suggestions 2013-12-15 15:36:20 +00:00
Tiger Wang b87055f7a5 Fixed wire repeater checking 2013-12-15 13:56:32 +00:00
Tiger Wang bbcef6d6eb Wires now power repeaters properly 2013-12-15 13:08:08 +00:00
Tiger Wang ceb11cb477 Fixed the hopefully final wire self-powering bug 2013-12-15 12:17:29 +00:00
Tiger Wang 765b847281 Potentially fixed debug asserts 2013-12-14 19:29:50 +00:00
Tiger Wang 7f9f6f5095 Wires no longer power if a block cuts them off
Also reduced more unneeded code.
2013-12-14 19:11:15 +00:00
Tiger Wang 95be80cdb5 Implemented note block playing and fixed wire
Game of Thrones music in Minecraft, here I come!
2013-12-14 16:52:22 +00:00
Tiger Wang 46787a8a1b Update Core 2013-12-14 12:29:43 +00:00
Tiger Wang 5685e5ba33 Fixed compilating! 2013-12-14 12:10:05 +00:00
Tiger Wang 4622d4ac09 Improved player permissions logging 2013-12-14 02:54:08 +00:00
Tiger Wang 0aeece7fda Fixes to redstone wire and torches
+ Wires now power blocks around the block beneath
* Torches no longer power off if it is on a linked powered block
* Enhanced code, split functions, etc.
2013-12-14 02:40:54 +00:00
Tiger Wang 4e11095441 Groups.ini and Users.ini are now generated 2013-12-14 02:02:26 +00:00
Tiger Wang d94ee0fa79 Removed loads of unneeded code again 2013-12-14 01:14:09 +00:00
Tiger Wang d110d798d2 Reduced loads of unneeded code
Merged wire powering detection code into a single function.
2013-12-14 00:43:05 +00:00
Tiger Wang 99043091df Improved redstone loading performance 2013-12-13 19:01:15 +00:00
Tiger Wang 3757054d81 Fixed QueueSetBlock not sending to client changes 2013-12-13 00:06:47 +00:00
Tiger Wang 6b6905fe1c Redstone data is now loaded on chunk load 2013-12-12 23:49:10 +00:00
Tiger Wang cd35bd2c49 Fixed pistons being viable middle block
Also an excuse to update submodules
2013-12-11 18:42:38 +00:00
Tiger Wang 9987611792 Provides a possible fix for repeater timings
Not completely reliable, but at least some types of clock work.
2013-12-10 21:24:02 +00:00
Tiger Wang e2e8c9624c Readded initial line 2013-12-10 10:31:42 +00:00
Tiger Wang b6e0234985 Fixed compile (alas, no more goto) 2013-12-10 10:29:36 +00:00
Tiger Wang bc8d926398 Reverted APIDump changes
They were wrong!
2013-12-10 00:33:48 +00:00
Tiger Wang 0905369fc7 Fixed Floody lava to stone fizzle 2013-12-10 00:29:59 +00:00
Tiger Wang 1dec73be0b Added repeater delays
They DO sometimes get stuck though :P
2013-12-10 00:21:24 +00:00
Tiger Wang ebad87d870 Slight redstone wire performance improvement 2013-12-09 23:48:06 +00:00
Tiger Wang aecdfebf36 Changed more FastSetBlocks to SetBlocks
Fixes duplication bugs.
2013-12-09 23:43:26 +00:00
Tiger Wang 97a1147aca Improved pickups spawning speed again 2013-12-09 23:43:06 +00:00
Tiger Wang 303e086e73 Fixed VS013 compile 2013-12-09 17:58:44 +00:00
Tiger Wang 166f07029d Fixed binding generation and VS2013 compile 2013-12-08 14:45:24 +00:00
Tiger Wang 9c1b7c8b6e Readded redstone lamp handler 2013-12-08 14:07:32 +00:00
Tiger Wang 1d554677b4 Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeatures
Conflicts:
	src/Bindings/Bindings.cpp
	src/Bindings/Bindings.h
	src/Blocks/BlockHandler.cpp
2013-12-08 14:02:45 +00:00
Tiger Wang f64dd786aa Fixed tabcompletion packet, fixes #356 2013-12-08 13:37:10 +00:00
Tiger Wang 0148685d4e Fixed falling block metas, fixes #406 2013-12-08 00:32:02 +00:00
Tiger Wang 838d4d5d1d Bonemeal has particles, fixes #393 2013-12-07 23:45:33 +00:00
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
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
Tiger Wang dc8e8a3ddc Merge branch 'trapdoors' of https://github.com/mc-server/MCServer into trapdoors 2013-11-30 13:52:19 +00: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
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
Tiger Wang 96759637e9 Fixed a bug with TNT waking simulators 2013-11-28 18:24:25 +00:00
Tiger Wang f9e1be0d57 Improved TNT pickup randomisation 2013-11-28 18:22:13 +00:00
Tiger Wang 994e1d7335 Made TNT pickups spawning chance 25% 2013-11-27 22:03:04 +00:00
Tiger Wang a6630d3239 Merged master into redstonefixes 2013-11-27 21:35:13 +00:00
Tiger Wang 2ba4625835 Fixed VS2013 compiling 2013-11-27 21:10:01 +00:00
Tiger Wang b358032fe9 Makefile fix 2013-11-26 23:15:32 +00:00
Tiger Wang e1f3cb1879 ANOTHER compile fix
This one was broken by bear. :P
2013-11-26 22:56:35 +00:00
Tiger Wang 2ef9cf700d Hopefully fixed last of the Linux compile errors 2013-11-26 22:50:33 +00:00
Tiger Wang 3e3e63d946 Compile fix again 2013-11-26 22:45:08 +00:00
Tiger Wang f87bb1619e Fixed Linux compile again 2013-11-26 22:43:22 +00:00
Tiger Wang 2dee812667 Possibly fixed Linux makefile 2013-11-26 22:37:44 +00:00
Tiger Wang 1c526ed52b Fixed tolua++ files 2013-11-26 22:11:40 +00:00
Tiger Wang 83ce4d4792 Fixed spawn point being generally in an ocean 2013-11-26 21:54:40 +00:00
Tiger Wang b628cfb734 Fixed repeaters not powering from wire
This should also fix comparators (in the future).
This also updates XML comments so that they are compatible with Doxygen.
2013-11-26 21:54:07 +00:00
Tiger Wang 56f13f83bb Merge remote-tracking branch 'origin/master' into redstonefixes 2013-11-25 21:45:22 +00:00
Tiger Wang 3466d2cad9 Fixed all outstanding VS compilation issues
Also updated VS2008 files.
2013-11-25 21:32:09 +00:00
Tiger Wang 28b09377f3 Updated VS includes 2013-11-25 18:43:46 +00:00
Tiger Wang 32449f1fca Further attempts to fix compile 2013-11-25 18:29:36 +00:00
Tiger Wang e3db69c4ae Attempt to fix compilation 2013-11-24 18:44:22 +00:00
Tiger Wang 16435995a5 Moved SQLite, LuaExpat, and MD5 to /lib 2013-11-24 17:33:47 +00:00
Tiger Wang a92f475a75 Removed old project files 2013-11-24 17:31:53 +00:00
Tiger Wang 3c2e7f1aad Fixed Visual Studio Files 2013-11-24 17:30:42 +00:00