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
fox3000foxy
81865cb7ac
add string bounds check when copying player name
2025-09-12 19:04:36 +03:00
breakgimme
3d02dc02bf
use libc htonll if found
2025-09-12 15:27:49 +03:00
p2r3
a83acbda67
add option to tie movement updates to tickrate
2025-09-11 22:00:32 +03:00
p2r3
e4c0c6b6e9
fix armor not equipping from right click
2025-09-10 20:11:59 +03:00
p2r3
55da6c7d4c
fix features generating when they shouldn't
2025-09-09 21:20:40 +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
550edbdb37
centralize configuration options
2025-09-07 14:07:12 +03:00
p2r3
a72f405b7a
fix not blocks not dropping their item when the held tool breaks
2025-09-06 17:26:47 +03:00
p2r3
102a7d46f8
make beef dumps opt-in via config
2025-09-02 00:33:25 +03:00
p2r3
64846381f4
add option to sync block changes on an interval
2025-09-02 00:29:21 +03:00
p2r3
7a81625cd4
sync beefdump data to disk
2025-09-02 00:27:00 +03:00
p2r3
390befe9cf
fix potentially uninitialized pointers
2025-09-01 22:28:38 +03:00
p2r3
b20c9f508f
return sent bytes from send_all
2025-08-31 22:25:43 +03:00
p2r3
6bef88f60d
update ore generation
2025-08-31 22:23:19 +03:00
p2r3
d608014470
use global tick counter to handle regular events at different rates
2025-08-31 21:45:47 +03:00
p2r3
8011a1adfd
implement armor
2025-08-31 05:30:18 +03:00
p2r3
3151f0b6f2
add a way to restore world data over the network
2025-08-31 01:56:47 +03:00
p2r3
d6138616a4
fix wrong relative coordinates when fetching terrain
2025-08-31 01:39:00 +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
433a2ca350
add missing return statement
2025-08-30 21:46:34 +03:00
p2r3
a824c2d63b
add item pickup animations
2025-08-30 20:48:01 +03:00
p2r3
759399dac8
optimize world generation
2025-08-30 16:56:00 +03:00
p2r3
4a7f9554a8
add player death messages
2025-08-30 01:12:20 +03:00
p2r3
a1ef1c52d2
don't give players items when their inventory is full
2025-08-30 00:44:02 +03:00
p2r3
ee63b7c7f4
reset client loading fallback timer on player init
2025-08-30 00:37:33 +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
ce903d088f
remove redundant flag set
2025-08-29 23:53:22 +03:00
p2r3
5797e2f781
generate more unique uuids for mobs
2025-08-29 23:44:29 +03:00
p2r3
ba68f435b7
make flowing water break falls
2025-08-29 23:38:45 +03:00
p2r3
ec7bb49876
add leaves to replaceable blocks for structures
2025-08-29 23:36:19 +03:00
p2r3
849adf0568
handle player loading flag more cautiously
2025-08-29 23:33:25 +03:00
p2r3
a75d1bcb2c
decrease attack cooldown
2025-08-29 23:29:34 +03:00
p2r3
2f0bf1d802
fix wrong datatype in network timeout timestamp
2025-08-29 17:22:18 +03:00
p2r3
200e9154a0
implement timeout on stalling connections
2025-08-29 16:11:56 +03:00
p2r3
ef28d7c0d5
remove unnecessary comparison
2025-08-29 15:59:20 +03:00
p2r3
ecaa62da69
explicitly handle running out of block changes
2025-08-29 15:57:38 +03:00
p2r3
e5c5b8338d
use config block change limit in source file too
2025-08-29 15:44:22 +03:00
p2r3
67b50beb90
support syncing to flash on esp-idf via littlefs
2025-08-29 06:22:05 +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
ca6f8afbea
implement chests
2025-08-28 23:51:00 +03:00