Removed NioTSO client and server

- NioTSO client isn't needed because we're using RayLib
- Added FreeSO's API server to handle most backend operations
This commit is contained in:
Tony Bark 2024-05-01 02:55:43 -04:00
parent f12ba1502b
commit 22191ce648
591 changed files with 53264 additions and 3362 deletions

View file

@ -0,0 +1,26 @@
CREATE TABLE IF NOT EXISTS `fso_shards` (
`shard_id` int(11) NOT NULL,
`name` varchar(100) NOT NULL,
`rank` int(11) NOT NULL,
`map` varchar(10) NOT NULL,
`status` enum('up','down','busy','full','closed','frontier') NOT NULL,
`internal_host` varchar(100) NOT NULL,
`public_host` varchar(100) NOT NULL,
PRIMARY KEY (`shard_id`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB;
-- Default shard
INSERT INTO fso_shards VALUES (1, 'Alphaville', 1, '0001', 'up', '127.0.0.1:7777', '127.0.0.1:7777') ON DUPLICATE KEY UPDATE shard_id = shard_id;
CREATE TABLE IF NOT EXISTS `fso_shard_tickets` (
`ticket_id` VARCHAR(36) NOT NULL,
`user_id` INT UNSIGNED NOT NULL,
`date` INT UNSIGNED NOT NULL,
`ip` VARCHAR(50) NOT NULL,
`avatar_id` INT UNSIGNED NOT NULL,
PRIMARY KEY (`ticket_id`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB;