mirror of
https://github.com/riperiperi/FreeSO
synced 2026-08-13 20:26:13 -04:00
- Fix a bug where the game could crash when switching properties. - Global Tuning: Tuning that is sent as soon as the player logs in, and is available in city view. - Tuning Presets: Tuning that can be applied as part of an ingame timed event. This can include tuning for motives, object payouts, skill speed and more - and allows all of these things to be automatically changed while the server is running. - Admin API for Events. (should make things easier on other M.O.M.I. ;) ) - Tuning changes while the server is running now immediately update any lots that are open. (fixes dynamic payouts not updating til a lot restart) - Interpolation for slot-slot movement. Very simple right now - could be improved for things like table slots. - Hidden objects (like the go here destination) no longer update shadows, causing a stutter. - New collision test function - should be helpful finding the desyncs that have been hitting popular lots. - Fix object shadows when shadows for surrounding lots are enabled - Terrain Force logic now uses global tuning. - "Community" category flag can now be set by Volcanic.
23 lines
No EOL
980 B
SQL
23 lines
No EOL
980 B
SQL
CREATE TABLE `fso_tuning_presets` (
|
|
`preset_id` INT NOT NULL AUTO_INCREMENT,
|
|
`name` VARCHAR(128) NULL,
|
|
`description` VARCHAR(1000) NULL,
|
|
`flags` INT NOT NULL DEFAULT 0,
|
|
PRIMARY KEY (`preset_id`))
|
|
COMMENT = 'Presets are collections of tuning info that can be applied and removed at the same time as part of an event.';
|
|
|
|
CREATE TABLE `fso_tuning_preset_items` (
|
|
`item_id` INT NOT NULL AUTO_INCREMENT,
|
|
`preset_id` INT NOT NULL,
|
|
`tuning_type` VARCHAR(128) NOT NULL,
|
|
`tuning_table` INT NOT NULL,
|
|
`tuning_index` INT NOT NULL,
|
|
`value` FLOAT NOT NULL,
|
|
PRIMARY KEY (`item_id`),
|
|
INDEX `fso_preset_item_to_preset_fk_idx` (`preset_id` ASC),
|
|
CONSTRAINT `fso_preset_item_to_preset_fk`
|
|
FOREIGN KEY (`preset_id`)
|
|
REFERENCES `fso_tuning_presets` (`preset_id`)
|
|
ON DELETE CASCADE
|
|
ON UPDATE CASCADE)
|
|
COMMENT = 'Individual tuning items that belong to a preset configuration, to be applied as a group. Similar to fso_tuning, built to copy right into it.'; |