1
0
Commit Graph

3205 Commits

Author SHA1 Message Date
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
STRWarrior
007d668c1b Server saves if a player is flying. 2013-12-15 21:25:13 +01:00
STRWarrior
9b8112dbc2 Merge pull request #437 from mc-server/ShootTo_function
Shoot to function
2013-12-15 12:05:18 -08: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
STRWarrior
6e30e54eb0 Documented ForceSetSpeed. 2013-12-15 20:27:19 +01:00
STRWarrior
a2612fa68a Exported to Lua 2013-12-15 20:25:53 +01:00
STRWarrior
5e75408b3b Renamed ShootTo function to ForceSetSpeed. 2013-12-15 20:19:58 +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
STRWarrior
0efd74f114 This adds a function that allows you to 'shoot' a player towards a direction. 2013-12-15 18:54:54 +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
Tiger Wang
ba4eae2d16 Implemented xoft's suggestions 2013-12-15 15:36:20 +00: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
STRWarrior
ae061d717b APIDump: Documented New functions 2013-12-15 15:18:53 +01:00
STRWarrior
ffb5a69a9e Moved reading flags to the protocol. 2013-12-15 15:11:59 +01:00
Tiger Wang
b87055f7a5 Fixed wire repeater checking 2013-12-15 13:56:32 +00:00
STRWarrior
9fe06af598 Exported Set and Get functions to Lua. 2013-12-15 14:52:17 +01:00
STRWarrior
b10d0b95cb Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() function 2013-12-15 14:48:17 +01:00
Tiger Wang
bbcef6d6eb Wires now power repeaters properly 2013-12-15 13:08:08 +00:00
Mattes D
4f92f18a8d Merge pull request #432 from mc-server/Broadcast_Effects
Broadcast effects
2013-12-15 04:42:15 -08:00
Tiger Wang
ceb11cb477 Fixed the hopefully final wire self-powering bug 2013-12-15 12:17:29 +00:00
STRWarrior
828cca5c7e Fixed pre 1.7 clients crashing. 2013-12-15 11:34:00 +01:00
STRWarrior
9c2089dc5a cPlayer is using the broadcast functions. 2013-12-15 10:52:54 +01:00
STRWarrior
c56af9a214 This adds the cWorld::BroadcastEntityEffect and cWorld::BroadcastRemoveEntityEffect functions. 2013-12-15 10:51:46 +01: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
STRWarrior
8c04afe18a Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h. 2013-12-14 22:34:49 +01:00
STRWarrior
71250b275f Added E_EFFECT_<Effect> 2013-12-14 22:23:20 +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
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
STRWarrior
123799a4e0 Forgot to commit the ClientHandle. 2013-12-14 18:19:56 +01:00
STRWarrior
37069288d5 Added SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison. 2013-12-14 18:03:00 +01: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
Alexander Harkness
c1bc26f1ed Merge pull request #429 from worktycho/quickfixs
a couple of fixes for warnings
2013-12-14 07:49:00 -08:00
STRWarrior
5d21ec7f7c Merge branch 'master' of https://github.com/mc-server/MCServer 2013-12-14 16:41:51 +01:00
STRWarrior
a4393dbf6c Documented cTNTEntity. 2013-12-14 16:40:51 +01:00
Mattes D
2aa98c7beb Merge pull request #428 from mc-server/cTNTEntity_Export
Exported the cTNTEntity
2013-12-14 07:32:14 -08:00
STRWarrior
78aca16d58 Exported the cTNTEntity 2013-12-14 16:28:17 +01:00
Mattes D
3bf65e986b Merge pull request #426 from SamJBarney/master
Fixed clang autodetection.
2013-12-14 06:51:58 -08:00
Samuel Barney
8c695b45da Fixed clang autodetection. 2013-12-14 07:47:29 -07:00
Mattes D
8a6c28b8f0 Merge pull request #423 from mc-server/redstoneimprovements
Redstone and configuration improvements
2013-12-14 06:41:00 -08: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
STRWarrior
664676eedf Merge branch 'master' of https://github.com/mc-server/MCServer 2013-12-14 12:51:27 +01:00
STRWarrior
483ef89503 Fixed not getting XP from mobs. 2013-12-14 12:50:08 +01:00
Tiger Wang
4622d4ac09 Improved player permissions logging 2013-12-14 02:54:08 +00:00