* 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>
* 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>
* 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>
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.
* Adding a simple check if someone has read the readme
* semi automate the registeries generation. still requires manually downloading server.jar for eula purposes
* The mods have spoken: no spelling mistakes allowed.
* mention extract_registries script in readme
---------
Co-authored-by: p2r3 <41925384+p2r3@users.noreply.github.com>