Commit graph

653 commits

Author SHA1 Message Date
not randomguy
0a620ede1b
Merge 929b5bab36 into dbaa8a659f 2026-11-11 21:15:43 +08:00
GameHerobrine
8208e4119c small tweaks 2026-11-02 03:36:26 +03:00
GameHerobrine
f377361ff0 use 2 separate counters for nack and ack packets, chunk resends will happen every 2 seconds instead of 1 2026-11-02 02:26:18 +03:00
GameHerobrine
f12315bd3f better max ack detection 2026-11-01 22:49:58 +03:00
GameHerobrine
81cfb6b705 better multiack handling, fixed ack negative ranges 2026-10-27 17:46:18 +03:00
GameHerobrine
3978b95843 fixed received cnt queue not getting cleared 2026-10-27 14:48:31 +03:00
GameHerobrine
55efde1f5c fixed server crash using invalid nbt, fixed playerinputpacket and setentitylinkpacket being handled if the player did not spawn 2026-10-27 14:02:12 +03:00
GameHerobrine
7166d58916 added ack packet limit 2026-10-27 12:16:29 +03:00
MineDg2665
b06eee93ec Fixed crafting item duplication with modified clients 2026-08-28 09:20:53 +04:00
GameHerobrine
929b5bab36 initial tileentity rewrite, added missing furnace recipe 2026-08-18 05:55:32 +03:00
Sunch
22401a6378 Player: typo 2026-06-06 18:46:17 +08:00
GameHerobrine
171390260d fixed client crash using inf rot, fixed invisibility using nan rot 2026-05-16 07:01:22 +03:00
GameHerobrine
6f5d62f302 fixed crash exploit 2026-05-14 22:56:37 +03:00
GameHerobrine
a97da0f719 send time after startgame so the time would be synchronized when the client is ready] 2026-03-05 19:49:37 +03:00
GameHerobrine
ab79797587 added illegal windows filenames(fixed #69) 2026-02-05 12:32:07 +03:00
GameHerobrine
5eb458e14e unknown -> randomly (fixed #68) 2026-02-03 09:08:55 +03:00
GameHerobrine
3fb4198210 fixed small memory leak 2026-01-16 23:48:02 +03:00
GameHerobrine
d990c7c6b3 idk maybe it will fix desyncs 2026-01-06 09:41:18 +03:00
GameHerobrine
2f6e2ffcab some fixes to prevent deprecated warning spam on php 8.2 2026-01-05 10:39:06 +03:00
GameHerobrine
4c072e91cd fixed player posiiton on bed, hopefully fixed players not receiving packets sometimes 2026-01-03 15:55:22 +03:00
GameHerobrine
8046d0e17c hopefiully fixed some warning eqozqq has 2025-08-10 21:11:42 +03:00
GameHerobrine
e827c1ed15 close connection if no login packet was sent 20 seconds after the connection was established 2025-08-07 20:41:48 +03:00
GameHerobrine
21f106f66c Player::addItem will attempt to drop items, fixed crafting with full inventory 2025-07-25 01:34:20 +03:00
GameHerobrine
24d5b8f1f5 allow using tools even if their metadata doesnt match on server and client 2025-07-20 16:55:05 +03:00
GameHerobrine
a61d4936c5 hotbar will save in creative mode 2025-07-19 14:55:40 +03:00
GameHerobrine
187a2d0805 switching gamemode to 1/3 wont remove items from survival inventory 2025-07-18 17:35:49 +03:00
GameHerobrine
ba4ccafa32 PlayerAPI::remove removes a player from the table by his clientID, packets wont be handled after the player was kicked due to player already ingame 2025-07-17 05:27:15 +03:00
GameHerobrine
fc2e104c41 hotbar is full of air in spectator mode now 2025-07-16 14:41:27 +03:00
GameHerobrine
d7763f445a better entity linking system 2025-07-16 12:35:12 +03:00
catgirl
421b7b26e1 arranged > ordered 2025-07-10 20:12:47 -05:00
catgirl
44348c84a4 Add reliability enums 2025-07-08 10:00:09 -05:00
GameHerobrine
5537f3e197 removed ProtocolInfo::EID_PACKETS, added ability to customize min block breaking progress required to destroy a block + change value from 1 to 0.8 2025-07-04 16:10:49 +03:00
GameHerobrine
a62986a8d6 fixed division by zero when breaking tnt, (hopefully?) fixed empty chests 2025-07-03 20:57:00 +03:00
GameHerobrine
2acc93648e some tweaks 2025-07-01 15:49:26 +03:00
GameHerobrine
00c03d8bf0 readded limit to resendQueue, MovePlayerPacket will be sent after AddPlayerPacket to fix AddPlayerPacket bug 2025-07-01 09:47:04 +03:00
GameHerobrine
31ae786748 invisibility was rewritten 2025-07-01 07:03:39 +03:00
GameHerobrine
3eea709f94 removed some debug output 2025-06-30 15:47:41 +03:00
GameHerobrine
dd6db76577 big chat messages support 2025-06-30 15:06:58 +03:00
GameHerobrine
385f15f1bb fixed sequenced packets, entity movement uses unrealible_sequenced 2025-06-30 07:45:19 +03:00
GameHerobrine
6d10cfd896 replaced more stuff with entity queue, added a limit to how many packets can be resent per tick 2025-06-29 11:44:39 +03:00
GameHerobrine
21f8796e89 better(?) way to handle eid translation, local eid 0 is not used now, some additional fixes 2025-06-29 03:12:24 +03:00
GameHerobrine
62819f8b12 fixes 2025-06-29 00:22:56 +03:00
GameHerobrine
f9646e7e89 movement queue readded + entity movement is now unreliable 2025-06-29 00:10:13 +03:00
GameHerobrine
565a9420fd local entity ids 2025-06-28 22:33:35 +03:00
GameHerobrine
1ea54bc95b fixed ping displaying incorrect ping 2025-06-27 02:37:34 +03:00
GameHerobrine
52b09f1cf7 fixed entity data packets not being added into always recover queue 2025-06-27 02:21:15 +03:00
GameHerobrine
30eae88ebb block update queue and entity data queue will be sent every tick if it contains any packets 2025-06-26 11:11:35 +03:00
GameHerobrine
37e2919f46 entity data packets are sent as ordered reliable packets in entity queue, explosions dont send what blocks they exploded in ExplosionPacket 2025-06-26 04:57:12 +03:00
GameHerobrine
d4036d8ac9 tile entity related packets use block update queue, cleaned up unused code, some phpdocs 2025-06-25 03:22:24 +03:00
GameHerobrine
d1a724c143 block light 2025-06-23 01:24:00 +03:00