Dylan K. Taylor
c46475ac4a
Merge branch 'release/3.4'
2018-11-30 19:28:06 +00:00
Dylan K. Taylor
36c0c350a7
Merge branch 'release/3.3' into release/3.4
2018-11-30 18:37:28 +00:00
Dylan K. Taylor
4c08a05fae
Barf on trying to read/write nonexisting fields of packets
...
this should make it easier to debug problems when content of packets changes during protocol updates.
2018-11-30 18:36:28 +00:00
Dylan K. Taylor
67a5f3f557
Register MainLogger as SPL global, remove hard MainLogger dependency from many areas, break a bunch of cyclic dependencies
2018-11-05 19:01:59 +00:00
Dylan K. Taylor
652256a109
Merge branch 'release/3.4'
2018-11-03 16:58:19 +00:00
Dylan K. Taylor
9caf62778c
AsyncTask: remove $serialize parameter from setResult()
...
Whether serialization is necessary can be determined automatically based on the type of variable.
2018-11-03 16:56:24 +00:00
Dylan K. Taylor
e94dd367ef
Merge branch 'release/3.4'
2018-11-03 15:46:31 +00:00
Dylan K. Taylor
9bb3c93285
Remove network-serialized item NBT from API layer, item NBT is now retained for the lifetime of the stack
2018-10-27 15:26:01 +01:00
Dylan K. Taylor
d2513ff908
Merge branch 'release/3.4'
2018-10-26 20:09:11 +01:00
Dylan K. Taylor
0aa30295af
Merge branch 'release/3.3' into release/3.4
2018-10-26 20:09:02 +01:00
Dylan K. Taylor
c1c56f29bb
Merge branch 'release/3.2' into release/3.3
2018-10-26 20:08:55 +01:00
Dylan K. Taylor
9b820a0849
Guard against possible overflow bug in NetworkBinaryStream
2018-10-26 20:08:48 +01:00
Dylan K. Taylor
2aaac5a425
Merge branch 'release/3.4'
2018-10-24 12:18:04 +01:00
Dylan K. Taylor
447b9562bb
Merge branch 'release/3.3' into release/3.4
2018-10-24 12:16:46 +01:00
Dylan K. Taylor
d1ee9eb960
Merge branch 'release/3.2' into release/3.3
2018-10-24 12:00:55 +01:00
Dylan K. Taylor
196cf8a68d
Fixed missing MoveEntityDeltaPacket field
2018-10-24 12:00:25 +01:00
Dylan K. Taylor
90482e79bc
Merge branch 'release/3.4'
2018-10-21 18:23:54 +01:00
Dylan K. Taylor
6dd2597934
Merge branch 'release/3.3' into release/3.4
2018-10-21 18:17:07 +01:00
Dylan K. Taylor
5e68858ebf
Merge branch 'release/3.2' into release/3.3
2018-10-21 18:16:59 +01:00
Dylan K. Taylor
45c9caa38c
Fixup some formatting issues
2018-10-21 18:15:25 +01:00
Dylan K. Taylor
39808dd94f
Actually merge branch 'release/3.4' this time
2018-10-19 15:35:23 +01:00
Dylan K. Taylor
d88b32da91
Drop useless numeric IDs for attributes, use strings instead
2018-10-19 15:29:01 +01:00
Dylan K. Taylor
f1cd6940f9
Merge branch 'release/3.3' into release/3.4
2018-10-16 22:56:46 +01:00
Dylan K. Taylor
af5637e050
PlayerListEntry: remove dead fields
2018-10-16 22:56:21 +01:00
Dylan K. Taylor
4221e274d6
Merge branch 'release/3.3' into release/3.4
2018-10-16 18:20:14 +01:00
Dylan K. Taylor
bc2dff3f51
version numbers
2018-10-16 17:15:26 +01:00
Dylan K. Taylor
839d5eab7b
Protocol changes for 1.7
...
there's also some new cases in stats, but we don't care about those anyway.
2018-10-16 17:13:52 +01:00
Dylan K. Taylor
c96203b528
Set immobile flag on player pre-spawn
...
The client likes to fall involuntarily as soon as PLAYER_SPAWN PlayStatus is sent, which causes debug spam on the PM side and then movement reversions if falling far enough. This now prevents the client moving until the server knows the client has spawned.
2018-10-12 17:08:22 +01:00
Dylan K. Taylor
9ac7c75e5b
Merge branch 'release/3.3'
2018-10-11 19:44:06 +01:00
Dylan K. Taylor
b261129788
Merge branch 'release/3.2' into release/3.3
2018-10-11 19:42:18 +01:00
Dylan K. Taylor
d9220395d1
Dummy decode for ResourcePacksInfoPacket and ResourcePackStackPacket
...
while we can't deal with this information, it's needed for the sake of unit testing so we don't shit on every bit of incoming data of these packet types.
2018-10-11 19:42:00 +01:00
Dylan K. Taylor
de6d62aba2
Merge branch 'release/3.2' into release/3.3
2018-10-09 22:51:40 +01:00
Dylan K. Taylor
32836cbfb8
Don't handle remaining packets in a batch when an earlier one triggered a disconnect
2018-10-09 22:50:02 +01:00
Dylan K. Taylor
e13764832d
Merge branch 'release/3.3'
2018-10-07 15:34:14 +01:00
Dylan K. Taylor
0e508876d2
RakLibInterface: Disconnect players who trigger errors during handler
...
this is cleaner than leaving the player hanging for 5 seconds (which they'll often timeout from anyway). Banning the IP without kicking the player can often look like "lag" and end up getting brushed off as a performance issue.
2018-10-07 15:32:23 +01:00
Dylan K. Taylor
7ee4fd55d3
Merge branch 'release/3.3'
2018-10-06 14:45:19 +01:00
Dylan K. Taylor
50b89c30f8
Merge branch 'release/3.2' into release/3.3
2018-10-06 14:45:12 +01:00
Dylan K. Taylor
17ceb27af4
Merge branch 'release/3.1' into release/3.2
2018-10-06 14:45:05 +01:00
Dylan K. Taylor
adbd1c7bed
RCON: remove redundant sleep
...
this dates back to the days where PM used to kill threads to stop them. Today we're more civilized and ask it to stop nicely, so this isn't necessary anymore.
2018-10-06 14:44:56 +01:00
Dylan K. Taylor
4608ecde9b
Merge branch 'release/3.3'
2018-10-05 18:29:37 +01:00
Dylan K. Taylor
495fdbd19f
Move block and network namespaces away from PluginManager->callEvent()
...
the original step that wasn't supposed to cause conflicts, caused messy conflicts... so I might as well do this part too
2018-10-05 18:22:49 +01:00
Dylan K. Taylor
16f2ac14b3
Clean up block update sending, remove UpdateBlockPacket flag constants
...
These flags are not intended for network use, instead they are supposed to be used internally by the game. For network, we only need to care about the 0x02 flag (send to players) because that's necessary for the client to render the block.
2018-09-27 15:56:08 +01:00
Dylan K. Taylor
535d4e2c9b
Added NetworkSession->getPlayer()
2018-09-12 10:51:37 +01:00
Dylan K. Taylor
dd2861dd1a
Merge branch 'release/3.3'
2018-09-11 19:49:51 +01:00
Dylan K. Taylor
519659fd2b
Merge branch 'release/3.2' into release/3.3
2018-09-11 19:48:23 +01:00
Dylan K. Taylor
6c70e84fa2
Merge branch 'release/3.1' into release/3.2
2018-09-11 19:47:46 +01:00
Dylan K. Taylor
7d0e631a75
RakLibInterface: fixed processing hook being registered too early
...
this would cause bugs if the interface was not added directly to the network.
2018-09-11 19:47:26 +01:00
Dylan K. Taylor
d62e00cc74
AsyncPool: Remove Server dependency (API breaks included)
...
This brings two plugin-breaking changes: AsyncTask->onCompletion() and AsyncTask->onProgressUpdate() no longer accept Server parameters.
This now allows for the functionality of AsyncPool and AsyncTask to be tested outside of a Server.
2018-09-10 15:48:59 +01:00
Dylan K. Taylor
99fb267333
Merge branch 'release/3.3'
2018-09-04 15:58:24 +01:00
Dylan K. Taylor
557fd34754
Make MainLogger independent of runtime-defined INI entries
...
Previously every thread using the logger had to inherit runtime-defined INI entries in order for the timezone to be set correctly. This removes that requirement.
2018-09-04 15:57:45 +01:00