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
Mo: 30 Juni 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
    6. Archiv

    Arma 3 Altis Life 4.4 Könnte mir jemand bei meiner SQL helfen

    • HelperLee
    • 17. Juli 2016 um 21:36
    • Geschlossen
    • HelperLee
      Amateur
      Reaktionen
      12
      Trophäen
      9
      Beiträge
      181
      • 17. Juli 2016 um 21:36
      • #1
      Spoiler anzeigen


      SET FOREIGN_KEY_CHECKS=0;

      -- ----------------------------
      -- Table structure for `cellphone`
      -- ----------------------------
      DROP TABLE IF EXISTS `cellphone`;
      CREATE TABLE `cellphone` (
      `pid` varchar(64) NOT NULL,
      `playerName` varchar(32) NOT NULL,
      `messages` text NOT NULL,
      `insert_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
      PRIMARY KEY (`pid`)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

      -- ----------------------------
      -- Records of cellphone
      -- ----------------------------

      -- ----------------------------
      -- Table structure for `containers`
      -- ----------------------------
      DROP TABLE IF EXISTS `containers`;
      CREATE TABLE `containers` (
      `id` int(11) NOT NULL AUTO_INCREMENT,
      `pid` varchar(32) NOT NULL,
      `classname` varchar(32) NOT NULL,
      `pos` varchar(64) DEFAULT NULL,
      `inventory` varchar(500) NOT NULL,
      `gear` text NOT NULL,
      `dir` varchar(64) DEFAULT NULL,
      `active` tinyint(1) NOT NULL DEFAULT '0',
      `owned` tinyint(4) DEFAULT '0',
      PRIMARY KEY (`id`,`pid`)
      ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

      -- ----------------------------
      -- Records of containers
      -- ----------------------------

      -- ----------------------------
      -- Table structure for `dynmarket`
      -- ----------------------------
      DROP TABLE IF EXISTS `dynmarket`;
      CREATE TABLE `dynmarket` (
      `id` int(11) NOT NULL DEFAULT '1',
      `prices` text NOT NULL,
      PRIMARY KEY (`id`)
      ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

      -- ----------------------------
      -- Records of dynmarket
      -- ----------------------------

      -- ----------------------------
      -- Table structure for `gangs`
      -- ----------------------------
      DROP TABLE IF EXISTS `gangs`;
      CREATE TABLE `gangs` (
      `id` int(11) NOT NULL AUTO_INCREMENT,
      `owner` varchar(32) DEFAULT NULL,
      `name` varchar(32) DEFAULT NULL,
      `members` text,
      `maxmembers` int(2) DEFAULT '8',
      `bank` int(100) DEFAULT '0',
      `active` tinyint(4) DEFAULT '1',
      PRIMARY KEY (`id`),
      UNIQUE KEY `name_UNIQUE` (`name`)
      ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

      -- ----------------------------
      -- Records of gangs
      -- ----------------------------

      -- ----------------------------
      -- Table structure for `houses`
      -- ----------------------------
      DROP TABLE IF EXISTS `houses`;
      CREATE TABLE `houses` (
      `id` int(11) NOT NULL AUTO_INCREMENT,
      `pid` varchar(32) NOT NULL,
      `pos` varchar(64) DEFAULT NULL,
      `owned` tinyint(4) DEFAULT '0',
      PRIMARY KEY (`id`,`pid`)
      ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

      -- ----------------------------
      -- Records of houses
      -- ----------------------------

      -- ----------------------------
      -- Table structure for `players`
      -- ----------------------------
      DROP TABLE IF EXISTS `players`;
      CREATE TABLE `players` (
      `uid` int(12) NOT NULL AUTO_INCREMENT,
      `name` varchar(32) NOT NULL,
      `aliases` text NOT NULL,
      `playerid` varchar(50) 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','8','9','10','11','12','13') 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(11) NOT NULL DEFAULT '"[100,100]"',
      `cop_stats` varchar(11) NOT NULL DEFAULT '"[100,100]"',
      `med_stats` varchar(11) NOT NULL DEFAULT '"[100,100]"',
      `arrested` tinyint(1) NOT NULL DEFAULT '0',
      `adminlevel` enum('0','1','2','3','4','5') NOT NULL DEFAULT '0',
      `donatorlvl` enum('0','1','2','3','4','5') NOT NULL DEFAULT '0',
      `blacklist` tinyint(1) NOT NULL DEFAULT '0',
      PRIMARY KEY (`uid`),
      UNIQUE KEY `playerid` (`playerid`),
      KEY `name` (`name`),
      KEY `blacklist` (`blacklist`)
      ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;

      -- ----------------------------
      -- Table structure for `users`
      -- ----------------------------
      DROP TABLE IF EXISTS `users`;
      CREATE TABLE `users` (
      `user_id` int(5) NOT NULL AUTO_INCREMENT,
      `user_name` varchar(25) NOT NULL,
      `user_email` varchar(35) NOT NULL,
      `user_pass` varchar(255) NOT NULL,
      `user_steam` varchar(18) NOT NULL,
      `user_tsid` varchar(30) NOT NULL,
      PRIMARY KEY (`user_id`)
      ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

      -- ----------------------------
      -- Records of users
      -- ----------------------------

      -- ----------------------------
      -- Table structure for `vehicles`
      -- ----------------------------
      DROP TABLE IF EXISTS `vehicles`;
      CREATE TABLE `vehicles` (
      `id` int(12) NOT NULL AUTO_INCREMENT,
      `side` varchar(15) NOT NULL,
      `classname` varchar(32) NOT NULL,
      `type` varchar(12) NOT NULL,
      `pid` varchar(32) NOT NULL,
      `alive` tinyint(1) NOT NULL DEFAULT '1',
      `active` tinyint(1) NOT NULL DEFAULT '0',
      `plate` int(20) NOT NULL,
      `color` int(20) NOT NULL,
      `inventory` varchar(500) NOT NULL,
      `insure` int(1) NOT NULL DEFAULT '0',
      `gear` varchar(500) NOT NULL,
      `fuel` int(2) NOT NULL,
      PRIMARY KEY (`id`),
      KEY `side` (`side`),
      KEY `pid` (`pid`),
      KEY `type` (`type`)
      ) ENGINE=InnoDB AUTO_INCREMENT=165 DEFAULT CHARSET=latin1;

      -- ----------------------------
      -- Table structure for `wanted`
      -- ----------------------------
      DROP TABLE IF EXISTS `wanted`;
      CREATE TABLE `wanted` (
      `wantedID` varchar(50) NOT NULL,
      `wantedName` varchar(52) NOT NULL,
      `wantedCrimes` text NOT NULL,
      `wantedBounty` int(100) NOT NULL,
      `active` tinyint(1) NOT NULL DEFAULT '0',
      PRIMARY KEY (`wantedID`)
      ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

      -- ----------------------------
      -- Records of wanted
      -- ----------------------------

      -- ----------------------------
      -- Procedure structure for `deleteDeadVehicles`
      -- ----------------------------
      DROP PROCEDURE IF EXISTS `deleteDeadVehicles`;
      DELIMITER ;;
      CREATE DEFINER=`arma3`@`localhost` PROCEDURE `deleteDeadVehicles`()
      BEGIN
      DELETE FROM `vehicles` WHERE `alive` = 0;
      END
      ;;
      DELIMITER ;

      -- ----------------------------
      -- Procedure structure for `deleteOldContainers`
      -- ----------------------------
      DROP PROCEDURE IF EXISTS `deleteOldContainers`;
      DELIMITER ;;
      CREATE DEFINER=`arma3`@`localhost` PROCEDURE `deleteOldContainers`()
      BEGIN
      DELETE FROM `containers` WHERE `owned` = 0;
      END
      ;;
      DELIMITER ;

      -- ----------------------------
      -- Procedure structure for `deleteOldGangs`
      -- ----------------------------
      DROP PROCEDURE IF EXISTS `deleteOldGangs`;
      DELIMITER ;;
      CREATE DEFINER=`arma3`@`localhost` PROCEDURE `deleteOldGangs`()
      BEGIN
      DELETE FROM `gangs` WHERE `active` = 0;
      END
      ;;
      DELIMITER ;

      -- ----------------------------
      -- Procedure structure for `deleteOldHouses`
      -- ----------------------------
      DROP PROCEDURE IF EXISTS `deleteOldHouses`;
      DELIMITER ;;
      CREATE DEFINER=`arma3`@`localhost` PROCEDURE `deleteOldHouses`()
      BEGIN
      DELETE FROM `houses` WHERE `owned` = 0;
      END
      ;;
      DELIMITER ;

      -- ----------------------------
      -- Procedure structure for `resetLifeVehicles`
      -- ----------------------------
      DROP PROCEDURE IF EXISTS `resetLifeVehicles`;
      DELIMITER ;;
      CREATE DEFINER=`arma3`@`localhost` PROCEDURE `resetLifeVehicles`()
      BEGIN
      UPDATE `vehicles` SET `active`= 0;
      END
      ;;
      DELIMITER ;
      Contact GitHub API Training Shop Blog About
      © 2016 GitHub, Inc. Terms Privacy Security Status Help

      Ich kriege immer diese Fehler Meldung das ist keine Rechte habe.

    • John Hannibal Smith
      Fortgeschrittener
      Reaktionen
      27
      Trophäen
      10
      Beiträge
      266
      • 17. Juli 2016 um 21:44
      • #2

      Was für ein Server ist es?
      Nutzt du Plesk?
      PhPmyadmin?
      In deinem Code oben ist keine Fehlermeldung... Bitte erkläre genauer was du meinst.

      georgepeppard.jpg"Ich liebe es, wenn ein Plan funktioniert!"

      ~ Col. John 'Hannibal' Smith


      Good to know:

      Spyglass benutzen ohne Frust
      Spielerinteraktionsmenü für Zivilisten

      Für private gemoddete Missionen komm doch auf den TeamSpeak realhunters.de oder auf diesen Discord!

    • HelperLee
      Amateur
      Reaktionen
      12
      Trophäen
      9
      Beiträge
      181
      • 17. Juli 2016 um 22:00
      • #3

      ich habe das jetzt so geändert das es funktioniert.

      Arma 3 Server Altis Life

      PhPmyadmin

      Aber meine Garage funktioniert nicht

    • Azoni
      Schüler
      Reaktionen
      50
      Trophäen
      11
      Beiträge
      157
      Bilder
      1
      • 17. Juli 2016 um 23:19
      • #4

      Wenn du einen Root hast funktioniert es so ^^
      Falls du einen prepaid Server hast musst du die Definer rausnehmen, da diese von den meisten Hostern geblockt werden.
      MfG Azoni

      Eat Sleep Code Repeat

    • nox 25. März 2023 um 00:47

      Hat das Thema aus dem Forum Hilfeforum - ArmA 3 nach Archiv verschoben.

    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™