319 Commits

Author SHA1 Message Date
Dylan K. Taylor
399f9242e0 InventoryManager: avoid use of PlayerHotbarPacket
it doesn't work so well when the selected slot is empty.
2019-08-10 18:09:38 +01:00
Dylan K. Taylor
d1775030c3 Remove DataPacketBroadcastEvent, DataPacketSendEvent now supports multiple recipients & packets in one swoop
this makes it simpler to consistently process outbound packets from a plugin. Previously it was necessary to handle 2 events to do 1 job.
2019-08-10 17:59:02 +01:00
Dylan K. Taylor
774e6fe8a3 Make chemistry textures always enabled 2019-08-10 17:38:00 +01:00
Dylan K. Taylor
fae6289eb8 protocol: move resource-pack related types to their own subnamespace 2019-08-08 19:58:24 +01:00
Dylan K. Taylor
d87b6f9ff7 Remove resource pack packets dependency on ResourcePack, now supports decoding 2019-08-08 19:36:54 +01:00
Dylan K. Taylor
53ab860db5 first shot making Block not extend Position
this makes some stuff a lot less pretty, but this seems to be the bare minimum necessary to do this task. It can be enhanced later.
2019-08-05 16:44:09 +01:00
Dylan K. Taylor
7e4236a3ec add a more flexible hook system to EffectManager 2019-08-01 19:36:13 +01:00
Dylan K. Taylor
296061d25d reduce boilerplate around attribute handling 2019-07-31 16:41:09 +01:00
Dylan K. Taylor
5499ac620c Removed pocketmine subdirectory, map PSR-4 style 2019-07-30 19:14:57 +01:00
Shoghi Cervantes
cbc64462e6 New directory structure. More powerful startup scripts 2014-03-08 04:41:43 +01:00
Shoghi Cervantes
331a26931f It staaaarts! 2014-03-06 20:41:04 +01:00
Shoghi Cervantes
56d3b89f57 Updated class constants 2014-03-06 19:31:41 +01:00
Shoghi Cervantes
028adce245 Used namespacer to identify moved files 2014-03-06 19:28:20 +01:00
Shoghi Cervantes
a54d33957e Added multiple comments and info 2014-03-06 18:52:23 +01:00
Shoghi Cervantes
18443c0cd7 Reformatted code 2014-03-06 17:17:45 +01:00
Shoghi Cervantes
2e0d9153b3 used namespacer 2014-03-06 15:15:50 +01:00
Shoghi Cervantes
419f246e68 Added Item namespace 2014-03-06 15:11:46 +01:00
Shoghi Cervantes
e3f1db0f45 Added Network\Handler namespace 2014-03-06 13:19:00 +01:00
Shoghi Cervantes
c08bf3ef86 Removed code remove comments 2014-03-06 13:16:44 +01:00
Shoghi Cervantes
bbd66e6ad1 Removed code remove comments 2014-03-06 13:05:54 +01:00
Shoghi Cervantes
42ae544d0d Used namespacer tool 2014-03-06 05:47:00 +01:00
Shoghi Cervantes
5ea31b57ce First step to namespaces 2014-03-05 23:43:16 +01:00
Shoghi Cervantes
23b8fc32ff removed DocBlock header for logo 2014-03-05 11:15:47 +01:00
Shoghi Cervantes
5f53f61121 Faster NBT parsing 2014-03-05 10:37:14 +01:00
Shoghi Cervantes
ccdf587135 go away E_NOTICEs 2014-03-05 02:53:20 +01:00
Shoghi Cervantes
b00da18f41 faster packet decode using pure-PHP functions instead of core-PHP ones :P. WTF PHP 2014-03-05 02:49:40 +01:00
Shoghi Cervantes
a529e7566a Removed not needed network steps, corrected slot methods 2014-03-05 00:54:12 +01:00
Shoghi Cervantes
9d02ed9a28 New chunk indexing and sending algorithm 2014-03-01 17:35:44 +01:00
Shoghi Cervantes
648b02bc79 Added Entity level switch, global Player static container 2014-03-01 14:05:45 +01:00
Shoghi Cervantes
9acc867a94 fix 2014-02-27 00:14:05 +01:00
Shoghi Cervantes
103d0bf2ea Updated TextFormat constants 2014-02-27 00:11:06 +01:00
Shoghi Cervantes
85f8613803 Fix RCON packet structure #1278 2014-02-24 20:13:15 +01:00
Shoghi Cervantes
734abf2fbb Fix E_STRICT errors 2014-02-20 23:43:42 +01:00
Shoghi Cervantes
8208fd2389 Changed class name 2014-02-20 17:22:51 +01:00
Shoghi Cervantes
772fa2b9e3 Query token now depends on the source IP 2014-02-20 09:00:17 +01:00
Shoghi Cervantes
f1b5f83fd4 Lots of typos fixed, undefined variables, unused code 2014-02-19 01:55:42 +01:00
Shoghi Cervantes
3cbcb4871a Changed a few packet things 2014-02-13 01:14:14 +01:00
Intyre
ac50577255 Typo and fixed a filename 2014-02-12 19:28:33 +01:00
Shoghi Cervantes
0bf74d4139 Two packet event types ;) 2014-02-10 18:46:58 +01:00
Shoghi Cervantes
4b14d5d900 Final structure with example events 2014-02-10 18:08:25 +01:00
Shoghi Cervantes
7c12f6ce8a Implemented QueryPacket and QueryHandler 2014-02-10 15:05:12 +01:00
Shoghi Cervantes
7e174eac5a Decreased SO_SNDBUF 2014-02-10 13:26:09 +01:00
Shoghi Cervantes
8de39db59d Updated chunk packet field names 2014-02-09 14:39:17 +01:00
Shoghi Cervantes
f1245a551e Increased UDP buffer size 2014-02-09 13:30:06 +01:00
Shoghi Cervantes
8739017002 Check if the specified length is correct 2014-02-09 05:37:40 +01:00
Shoghi Cervantes
dfa28d9a9e WTF null packets crash the server?? 2014-02-08 23:29:42 +01:00
Shoghi Cervantes
7f0693e7e7 Updated packet handling to eliminate loops 2014-02-08 23:01:22 +01:00
Shoghi Cervantes
3fed63b248 Split packet handling verified 2014-02-08 22:49:13 +01:00
Shoghi Cervantes
a8b26a3caf Halt parsing when invalid packets are found 2014-02-08 21:16:51 +01:00
Shoghi Cervantes
0ff647015c Handle all kind of unknown data packets 2014-02-08 19:17:49 +01:00