Nice. No Problem.
What was the fix ?
Schön, dass du den Weg zu NodeZone.net gefunden hast! Aktuell bist du nicht angemeldet und kannst deshalb nur eingeschränkt auf unsere Community zugreifen. Um alle Funktionen freizuschalten, spannende Inhalte zu entdecken und dich aktiv einzubringen, registriere dich jetzt kostenlos oder melde dich mit deinem Account an.
Nice. No Problem.
What was the fix ?
- Compatible with newer MySQL versions. (After MySQL 5.5)
- This SQL uses utf8mb4 and has CURRENT_TIMESTAMP function.
You need a newer Version of MySQL Server.
Try this to import the sql file.
I am not sure. Try Update youre MySQL Server. Because "CURRENT_TIMESTAMP" is not implemented on older version of MySQL.
How old is youre MySQL installation ?
When you use the .sql from Github it should work. Do you edited something in it ?
I'm sorry for speaking English not very well.
Which Life version do you use ?
This is the place to stay! SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00: 00";
-
- Compatible with newer MySQL versions. (After MySQL 5.5)
- This SQL uses utf8mb4 and has CURRENT_TIMESTAMP function.
-
/ *! 40101 SET @OLD_CHARACTER_SET_CLIENT = @@ CHARACTER_SET_CLIENT * /;
/ *! 40101 SET @OLD_CHARACTER_SET_RESULTS = @@ CHARACTER_SET_RESULTS * /;
/ *! 40101 SET @OLD_COLLATION_CONNECTION = @@ COLLATION_CONNECTION * /;
/ *! 40101 SET NAMES utf8mb4 * /;
-
- Database: `altislife`
- Default scheme
-
CREATE DATABASE IF NOT EXISTS `altislife` DEFAULT CHARACTER SET utf8mb4;
USE `altislife`;
-
- Drop procedures to ensure no conflicts
-
DROP PROCEDURE IF EXISTS `resetLifeVehicles`;
DROP PROCEDURE IF EXISTS `deleteDeadVehicles`;
DROP PROCEDURE IF EXISTS `deleteOldHouses`;
DROP PROCEDURE IF EXISTS `deleteOldGangs`;
DROP PROCEDURE IF EXISTS `deleteOldContainers`;
DELIMITER $$
-
- Procedures
- Edit arma3 to match a user in MySQL
- For external databases: Edit localhost to match arma3server IP
-
CREATE DEFINER = `root` @` localhost` PROCEDURE `resetLifeVehicles` ()
BEGIN
UPDATE `vehicles` SET` active` = 0;
END $$
CREATE DEFINER = `root` @` localhost` PROCEDURE `deleteDeadVehicles` ()
BEGIN
DELETE FROM `vehicles` WHERE` alive` = 0;
END $$
CREATE DEFINER = `root` @` localhost` PROCEDURE `deleteOldHouses` ()
BEGIN
DELETE FROM `houses` WHERE` owned` = 0;
END $$
CREATE DEFINER = `root` @` localhost` PROCEDURE `deleteOldGangs` ()
BEGIN
DELETE FROM `begin 'WHERE` active` = 0;
END $$
CREATE DEFINER = `root` @` localhost` PROCEDURE `deleteOldContainers` ()
BEGIN
DELETE FROM `containers` WHERE` owned` = 0;
END $$
DELIMITER;
------------------------------------------------ - As shown in Fig.
-
- Table structure for table `players`
-
CREATE TABLE IF NOT EXISTS `players` (
`Uid` int (12) NOT NULL AUTO_INCREMENT,
`Name` varchar (32) NOT NULL,
`Aliases` text NOT NULL,
`Playerid` varchar (64) NOT NULL,
`Cash` int (100) NOT NULL DEFAULT '0',
`Bankacc` int (100) NOT NULL DEFAULT '0',
`Coplevel` enum ('0', '1', '2', '3', '4', '5', '6', '7') NOT NULL DEFAULT '0'
`MEDICLEVEL` ENUM ('0', '1', '2', '3', '4', '5') NOT NULL DEFAULT '0'
`Civ_licenses` text NOT NULL,
`Cop_licenses` text NOT NULL,
`Med_licenses` text NOT NULL,
`Civ_gear` text NOT NULL,
`Cop_gear` text NOT NULL,
`Med_gear` text NOT NULL,
`Civ_stats` varchar (32) NOT NULL DEFAULT '" [100,100,0] "',
`Cop_stats` varchar (32) NOT NULL DEFAULT '" [100,100,0] "',
`Med_stats` varchar (32) NOT NULL DEFAULT '" [100,100,0] "',
`Arrested` tinyint (1) NOT NULL DEFAULT '0',
`Adminlevel` enum ('0', '1', '2', '3', '4', '5') NOT NULL DEFAULT '0'
(0 ',' 1 ',' 2 ',' 3 ',' 4 ',' 5 ') NOT NULL DEFAULT' 0 '
`Blacklist` tinyint (1) NOT NULL DEFAULT '0',
`Civ_alive` tinyint (1) NOT NULL DEFAULT '0',
`Civ_position` varchar (64) NOT NULL DEFAULT '" [] "',
`Playtime` varchar (32) NOT NULL DEFAULT '" [0,0,0] "',
`Insert_time` timestamp DEFAULT CURRENT_TIMESTAMP,
`Last_seen` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`uid`),
UNIQUE KEY `playerid` (` playerid`),
KEY `name` (` name`),
KEY `blacklist` (` blacklist`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 AUTO_INCREMENT = 12;
------------------------------------------------ - As shown in Fig.
-
- Table structure for table `vehicles`
-
CREATE TABLE IF NOT EXISTS `vehicles` (
`Id` int (12) NOT NULL AUTO_INCREMENT,
`Side` varchar (16) NOT NULL,
`Classname` varchar (64) NOT NULL,
`Type` varchar (16) NOT NULL,
`Pid` varchar (32) NOT NULL,
`Alive` tinyint (1) NOT NULL DEFAULT '1',
`Blacklist` tinyint (1) NOT NULL DEFAULT '0',
`Active` tinyint (1) NOT NULL DEFAULT '0',
`Plate` int (20) NOT NULL,
`Color` int (20) NOT NULL,
`Inventory` text NOT NULL,
`Gear` text NOT NULL,
`Fuel` double NOT NULL DEFAULT '1',
`Damage` varchar (256) NOT NULL,
`Insert_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `side` (` side`),
KEY `pid` (` pid`),
KEY `type` (` type`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 AUTO_INCREMENT = 2;
------------------------------------------------ - As shown in Fig.
-
- Table structure for table `houses`
- Needed for extDB latest update on git
-
CREATE TABLE IF NOT EXISTS `houses` (
`Id` int (11) NOT NULL AUTO_INCREMENT,
`Pid` varchar (32) NOT NULL,
`Pos` varchar (64) DEFAULT NULL,
`Owned` tinyint (1) DEFAULT '0',
`Insert_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`,` pid`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 AUTO_INCREMENT = 4;
------------------------------------------------ - As shown in Fig.
-
- Table structure for table `gangs`
- Needed for extDB latest update on git
-
CREATE TABLE IF NOT EXISTS `gangs` (
`Id` int (11) NOT NULL AUTO_INCREMENT,
`Owner` varchar (32) DEFAULT NULL,
`Name` varchar (32) DEFAULT NULL,
`Members` text,
`Maxmembers` int (3) DEFAULT '8',
`Bank` int (100) DEFAULT '0',
`Active` tinyint (1) DEFAULT '1',
`Insert_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `name_UNIQUE` (` name`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;
------------------------------------------------ - As shown in Fig.
-
- Table structure for table `containers`
- Needed for extDB latest update on git
-
CREATE TABLE IF NOT EXISTS `containers` (
`Id` int (11) NOT NULL AUTO_INCREMENT,
`Pid` varchar (32) NOT NULL,
`Classname` varchar (32) NOT NULL,
`Pos` varchar (64) DEFAULT NULL,
`Inventory` text NOT NULL,
`Gear` text NOT NULL,
`Dir` varchar (128) DEFAULT NULL,
`Active` tinyint (1) NOT NULL DEFAULT '0',
`Owned` tinyint (1) DEFAULT '0',
`Insert_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`,` pid`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 AUTO_INCREMENT = 4;
------------------------------------------------ - As shown in Fig.
-
- Table structure for table `wanted`
- Needed for extDB latest update on git
-
CREATE TABLE IF NOT EXISTS `wanted` (
`WantedID` varchar (64) NOT NULL,
`WantedName` varchar (32) NOT NULL,
`WantedCrimes` text NOT NULL,
`WantedBounty` int (100) NOT NULL,
`Active` tinyint (1) NOT NULL DEFAULT '0',
`Insert_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`wantedID`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;
------------------------------------------------ - As shown in Fig.
/ *! 40101 SET CHARACTER_SET_CLIENT = @ OLD_CHARACTER_SET_CLIENT * /;
/ *! 40101 SET CHARACTER_SET_RESULTS = @ OLD_CHARACTER_SET_RESULTS * /;
/ *! 40101 SET COLLATION_CONNECTION = @ OLD_COLLATION_CONNECTION * /;
Alles anzeigen
Try this
Wie gesagt meine Erfahrungen sind sehr gut mit Voxility und Ts3. Der Native Teamspeak liegt auch hinter Voxility und da hatten wir noch nie Probleme.
Aber ist ja auch egal sonst werden wir hier zu Offtopic Weiter im Thema !
Mit Voxility und Teamspeak sind null Probleme Wir haben 0 Packetverlust. Bitte niemals "VirtualBox von Oracle" für den Live/produktions Betrieb verwenden! Nimm lieber Hyper-V was glaube ab 2012R2 bei allen Windows Server Versionen dabei ist.
@ALIVE
Die idee hinter dem ganzen ist echt gut. Aber die DDoS Protection von OVH ist so naja .... es gibt einige Angriffsmuster(Layer4) die OVH nicht erkennt und einfach durchlässt. Deswegen würde ICH zu Voxility greifen bzw einem Anbieter der Voxility benutzt.
Ich denke mal das ist der richtige Bereich
Ich bin sehr abgeneigt gegenüber Webtropia Ich würde dir einen entweder bei NTECH oder Hetzner empfehlen ^^.
Mit freundlichen Grüßen,
ExoTic
Linux ist eigentlich auch einfach aber man muss sich nur einarbeiten.
Da ich glaub ich schon an die 200 Arma 3 Altis life server aufgesetzt habe empfehle ich aber trotzdem klar Windows für Arma:) .Datenbank technisch finde ich aber Linux besser ^^. Läuft aber auch gut unter Windows
Ganz klar Windows !
@Mischelandschelo Trotzdem solltest du gewissen Respekt und Freundlichkeit gegenüber anderen Mitglieder mitbringen und auch zeigen !
So und jetzt Back 2 Topic.
B4v4r!4n_Str!k3r Ich weiß ja nicht was ich damit zu tun habe aber du solltest dich an @BountyXY dafür wenden
Sei doch nicht so ungeduldig. Wenn dir einer helfen kann/möchte wird er es schon tun.
OpenOrCloseCDDrive m_CDManager = new OpenOrCloseCDDrive();
List<System.IO.DriveInfo> m_CDDrives = null;
public frmCDManager()
{
InitializeComponent();
}
private void m_btnOpen_Click(object sender, EventArgs e)
{
m_CDManager.Open(m_CDDrives[0]);
}
private void m_btnClose_Click(object sender, EventArgs e)
{
m_CDManager.Close(m_CDDrives[0]);
}
Alles anzeigen
Probier es mal hier mit
Nicht Böse gemeint aber nach 2 minuten Googlen hab ich die oben genannte Lösung gefunden