The server keeps track of every player ID that ever connected successfully. This database stores the last names and IPs used by the player and the last countries the connections came from. Some stats are counted, like "time connected" and "total tks". Most importantly, the database stores rights (like admin) and restrictions (like ban). All rights and restrictions are kept as dates (or timecodes), so, for example, if your ban date is in the future, you are banned - and if it's in the past, you can play. The collected stats are meant to help server owners at managing players - especially, if they want to give someone admin rights. The database is periodically saved to a file and read from that file on startup. The default file is config/servervita.cfg and one backup is kept in config/servervita_bak.cfg. During server start, if the regular file can't be loaded, the backup is tried instead. While the server is running, it checks periodically for a file named config/servervita_update.cfg, and if the file exists, it is renamed to a backup filename including a timecode and read and merged into the database. The automatic rename makes sure, that a file is only read once. Using such updates, a server owner can easily give several people admin rights or for example, add clan tags for a whole list of IDs. (Yes, the database also stores a clan tag for every ID...) The database also stores two short comments for every ID. One can only be read by server admins, but the other one is public. The public reason, for example, can state a reason for a ban. One database record takes up 264 bytes of RAM. During autosave, accounts, that have not been used for a specified time (default 12 months), will not be written. After a server restart, those old records will be gone. Currently, there is no process in place, to also clean up old records from RAM. Maybe, that'll be added later...
What is AssaultCube?
AssaultCube is a FREE, multiplayer, first-person shooter game, based on the CUBE engine.
Taking place in realistic environments, with fast, arcade gameplay, it's addictive and fun!
With efficient bandwidth usage, it's low-latency and can even run over a 56 Kbps connection. It's tiny too, weighing in at a lightweight about 50 MB package available for Windows, Mac and Linux. On the correct settings, it can even run on old hardware (Pentium III and above).
Features in a nutshell:
- It's FREE.
- Source code is available under a zlib-like open source license.
- Low latency, it can even run across a 56 Kbps connection!
- Lightweight size, only about 50 MB to download, plus additional maps average 20 KB each!
- With the correct settings, it can run on old hardware (Pentium III and above).
- Officially runs on most major systems (Windows: 2000/XP/Vista/7/8/10, Linux, Mac OS X: 10.4+), and maybe even some non-major ones?
- Has a built in, in-game map editor to help players create their own maps and allows for co-operative editmode in realtime with others!
- Features a single-player bot system.
- Supports recording of your game by the "demo" system.
- Contains many multiplayer game modes, including: Deathmatch, Survivor, Capture the Flag, Hunt the Flag, Keep the Flag, Pistol Frenzy, Last Swiss Standing & One-Shot One-Kill (plus team versions of these modes).
- Comes pre-packaged with several dozen different maps!
More info:
Most of this README was directly copied from the AssaultCube Homepage, which should have everything you need in relation to AssaultCube.
Redistribution:
You may redistribute AssaultCube in any way the license permits, such as the free unmodified distribution of AssaultCube's source and binaries. If you have any doubts, you can look at the license.