Es ist schon echt heftig wie oft dieses Thema hier im Forum angesprochen wurde, ich habe dasselbe Problem.
Und bevor es jemand erwähnt: Sufu hat mir bisher NIX gebracht, ich sitze schon 4 Tage an diesem Problem...
Ich möchte die Housing-Mod von MarioZ2002 auf meinem Altis Life-Server installieren.
Ich habe mich an die Anleitung gehalten:
- @life_server löschen, die neue ins Hauptverzeichnis reinkopieren
- Im neuen @life_server meine DB angeben und zu einer PBO verpacken
- Die neue @life_server ins Hauptverzeichnis des Servers kopieren
- MPMissions reinkopieren
- Wenn nötig Dateien überschreiben
Anschließend erhielt ich die im Titel genannten Fehler.
Habe anschließend ein wenig selber rumprobiert, einzelne Tipps aus dem Internet und Foren (darunter dieses hier) verwendet, leider ohne Erfolg.
Am Ende bin ich dann auf die @extDB2 - Datei gestoßen und habe das im Log gesehn:
Spoiler anzeigen
extDB2: Version: 71
extDB2: https://github.com/Torndeco/extDB2
extDB2: Windows Version
Message: All development for extDB2 is done on a Linux Dedicated Server
Message: If you would like to Donate to extDB2 Development
Message: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2SUEFTGABTAM2
Message: Also leave a message if there is any particular feature you would like to see added.
Message: Thanks for all the people that have donated.
Message: Torndeco: 20/02/15
extDB2: Found [lexicon]extdb[/lexicon]-conf.ini
extDB2: Detected 32 Cores, Setting up 6 Worker Threads
[16:32:22:030605 +02:00] [Thread 20996] extDB2: No Config Option Found:
Meine [lexicon]extdb[/lexicon]-conf.ini sieht nach alldem rumprobieren nun so aus:
Spoiler anzeigen
[Main]
Version = 5
;Threads = 0
; Default Value is the number of CPU Cores Detected (max value is 6, min value is 2)
Randomize Config File = false
;This is a legacy option to randomize config file for Arma2 Servers. Only for Windows Builds
[Rcon]
;; This is functional, should be working fine. Just needs abit of testing on a $
;; Allow for changing Address for those running server in a VM environment.
IP = 37.10.121.212
Port = 2302
;; Rcon Password i.e Battleye/beserver.cfg
Password = czdnsxsp
;; Bad Player Name Checks
;;This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
Bad Playername Enable = false
Bad Playername Kick Message = Bad Player Name
;; By default : is a bad character (used as seperator for extDB2 Calls (this is hardcoded in)
;;Bad Playername Strings = (:):{:}
;;Bad Playername Regex_1 = [:alnum:]
;;Bad Playername Regex_2 = [:alnum:]
;;Bad Playername Regex_3 = [:alnum:]
;; Whitelisting / Reserve Slots
;;This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
Whitelist Enable = false
Whitelist Kick Message = Only Reserved Slots Left
Whitelist Public Slots = 999
;; Database settings to use (Optional)
Whitelist Database = MySQL_Example
Whitelist SQL Prepared Statement = SELECT CASE WHEN EXISTS(SELECT UID FROM PlayerInfo WHERE BattlEyeGUID=? AND Whitelisted=1) THEN 1 ELSE 0 END
Whitelist Kick on SQL Query Failed = false
;; Hardcoded BEGuids for whitelisted players
;Whitelist BEGuids = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx : yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
[Steam]
;; This is for VAC Protocol for VAC Bans + Steam Friends.
;; https://steamcommunity.com/dev/apikey
API Key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[VAC]
;; This feature requires Steam + Rcon to be enabled.
;; Also this feature is called via SQF Code atm, i.e it doesn't auto detect players joining server yet....
Auto Ban = true
;; For Player to get banned ( their total VAC Bans => NumberOfVACBans) AND ( Days Since their Last Ban was <= DaysSinceLastBan)
;; This is also used extDB Protocol VAC:VACBanned returned results
NumberOfVACBans = 1
DaysSinceLastBan = 999999999
BanDuration = 0
;; 0 = Forever, otherwise its x Minutes
BanMessage = Steam VAC Banned
[Log]
;; Flush Logs after each write, more work on Harddrive
Flush = true
[AltisLife]
Type = MySQL
Name = ni123456_7_DB
Username = ni123456_7_DB
Password = mypassword
IP = ms1234.nitrado.net
Port = 3306
;minSessions = 2
idleTime = 60
compress = false
; Really should only use this if MySQL server is external. Also only for MySQL
Secure Auth = true
; Recommend you turn this on @@e0be1286bebdd86756adf5352ca74c8b1e177215@@
[SQLite_Example]
Type = SQLite
Name = sqlite.db
minSessions = 1
; minSession Default Value = 1
;maxSessions = 4
; maxSession Default Value = number of Main->Threads
; You really should leave this value alone
idleTime = 60
; idleTime no Default Value yet, needs to be defined.
; idleTime is the time before a database session is stopped if not used.
; If Database Sessions are greater than minSessions
Die life_server.pbo habe ich auch anpassen müssen, die sieht nun so aus:
Spoiler anzeigen
#define __CONST__(var1,var2) var1 = compileFinal (if(typeName var2 == "STRING") then {var2} else {str(var2)})
__CONST__(LIFE_SCHEMA_NAME,"'AltisLife'");//CHANGE THIS IF YOUR DATABASE IS NOT CALLED ARMA3LIFE KEEP THE ' '
life_radio_west = radioChannelCreate [[0, 0.95, 1, 0.8], "Side Channel", "%UNIT_NAME", []];
life_radio_civ = radioChannelCreate [[0, 0.95, 1, 0.8], "Side Channel", "%UNIT_NAME", []];
server_query_running = false;
life_DB_queue = [];
serv_sv_use = [];
fed_bank setVariable["fed_rob_ip",false,true];
fed_bank setVariable["fed_locked",false,true];
//Run procedures for SQL cleanup on mission start.
"Arma2Net.Unmanaged" callExtension format ["Arma2NETMySQLCommand ['%2', '%1']", "CALL resetLifeVehicles();",(call LIFE_SCHEMA_NAME)]; //Reset vehicles active state to false.
"Arma2Net.Unmanaged" callExtension format ["Arma2NETMySQLCommand ['%2', '%1']", "CALL deleteDeadVehicles();",(call LIFE_SCHEMA_NAME)]; //Delete dead / non-usable vehicles for cleanup.
life_federal_funds = (count playableUnits) * 750; //Amount the federal reserve is funded.
life_animals_spawned = false;
life_animals_array = [];
[] execVM "\life_server\functions.sqf";
[] execVM "\life_server\eventhandlers.sqf";
//[] call compile preProcessFileLineNumbers "\life_server\SHK_pos\shk_pos_init.sqf"; Not currently used
[] spawn TON_fnc_cleanup;
life_gang_list = [];
publicVariable "life_gang_list";
life_wanted_list = [];
client_session_list = [];
bank_obj setVariable["rob_in_sess",false,true];
robbery_success = 0;
publicVariable "robbery_success";
//[] execFSM "\life_server\cleanup.fsm";
[] execVM "\life_server\initHousing.sqf";
[] spawn
{
private["_logic","_queue"];
while {true} do
{
sleep (30 * 60);
_logic = missionnamespace getvariable ["bis_functions_mainscope",objnull];
_queue = _logic getvariable "BIS_fnc_MP_queue";
_logic setVariable["BIS_fnc_MP_queue",[],TRUE];
};
};
fnc_serv_kick = {endMission "loser";};
publicVariable "fnc_serv_kick";
[] spawn DB_fnc_queueManagement;
//Server-side functions that need to be sent out.
publicVariable "TON_fnc_addVehicle2Chain";
publicVariable "life_fnc_fedSuccess";
[] spawn TON_fnc_federalUpdate;
[] spawn
{
while {true} do
{
sleep (30 * 60);
{
_x setVariable["sellers",[],true];
} foreach [Dealer_1,Dealer_2,Dealer_3];
};
};
//Strip NPC's of weapons
{
if(!isPlayer _x) then {
_npc = _x;
{
if(_x != "") then {
_npc removeWeapon _x;
};
} foreach [primaryWeapon _npc,secondaryWeapon _npc,handgunWeapon _npc];
};
} foreach allUnits;
Bin kurz davor alles nochmal komplett neuzuinstallieren (zum 7. Mal) aber in der Server-Lobby steht nun "Altis Life - Housing" was noch nie zuvor dort stand, also etwas muss ich dann ja richtig gemacht haben
Ich hoffe irgendjemand kann mir helfen