p2r3
e81e75a6d7
ensure mob uuid uniqueness on login
...
Closes #51
2025-09-14 01:30:42 +03:00
p2r3
e3589a02f0
fix player entities desyncing on join sometimes
2025-09-13 20:06:25 +03:00
p2r3
bad337a032
fix compilation error when targeting esp-idf
2025-09-13 18:26:31 +03:00
Bradlee Barnes
969f7d3974
send server brand during login
...
* send server brand to client
* send brand regardless of `0x02` being recieved by server or not
* send brand regardless of `0x02` being recieved by server or not
+ if statement to match previous lines
* ifdef check for brand sending
* commit main.c for ifdef check (i forgot)
* commit main.c for ifdef check (i forgot)
* change sc_pluginMessage to sc_sendPluginMessage
- added params to it for use in other cases
- other changes to fit PR reviews
* revert .gitignore
* revert unrelated changes
* send byte instead of varint for constant packet id
* gate declaration of brand string behind ifdef
* make logging consistent with codebase
---------
Co-authored-by: p2r3 <p2r3@p2r3.com >
2025-09-13 14:22:06 +03:00
p2r3
efac4c125d
fix compilation error on label syntax quirk
2025-09-13 00:10:33 +03:00
KornineQ
fddef798e3
Don't take fall damage in creative or spectator
2025-09-12 23:08:13 +03:00
anmol-patankar
ba03d92ad0
fix mobs spawning in water
...
* Fixed underwater under lava mob spawn issue #17
* made comment changes
* minor fix
* method name change
* method change
* fixed
2025-09-12 19:53:08 +03:00
p2r3
a83acbda67
add option to tie movement updates to tickrate
2025-09-11 22:00:32 +03:00
p2r3
e49904066e
set up cosmopolitan build workflow
2025-09-09 13:23:52 +03:00
p2r3
7af7462138
add missing documentation
2025-09-07 14:36:31 +03:00
p2r3
102a7d46f8
make beef dumps opt-in via config
2025-09-02 00:33:25 +03:00
p2r3
7a81625cd4
sync beefdump data to disk
2025-09-02 00:27:00 +03:00
p2r3
3151f0b6f2
add a way to restore world data over the network
2025-08-31 01:56:47 +03:00
p2r3
f3fbde3134
terminate connections on long network timeouts
2025-08-31 00:01:35 +03:00
p2r3
7d390ed899
add a way to dump world data over the network
2025-08-30 22:36:49 +03:00
p2r3
5e4462a3bc
broadcast disconnecting players
2025-08-30 00:14:47 +03:00
p2r3
6886dd59ce
use negative mob entity ids to avoid conflicts
2025-08-29 23:58:47 +03:00
p2r3
ba68f435b7
make flowing water break falls
2025-08-29 23:38:45 +03:00
p2r3
849adf0568
handle player loading flag more cautiously
2025-08-29 23:33:25 +03:00
p2r3
ecaa62da69
explicitly handle running out of block changes
2025-08-29 15:57:38 +03:00
p2r3
99a09dc59f
debloat includes
2025-08-29 06:21:11 +03:00
p2r3
728d49f7b6
implement syncing world to file on disk
2025-08-29 02:49:41 +03:00
p2r3
e4267e7edf
fix storing wrong integer player position at negative coordinates
2025-08-29 00:29:47 +03:00
p2r3
22d8bfc377
time chunk generation more accurately
2025-08-28 13:41:35 +03:00
p2r3
975e5bb6cd
burn zombies during the day
2025-08-28 02:48:46 +03:00
p2r3
5c3ec29948
spawn only hostile mobs in caves
2025-08-28 02:33:31 +03:00
p2r3
fc327299b4
don't send gameplay packets to clients who haven't loaded in
2025-08-28 02:27:04 +03:00
p2r3
f5119d0b70
improve hunger mechanics
2025-08-27 17:03:55 +03:00
p2r3
b7234ab31e
explicitly handle running out of player slots
2025-08-27 15:31:09 +03:00
p2r3
b46f5927a2
handle server list ping
2025-08-27 14:50:17 +03:00
p2r3
aa1334db9e
make event timing independent of tickrate
2025-08-26 16:07:43 +03:00
p2r3
84fda79901
implement hunger system
2025-08-26 02:29:00 +03:00
p2r3
97beada80c
adjust mob health
2025-08-24 22:51:27 +03:00
p2r3
da2e99bd08
fix mobs failing to find a valid spawn position
2025-08-23 14:42:52 +03:00
p2r3
ee69d3ab9b
support placing blocks on containers while sneaking
2025-08-23 04:24:06 +03:00
p2r3
34a41b0ff7
prevent potential fall damage death from slow chunk loading
2025-08-23 02:31:11 +03:00
p2r3
bbbf137388
prevent players from leaving world boundaries
2025-08-23 02:30:05 +03:00
p2r3
b020cec224
fix mobs spawning at bad Y coordinate
2025-08-23 02:13:51 +03:00
p2r3
4a90979e2f
improve packet error logging and handling
2025-08-23 01:50:14 +03:00
p2r3
313c31bf7d
fix player movement not being broadcast sometimes
2025-08-23 00:57:48 +03:00
p2r3
e311b0cbe4
implement mob combat
2025-08-22 17:41:29 +03:00
p2r3
f366e7fdc6
add more mob types
2025-08-22 15:33:42 +03:00
p2r3
4da773b943
refactor game-specific tools into separate file
2025-08-22 14:00:38 +03:00
p2r3
6fc5d07699
support common miscellaneous packets
2025-08-22 13:41:19 +03:00
p2r3
ca9edce43a
implement basic support for mobs
2025-08-22 02:29:59 +03:00
p2r3
05862bf62a
implement chat messages
2025-08-21 17:45:39 +03:00
p2r3
33c564e0fc
add player join messages
2025-08-21 17:03:26 +03:00
p2r3
70c1fb0e7a
implement respawning
2025-08-21 16:37:37 +03:00
p2r3
05f17399f5
implement fall damage
2025-08-21 15:07:49 +03:00
p2r3
afb3680c24
fix byte order in seed debug print
2025-08-21 03:06:28 +03:00