7 Commits

Author SHA1 Message Date
fusion32
e2ba7cd296 fix issues and warnings when compiling with glibc < 2.32 (#57, #58)
This also fixes some inconsistencies such as mixing both strerror
and strerrordesc_np, and possible formatting issues.
2026-05-28 23:56:29 -03:00
fusion32
465620a871 add MAX_DEPOTS constant + enable assertions in debug mode 2025-09-13 00:39:31 -03:00
fusion32
16f2e00b05 update script that generates the Makefile 2025-09-12 02:44:22 -03:00
fusion32
b2a9d2cb96 cleaning up a few comments + login message enum 2025-08-19 15:57:40 -03:00
fusion32
e65dc561ac implement crypto.cc with OpenSSL + fix config loading
I considered reversing the original `vlong` implementation but
OpenSSL is just simpler, more secure, and most importantly, is
already there. I also made it so the key is now stored in a PEM
file (`tibia.pem`) so it can be easily swapped without re-compiling.

  This was the last piece to build and run a working executable,
except that we now need to implement a query manager for the server
to communicate with. I was able to fix a small problem with loading
the config before hitting the problem with the query manager, which
was expected.

  The next task should be getting a query manager up and running
before starting phase two of upgrading and fixing the server itself.
2025-07-03 10:46:43 -03:00
fusion32
d2eb32efe2 impl some spells and create info.cc 2025-06-02 18:21:54 -03:00
fusion32
8b118611b6 add a small Go script to generate the Makefile 2025-06-01 10:26:28 -03:00