b2c0bba86e
Merge branch 'release/3.2' into mcpe-1.6-master
2018-08-29 17:27:48 +01:00
e09087de26
Fix version numbers
2018-08-29 16:27:01 +01:00
888dba704b
Merge branch 'mcpe-1.6' into release/3.2
2018-08-29 16:23:53 +01:00
fa77a4fa58
Merge branch 'master' into mcpe-1.6-master
2018-08-26 18:06:18 +01:00
e5cda34548
Merge branch 'release/3.1' into mcpe-1.6
2018-08-26 18:05:14 +01:00
4fb1f8dd76
Merge branch 'release/3.2'
2018-08-25 17:49:28 +01:00
fe6d546190
Merge branch 'release/3.1' into release/3.2
2018-08-25 17:49:21 +01:00
c7af1cf785
Merge branch 'release/3.0' into release/3.1
2018-08-25 17:49:14 +01:00
7dd53f2397
Replace unnecessary strlen > 0 calls with !== "" checks
2018-08-25 16:07:49 +01:00
f830eddd59
Merge branch 'mcpe-1.6' into mcpe-1.6-master
2018-08-21 17:55:48 +01:00
9ca38ba868
Protocol changes for 1.6.0.8 + resource packs "fix"
2018-08-21 17:36:55 +01:00
424c50e1e9
Protocol changes for 1.6.0.5, minus Entity->Actor rename
2018-08-21 17:36:29 +01:00
566f3c6262
AvailableCommandsPacket: stricter decode and handling
2018-08-21 17:14:54 +01:00
0d05dcec08
AvailableCommandsPacket: deal with dynamic enums
...
somehow I missed this, thanks @NiclasOlofsson for pointing it out
2018-08-21 17:14:53 +01:00
986077e03c
Protocol changes for 1.6.0.1
2018-08-21 17:14:53 +01:00
2eda8cfad3
Merge branch 'release/3.1' into release/3.2
2018-08-19 16:01:47 +01:00
91be5aba0c
Merge branch 'release/3.0' into release/3.1
2018-08-19 16:00:25 +01:00
5df601c817
Add @see docs so PhpStorm can see dynamic constructor usages
...
PhpStorm can't see constructor usages when the class name is dynamic. This causes maintenance problems because cross-referencing constructors called like this doesn't show up dynamic calls.
2018-08-19 16:00:15 +01:00
475ec413e5
Removed deprecated ServerCommandEvent and RemoteServerCommandEvent
...
if you get rekt by these changes... USE A RELEASE like we've been telling you for so long!
2018-08-19 14:23:41 +01:00
9ad30e239a
Merge branch 'release/3.2'
2018-08-19 10:37:20 +01:00
b66095cb36
Added a hack for MC W10 JSON empty strings bug ( #2383 )
2018-08-19 10:10:40 +01:00
cef1fe9524
Merge branch 'release/3.2'
2018-08-14 16:11:42 +01:00
df8e10cad9
Forms API, part 1: add Player->sendForm() and Form interface
...
There's no implementation here yet, but that can come later. This lays the ground for allowing plugins to have an integrated method to send forms, as well as a solution to the ID conflict problem.
A built in implementation should not be a concretion and it should be able to be swapped for third party implementations. This enables the possiblity to do so.
2018-08-14 16:06:55 +01:00
ce58294305
ProcessLoginTask: check connected status instead of closed status
...
connected is what we're looking for here, as opposed to an entity being marked as garbage.
2018-08-14 14:39:01 +01:00
4b7300de8d
Use openssl_digest() instead of hash() in network hot code
...
openssl_digest() is TWICE as fast as hash() on my machine for the same data and same algorithm. I can only guess that OpenSSL is more optimized than PHP ext/standard :)
2018-08-13 19:56:20 +01:00
15bac8c58a
Implement send buffering and queuing for network sessions ( #2358 )
...
Async compression and broadcasts are now reliable and don't have race condition bugs.
This features improved performance and significantly reduced bandwidth wastage.
Reduce Level broadcast latency by ticking network after levels. This ensures that session buffers get flushed as soon as possible after level tick, if level broadcasts were done.
2018-08-13 14:37:18 +01:00
078a2486b5
Merge branch 'release/3.2'
2018-08-11 20:00:01 +01:00
39ed6a7cdf
Merge branch 'release/3.1' into release/3.2
2018-08-11 19:59:53 +01:00
a8811ab2b3
Fixed 1.5.0 PlayerSkinPacket protocol change that somehow disappeared
...
I am 100% sure I committed this change, but it isn't in the merge...
2018-08-11 19:59:44 +01:00
dbf5d9e985
Merge branch 'release/3.2'
2018-08-11 19:37:55 +01:00
bec5aaa54b
Merge branch 'release/3.1' into release/3.2
2018-08-11 19:37:18 +01:00
974583a853
Merge branch 'release/3.0' into release/3.1
2018-08-11 19:37:10 +01:00
03f8fe62d4
Fixed structure of GuiDataPickItemPacket
...
this changed in 1.2.0.7 beta and I didn't spot it.
2018-08-11 19:36:53 +01:00
a5383b4a82
Use SetLocalPlayerAsInitializedPacket for spawning, fixed a bunch of bugs
...
this should fix forms not working during PlayerJoinEvent, and also removes the spurious PlayerItemHeldEvent firing on spawn bug.
The player MUST now send this packet. Bots take note.
2018-08-05 10:45:41 +01:00
25660843c5
Player: Obliterate InventoryTransactionPacket handler, add some new methods
2018-08-04 20:01:32 +01:00
20f3b82d52
Be less dependent on AsyncTask->onCompletion() Server parameter
...
this is going to get removed soon.
2018-08-04 15:56:14 +01:00
10ba3d6359
Network: add ability to tick sessions
...
moved responsibility for login timeout checks to NetworkSession instead of Server
2018-08-02 17:39:09 +01:00
e43496e7e4
Network: clean up ticking handling, RakLib only processes on Snooze notification
2018-08-02 17:14:21 +01:00
7560880168
Added DataPacketBroadcastEvent, refactor broadcast handling, close #1521
...
batchPackets() is now considered internal and shouldn't be used by plugins.
Added Server->broadcastPackets(Player[], DataPacket[]) : bool
2018-08-02 15:54:30 +01:00
1ef538b69e
LoginSessionHandler: fix crash when disconnected during login handling
2018-07-31 19:40:24 +01:00
32a78e679a
Fixed JWT padding
2018-07-31 18:36:36 +01:00
488c03c200
Make timings for player network more detailed
2018-07-31 16:34:15 +01:00
2bf6764112
Implemented network encryption ( #2343 )
...
For those who fuss about performance, you can disable the `network.enable-encryption` option to use sessions without encryption.
2018-07-31 15:54:18 +01:00
bdd42d6a78
Added NetworkSession->sendEncoded(), clean up some code
2018-07-27 18:39:14 +01:00
2647b3f404
VerifyLoginTask: remove unnecessary wordwrap()
...
I don't recall why this was needed, but it's not.
2018-07-27 18:33:10 +01:00
7541a6070f
Player: clean up handling of authentication
2018-07-27 18:04:13 +01:00
c3bc751b04
Merge branch 'release/3.2'
2018-07-26 16:00:46 +01:00
b3f2396ea5
UPnP: Make error message less useless
2018-07-26 16:00:35 +01:00
98b34aaac8
Merge remote-tracking branch 'origin/release/3.2'
2018-07-25 15:51:39 +01:00
706c620d04
Move Internet-related functions from Utils into their own class ( #2324 )
...
- Added `Internet::getIP()`, `Internet::getURL()`, `Internet::postURL()`, and `Internet::simpleCurl()`.
- Deprecated the corresponding functions in `Utils`. Updating to the new functions is as simple as replacing `Utils` with `Internet`, since this doesn't break backwards compatibility.
The deprecations should be catered for by plugin developers. These deprecated redirects will be removed no later than 4.0.0.
2018-07-25 15:51:18 +01:00