316 Commits

Author SHA1 Message Date
Shoghi Cervantes
8679ad5b86 Added colors, Disconnect Packet, protocol 21 2015-03-13 09:27:09 +01:00
Shoghi Cervantes
bb71a3c4a6
Added Entity->fastMove() for players and direct-controlled entities, improved speed checking 2015-02-22 21:16:05 +01:00
Shoghi Cervantes
f49db47b2e
Added basic speed protection 2015-02-18 00:37:57 +01:00
Shoghi Cervantes
116ede3679
Improved flight detection, added Entity->resetFallDistance(), closes #2632 2015-02-15 17:40:17 +01:00
Shoghi Cervantes
7c0f5987d3
Fixed players getting kicked for flying when going through special blocks 2015-02-15 16:26:05 +01:00
Striker209MPE
9fac896f28 Removed useless spawned check...
because it has already be done before
2015-01-20 16:29:29 +01:00
Shoghi Cervantes
5bd76e955c
Added rotation transformations to remaining packet 2015-01-16 01:43:40 +01:00
Shoghi Cervantes
63f1a50be4
Added new predictive flight protection 2015-01-14 23:47:01 +01:00
Shoghi Cervantes
3e9196d224
Changed max speed per tick from 100 to 10 blocks 2015-01-11 17:31:34 +01:00
Shoghi Cervantes
d4e4430df0
Fixed Entities being placed in recreated chunks 2015-01-06 18:45:08 +01:00
Shoghi Cervantes
469ef84733
Fixed issue where plugins schedule a Player update before log in 2015-01-06 00:25:40 +01:00
Shoghi Cervantes
5fffabe05b
Fixed players not calculating onGround correctly 2015-01-02 01:22:33 +01:00
Shoghi Cervantes
714ea54121
Players won't take damage 60 ticks after spawning / respawning. 2014-12-24 20:44:22 +01:00
Shoghi Cervantes
a677bcb331
Increased transaction timeout, not needed anymore due to packet ordering 2014-12-22 23:38:47 +01:00
Shoghi Cervantes
afa8496767 Fixed possible memory leak when hiding players from each other 2014-12-21 20:03:39 +01:00
Shoghi Cervantes
04ecbd1a76 Level optimization, added new chunk/block hashes 2014-12-09 14:55:21 +01:00
Shoghi Cervantes
a4735eaf76 Replaced some instanceof to null checks 2014-12-09 02:22:18 +01:00
Shoghi Cervantes
306f492fc0 Added Player death animations, improved spawning behavior to correct invisible players, fixed players getting stuck when dead, closes #2304 2014-12-09 01:36:46 +01:00
Shoghi Cervantes
747f7685e7 Fix formatting issues due to bad IDE settings 2014-12-07 16:30:04 +01:00
Shoghi Cervantes
a98da3bab1 Renamed old getID() calls to getId() 2014-12-07 15:21:32 +01:00
Shoghi Cervantes
f0d6128282 Use squared distance on movement handling 2014-12-07 15:18:14 +01:00
Shoghi Cervantes
20e63ae543 Force player setting their new position 2014-12-05 02:24:34 +01:00
Shoghi Cervantes
294e680d5d Added armor items and max stack size for them. 2014-12-04 00:04:09 +01:00
Shoghi Cervantes
e44ed4da3b Enabled batch block sending again 2014-11-29 12:58:31 +01:00
Shoghi Cervantes
a72488d41e Updated player movement processing and event handling 2014-11-29 12:43:34 +01:00
Shoghi Cervantes
26e47ef694 Removed old revert flag from Player->processMovement() 2014-11-28 14:49:06 +01:00
Shoghi Cervantes
6d09754ea7 Improved Inventory->addItem(), fixed breaking containers duplicating the last slot, removed not necessary slot changes 2014-11-27 20:10:55 +01:00
Shoghi Cervantes
38089af098 Improved global entity motion encoding using per-player queues 2014-11-27 14:26:36 +01:00
Shoghi Cervantes
a3e50f6337 Properly close inventory windows from Players 2014-11-27 13:32:07 +01:00
Shoghi Cervantes
754e0dbb49 Protect permission removal against bad plugins 2014-11-18 18:43:30 +01:00
Shoghi Cervantes
525c8db779 Improved chunk loading/unloading 2014-11-18 18:33:24 +01:00
Shoghi Cervantes
9fd6a695f6 Fixed permission-related memory leak 2014-11-18 13:42:24 +01:00
Shoghi Cervantes
92143d523c Added SetDifficultyPacket 2014-11-06 19:07:24 +01:00
Shoghi Cervantes
6b6222c09c Allow passing a Player source as last parameter on Inventory->addItem() and Inventory->removeItem() 2014-11-04 00:16:25 +01:00
Shoghi Cervantes
29d1fd1fc8 Fixed player viewer list including themselves 2014-11-03 11:29:01 +01:00
Shoghi Cervantes
f7baf46a54 Fire PlayerInteractEvent on 0xff face 2014-11-02 16:12:51 +01:00
Shoghi Cervantes
75c0d8324c Fixed some inventory events not firing on players 2014-11-02 13:26:58 +01:00
Shoghi Cervantes
da4334f06b Revert Armor then Inventory instead of Inventory then Armor on failed transaction 2014-11-01 23:02:59 +01:00
Shoghi Cervantes
f8f1e0e9df Despawn entities correctly from clients as they move 2014-11-01 16:47:40 +01:00
Shoghi Cervantes
8601405a88 Fixed CPU leak 2014-10-31 21:07:00 +01:00
Shoghi Cervantes
01ffb14e39 Fixed #2204 2014-10-31 17:34:45 +01:00
Shoghi Cervantes
ce989876af Improved freeing chunks 2014-10-31 16:39:32 +01:00
Shoghi Cervantes
f8d6ebabf3 Removed some calls 2014-10-31 15:57:07 +01:00
Shoghi Cervantes
7ab3c57b00 Optimized networking code & AxisAlignedBB 2014-10-30 22:06:07 +01:00
Shoghi Cervantes
673b867ee8 Fixed players not loading chunks when stuck on a unloaded chunk 2014-10-30 20:05:40 +01:00
Shoghi Cervantes
8cb9dd9a14 Fixed #2244 2014-10-29 22:58:40 +01:00
Shoghi Cervantes
022a978ffb Added InventoryPickupArrowEvent 2014-10-29 16:29:00 +01:00
Shoghi Cervantes
8a768cea33 EntityDamageEvent and children now only fire if the attack is possible, moved event trigger to Entity->attack() 2014-10-29 16:02:40 +01:00
Shoghi Cervantes
78f8d0280d Removed unused imports 2014-10-29 01:14:09 +01:00
Shoghi Cervantes
7eed92e8fb Use Player->forceMovement on MovePlayerPacket non-tick revert 2014-10-29 00:31:17 +01:00