-
Notifications
You must be signed in to change notification settings - Fork 2
Replay bot #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replay bot #7
Conversation
|
Table for storing the replays: CREATE TABLE `MapTimeReplay` (
`player_id` INT(10) NOT NULL,
`maptime_id` INT(10) NOT NULL,
`map_id` INT(10) NOT NULL,
`replay_frames` LONGBLOB NOT NULL,
UNIQUE INDEX `maptime_id` (`maptime_id`) USING BTREE,
INDEX `FK1_PID` (`player_id`) USING BTREE,
INDEX `map_id` (`map_id`) USING BTREE,
CONSTRAINT `FK1_PID` FOREIGN KEY (`player_id`) REFERENCES `MapTimes` (`player_id`) ON UPDATE NO ACTION ON DELETE CASCADE,
CONSTRAINT `FK2_MapTimeID` FOREIGN KEY (`maptime_id`) REFERENCES `MapTimes` (`id`) ON UPDATE NO ACTION ON DELETE CASCADE,
CONSTRAINT `FK3_MapID` FOREIGN KEY (`map_id`) REFERENCES `MapTimes` (`map_id`) ON UPDATE NO ACTION ON DELETE CASCADE
);Unsure whether we should set |
|
Might as well just add |
- Fixed bot spamming errors with the TriggerStartZone/TriggerEndZone - Added reverse/pause replay (!rr/!rp) Still need to fix more bots than wanted joining, and make DB queries async
As for json, the replay data Is really large and json didnt let me just insert it, I needed to use LONGBLOB and to compress as gzip just to add this, I might doing something wrong here |
TODO: Add stage/bonuses/etc support when done, update bot_quota to change upon loading map time
Added cool HUD when spectating replays. Added css_spec/css_replaybotpause/css_replaybotflip
No description provided.