https://github.com/AsYetUntitled/…ons/fn_mine.sqf
Zeile 91, kein Problem
Und wo wird definiert, dass dies für die Spitzhacke ist?
https://github.com/AsYetUntitled/…ons/fn_mine.sqf
Zeile 91, kein Problem
Und wo wird definiert, dass dies für die Spitzhacke ist?
Moin,
kann mir vielleicht einer helfen und mir sagen wo genau der Sound der Spitzhacke definiert. Das der Sound in der description definiert ist weiß ich. Aber wo wird festgelegt das beim Farmen einer Ressource wo die Spitzhacke benötigt wird der Sound angespielt wird.
Ich würde gerne eine Schaufel und eine Axt mit einbinden. Sounds dafür habe ich genauso wie das Vitem. Aber wenn ich zu einer Ressource gehe wo ich das beides definiert habe klappt es zwar das genau das benutzt wird aber es wird der Spitzhacken Sound abgespielt.
Vielleicht kann mir einer sagen wo und wie ich das einstelle. Hab schon überall gesucht und probiert.
Grüße
Frametiger
Problem ist gelöst. Ich hatte in der Configuration.SQF die Ausklammerung falsch gesetzt! Alles läuft!
11:11:14 Error Ungültige Zahl in Ausdruck
11:11:14 File mpmissions\__CUR_MP.Altis\core\configuration.sqf..., line 88
11:11:14 Error in expression <y = false;
life_adminHovering = false;
zum Beispiel. Vielleicht nochmal genau überprüfen was du eingefügt hast.
Also könnte es am Admin menu liegen, dass ich eingefügt habe? Die Fehler in der Log Sehe ich ja auch. Aber in der sqf bin ich gefühlt blind
Moin,
ich habe das Problem, dass ich auf meinem Testserver auf der Spawninsel spawne und mein Z Inventar nicht nutzen kann. Es klappt nichts.
Also habe ich mir meine Logs angeguckt. Im Server und der DB habe ich soweit nichts gefunden.
In meinem Client Log habe ich aber ein Haufen Fehlermeldungen. Ich kann den Fehler in meinen Dateien aber nicht ausfindig machen.
Vielleicht weiß ja jemand was da los ist.
11:11:14 "----------------------------------------------------------------------------------------------------"
11:11:14 "--------------------------------- Starting Altis Life Client Init ----------------------------------"
11:11:14 "------------------------------------------ Version 5.0.0 -------------------------------------------"
11:11:14 "----------------------------------------------------------------------------------------------------"
11:11:14 Mission id: 92697aa3ae6aacbeb810215510954540d4ad8413
11:11:14 "[Life Client] Initialization Variables"
11:11:14 Error in expression <y = false;
life_adminHovering = false;
*****************************
****** Lif>
11:11:14 Error position: <*****************************
****** Lif>
11:11:14 Error Ungültige Zahl in Ausdruck
11:11:14 File mpmissions\__CUR_MP.Altis\core\configuration.sqf..., line 88
11:11:14 Error in expression <y = false;
life_adminHovering = false;
*****************************
****** Lif>
11:11:14 Error position: <*****************************
****** Lif>
11:11:14 Error Ungültige Zahl in Ausdruck
11:11:14 File mpmissions\__CUR_MP.Altis\core\configuration.sqf..., line 88
11:11:14 "[Life Client] Variables initialized"
11:11:14 "[Life Client] Setting up Eventhandlers"
11:11:14 "[Life Client] Eventhandlers completed"
11:11:14 "[Life Client] Setting up user actions"
11:11:14 "[Life Client] User actions completed"
11:11:14 "[Life Client] Waiting for the server to be ready..."
11:11:14 "[Life Client] Server loading completed "
11:11:14 Error in expression <private ["_uid","_side","_sender"];
if (life_session_completed) exitWith {};
_s>
11:11:14 Error position: <life_session_completed) exitWith {};
_s>
11:11:14 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:14 File mpmissions\__CUR_MP.Altis\core\session\fn_dataQuery.sqf..., line 11
11:11:14 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:14 Error position: <life_session_completed};
0 cutText[local>
11:11:14 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:14 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:14 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
Error position: <life_session_completed};
0 cutText[local>
Error Undefined behavior: waitUntil returned nil. True or false expected.
11:11:14 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:14 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:14 Error position: <life_session_completed};
0 cutText[local>
11:11:14 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:14 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:14 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:14 Error position: <life_session_completed};
0 cutText[local>
11:11:14 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:14 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:14 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:14 Error position: <life_session_completed};
0 cutText[local>
11:11:14 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:14 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:14 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:14 Error position: <life_session_completed};
0 cutText[local>
11:11:14 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:14 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:15 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:15 Error position: <life_session_completed};
0 cutText[local>
11:11:15 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:15 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:15 Error in expression <unt = count _this;
life_session_tries = life_session_tries + 1;
if (life_session>
11:11:15 Error position: <life_session_tries + 1;
if (life_session>
11:11:15 Error Nicht definierte Variable in Ausdruck: life_session_tries
11:11:15 File mpmissions\__CUR_MP.Altis\core\session\fn_requestReceived.sqf..., line 12
11:11:15 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:15 Error position: <life_session_completed};
0 cutText[local>
11:11:15 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:15 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:15 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:15 Error position: <life_session_completed};
0 cutText[local>
11:11:15 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:15 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:15 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:15 Error position: <life_session_completed};
0 cutText[local>
11:11:15 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:15 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:15 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:15 Error position: <life_session_completed};
0 cutText[local>
11:11:15 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:15 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:15 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:15 Error position: <life_session_completed};
0 cutText[local>
11:11:15 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:15 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:15 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:15 Error position: <life_session_completed};
0 cutText[local>
11:11:15 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:15 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:15 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:15 Error position: <life_session_completed};
0 cutText[local>
11:11:15 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:15 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:15 Error in expression <
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[local>
11:11:15 Error position: <life_session_completed};
0 cutText[local>
11:11:15 Error Nicht definierte Variable in Ausdruck: life_session_completed
11:11:15 File mpmissions\__CUR_MP.Altis\core\init.sqf..., line 44
11:11:15 Error in expression <Until {!(isNull (findDisplay 46))};
if (life_is_alive && !life_is_arrested) then>
11:11:15 Error position: <life_is_alive && !life_is_arrested) then>
11:11:15 Error Nicht definierte Variable in Ausdruck: life_is_alive
11:11:15 File mpmissions\__CUR_MP.Altis\core\fn_initCiv.sqf..., line 19
11:11:15 "[Life Client] Past Settings Init"
11:11:15 "[Life Client] Executing client.fsm"
11:11:15 Warning Message: Picture vindicateassets\images\textures\hud\water0.paa not found
11:11:15 Warning Message: Picture vindicateassets\images\textures\hud\health0.paa not found
11:11:15 Warning Message: Picture vindicateassets\images\textures\hud\food0.paa not found
11:11:15 "[Admin Init] Setting up Variables"
11:11:15 "Finished Admin Init initialization"
11:11:15 "----------------------------------------------------------------------------------------------------"
11:11:15 " End of Altis Life Client Init :: Total Execution Time 1.276 seconds "
11:11:15 "----------------------------------------------------------------------------------------------------"
#include "..\script_macros.hpp"
/*
File: init.sqf
Author: Bryan "Tonic" Boardwine
Description:
Master client initialization file
*/
diag_log "----------------------------------------------------------------------------------------------------";
diag_log "--------------------------------- Starting Altis Life Client Init ----------------------------------";
diag_log format["------------------------------------------ Version %1 -------------------------------------------",(LIFE_SETTINGS(getText,"framework_version"))];
diag_log "----------------------------------------------------------------------------------------------------";
0 cutText[localize "STR_Init_ClientSetup","BLACK FADED",99999999];
_timeStamp = diag_tickTime;
waitUntil {!isNull (findDisplay 46)};
[] call compile preprocessFileLineNumbers "core\clientValidator.sqf";
enableSentences false;
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 the server to be ready...";
waitUntil {!isNil "life_server_isReady" && {!isNil "life_server_extDB_notLoaded"}};
if (life_server_extDB_notLoaded) exitWith {
0 cutText [localize "STR_Init_ExtdbFail","BLACK FADED",99999999];
};
waitUntil {life_server_isReady};
diag_log "[Life Client] Server loading completed ";
0 cutText [localize "STR_Init_ServerReady","BLACK FADED",99999999];
[] call SOCK_fnc_dataQuery;
waitUntil {life_session_completed};
0 cutText[localize "STR_Init_ClientFinish","BLACK FADED",99999999];
[] spawn life_fnc_escInterupt;
switch (playerSide) do {
case west: {
life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_cop");
[] call life_fnc_initCop;
};
case civilian: {
life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_civ");
[] call life_fnc_initCiv;
};
case independent: {
life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_med");
[] call life_fnc_initMedic;
};
};
CONSTVAR(life_paycheck);
player setVariable ["restrained", false, true];
player setVariable ["Escorting", false, true];
player setVariable ["transporting", false, true];
player setVariable ["playerSurrender", false, true];
player setVariable ["realname", profileName, true];
diag_log "[Life Client] Past Settings Init";
[] execFSM "core\fsm\client.fsm";
diag_log "[Life Client] Executing client.fsm";
if (isNil "The_programmer_initialised") then { (findDisplay 46) displayAddEventHandler ["KeyDown", "_this call life_fnc_keyHandler"];};
[player, life_settings_enableSidechannel, playerSide] remoteExecCall ["TON_fnc_manageSC", RSERV];
[] call life_fnc_hudSetup;
[] spawn life_fnc_survival;
0 cutText ["","BLACK IN"];
[] 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
};
};
addMissionEventHandler ["EachFrame", life_fnc_playerTags];
addMissionEventHandler ["EachFrame", life_fnc_revealObjects];
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";
};
life_fnc_RequestClientId = player;
publicVariableServer "life_fnc_RequestClientId";
/*
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];
};
diag_log "[Admin Init] Setting up Variables";
[] execVM "admin\init.sqf";
diag_log "Finished Admin Init initialization";
[] spawn theprogrammer_core_fnc_clientInit;
[] spawn The_programmer_Duty_fnc_init_Service;
[] execVM "core\scripts\fn_statusBar.sqf";
diag_log "----------------------------------------------------------------------------------------------------";
diag_log format [" End of Altis Life Client Init :: Total Execution Time %1 seconds ",(diag_tickTime - _timeStamp)];
diag_log "----------------------------------------------------------------------------------------------------";
Moin,
kann mir jemand sagen, wie ich das für die Datenbank freigebe? und noch viel wichtiger. Es ist ja angegeben das Spieler von der WEST an die Kiste können. Ich benutze allerdings das Duty System. Da gibt es ja keine West und Independent.
Grüße