615 Commits

Author SHA1 Message Date
Dylan K. Taylor
c5ca623124 Merge branch 'stable' 2019-04-25 15:27:13 +01:00
Dylan K. Taylor
a3dea09e2a sync with latest codegen changes 2019-04-25 15:19:15 +01:00
Dylan K. Taylor
793f93afdb NetworkSession: sync with latest code generation changes 2019-04-25 14:49:20 +01:00
Dylan K. Taylor
64506ea3ae PacketPool: add @throws 2019-04-25 14:48:55 +01:00
Dylan K. Taylor
4a35516441 Reduce BatchPacket hacks
we can't get rid of these hacks entirely because BAcKWARdS ComPaTIbilitY, but this at least ensures that things over PID 127 won't burn the house down when 1.12 gets here. This also reduces conflicts with 4.0 line.
2019-04-25 14:48:36 +01:00
Dylan K. Taylor
fa70127241 1.11.0 protocol changes 2019-04-24 19:54:16 +01:00
Dylan K. Taylor
fc76d04dcb StartGamePacket: allow specifying a custom runtimeID table
this is not the intended goal, but it's a happy side effect of making it easier to extract structured information from the client.
2019-04-24 18:40:29 +01:00
Dylan K. Taylor
0dac982f16 Merge branch 'stable' 2019-04-21 16:56:53 +01:00
Dylan K. Taylor
db896b9faf ok i'm done
i am obviously not in any fit state to be doing this today...
2019-04-21 14:22:54 +01:00
Dylan K. Taylor
76c234e4e6 add some limits on batches 2019-04-21 14:16:38 +01:00
Dylan K. Taylor
86cc151e60 Revert "Network: Each interface now keeps its own statistics"
This reverts commit 7720a0534e3c4f0dcc70cf3fbc12699de6f04374.
2019-04-18 15:45:03 -04:00
Dylan K. Taylor
7720a0534e Network: Each interface now keeps its own statistics
this allows more detailed analysis.
2019-04-18 19:57:40 +01:00
Dylan K. Taylor
752e398970 AsyncTask: TLS now supports storing multiple values (now requires a key/value pair) 2019-04-18 18:58:31 +01:00
Dylan K. Taylor
a4c7ec077b Fixed possible crash in ChunkRequestTask 2019-04-18 17:45:14 +01:00
Dylan K. Taylor
939dfd9269 First look at separating chunk sending from Level 2019-04-17 19:33:37 +01:00
Dylan K. Taylor
3468f006a2 Use AsyncTask->onError() for chunk task crash tracking 2019-04-17 16:00:17 +01:00
Dylan K. Taylor
209ae51a67 Merge branch 'stable' 2019-04-15 16:11:49 +01:00
Dylan K. Taylor
cfd4580388 sync NBT network string length cap 2019-04-14 17:14:44 +01:00
Dylan K. Taylor
0e3e984db9 Player: Disconnects no longer nuke player internals, (mostly) fixes #1239
there are some problems that haven't been accounted for yet, but this fixes all the direct crashes.
2019-04-03 17:44:34 +01:00
Dylan K. Taylor
f332550e52 Player: move toggle* rollback handling to network session
this allows network sessions to react to it how they want, or (in the case of things like Specter) perhaps ignore it.
2019-04-02 19:49:53 +01:00
Dylan K. Taylor
e5756dbf0b Move a whole bunch of packet crap to NetworkSession 2019-04-02 18:31:16 +01:00
Dylan K. Taylor
42a263a9df GameMode is now an enum 2019-03-31 16:19:36 +01:00
Dylan K. Taylor
aff2e0c86c Merge branch '3.7' 2019-03-30 19:19:02 +00:00
Dylan K. Taylor
8fcb44de7d Merge branch '3.6' into 3.7 2019-03-29 19:55:36 +00:00
Dylan K. Taylor
f4480c07ee Updated NBT dependency 2019-03-29 19:47:15 +00:00
Dylan K. Taylor
f638845ef6 Merge branch '3.7' 2019-03-29 15:16:27 +00:00
Dylan K. Taylor
c09e2301c8 Merge branch '3.6' into 3.7 2019-03-29 14:35:35 +00:00
Dylan K. Taylor
8e9f787d33 Implement runtimeID table randomization, closes #2841 2019-03-29 14:35:06 +00:00
Dylan K. Taylor
0aebb3f4fb Clean up LevelSoundEvent handling 2019-03-26 19:53:40 +00:00
Dylan K. Taylor
e1504c668e LevelSoundEventPacket: more helpers 2019-03-26 18:23:02 +00:00
Dylan K. Taylor
1bf0802275 LevelEventPacket: added create() to reduce boilerplate code 2019-03-26 16:49:00 +00:00
Dylan K. Taylor
a9c76c2424 NetworkInterface: remove unused function 2019-03-26 15:09:43 +00:00
Dylan K. Taylor
161d5bd6b8 Merge branch '3.7' 2019-03-26 15:02:17 +00:00
Dylan K. Taylor
89833b3b68 Merge branch '3.6' into 3.7 2019-03-26 15:01:59 +00:00
Dylan K. Taylor
a10a656a5d Network: add a README to mcpe namespace 2019-03-26 15:01:00 +00:00
Dylan K. Taylor
6990d6239e Network: Added RawPacketHandler interface, query handler is now a component 2019-03-24 18:02:19 +00:00
Dylan K. Taylor
15c6554d8a Updated RakLib dependency 2019-03-23 12:52:50 +00:00
Dylan K. Taylor
1045088668 Move more packet handling logic out of Player
there is now only (1) packet handler remaining in Player. The reason I haven't targeted this is because it needs improvements of its own.
2019-03-23 12:12:30 +00:00
Dylan K. Taylor
1bc37a1a8a Player: Clean up movement processing, now API-ified 2019-03-23 11:33:32 +00:00
Dylan K. Taylor
9ec62643d5 Player construction now happens when we're ready to create the player entity
this fixes a wide range of bugs with the initial spawn sequence, and allows to simplify a whole lot of player setup logic.
2019-03-23 10:13:14 +00:00
Dylan K. Taylor
433dab078b DataPacket events now use network sessions instead of players 2019-03-23 09:52:03 +00:00
Dylan K. Taylor
8e48c61daf Merge branch '3.7' 2019-03-22 15:07:46 +00:00
Sandertv
2659ed8d91 AvailableCommandsPacket: Updated the argument type constants for 1.10. (#2824) 2019-03-22 15:07:15 +00:00
Dylan K. Taylor
9c01ecbe7e Merge branch '3.6' into 3.7 2019-03-21 19:02:20 +00:00
Dylan K. Taylor
8c536c248d Updating for latest PocketMine-NBT changes 2019-03-21 15:58:22 +00:00
Dylan K. Taylor
2e5ef4ba03 Merge remote-tracking branch 'origin/3.7' 2019-03-20 21:35:13 +00:00
Dylan K. Taylor
cce99b07af 1.10.0 updates 2019-03-20 19:17:41 +00:00
Dylan K. Taylor
cc78c9ef18 Merge branch '3.6' 2019-03-18 08:58:59 +00:00
Sandertv
1a8b33dafe AvailableCommandsPacket: Updated the ARG_TYPE constants
closes #2817
2019-03-18 08:58:07 +00:00
Dylan K. Taylor
ebfe9caca3 Move too-early-send check to NetworkSession 2019-03-14 14:45:30 +00:00