Commit Briefs

756d84a1e2 GitHub

switch build workflow to ubuntu 24.04 (main)


246867701a GitHub

switch build workflow to ubuntu 22.04



2462ea798c p2r3

switch from -O3 to -O2 in build scripts


b2aed797f9 p2r3

FIX: MAX_RECV_BUFFER_LEN not used in header


d272e63dd7 p2r3

fix compilation error when targeting esp-idf


182a180c2e GitHub

update contribution guidelines




a631de77b5 p2r3

fix wrong expression order in mob movement


3bde692976 GitHub

implement recv_buffer size limit and input validation

* Implement recv_buffer size limit and input validation * Add readLengthPrefixedData helper and refactor some read flows * Change error to be more accurate * Add newline to error message * fix long chat messages kicking clients * style nitpicks --------- Co-authored-by: p2r3 <p2r3@p2r3.com> Co-authored-by: p2r3 <41925384+p2r3@users.noreply.github.com>


b23e19ecd4 GitHub

implement !msg and !help chat commands

* Added the !msg and !help command * Started fixing issues * Rewrote !msg processing in chat system * cleanup --------- Co-authored-by: p2r3 <p2r3@p2r3.com>


ba86dfd927 GitHub

implement sheep shearing

* Added shearing sheeps * Added empty line * Changed comment in MobData to say what the middle 1 bit is used for * Replaced if statements with a switch statement and early returns * Send mob metadata to players that join * Fixed mob metadata getting freed when exiting the switch statement * remove currently unnecessary check * use bitwise and in place of modulo * style nitpicks --------- Co-authored-by: p2r3 <p2r3@p2r3.com>



e88bf47d5b GitHub

create issue templates


c5e8408052 GitHub

implement player poses (sneak/sprint)

* Added sending player metadata with poses to everyone * Renamed sendPlayerMetadataToAll to broadcastPlayerMetadata * Made entity metadata system flexible * Made broadcastPlayerMetadata create new metadata instead of using a global one * Moved writeEntityData, sizeEntityData and sizeEntityMetadata to procedures * style nitpicks --------- Co-authored-by: p2r3 <p2r3@p2r3.com>


e5dfe53d14 GitHub

implement cactus damage

* Added cactus damage for players and issues the respective death message. Halts if condition is reached * style nitpicks --------- Co-authored-by: p2r3 <p2r3@p2r3.com>


ff89519340 GitHub

add missing static statement to inline tools



6a65b8acba GitHub

support 32-bit compilation on windows

* Add support for 32 bit cross compile in mingw64 and windows 98 support * add check to error out on linux * update text * add instructions for 32-bit compilation on windows --------- Co-authored-by: p2r3 <41925384+p2r3@users.noreply.github.com>


26f068bc09 GitHub

support native windows binary compilation

* add winsock2 to globals.c * add winsocket2 compatibility to main function * add winsocket2 to packets.c * and winsocket2 to procedures.c * add winsocket 2 compatibility to tools.c * add winsocket2 to varnum.c * add mingw64 linker options to build.sh * fix build * style nitpicks * remove old_fd * update compilation instructions for windows --------- Co-authored-by: p2r3 <41925384+p2r3@users.noreply.github.com>


f6333429eb GitHub

implement arm swinging animation

* Added packets to show players swinging their arms * fix misleading comment --------- Co-authored-by: p2r3 <p2r3@p2r3.com>


a34134918a p2r3

implement mob "panic" behavior



925b841e95 p2r3

refactor mob movement

Fixes #64