Commit Graph

20 Commits

Author SHA1 Message Date
jcfb
26f068bc09 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>
2025-09-14 17:11:56 +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
550edbdb37 centralize configuration options 2025-09-07 14:07:12 +03:00
p2r3
d608014470 use global tick counter to handle regular events at different rates 2025-08-31 21:45:47 +03:00
p2r3
e5c5b8338d use config block change limit in source file too 2025-08-29 15:44:22 +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
71737380d5 implement water flow 2025-08-26 22:54:48 +03:00
p2r3
84fda79901 implement hunger system 2025-08-26 02:29:00 +03:00
p2r3
f366e7fdc6 add more mob types 2025-08-22 15:33:42 +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
e7aeba9d8f simplify biome grid building 2025-08-21 03:09:01 +03:00
p2r3
6e5791a2d0 hash seeds before use 2025-08-20 23:39:51 +03:00
p2r3
8936eb32db make esp task yielding more consistent and reduce overhead 2025-08-20 15:21:02 +03:00
p2r3
66ab597ad0 add player entities 2025-08-20 04:30:29 +03:00
p2r3
2ab196e5f0 implement block mining conditions 2025-08-13 20:57:58 +03:00
p2r3
478173d616 refactor to use struct instead of byte buffer 2025-08-12 12:48:28 +03:00
p2r3
85ed094674 extend item ids to 16 bits 2025-08-12 04:43:59 +03:00
p2r3
269e8346eb initial code dump 2025-08-12 03:51:57 +03:00