7 Commits

Author SHA1 Message Date
fusion32
f188d54236 beginning of postgres driver + overall tweaks 2025-10-13 14:56:50 -03:00
fusion32
46c6532933 organize database configs and schema files + compilation guards 2025-10-10 15:22:27 -03:00
fusion32
cc4873e338 switch to blocking poll + fix config, signals, time, non-game login 2025-10-10 02:17:19 -03:00
fusion32
7ca3cfca6e wrapping up for a public release 2025-08-15 14:53:56 -03:00
fusion32
20ca1cf661 store world hostname and resolve at runtime 2025-08-08 12:11:36 -03:00
fusion32
82b82dca7d improvements and bug fixes
- Add support for SIGINT and SIGTERM signals for graceful termination.
- Properly check premium account status with `EVICT_FREE_ACCOUNTS`
  query.
- Properly check if character is already online before failing game
  login with "too many characters" error.
- Overall cleanup.
2025-07-22 22:22:01 -03:00
fusion32
8dbd1d39e3 bare bones query manager
This is a bare bones query manager that will respond just enough
queries to get the server running. The overall structure of the
tables should be almost set but we'd need to handle all queries to
get the server running properly.
  It uses the SQLite3 3.50.2 amalgamation for a database backend so
we can completely avoid having to spin up yet another service for a
separate database system, effectively turning the query manager into
the database itself. This also means that other services such as the
login server and website must go through it to access the data but
it shouldn't be too difficult to replicate the querying mechanism
from the server.
  This design choice was made with a single game server in mind. The
networking protocol is NOT encrypted at all and won't accept remote
connections. For a fully multi-world distributed infrastructure, a
distributed database system like PostgreSQL and MySQL should be
considered.
2025-07-10 16:57:09 -03:00