1. Dashboard
  2. Forum
    1. Unerledigte Themen
  3. Downloads
  4. Galerie
    1. Alben
  5. Toolbox
    1. Passwort Generator
    2. Portchecker
  6. Mitglieder
    1. Mitgliedersuche
    2. Benutzer online
    3. Trophäen
    4. Team
Do: 22 Mai 2025
  • Anmelden oder registrieren
  • Suche
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Forum
  • Dateien
  • Seiten
  • Bilder
  • Erweiterte Suche

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.

Anmelden oder registrieren
    1. Nodezone.net Community
    2. Forum
    3. Gameserver & Hosting
    4. ArmA Series - ArmA 3 / Reforger
    5. Hilfeforum

    altislife.sql Issue

    • BrandsPickled
    • 28. Februar 2017 um 20:27
    • Erledigt
    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 28. Februar 2017 um 20:27
      • #1

      Im currently having a small issue with the altislife.sql

      cd4d618f8e252f13445aee03ac84af83.png

      My altislife.sql:

      Code
      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 = `altislife` @` localhost` PROCEDURE `resetLifeVehicles` ()
      BEGIN
        UPDATE `vehicles` SET` active` = 0;
      END $$
      
      CREATE DEFINER = `altislife` @` localhost` PROCEDURE `deleteDeadVehicles` ()
      BEGIN
        DELETE FROM `vehicles` WHERE` alive` = 0;
      END $$
      
      CREATE DEFINER = `altislife` @` localhost` PROCEDURE `deleteOldHouses` ()
      BEGIN
        DELETE FROM `houses` WHERE` owned` = 0;
      END $$
      
      CREATE DEFINER = `altislife` @` localhost` PROCEDURE `deleteOldGangs` ()
      BEGIN
        DELETE FROM `begin 'WHERE` active` = 0;
      END $$
      
      CREATE DEFINER = `altislife` @` 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
    • ExoTic
      Schüler
      Reaktionen
      142
      Trophäen
      11
      Beiträge
      148
      • 28. Februar 2017 um 20:51
      • #2
      Code
      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

      Rechtschreibfehler sind zur Belustigung des Lesers hinterlassen worden und können nicht auf die Inkompetenz des Verfassers zurück gewiesen werden :saint:

    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 1. März 2017 um 05:40
      • #3
      Zitat von ExoTic
      Code
      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 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 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 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 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 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 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 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

      This code looks wrong

      ac991ffac23155db3c00a9699b321efc.png


      76fdf4299d91f11bacdc0801cee8f618.png

      And I press run and still dont work

    • ExoTic
      Schüler
      Reaktionen
      142
      Trophäen
      11
      Beiträge
      148
      • 1. März 2017 um 12:32
      • #4

      Which Life version do you use ?

      Rechtschreibfehler sind zur Belustigung des Lesers hinterlassen worden und können nicht auf die Inkompetenz des Verfassers zurück gewiesen werden :saint:

    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 1. März 2017 um 13:07
      • #5
      Zitat von ExoTic

      Which life version do you use?

      V4.4r4

      https://github.com/AsYetUntitled/Framework/releases

    • ExoTic
      Schüler
      Reaktionen
      142
      Trophäen
      11
      Beiträge
      148
      • 1. März 2017 um 13:23
      • #6

      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.

      Rechtschreibfehler sind zur Belustigung des Lesers hinterlassen worden und können nicht auf die Inkompetenz des Verfassers zurück gewiesen werden :saint:

    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 1. März 2017 um 13:27
      • #7
      Zitat von ExoTic

      When you use the .sql from Github it should work. Do you have something in it?

      I'm sorry for speaking.

      It doesnt work, like the first two images are shown

    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 1. März 2017 um 13:41
      • #8
      Zitat von ExoTic
      Code
      When you use the .sql from Github it should work. Do you have something in it?

      I'm sorry for speaking.

      On MySql Workbench the error says:


      Code
      `Last_seen` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (` uid`), UNIQUE KEY `playerid`, KEY` name`, KEY `blacklist` (` blacklist`) ) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 AUTO_INCREMENT = 12 Error Code: 1293. Incorrect table definition; There can only be one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause 0.016 sec
    • ExoTic
      Schüler
      Reaktionen
      142
      Trophäen
      11
      Beiträge
      148
      • 1. März 2017 um 14:04
      • #9

      How old is youre MySQL installation ?

      Rechtschreibfehler sind zur Belustigung des Lesers hinterlassen worden und können nicht auf die Inkompetenz des Verfassers zurück gewiesen werden :saint:

    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 1. März 2017 um 14:06
      • #10
      Zitat von ExoTic

      How old is youre MySQL installation?

      mysql Ver 14.14 Distrib 5.5.54, for debian-linux-gnu (x86_64) using readline 6.3

    • ExoTic
      Schüler
      Reaktionen
      142
      Trophäen
      11
      Beiträge
      148
      • 1. März 2017 um 14:25
      • #11

      I am not sure. Try Update youre MySQL Server. Because "CURRENT_TIMESTAMP" is not implemented on older version of MySQL.

      Rechtschreibfehler sind zur Belustigung des Lesers hinterlassen worden und können nicht auf die Inkompetenz des Verfassers zurück gewiesen werden :saint:

    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 1. März 2017 um 14:39
      • #12
      Zitat von ExoTic

      I am not sure. Try Update youre MySQL Server. Because "CURRENT_TIMESTAMP" is not implemented on older version of MySQL.

      What do I need verison Because it 5.5 atm

    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 1. März 2017 um 14:41
      • #13
      Zitat von ExoTic

      I am not sure. Try Update youre MySQL Server. Because "CURRENT_TIMESTAMP" is not implemented on older version of MySQL.

      Sorry this is the action / error:

      ------------------------------------------------ -> 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 ',' 2 ',' 3 ',' 4 ',' 5 ',' 6 ',' 7 ') NOT NULL DEFAULT' 0 ', `mediclevel` enum 1 NOTICE NOT NULL, `` cop_licenses` text NOT NULL, `med_licenses` text NOT NULL,` civ_gear`. NOT NULL DEFAULT '0', `civ_licenses` 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 ', `donorlevel` enum (' 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`, KEY` name`, KEY `blacklist` (` blacklist`) ) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 AUTO_INCREMENT = 12

    • ExoTic
      Schüler
      Reaktionen
      142
      Trophäen
      11
      Beiträge
      148
      • 1. März 2017 um 14:56
      • #14
      Datei

      Navicat Lite (Datenbankverwaltung)

      Hier findet ihr Navicat in der Lite-Version welches ihr zum verwalten und bearbeiten eurer Datenbanken verwenden könnt. Mehr Informationen zu Navicat findet ihr hier: http://www.navicat.com/de/
      nox
      28. Februar 2017 um 18:22

      Try this to import the sql file.

      Rechtschreibfehler sind zur Belustigung des Lesers hinterlassen worden und können nicht auf die Inkompetenz des Verfassers zurück gewiesen werden :saint:

    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 1. März 2017 um 15:04
      • #15
      Zitat von ExoTic

      [File = '24 '] [/ file]

      Try this to import the sql file.

      Still dont work and get this:

      Code
      [SQL] SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
      Affected rows: 0
      Time: 0.022s
      
      [SQL]
      SET time_zone = "+00: 00";
      Affected rows: 0
      Time: 0.023s
      
      [SQL]
      -
      - 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 * /;
      Affected rows: 0
      Time: 0.023s
      
      [SQL]
      / *! 40101 SET @OLD_CHARACTER_SET_RESULTS = @@ CHARACTER_SET_RESULTS * /;
      Affected rows: 0
      Time: 0.049s
      
      [SQL]
      / *! 40101 SET @OLD_COLLATION_CONNECTION = @@ COLLATION_CONNECTION * /;
      Affected rows: 0
      Time: 0.048s
      
      [SQL]
      / *! 40101 SET NAMES utf8mb4 * /;
      Affected rows: 0
      Time: 0.025s
      
      [SQL]
      
      -
      - Database: `altislife`
      - Default scheme
      -
      CREATE DATABASE IF NOT EXISTS `altislife` DEFAULT CHARACTER SET utf8mb4;
      Affected rows: 1
      Time: 0.024s
      
      [SQL]
      USE `altislife`;
      Affected rows: 0
      Time: 0.024s
      
      [SQL]
      
      -
      - Drop procedures to ensure no conflicts
      -
      DROP PROCEDURE IF EXISTS `resetLifeVehicles`;
      Affected rows: 0
      Time: 0.021s
      
      [SQL]
      DROP PROCEDURE IF EXISTS `deleteDeadVehicles`;
      Affected rows: 0
      Time: 0.022s
      
      [SQL]
      DROP PROCEDURE IF EXISTS `deleteOldHouses`;
      Affected rows: 0
      Time: 0.023s
      
      [SQL]
      DROP PROCEDURE IF EXISTS `deleteOldGangs`;
      Affected rows: 0
      Time: 0.024s
      
      [SQL]
      DROP PROCEDURE IF EXISTS `deleteOldContainers`;
      Affected rows: 0
      Time: 0.024s
      
      [SQL]
      
      
      -
      - Procedures
      - Edit arma3 to match a user in MySQL
      - For external databases: Edit localhost to match arma3server IP
      -
      
      CREATE DEFINER = `altislife` @` localhost` PROCEDURE `resetLifeVehicles` ()
      BEGIN
        UPDATE `vehicles` SET` active` = 0;
      END;
      Affected rows: 0
      Time: 0.022s
      
      [SQL]
      
      CREATE DEFINER = `altislife` @` localhost` PROCEDURE `deleteDeadVehicles` ()
      BEGIN
        DELETE FROM `vehicles` WHERE` alive` = 0;
      END;
      Affected rows: 0
      Time: 0.025s
      
      [SQL]
      
      CREATE DEFINER = `altislife` @` localhost` PROCEDURE `deleteOldHouses` ()
      BEGIN
        DELETE FROM `houses` WHERE` owned` = 0;
      END;
      Affected rows: 0
      Time: 0.025s
      
      [SQL]
      
      CREATE DEFINER = `altislife` @` localhost` PROCEDURE `deleteOldGangs` ()
      BEGIN
        DELETE FROM `begin 'WHERE` active` = 0;
      END;
      Affected rows: 0
      Time: 0.023s
      
      [SQL]
      
      CREATE DEFINER = `altislife` @` localhost` PROCEDURE `deleteOldContainers` ()
      BEGIN
        DELETE FROM `containers` WHERE` owned` = 0;
      END;
      Affected rows: 0
      Time: 0.025s
      
      [SQL]
      
      
      
      ------------------------------------------------ --------
      
      -
      - 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'
        `Donorlevel` enum ('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 AUT_INCREMENT = 12;
      [Err] 1293 - Incorrect table definition; There can only be one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause
      Alles anzeigen
    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 1. März 2017 um 15:07
      • #16
      Zitat von ExoTic
      Code
      [Err] 1293 - Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause
      [Err] 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 Schema
      --
      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`;
      
      
      --
      -- Procedures
      -- Edit altislife to match a user in MySQL
      -- For external databases: Edit localhost to match arma3server IP
      --
      
      
      CREATE DEFINER=`altislife`@`localhost` PROCEDURE `resetLifeVehicles`()
      BEGIN
      UPDATE `vehicles` SET `active`= 0;
      END;
      
      
      CREATE DEFINER=`altislife`@`localhost` PROCEDURE `deleteDeadVehicles`()
      BEGIN
      DELETE FROM `vehicles` WHERE `alive` = 0;
      END;
      
      
      CREATE DEFINER=`altislife`@`localhost` PROCEDURE `deleteOldHouses`()
      BEGIN
      DELETE FROM `houses` WHERE `owned` = 0;
      END;
      
      
      CREATE DEFINER=`altislife`@`localhost` PROCEDURE `deleteOldGangs`()
      BEGIN
      DELETE FROM `gangs` WHERE `active` = 0;
      END;
      
      
      CREATE DEFINER=`altislife`@`localhost` PROCEDURE `deleteOldContainers`()
      BEGIN
      DELETE FROM `containers` WHERE `owned` = 0;
      END;
      
      
      
      -- --------------------------------------------------------
      
      
      --
      -- 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',
      `donorlevel` enum('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 ;
      
      
      -- --------------------------------------------------------
      
      
      --
      -- 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 ;
      
      
      -- --------------------------------------------------------
      
      
      --
      -- Table structure for 
      [Msg] Finished - Unsuccessfully
      --------------------------------------------------
      Alles anzeigen
      Code
      This hotel is located in the city center.
    • ExoTic
      Schüler
      Reaktionen
      142
      Trophäen
      11
      Beiträge
      148
      • 1. März 2017 um 15:08
      • #17
      Zitat von BrandsPickled

      - 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.

      Rechtschreibfehler sind zur Belustigung des Lesers hinterlassen worden und können nicht auf die Inkompetenz des Verfassers zurück gewiesen werden :saint:

    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 1. März 2017 um 15:16
      • #18

      Whats the latest version?

    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 1. März 2017 um 15:40
      • #19

      Im having some difficulty to upgrade the MySql to 5.7

    • BrandsPickled
      Frischling
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      20
      • 1. März 2017 um 16:01
      • #20

      All fixed thank you! <3  ExoTic

    Registrieren oder Einloggen

    Du bist noch kein Mitglied von NodeZone.net? Registriere dich kostenlos und werde Teil einer großartigen Community!

    Registrieren

    Wichtige Links & Informationen

    Server & Hosting-Ressourcen

      Server Administration & Hosting Basics

      Windows Server Support & Guides

      Linux Server Configuration & Help

      Setting up TeamSpeak 3 & VoIP Servers

      Domains & Web Hosting for Beginners & Professionals

      Cloud Hosting, Docker & Kubernetes Tutorials

    Gameserver & Modding-Ressourcen

      ArmA 3 Tutorials & Script Collection

      Renting & Operating Gameservers

      DayZ Server Management & Help

      FiveM (GTA V) Server & Script Development

      Rust Server Modding & Administration

      Setting up & Optimizing ARK Survival Servers

    NodeZone.net – Deine Community für Gameserver, Server-Hosting & Modding

      NodeZone.net ist dein Forum für Gameserver-Hosting, Rootserver, vServer, Webhosting und Modding. Seit 2015 bietet unsere Community eine zentrale Anlaufstelle für Server-Admins, Gamer und Technikbegeisterte, die sich über Server-Management, Hosting-Lösungen und Spielemodding austauschen möchten.


      Ob Anleitungen für eigene Gameserver, Hilfe bei Root- und vServer-Konfigurationen oder Tipps zu Modding & Scripting – bei uns findest du fundiertes Wissen und praxisnahe Tutorials. Mit einer stetig wachsenden Community findest du hier Antworten auf deine Fragen, Projektpartner und Gleichgesinnte für deine Gaming- und Serverprojekte. Schließe dich NodeZone.net an und werde Teil einer aktiven Community rund um Server-Hosting, Gameserver-Management und Modding-Ressourcen.

    Wer jetzt nicht teilt ist selber Schuld:
    1. Nutzungsbestimmungen
    2. Datenschutzerklärung
    3. Impressum
    4. Urheberrechts- oder Lizenzverstoß melden
  • Trimax Design coded & layout by Gino Zantarelli 2023-2025©
    Community-Software: WoltLab Suite™