Deshalb habe ich den Screenshot, habe das loging nicht aktiviert, machs aber wieder an, da ich halt die standard 4.4r4 zum testen drauf gemacht habe. Schaffe ich aber nicht mehr heute abend
Beiträge von Matthias Burns
-
-
Ja müsste, aber sollte tortzdem angegeben werden.
So habs getestet.
Folgender Error kommt: -
Ein Tipp: mach das Fn_.... klein in fn_..... und gebe bitte an in welchen Funktion ordner
Bin das Script noch am testen, ich gebe dir später nochmal Rückmeldung
-
Cooles Dingen, ich warte noch ein bisschen die Rezensionen ab, und werde es dann auch testen
Meinst du das Funktioniert auf der 4.4.R4 vanilla direkt? -
#Schritt tres:
Erstellt eine Config_Message.hpp mit folgendem Inhalt in euren config Ordner:
Code
Alles anzeigen/* Author: Crunch Description: Config für das Neue MSG-System und so */ class cfgMsg { class msgTime { //Regelt wie lange die Nachricht da stehen soll in Sekunden class fast {time=5;}; class slow {time=15;}; class msg {time=45;}; }; class msgColors { //Regelt die Farben vom Header im RGBT style class default {rgbt[]={255,137,0,.9};}; class red {rgbt[]={255,0,0,.9};}; class green {rgbt[]={0,255,0,.9};}; class blue {rgbt[]={0,0,255,.9};}; }; class msgSmiley { senabled = 1; smileys[] = { //Example: ["CODE","PFAD ZUM BILD","NAME"]; {":angry:","<img size='.6' image='icons\em_angry.paa'/>","Sauer"}, {":cool:","<img size='.6' image='icons\em_cool.paa'/>","Cool"}, {":cry:","<img size='.6' image='icons\em_cry.paa'/>","Häulen"}, {":D","<img size='.6' image='icons\em_dd.paa'/>","Lachkick"}, {":evil:","<img size='.6' image='icons\em_devil.paa'/>","Täufel"}, {"<33","<img size='.6' image='icons\em_dh.paa'/>","Doppel Herz"}, {":(","<img size='.6' image='icons\em_dk.paa'/>","Traurig"}, {":nlike:","<img size='.6' image='icons\em_dlike.paa'/>","Gefällt mir nicht"}, {":gamer:","<img size='.6' image='icons\em_gamer.paa'/>","Gamer"}, {":ghost:","<img size='.6' image='icons\em_ghost.paa'/>","Geist"}, {"<3","<img size='.6' image='icons\em_heart.paa'/>","Herz"}, {"*D","<img size='.6' image='icons\em_heye.paa'/>","Liebe"}, {":*","<img size='.6' image='icons\em_kiss.paa'/>","Kuss"}, {":like:","<img size='.6' image='icons\em_like.paa'/>","Like"}, {":nerd:","<img size='.6' image='icons\em_nerd.paa'/>","Nerd"}, {":nintre:","<img size='.6' image='icons\em_nintrest.paa'/>","Nicht Interessiert"}, {":pedo:","<img size='.6' image='icons\em_pedo.paa'/>","Pedo"}, {":rock:","<img size='.6' image='icons\em_rock.paa'/>","Rockenroll"}, {":shity:","<img size='.6' image='icons\em_shit.paa'/>","Shitty"}, {"xD","<img size='.6' image='icons\em_xd.paa'/>","Lachflash"}, {"xP","<img size='.6' image='icons\em_xp.paa'/>","Freaky"}, {":kappa:","<img size='.7' image='icons\em_kappa.paa'/>","Kappa"}, {":lol:","<img size='.7' image='icons\em_lol.paa'/>","LOL"} }; }; };
#Schritt cuatro:
Geht in eure description.ext und fügt dort folgendes ein:
Zu schritt Treis, welcher Config ordner?Nehme an du meinst den aus der 5.0 in meinem Fall (4.4r4 wäre das das Hauptverzeichniss)
Zu cuatro, unter welchem punkt? Functions oder wo? -
Könnte Mann dieses Script auch so einstellen das User diese Nachrichten über das Handy verschicken könne?
-
Habe mir auch gedanken gemacht, bezüglich der Lizensierung unseres Servers (haben noch 179 Tage)
Mich würde interressieren, was für eine Windows Lizenz empfohlen wäre.Und ob der Server wirklich Registriert werden muss.
Außerdem Habe ich einiege Angebote für 2012 R2 auch für 70-120 Euronen gefunden. -
#Push
Spoiler anzeigen
Habe die Forumregeln nicht gefunden.Wenns verboten ist, dann einfach Löschen thx.
-
Hallo, für unsere Moderatoren wollte ich Cyberworks Altis Life admin Panel Konfigurieren.Allerdings gibt es ein Problem.
Wenn ich den Username root und das dazugehörige Pw eingebe, so sagt er Zugriff verweigert für root @localhost using Password yes.
Wenn ich einen anderen account nehme, ohne root als username, so werde ich zum Anfang der Einrichtung zurückgeworfen, ohne Fehlermeldung.
Kann mir jemand helfen?
Mir würde auch schon ein Einrichtungsguide helfen.
Und was sollte die Ip von der Datenbank sein?MFG und Danke Im vorraus
-
Kann man das nicht für jeden Rucksack einzeln machen?
-
Ja wie bereits in der Frage steht, finde ich in der Altis Life 4.0 einfach die Config wo die Rucksackgrößen deffiniert sind nicht.
Bis jetzt bringt der Rucksack keine Inventar Platz erhöhung.MFG -
Ja, in der Config_master.hpp im Mpmissions ordner einfach das:
Brainfuck/* Medical System Configurations */ revive_cops = true; //true to enable cops the ability to revive everyone or false for only medics/ems. revive_fee = 1500; //Revive fee that players have to pay and medics only EMS(independent) are rewarded with this amount. hospital_heal_fee = 100; //Fee to heal at a hospital NPC
Zu dem ändernBrainfuck/* Medical System Configurations */ revive_cops = false; //true to enable cops the ability to revive everyone or false for only medics/ems. revive_fee = 1500; //Revive fee that players have to pay and medics only EMS(independent) are rewarded with this amount. hospital_heal_fee = 100; //Fee to heal at a hospital NPC
-
Hm haste igendwie nen fehler gemacht beim kopieren und einfügen? hast nen error bekommen in denn logs usw?
eRROR
Ja den Script error oben
und sonst ein paar fehler, welche aber nix mit dem script zu tun haben.... -
-
Sorry meinte ich will deine init.sqf mal sehen ;P
Mir ist gerade was aufgefallen,
bei uns sieht das mit dem @Life server so aus: /arma3/@life_server/addons/life_server
muss das dann in der Init.sqf im Hauptordner nicht auch so bennant werden und nicht so:
[] execVM "\life_server\Functions\DynMarket\fn_config.sqf";außerdem haben wir [] execVM "\life_server\Functions\DynMarket\fn_config.sqf";
im init.sqf im main ordner und nicht im core ordner xDCode
Alles anzeigen/* File: init.sqf Author: Description: */ StartProgress = false; [] execVM "briefing.sqf"; //Load Briefing [] execVM "scripts\autoMessages.sqf"; [] execVM "scripts\vis\fn_vehInfo.sqf"; [] execVM "KRON_Strings.sqf"; [] execVM "initVisualEffect_colorful.sqf"; [] execVM "\life_server\Functions\DynMarket\fn_config.sqf"; //Market System ---------------------------------------------------------------------------------------------------
Code: Core init.sqf
Alles anzeigen#include "..\script_macros.hpp" /* File: init.sqf Author: Description: Master client initialization file */ private ["_handle","_timeStamp","_server_isReady","_extDB_notLoaded"]; life_firstSpawn = true; life_session_completed = false; 0 cutText[localize "STR_Init_ClientSetup","BLACK FADED"]; 0 cutFadeOut 9999999; _timeStamp = diag_tickTime; 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_HC_isActive"}; if (life_HC_isActive) then { waitUntil{!isNil "life_HC_server_isReady" && !isNil "life_HC_server_extDB_notLoaded"}; _server_isReady = life_HC_server_isReady; _extDB_notLoaded = life_HC_server_extDB_notLoaded; } else { waitUntil{!isNil "life_server_isReady" && !isNil "life_server_extDB_notLoaded"}; _server_isReady = life_server_isReady; _extDB_notLoaded = life_server_extDB_notLoaded; }; waitUntil{_server_isReady}; if (_extDB_notLoaded isEqualType []) exitWith { diag_log (_extDB_notLoaded select 1); 999999 cutText [localize "STR_Init_ExtdbFail","BLACK FADED"]; 999999 cutFadeOut 99999999; }; [] 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"; }; 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 "----------------------------------------------------------------------------------------------------";
-
Code
Alles anzeigen#include <macro.h> /* ##################### 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 ### ################################################################# */ if (isNil "DYNMARKET_prices") then {[player] remoteExec ["TON_fnc_playerLogged",2];hint "Calcul des prix en cours..";sleep 1;}; disableSerialization; _dialog = findDisplay 7100; _listbox = _dialog displayCtrl 7055; _blacklist = []; { _itemName = _x select 0; _itemDisplayName = M_CONFIG(getText,"VirtualItems",_itemName,"displayname"); _itemDisplayIcon = M_CONFIG(getText,"VirtualItems",_itemName,"icon"); _itemDisplayName = localize _itemDisplayName; if !(_x select 0 in _blacklist) then { _listbox lbAdd format ["%1",_itemDisplayName]; _listbox lbSetData [(lbSize _listbox)-1,_x select 0]; _listbox lbSetPicture [(lbSize _listbox )-1,_itemDisplayIcon]; }; } forEach DYNMARKET_prices;
Ja habe ich, sieht so aus:
-
-
Habe dasselbe Problem
-
Hier wäre aber mal der Error aus der .rpt von Vorteil, was da genau steht!
Sry sehe erst jetzt das der Upload nicht funktioniert hat.
Hier RPT -
Guten Tag,
Die Fortschrittsanzeige (Craften,Reparieren usw.) verschwindet immer kurz nach dem Anfang der Ausführung, der tätigkeit.
Als error kommt dann im action_keyhandeler.sqf line 64Code
Alles anzeigen#include "..\..\script_macros.hpp" /* File: fn_actionKeyHandler.sqf Author: Bryan "Tonic" Boardwine Description: Master action key handler, handles requests for picking up various items and interacting with other players (Cops = Cop Menu for unrestrain,escort,stop escort, arrest (if near cop hq), etc). */ private ["_curObject","_isWater","_CrateModelNames","_crate","_fish","_animal","_whatIsIt","_handle"]; _curObject = cursorObject; if (life_action_inUse) exitWith {}; //Action is in use, exit to prevent spamming. if (life_interrupted) exitWith {life_interrupted = false;}; _isWater = surfaceIsWater (visiblePositionASL player); if (playerSide isEqualTo west && {player getVariable ["isEscorting",false]}) exitWith { [] call life_fnc_copInteractionMenu; }; if (LIFE_SETTINGS(getNumber,"global_ATM") isEqualTo 1) then{ //Check if the player is near an ATM. if ((call life_fnc_nearATM) && {!dialog}) exitWith { [] call life_fnc_atmMenu; }; }; if (isNull _curObject) exitWith { if (_isWater) then { _fish = (nearestObjects[player,(LIFE_SETTINGS(getArray,"animaltypes_fish")),3]) select 0; if (!isNil "_fish") then { if (!alive _fish) then { [_fish] call life_fnc_catchFish; }; }; } else { _animal = (nearestObjects[player,(LIFE_SETTINGS(getArray,"animaltypes_hunting")),3]) select 0; if (!isNil "_animal") then { if (!alive _animal) then { [_animal] call life_fnc_gutAnimal; }; } else { private "_handle"; if (playerSide isEqualTo civilian && !life_action_gathering) then { _whatIsIt = [] call life_fnc_whereAmI; if (life_action_gathering) exitWith {}; //Action is in use, exit to prevent spamming. switch (_whatIsIt) do { case "mine" : { _handle = [] spawn life_fnc_mine }; default { _handle = [] spawn life_fnc_gather }; }; life_action_gathering = true; waitUntil {scriptDone _handle}; life_action_gathering = false; }; }; }; }; if ((_curObject isKindOf "B_supplyCrate_F" || _curObject isKindOf "Box_IND_Grenades_F") && {player distance _curObject < 3} ) exitWith { if (alive _curObject) then { [_curObject] call life_fnc_containerMenu; }; }; private _vaultHouse = [[["Altis", "Land_Research_house_V1_F"], ["Tanoa", "Land_Medevac_house_V1_F"]]] call TON_fnc_terrainSort; private _altisArray = [16019.5,16952.9,0]; private _tanoaArray = [11074.2,11501.5,0.00137329]; private _pos = [[["Altis", _altisArray], ["Tanoa", _tanoaArray]]] call TON_fnc_terrainSort; if (_curObject isKindOf "House_F" && {player distance _curObject < 12} || ((nearestObject [_pos,"Land_Dome_Big_F"]) isEqualTo _curObject || (nearestObject [_pos,_vaultHouse]) isEqualTo _curObject)) exitWith { [_curObject] call life_fnc_houseMenu; }; if (dialog) exitWith {}; //Don't bother when a dialog is open. if (vehicle player != player) exitWith {}; //He's in a vehicle, cancel! life_action_inUse = true; //Temp fail safe. [] spawn { sleep 60; life_action_inUse = false; }; //Check if it's a dead body. if (_curObject isKindOf "Man" && !(_curObject isKindOf "Animal") && {!alive _curObject} && !(_curObject getVariable ["Revive",false]) && {playerSide in [west,independent]}) exitWith { //Hotfix code by ins0 if (((playerSide isEqualTo west && {(LIFE_SETTINGS(getNumber,"revive_cops") isEqualTo 1)}) || playerSide isEqualTo independent)) then { if (life_inv_defibrillator > 0) then { [_curObject] call life_fnc_revivePlayer; }; }; }; //If target is a player then check if we can use the cop menu. if (isPlayer _curObject && _curObject isKindOf "Man") then { if ((_curObject getVariable ["restrained",false]) && !dialog && playerSide isEqualTo west) then { [_curObject] call life_fnc_copInteractionMenu; }; } else { //OK, it wasn't a player so what is it? private ["_isVehicle","_miscItems","_money","_list"]; _list = ["landVehicle","Ship","Air"]; _isVehicle = if (KINDOF_ARRAY(_curObject,_list)) then {true} else {false}; _miscItems = ["Land_BottlePlastic_V1_F","Land_TacticalBacon_F","Land_Can_V3_F","Land_CanisterFuel_F","Land_Suitcase_F"]; //It's a vehicle! open the vehicle interaction key! if (_isVehicle) then { if (!dialog) then { if (player distance _curObject < ((boundingBox _curObject select 1) select 0)+2 && (!(player getVariable ["restrained",false])) && (!(player getVariable ["playerSurrender",false])) && !life_isknocked && !life_istazed) then { [_curObject] call life_fnc_vInteractionMenu; }; }; } else { //OK, it wasn't a vehicle so let's see what else it could be? if ((typeOf _curObject) in _miscItems) then { [_curObject,player,false] remoteExecCall ["TON_fnc_pickupAction",RSERV]; } else { //It wasn't a misc item so is it money? if ((typeOf _curObject) isEqualTo "Land_Money_F" && {!(_curObject getVariable ["inUse",false])}) then { [_curObject,player,true] remoteExecCall ["TON_fnc_pickupAction",RSERV]; }; }; }; };
Das Problem ist das wir da nie was geändert haben xD
Kann uns jemand bei dem Problem helfen?
Wir haben übrigens das Hud entfernt nach seinem Tutorial [Tutorial] HUD Anzeige entfernen
Und nutzen die Statusbar von [Tutorial] Statusbar 4.4 R3 und R1
Ich weis nicht ob diese kombination mit daran schuld hat.
Im Anhang noch der Server RPT