Author Topic: SQLite CTF Stats  (Read 92 times)

0 Members and 1 Guest are viewing this topic.

Offline Savage

  • Soldier
  • **
  • Posts: 154
SQLite CTF Stats
« on: August 28, 2020, 11:24:23 am »
Script Name: CTFStats
Script Description: Soldat SC3 script to save stats in CTF mode to SQLite database, based on HWID and SteamID. Requires libdb-0.3 in order to work https://forums.soldat.pl/index.php?topic=42012.msg507542#msg507542 Script used by =Midgard CTF servers
Original Author(s): Savage
Compilation: Passed
Core Version: 2.8.2 (SC3)
GitHub: https://github.com/Dankage102/Soldat-Ctf-Stats

Options:
DB_ID = 5;
DB_NAME = 'CTFStats.db';
MSG_COLOR = $0080FF;
TIME_SAVE_STATS = 60; //How often stats should be saved to database (in seconds)
Skill_Update_Speed = 5;
STEAM_VERIFICATION_TIME = 3;

Commands:
/stats
/rstats
/stats <nick>
/statsid <id>
/elite
/top
/players

!stats
!rstats
!stats <nick>
!statsid <id>
!elite
!top
!players