p2r3
a34134918a
implement mob "panic" behavior
2025-09-14 15:37:05 +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
Mefiresu
808bbb26a2
Remove BlockChange from packed structs
...
pragma pack (push, 1) forces alignment to 1-byte.
While reordering the fields does help with memory accesses, it only
works if the compiler can ensure 2-byte alignments for this struct.
2025-09-12 23:05:10 +03:00
p2r3
5a100bcd23
disable chunk generation logging by default
2025-09-12 15:10:44 +03:00
p2r3
ba11d121cf
reorder coordinates in BlockChange struct
2025-09-12 14:52:49 +03:00
p2r3
a83acbda67
add option to tie movement updates to tickrate
2025-09-11 22:00:32 +03:00
p2r3
d90a46c832
add note about minimum visited history size
2025-09-08 17:44:55 +03:00
p2r3
550edbdb37
centralize configuration options
2025-09-07 14:07:12 +03:00
p2r3
5bcab2500c
space out config options
2025-09-07 13:55:16 +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
d608014470
use global tick counter to handle regular events at different rates
2025-08-31 21:45:47 +03:00
p2r3
ad1baee937
extend total network timeout to 15 seconds (leaving 5s for keepalive)
2025-08-31 00:42:56 +03:00
p2r3
4d1892f023
disable flash serialization by default on esp-idf
2025-08-30 21:45:55 +03:00
p2r3
a824c2d63b
add item pickup animations
2025-08-30 20:48:01 +03:00
p2r3
d9888f2e0f
clarify flight flag description
2025-08-30 20:47:32 +03:00
p2r3
849adf0568
handle player loading flag more cautiously
2025-08-29 23:33:25 +03:00
p2r3
b2d0908879
disable flight by default
2025-08-29 23:29:53 +03:00
p2r3
5f75cb687e
fix up player flag descriptions
2025-08-29 23:02:48 +03:00
p2r3
200e9154a0
implement timeout on stalling connections
2025-08-29 16:11:56 +03:00
p2r3
67b50beb90
support syncing to flash on esp-idf via littlefs
2025-08-29 06:22:05 +03:00
p2r3
728d49f7b6
implement syncing world to file on disk
2025-08-29 02:49:41 +03:00
p2r3
ca6f8afbea
implement chests
2025-08-28 23:51:00 +03:00
p2r3
ba7d48c3e3
add missing flag check and docs
2025-08-28 02:35:58 +03:00
p2r3
0708a945e5
make flight a configuration option
2025-08-28 02:30:48 +03:00
p2r3
df8ebf07d5
clarify config wording
2025-08-28 01:55:56 +03:00
p2r3
b26e74c382
add option to disable fluid calculation
2025-08-28 01:50:12 +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
549745516f
prevent players from dropping and losing items
2025-08-24 20:41:48 +03:00
p2r3
ee69d3ab9b
support placing blocks on containers while sneaking
2025-08-23 04:24:06 +03:00
p2r3
bbbf137388
prevent players from leaving world boundaries
2025-08-23 02:30:05 +03:00
p2r3
4a90979e2f
improve packet error logging and handling
2025-08-23 01:50:14 +03:00
p2r3
7d75125353
implement player attack cooldown
2025-08-22 17:54:41 +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
1c4e433a32
implement mob despawning
2025-08-22 14:30:26 +03:00
p2r3
ca9edce43a
implement basic support for mobs
2025-08-22 02:29:59 +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
8936eb32db
make esp task yielding more consistent and reduce overhead
2025-08-20 15:21:02 +03:00
p2r3
5f3dcc56f9
move headers to separate directory
2025-08-20 13:42:56 +03:00