mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 21:15:39 +02:00
Compare commits
5 Commits
v0.11.0-ho
...
v0.11.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27ff04092b | ||
|
|
a695d32ee3 | ||
|
|
3f33b2a166 | ||
|
|
174dccbe1a | ||
|
|
8917701a19 |
@@ -22,7 +22,7 @@ Perun.MOTD_L2 = "Wymagamy obecnosci DCS SRS oraz TeamSpeak - szczegoly na forum"
|
|||||||
-- ###################### END OF SETTINGS - DO NOT MODIFY OUTSIDE THIS SECTION ######################
|
-- ###################### END OF SETTINGS - DO NOT MODIFY OUTSIDE THIS SECTION ######################
|
||||||
|
|
||||||
-- Variable init
|
-- Variable init
|
||||||
Perun.Version = "v0.11.0"
|
Perun.Version = "v0.11.1"
|
||||||
Perun.StatusData = {}
|
Perun.StatusData = {}
|
||||||
Perun.SlotsData = {}
|
Perun.SlotsData = {}
|
||||||
Perun.MissionData = {}
|
Perun.MissionData = {}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ CREATE TABLE IF NOT EXISTS `pe_Config` (
|
|||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
INSERT INTO `pe_Config` (`pe_Config_id`, `pe_Config_payload`) VALUES
|
INSERT INTO `pe_Config` (`pe_Config_id`, `pe_Config_payload`) VALUES
|
||||||
(1, 'v0.11.0');
|
(1, 'v0.11.1');
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `pe_DataMissionHashes`;
|
DROP TABLE IF EXISTS `pe_DataMissionHashes`;
|
||||||
CREATE TABLE IF NOT EXISTS `pe_DataMissionHashes` (
|
CREATE TABLE IF NOT EXISTS `pe_DataMissionHashes` (
|
||||||
@@ -176,25 +176,25 @@ DROP TABLE IF EXISTS `pe_OnlinePlayers`;
|
|||||||
CREATE TABLE IF NOT EXISTS `pe_OnlinePlayers` (
|
CREATE TABLE IF NOT EXISTS `pe_OnlinePlayers` (
|
||||||
`pe_OnlinePlayers_id` int(11) NOT NULL,
|
`pe_OnlinePlayers_id` int(11) NOT NULL,
|
||||||
`pe_OnlinePlayers_instance` int(11) NOT NULL,
|
`pe_OnlinePlayers_instance` int(11) NOT NULL,
|
||||||
`pe_OnlinePlayers_ping` int(11) NOT NULL,
|
`pe_OnlinePlayers_ping` int(11) DEFAULT NULL,
|
||||||
`pe_OnlinePlayers_side` int(11) NOT NULL,
|
`pe_OnlinePlayers_side` int(11) DEFAULT NULL,
|
||||||
`pe_OnlinePlayers_slot` varchar(255) NOT NULL,
|
`pe_OnlinePlayers_slot` varchar(255) DEFAULT NULL,
|
||||||
`pe_OnlinePlayers_ucid` varchar(255) NOT NULL,
|
`pe_OnlinePlayers_ucid` varchar(255) DEFAULT NULL,
|
||||||
`pe_OnlinePlayers_updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
`pe_OnlinePlayers_updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `pe_OnlineStatus`;
|
DROP TABLE IF EXISTS `pe_OnlineStatus`;
|
||||||
CREATE TABLE IF NOT EXISTS `pe_OnlineStatus` (
|
CREATE TABLE IF NOT EXISTS `pe_OnlineStatus` (
|
||||||
`pe_OnlineStatus_instance` int(11) NOT NULL,
|
`pe_OnlineStatus_instance` int(11) NOT NULL,
|
||||||
`pe_OnlineStatus_theatre` varchar(255) NOT NULL,
|
`pe_OnlineStatus_theatre` varchar(255) DEFAULT NULL,
|
||||||
`pe_OnlineStatus_name` varchar(255) NOT NULL,
|
`pe_OnlineStatus_name` varchar(255) DEFAULT NULL,
|
||||||
`pe_OnlineStatus_pause` varchar(255) NOT NULL,
|
`pe_OnlineStatus_pause` varchar(255) DEFAULT NULL,
|
||||||
`pe_OnlineStatus_multiplayer` varchar(255) NOT NULL,
|
`pe_OnlineStatus_multiplayer` varchar(255) DEFAULT NULL,
|
||||||
`pe_OnlineStatus_realtime` varchar(255) NOT NULL,
|
`pe_OnlineStatus_realtime` varchar(255) DEFAULT NULL,
|
||||||
`pe_OnlineStatus_modeltime` varchar(255) NOT NULL,
|
`pe_OnlineStatus_modeltime` varchar(255) DEFAULT NULL,
|
||||||
`pe_OnlineStatus_players` int(11) NOT NULL,
|
`pe_OnlineStatus_players` int(11) DEFAULT NULL,
|
||||||
`pe_OnlineStatus_perunversion_winapp` varchar(255) NOT NULL,
|
`pe_OnlineStatus_perunversion_winapp` varchar(255) DEFAULT NULL,
|
||||||
`pe_OnlineStatus_perunversion_dcshook` varchar(255) NOT NULL,
|
`pe_OnlineStatus_perunversion_dcshook` varchar(255) DEFAULT NULL,
|
||||||
`pe_OnlineStatus_updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
`pe_OnlineStatus_updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
|||||||
@@ -31,10 +31,11 @@ Core:
|
|||||||
* Download latest [release](https://github.com/szporwolik/perun/releases)
|
* Download latest [release](https://github.com/szporwolik/perun/releases)
|
||||||
* Copy contents of [01_DCS](https://github.com/szporwolik/perun/tree/master/01_DCS) to your \Scripts folder (located inside DCS folder in your Saved Games)
|
* Copy contents of [01_DCS](https://github.com/szporwolik/perun/tree/master/01_DCS) to your \Scripts folder (located inside DCS folder in your Saved Games)
|
||||||
* Create MySQL database using SQL script located in [03_MySQL](https://github.com/szporwolik/perun/tree/master/03_MySQL); note that you need just a one database per DCS server machine - multiple instances pushing data to the one database are supported
|
* Create MySQL database using SQL script located in [03_MySQL](https://github.com/szporwolik/perun/tree/master/03_MySQL); note that you need just a one database per DCS server machine - multiple instances pushing data to the one database are supported
|
||||||
|
* Ensure that your MySQL config is not using STRICT_TRANS_TABLES
|
||||||
|
|
||||||
## Running
|
## Running
|
||||||
* Start DCS World and host multiplayer session
|
* Start DCS World and host multiplayer session
|
||||||
* by default the TCP port 48620 is in use as target port - ensure that port and instance ID in the options sections of the Lua file matches data
|
* by default the TCP port 48621 is in use as target port - ensure that port and instance ID in the options sections of the Lua file matches data
|
||||||
* run the Win32 application
|
* run the Win32 application
|
||||||
* set MySQL connection data
|
* set MySQL connection data
|
||||||
* **optionaly** point LotATC json file location
|
* **optionaly** point LotATC json file location
|
||||||
@@ -87,6 +88,8 @@ DCS API does not track carrier or FARP operations natively, so there is a trick
|
|||||||
* table: pe_LogEvent - holds event history
|
* table: pe_LogEvent - holds event history
|
||||||
* table: pe_LogLogins - holds login to server event history
|
* table: pe_LogLogins - holds login to server event history
|
||||||
* table: pe_LogStats - holds static information
|
* table: pe_LogStats - holds static information
|
||||||
|
* table: pe_OnlinePlayers - holds the list of actual players connected to the server
|
||||||
|
* table: pe_OnlineStatus - holds the information about server status of all instantes
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@@ -141,3 +144,5 @@ This software is provide "as it is" without any warranties, but if you would lik
|
|||||||

|

|
||||||
|
|
||||||
Thanks to [Gildia DCS](https://forum.gildia.org) Polish community of DCS World pilots.
|
Thanks to [Gildia DCS](https://forum.gildia.org) Polish community of DCS World pilots.
|
||||||
|
|
||||||
|
Thanks to our Discord community for all the disussions, tests and proposals!
|
||||||
|
|||||||
Reference in New Issue
Block a user