keine Verbindung mit was?
Er konnte keine Verbindung aufbauen zur Datenbank .
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.
keine Verbindung mit was?
Er konnte keine Verbindung aufbauen zur Datenbank .
disableChannels[] = {{0,true,true},{1,true,true},{2,true,true}}; // Disabled text and voice for global, side, and command channels. Syntax: disableChannels[] = {{channelID<number>, disableChat<bool>, disableVoice<bool>}};
overviewText = "$STR_MISC_overviewText"; // Text to be displayed below the overviewPicture on the mission selection screen when the mission is available to play.
#include "config\Config_SpyGlass.hpp"
#include "CfgRemoteExec.hpp"
#include "dialog\MasterHandler.hpp"
#include "config\Config_Master.hpp"
#include "dialog\agb.hpp"
#include "derleon\Scripts_Master.hpp"
#include "infiSTAR_AdminMenu.hpp"
class CfgServer {
DebugMode = 0; //Enable many server/hc debugging logs. Default: 0 (1 = Enabled / 0 = Disabled)
HeadlessSupport = 0; //Enable/Disable Headless client support. Default: 1 (1 = Enabled / 0 = Disabled)
/*
Enabled: When HeadlessSupport is set to 1 (enabled), the server will run without fault when no Headless Client is connected. However, it will support the Headless Client if you choose to connect one.
Disabled: If HeadlessSupport is set to 0 (disabled), the connection of a Headless Client will make no difference. This option will increase server performance a TINY but negligible amount.
*/
};
class RscTitles {
#include "dialog\progress.hpp"
#include "dialog\hud_nameTags.hpp"
#include "dialog\hud_stats.hpp"
#include "dialog\statusBar.hpp"
#include "maverick\maverick_master.cpp"
};
class CfgFunctions {
#include "cation\cation_functions.cpp"
#include "Functions.hpp"
#include "maverick\maverick_functions_master.cpp"
};
class CfgSounds {
sounds[] = {};
class sirenLong {
name = "sirenLong";
sound[] = {"", 1.0, 1};
titles[] = {};
};
class medicSiren {
name = "medicSiren";
sound[] = {"", 2.0, 1};
titles[] = {};
};
class tazerSound {
name = "tazerSound";
sound[] = {"\sounds\tazer.ogg", 0.25, 1};
titles[] = {};
};
class flashbang {
name = "flashbang";
sound[] = {"\sounds\flashbang.ogg", 1.0, 1};
titles[] = {};
};
class mining {
name = "mining";
sound[] = {"\sounds\mining.ogg", 1.0, 1};
titles[] = {};
};
class harvest {
name = "harvest";
sound[] = {"\sounds\harvest.ogg", 1.0, 1};
titles[] = {};
};
class lockCarSound {
name = "lockCarSound";
sound[] = {"\sounds\carLock.ogg", 0.25, 1};
titles[] = {};
};
class unlockCarSound {
name = "unlockCarSound";
sound[] = {"\sounds\carUnlock.ogg", 0.25, 1};
titles[] = {};
};
class intro {
name = "intro";
sound[] = {"\sounds\intro.ogg", 0.25, 1};
titles[] = {};
};
class Abhaengig_Sound
{
name = "Abhaengig_Sound";
sound[] = {"\sounds\Abhaengig_Sound.ogg", 1.0, 1};
titles[] = {};
};
class Heroin_sound
{
name = "Heroin_sound";
sound[] = {"\sounds\Heroin_sound.ogg", 1.0, 1};
titles[] = {};
};
class Cocaine_sound
{
name = "Cocaine_sound";
sound[] = {"\sounds\Cocaine_sound.ogg", 1.0, 1};
titles[] = {};
};
class Weed_sound
{
name = "Weed_sound";
sound[] = {"\sounds\Weed_sound.ogg", 1.0, 1};
titles[] = {};
};
};
class CfgDebriefing {
class NotWhitelisted {
title = "$STR_NotWhitelisted_Title";
subtitle = "$STR_NotWhitelisted_SubTitle";
description = "$STR_NotWhitelisted_Descript";
pictureBackground = "";
picture = "";
pictureColor[] = {0,0.3,0.6,1};
};
class Blacklisted {
title = "$STR_Blacklisted_Title";
subtitle = "$STR_Blacklisted_SubTitle";
description = "$STR_Blacklisted_Descript";
pictureBackground = "";
picture = "";
pictureColor[] = {0,0.3,0.6,1};
};
class CfgNotifications {
class MedicalRequestEmerg {
title = "$STR_MedicalRequestEmerg_Title";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
description = "%1";
duration = 5;
priority = 7;
};
class DeliveryAssigned {
title = "$STR_DeliveryAssigned_Title";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
description = "%1";
duration = 10;
priority = 7;
};
class DeliveryFailed {
title = "$STR_DeliveryFailed_Title";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskiconfailed_ca.paa";
description = "%1";
duration = 7;
priority = 7;
};
class DeliverySucceeded {
title = "$STR_DeliverySucceeded_Title";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcondone_ca.paa";
description = "%1";
duration = 6;
priority = 6;
};
class TextMessage {
title = "$STR_TextMessage_Title";
iconPicture = "icons\ico_messageNew.paa";
description = "%1";
duration = 10;
priority = 6;
};
class PoliceDispatch {
title = "$STR_PoliceDispatch_Title";
iconPicture = "icons\ico_messagePolice.paa";
description = "%1";
duration = 10;
priority = 6;
};
class AdminDispatch {
title = "$STR_AdminDispatch_Title";
iconPicture = "icons\ico_messageAdmin.paa";
description = "%1";
duration = 10;
priority = 6;
};
class AdminMessage {
title = "$STR_AdminMessage_Title";
iconPicture = "icons\ico_messageAdmin.paa";
description = "%1";
duration = 10;
priority = 5;
};
};
#include "cation\cation_master.cpp"
Alles anzeigen
Nicht wunder warum dort die MySQL Datenbank nicht drin steht musste es entfernen da ich sonst keine Verbindung bekommen habe. ( Habe es nach diesem Tutorial gemacht: EXTDB3: ERROR WITH DATABASE CONNECTION ALTIS LIFE 5.0.0
( Letzter Beitrag auf der letzten Seite )
Macht leider keinen Unterschied . Immer noch der schwarze Bildschirm. Jedoch kann ich herumlaufen zumindestens hört sich das so an. Ich denke das ich auf der Spawninsel rumlaufen kann aber halt nichts sehe und so^^
Im Anhang nochmal ein paar Logs
Hmm das ist jetzt doof Möchtest du mal über TV oder so drüber gucken?^^
Also wenn ich mir die Datein so ansehe sehe ich kein Fehler. ( Bin aber noch relativ am Anfang was Arma scripting angeht )
Hier mal die Datein:
init.sqf :
#include "..\script_macros.hpp"
/*
File: init.sqf
Author: Bryan "Tonic" Boardwine
Description:
Master client initialization file
*/
private ["_handle","_timeStamp","_extDB_notLoaded"];
life_firstSpawn = true;
life_session_completed = false;
0 cutText[localize "STR_Init_ClientSetup","BLACK FADED"];
0 cutFadeOut 9999999;
_timeStamp = diag_tickTime;
_extDB_notLoaded = "";
diag_log "----------------------------------------------------------------------------------------------------";
diag_log "--------------------------------- Starting Altis Life Client Init ----------------------------------";
diag_log "------------------------------------------ Version 5.0.0 -------------------------------------------";
diag_log "----------------------------------------------------------------------------------------------------";
waitUntil {!isNull player && player == player}; //Wait till the player is ready
[] call compile preprocessFileLineNumbers "core\clientValidator.sqf";
enableSentences false;
//Setup initial client core functions
diag_log "::Life Client:: Initialization Variables";
[] call compile preprocessFileLineNumbers "core\configuration.sqf";
diag_log "::Life Client:: Variables initialized";
diag_log "::Life Client:: Setting up Eventhandlers";
[] call life_fnc_setupEVH;
diag_log "::Life Client:: Eventhandlers completed";
diag_log "::Life Client:: Setting up user actions";
[] call life_fnc_setupActions;
diag_log "::Life Client:: User actions completed";
diag_log "::Life Client:: Waiting for server functions to transfer..";
waitUntil {(!isNil "TON_fnc_clientGangLeader")};
diag_log "::Life Client:: Received server functions.";
0 cutText [localize "STR_Init_ServerReady","BLACK FADED"];
0 cutFadeOut 99999999;
diag_log "::Life Client:: Waiting for the server to be ready..";
waitUntil {!isNil "life_server_isReady"};
waitUntil {!isNil "life_HC_isActive" && {!isNil "life_server_extDB_notLoaded"}};
if (life_server_extDB_notLoaded) exitWith {
999999 cutText [localize "STR_Init_ExtdbFail","BLACK FADED"];
999999 cutFadeOut 99999999;
};
waitUntil {life_server_isReady};
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[localize "STR_Init_ClientFinish","BLACK FADED"];
0 cutFadeOut 9999999;
//diag_log "::Life Client:: Group Base Execution";
[] spawn life_fnc_escInterupt;
//Set bank amount for new players
switch (playerSide) do {
case west: {
life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_cop");
};
case civilian: {
life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_civ");
};
case independent: {
life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_med");
};
};
switch (playerSide) do {
case west: {
_handle = [] spawn life_fnc_initCop;
waitUntil {scriptDone _handle};
};
case civilian: {
//Initialize Civilian Settings
_handle = [] spawn life_fnc_initCiv;
waitUntil {scriptDone _handle};
};
case independent: {
//Initialize Medics and blah
_handle = [] spawn life_fnc_initMedic;
waitUntil {scriptDone _handle};
};
};
player setVariable ["restrained",false,true];
player setVariable ["Escorting",false,true];
player setVariable ["transporting",false,true];
player setVariable ["playerSurrender",false,true];
diag_log "Past Settings Init";
[] execFSM "core\fsm\client.fsm";
diag_log "Executing client.fsm";
waitUntil {!(isNull (findDisplay 46))};
diag_log "Display 46 Found";
(findDisplay 46) displayAddEventHandler ["KeyDown", "_this call life_fnc_keyHandler"];
player addRating 99999999;
[player,life_settings_enableSidechannel,playerSide] remoteExecCall ["TON_fnc_manageSC",RSERV];
0 cutText ["","BLACK IN"];
[] call life_fnc_hudSetup;
/* Set up frame-by-frame handlers */
// LIFE_ID_PlayerTags = ["LIFE_PlayerTags","onEachFrame","life_fnc_playerTags"] call BIS_fnc_addStackedEventHandler;
LIFE_ID_RevealObjects = ["LIFE_RevealObjects","onEachFrame","life_fnc_revealObjects"] call BIS_fnc_addStackedEventHandler;
player setVariable ["steam64ID",getPlayerUID player];
player setVariable ["realname",profileName,true];
life_fnc_moveIn = compileFinal
"
life_disable_getIn = false;
player moveInCargo (_this select 0);
life_disable_getOut = true;
";
life_fnc_RequestClientId = player;
publicVariableServer "life_fnc_RequestClientId"; //Variable OwnerID for HeadlessClient
[] spawn life_fnc_survival;
[] spawn {
for "_i" from 0 to 1 step 0 do {
waitUntil {(!isNull (findDisplay 49)) && {(!isNull (findDisplay 602))}}; // Check if Inventory and ESC dialogs are open
(findDisplay 49) closeDisplay 2; // Close ESC dialog
(findDisplay 602) closeDisplay 2; // Close Inventory dialog
};
};
CONSTVAR(life_paycheck); //Make the paycheck static.
if (LIFE_SETTINGS(getNumber,"enable_fatigue") isEqualTo 0) then {player enableFatigue false;};
if (LIFE_SETTINGS(getNumber,"pump_service") isEqualTo 1) then {
[] execVM "core\fn_setupStationService.sqf";
};
/*
https://feedback.bistudio.com/T117205 - disableChannels settings cease to work when leaving/rejoining mission
Universal workaround for usage in a preInit function. - AgentRev
Remove if Bohemia actually fixes the issue.
*/
{
_x params [["_chan",-1,[0]], ["_noText","false",[""]], ["_noVoice","false",[""]]];
_noText = [false,true] select ((["false","true"] find toLower _noText) max 0);
_noVoice = [false,true] select ((["false","true"] find toLower _noVoice) max 0);
_chan enableChannel [!_noText, !_noVoice];
} forEach getArray (missionConfigFile >> "disableChannels");
if (life_HC_isActive) then {
[getPlayerUID player,player getVariable ["realname",name player]] remoteExec ["HC_fnc_wantedProfUpdate",HC_Life];
} else {
[getPlayerUID player,player getVariable ["realname",name player]] remoteExec ["life_fnc_wantedProfUpdate",RSERV];
};
life_hideoutBuildings = [];
{
private _building = nearestBuilding getMarkerPos _x;
life_hideoutBuildings pushBack _building;
false
} count ["gang_area_1","gang_area_2","gang_area_3"];
//DynMarket
DYNAMICMARKET_boughtItems = [];
[player] remoteExec ["TON_fnc_playerLogged",RSERV];
diag_log "----------------------------------------------------------------------------------------------------";
diag_log format [" End of Altis Life Client Init :: Total Execution Time %1 seconds ",(diag_tickTime) - _timeStamp];
diag_log "----------------------------------------------------------------------------------------------------";
[] spawn life_fnc_autoSaveInv;
Alles anzeigen
fn_setupEVH.sqf:
/*
File: fn_setupEVH.sqf
Author: Bryan "Tonic" Boardwine
Description:
Master eventhandler file
*/
player addEventHandler["Killed", {_this call life_fnc_onPlayerKilled}];
player addEventHandler["handleDamage",{_this call life_fnc_handleDamage;}];
player addEventHandler["Respawn", {_this call life_fnc_onPlayerRespawn}];
player addEventHandler["Take",{_this call life_fnc_onTakeItem}]; //Prevent people from taking stuff they shouldn't...
player addEventHandler["Fired",{_this call life_fnc_onFired}];
player addEventHandler["InventoryClosed", {_this call life_fnc_inventoryClosed}];
player addEventHandler["InventoryOpened", {_this call life_fnc_inventoryOpened}];
Alles anzeigen
Ok so wie es aussieht sind dort viele Errors
Die datenbank an sich ist leer dort sind keine Einträge drin. Habe nun einen Eintrag hinzugefügt wie du gesagt hast jedoch hat sich nichts geändert. Der Fehler im Log ist zwar weg aber dennoch kommt noch der Schwarze Bildschirm . Im Anhang nochmal der neuste Log.
Scheint alles zu passen in der Datei.
Zeige mal den SQL Code, mit dem du die Datenbank angelegt hast.
Er scheint die Daten aus der Datenbank nicht korrekt zu lesen.
Ich habe die alte Datenbank geleert und habe dann eine vorgefertigte Datei eingefügt die mit bei dem Scriptpack dabei war. Ich konnte sie auch ohne Fehler importieren. Aber hier der Code der Datei:
-- phpMyAdmin SQL Dump
-- version 4.6.6
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Erstellungszeit: 20. Feb 2018 um 12:26
-- Server-Version: 10.0.32-MariaDB-0+deb8u1
-- PHP-Version: 5.6.30
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 */;
--
-- Datenbank: `arma3`
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `containers`
--
CREATE TABLE `containers` (
`id` int(6) NOT NULL,
`pid` varchar(17) 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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `dynmarket`
--
CREATE TABLE `dynmarket` (
`id` int(11) NOT NULL DEFAULT '1',
`prices` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `gangs`
--
CREATE TABLE `gangs` (
`id` int(6) NOT NULL,
`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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `houses`
--
CREATE TABLE `houses` (
`id` int(6) NOT NULL,
`pid` varchar(17) NOT NULL,
`pos` varchar(64) DEFAULT NULL,
`owned` tinyint(1) DEFAULT '0',
`garage` tinyint(1) NOT NULL DEFAULT '0',
`insert_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `players`
--
CREATE TABLE `players` (
`uid` int(6) NOT NULL,
`name` varchar(32) NOT NULL,
`aliases` text NOT NULL,
`pid` varchar(17) 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','14','15','16','17') NOT NULL DEFAULT '0',
`mediclevel` enum('0','1','2','3','4','5','6','7','8','9','10','11') 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 NOT NULL DEFAULT CURRENT_TIMESTAMP,
`last_seen` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `users`
--
CREATE TABLE `users` (
`userId` int(11) NOT NULL,
`userName` varchar(30) NOT NULL,
`userEmail` varchar(60) NOT NULL,
`userPass` varchar(255) NOT NULL,
`isAdmin` int(11) DEFAULT NULL,
`isMedic` int(11) DEFAULT NULL,
`isCop` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `vehicles`
--
CREATE TABLE `vehicles` (
`id` int(6) NOT NULL,
`side` varchar(16) NOT NULL,
`classname` varchar(64) NOT NULL,
`type` varchar(16) NOT NULL,
`pid` varchar(17) 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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `wanted`
--
CREATE TABLE `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Indizes der exportierten Tabellen
--
--
-- Indizes für die Tabelle `containers`
--
ALTER TABLE `containers`
ADD PRIMARY KEY (`id`,`pid`);
--
-- Indizes für die Tabelle `dynmarket`
--
ALTER TABLE `dynmarket`
ADD PRIMARY KEY (`id`);
--
-- Indizes für die Tabelle `gangs`
--
ALTER TABLE `gangs`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `name_UNIQUE` (`name`);
--
-- Indizes für die Tabelle `houses`
--
ALTER TABLE `houses`
ADD PRIMARY KEY (`id`,`pid`);
--
-- Indizes für die Tabelle `players`
--
ALTER TABLE `players`
ADD PRIMARY KEY (`uid`),
ADD UNIQUE KEY `pid` (`pid`),
ADD KEY `name` (`name`),
ADD KEY `blacklist` (`blacklist`);
--
-- Indizes für die Tabelle `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`userId`),
ADD UNIQUE KEY `userEmail` (`userEmail`);
--
-- Indizes für die Tabelle `vehicles`
--
ALTER TABLE `vehicles`
ADD PRIMARY KEY (`id`),
ADD KEY `side` (`side`),
ADD KEY `pid` (`pid`),
ADD KEY `type` (`type`);
--
-- Indizes für die Tabelle `wanted`
--
ALTER TABLE `wanted`
ADD PRIMARY KEY (`wantedID`);
--
-- AUTO_INCREMENT für exportierte Tabellen
--
--
-- AUTO_INCREMENT für Tabelle `containers`
--
ALTER TABLE `containers`
MODIFY `id` int(6) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=93;
--
-- AUTO_INCREMENT für Tabelle `gangs`
--
ALTER TABLE `gangs`
MODIFY `id` int(6) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=57;
--
-- AUTO_INCREMENT für Tabelle `houses`
--
ALTER TABLE `houses`
MODIFY `id` int(6) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=175;
--
-- AUTO_INCREMENT für Tabelle `players`
--
ALTER TABLE `players`
MODIFY `uid` int(6) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1406;
--
-- AUTO_INCREMENT für Tabelle `users`
--
ALTER TABLE `users`
MODIFY `userId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT für Tabelle `vehicles`
--
ALTER TABLE `vehicles`
MODIFY `id` int(6) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1767;
/*!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
Hat der User denn genug Rechte die Daten auszulesen? kleinkiko
Dadurch das ich den Server bei Nitrado hoste kann ich soweit ich weiß nichts an der berechtigung ändern^^
/*
##################### DYNAMIC MARKET SCRIPT #####################
### AUTHOR: RYAN TT. ###
### STEAM: www.steamcommunity.com/id/ryanthett ###
### ###
### DISCLAIMER: THIS SCRIPT CAN BE USED ON EVERY SERVER ONLY ###
### WITH THIS HEADER / NOTIFICATION ###
#################################################################
*/
_switch = _this select 0;
_whatanumber = 1;
switch (_switch) do
{
case 0:
{
_query = format["UPDATE dynmarket SET prices = '%1' WHERE id=1;",DYNMARKET_Items_CurrentPriceArr];
waitUntil {sleep (random 0.3); !DB_Async_Active};
_queryResult = [_query,1] call DB_fnc_asyncCall;
diag_log "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###";
};
case 1:
{
_query = format["SELECT prices FROM dynmarket WHERE id=1;"];
waitUntil{sleep (random 0.3); !DB_Async_Active};
_tickTime = diag_tickTime;
_queryResult = [_query,2] call DB_fnc_asyncCall;
//DYNMARKET_Items_CurrentPriceArr = _queryResult select 0;
_pricearray = _queryResult select 0;
if (count _pricearray < 1) then {
diag_log "########################## DYNAMIC MARKET ##########################";
diag_log "### >> CAN'T LOAD PRICES FROM DATABASE: ERROR 01x ###";
diag_log "### THE REQUESTED PRICEARRAY WAS UNEXPECTEDLY EMPTY! ###";
diag_log "### IF YOU ARE RUNNING DYNMARKET FOR THE FIRST TIME, ###";
diag_log "### PLEASE IGNORE THIS ERROR! ###";
diag_log "####################################################################";
} else {
DYNMARKET_Items_CurrentPriceArr = _pricearray;
{
_itemName = _x select 0;
_itemNewPrice = _x select 1;
_index = -1;
{
_index = _index + 1;
_curItemName = _x select 0;
if (_curItemName==_itemName) then {
DYNMARKET_sellarraycopy set [_index,[_itemName,_itemNewPrice]];
};
} forEach DYNMARKET_sellarraycopy;
} forEach DYNMARKET_Items_CurrentPriceArr;
diag_log "########################## DYNAMIC MARKET ##########################";
diag_log "### >> SUCCESSFULLY LOADED PRICES FROM DATABASE! ###";
diag_log "####################################################################";
};
};
};
Alles anzeigen
Hier die komplette Datei
Die Datenbank habe ich berreits neu aufgesetzt und dann die Datenbank importiert die bei dem Scriptpack dabei war.
Die Warning habe ich nun weg jedoch weiß ich nicht wie ich das mit dem Error machen soll.
Hallo,
immer wenn ich auf den Server joinen möchte kommt immer der schwarze Bildschirm mit dem Text: warte bis der server bereit ist..
Ich habe nun schon mehrmals die Datenbank neu aufgesetzt und alle Configs überprüft. Die Logs helfen mir persönlich auch nicht so viel da ich mich auch noch nicht alt zu gut damit auskenne.
( Ich benutze zum Testen das modded Script aus der Downloaddatenbank: HIER )
Ich habe an sich nichts geändert außer halt die MySQL daten eingetragen.
extdb3 Config:
[Main]
Version = 1
Randomize Config File = false
;; Randomizes Config File after loading.
;; Recommend to turn on, if you have enabled filepatching on arma.
Allow Reset = false
;; Allows 9:RESET, usefull for development work
Thread = 0;
;; Option to force number of worker threads for extDB3.
;; Auto = 0, Min = 2, Max = 6
[Log]
Flush = true;
;; Flush logfile after each update.
;; Option really only usefull if running DEBUG BUILD
[altislife]
IP = ms1307.nitrado.net
Port = 3306
Username = ni368038_1_DB
Password = HierStehtEinPW
Database = ni368038_1_DB
Alles anzeigen
Im Anhang findet man einmal den extdb Log sowie denn arma3server log rpt
Falls noch irgendwelche Infos etc benötigt werden einfach melden Danke schon mal im Vorraus