wie macht man den rucksack größer benutze das negative network script
Beiträge von riesensika
-
-
eine fn_config.sqf ist dadrin habe ich ja da oben gepostet was meinst du mit execVM?
C:\server\A3Master\@life_server\addons\life_server\init.sqf
Code
Alles anzeigen#include "script_macros.hpp" /* Author: Bryan "Tonic" Boardwine Description: Initialize the server and required systems. */ "BIS_fnc_MP_packet" addPublicVariableEventHandler {_this call life_fnc_MPexec}; DB_Async_Active = false; DB_Async_ExtraLock = false; life_server_isReady = false; life_server_extDB_notLoaded = ""; serv_sv_use = []; PVAR_ALL("life_server_isReady"); /* Prepare extDB before starting the initialization process for the server. */ if(isNil {GVAR_UINS "life_sql_id"}) then { life_sql_id = round(random(9999)); CONSTVAR(life_sql_id); SVAR_UINS ["life_sql_id",life_sql_id]; //Retrieve extDB version _result = EXTDB "9:VERSION"; ["diag_log",[format["extDB: Version: %1",_result]]] call TON_fnc_logIt; if(EQUAL(_result,"")) exitWith {EXTDB_FAILED("The server-side extension extDB was not loaded into the engine, report this to the server admin.")}; if ((parseNumber _result) < 52) exitWith {EXTDB_FAILED("extDB version is not compatible with current Altis life version. Require version 52 or higher.")}; //Lets start logging in extDB EXTDB "9:ADD_PROTOCOL:LOG:SPY_LOG:spyglass"; //Initialize connection to Database _result = EXTDB format["9:ADD_DATABASE:%1",DATABASE_SELECTION]; if(!(EQUAL(_result,"[1]"))) exitWith {EXTDB_FAILED("extDB: Error with Database Connection")}; _result = EXTDB format["9:ADD_DATABASE_PROTOCOL:%1:SQL_CUSTOM_V2:%2:altis-life-rpg-4",DATABASE_SELECTION,FETCH_CONST(life_sql_id)]; if(!(EQUAL(_result,"[1]"))) exitWith {EXTDB_FAILED("extDB: Error with Database Connection")}; //Initialize Logging options from extDB if((EQUAL(EXTDB_SETTINGS("LOG"),1))) then { { EXTDB format["9:ADD_PROTOCOL:LOG:%1:%2",SEL(_x,0),SEL(_x,1)]; ["diag_log",[format["extDB: %1 is successfully added",SEL(_x,0)]]] call TON_fnc_logIt; } forEach EXTDB_LOGAR; }; //Initialize RCON options from extDB if((EQUAL(EXTDB_SETTINGS("RCON"),1))) then { RCON_ID = round(random(9999)); CONSTVAR(RCON_ID); SVAR_UINS ["RCON_ID",RCON_ID]; EXTDB format["9:START_RCON:%1",RCON_SELECTION]; EXTDB format["9:ADD:RCON:%1",FETCH_CONST(RCON_ID)]; ["diag_log",["extDB: RCON is enabled"]] call TON_fnc_logIt; }; //Initialize VAC options from extDB if((EQUAL(EXTDB_SETTINGS("VAC"),1))) then { VAC_ID = round(random(9999)); CONSTVAR(VAC_ID); SVAR_UINS ["VAC_ID",VAC_ID]; EXTDB "9:START_VAC"; EXTDB format["9:ADD_PROTOCOL:STEAM:%1",FETCH_CONST(VAC_ID)]; ["diag_log",["extDB: VAC is enabled"]] call TON_fnc_logIt; }; //Initialize MISC options from extDB if((EQUAL(EXTDB_SETTINGS("MISC"),1))) then { MISC_ID = round(random(9999)); CONSTVAR(MISC_ID); SVAR_UINS ["MISC_ID",MISC_ID]; EXTDB format["9:ADD_PROTOCOL:MISC:%1",FETCH_CONST(MISC_ID)]; ["diag_log",["extDB: MISC is enabled"]] call TON_fnc_logIt; }; EXTDB "9:LOCK"; ["diag_log",["extDB: Connected to the Database"]] call TON_fnc_logIt; } else { life_sql_id = GVAR_UINS "life_sql_id"; CONSTVAR(life_sql_id); ["diag_log",["extDB: Still Connected to the Database"]] call TON_fnc_logIt; if((EQUAL(EXTDB_SETTINGS("RCON"),1))) then { RCON_ID = GVAR_UINS "RCON_ID"; CONSTVAR(RCON_ID); ["diag_log",["extDB: RCON still enabled"]] call TON_fnc_logIt; }; if((EQUAL(EXTDB_SETTINGS("VAC"),1))) then { VAC_ID = GVAR_UINS "VAC_ID"; CONSTVAR(VAC_ID); ["diag_log",["extDB: VAC still enabled"]] call TON_fnc_logIt; }; if((EQUAL(EXTDB_SETTINGS("MISC"),1))) then { MISC_ID = GVAR_UINS "MISC_ID"; CONSTVAR(MISC_ID); ["diag_log",["extDB: MISC still enabled"]] call TON_fnc_logIt; }; }; if(!(EQUAL(life_server_extDB_notLoaded,""))) exitWith {}; //extDB did not fully initialize so terminate the rest of the initialization process. /* Run stored procedures for SQL side cleanup */ ["resetLifeVehicles",1] spawn DB_fnc_asyncCall; ["deleteDeadVehicles",1] spawn DB_fnc_asyncCall; ["deleteOldHouses",1] spawn DB_fnc_asyncCall; ["deleteOldGangs",1] spawn DB_fnc_asyncCall; /* Map-based server side initialization. */ master_group attachTo[bank_obj,[0,0,0]]; onMapSingleClick "if(_alt) then {vehicle player setPos _pos};"; //Local debug for myself { _hs = createVehicle ["Land_Hospital_main_F", [0,0,0], [], 0, "NONE"]; _hs setDir (markerDir _x); _hs setPosATL (getMarkerPos _x); _var = createVehicle ["Land_Hospital_side1_F", [0,0,0], [], 0, "NONE"]; _var attachTo [_hs, [4.69775,32.6045,-0.1125]]; detach _var; _var = createVehicle ["Land_Hospital_side2_F", [0,0,0], [], 0, "NONE"]; _var attachTo [_hs, [-28.0336,-10.0317,0.0889387]]; detach _var; } foreach ["hospital_2","hospital_3"]; { if(!isPlayer _x) then { _npc = _x; { if(_x != "") then { _npc removeWeapon _x; }; } foreach [primaryWeapon _npc,secondaryWeapon _npc,handgunWeapon _npc]; }; } foreach allUnits; [8,true,12] execFSM "\life_server\FSM\timeModule.fsm"; life_adminLevel = 0; life_medicLevel = 0; life_copLevel = 0; CONST(JxMxE_PublishVehicle,"false"); /* Setup radio channels for west/independent/civilian */ 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", []]; life_radio_indep = radioChannelCreate [[0, 0.95, 1, 0.8], "Side Channel", "%UNIT_NAME", []]; /* Set the amount of gold in the federal reserve at mission start */ fed_bank setVariable ["safe",count playableUnits,true]; [] spawn TON_fnc_federalUpdate; /* Event handler for disconnecting players */ addMissionEventHandler ["HandleDisconnect",{_this call TON_fnc_clientDisconnect; false;}]; [] call compile PreProcessFileLineNumbers "\life_server\functions.sqf"; [] call compile PreProcessFileLineNumbers "\life_server\eventhandlers.sqf"; /* Miscellaneous mission-required stuff */ [] spawn TON_fnc_cleanup; life_wanted_list = []; [] execFSM "\life_server\FSM\cleanup.fsm"; [] 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]; { _x setVariable["sellers",[],true]; } foreach [Dealer_1,Dealer_2,Dealer_3]; }; }; [] spawn TON_fnc_initHouses; /* Setup the federal reserve building(s) */ private["_dome","_rsb"]; _dome = nearestObject [[16019.5,16952.9,0],"Land_Dome_Big_F"]; _rsb = nearestObject [[16019.5,16952.9,0],"Land_Research_house_V1_F"]; for "_i" from 1 to 3 do {_dome setVariable[format["bis_disabled_Door_%1",_i],1,true]; _dome animate [format["Door_%1_rot",_i],0];}; _rsb setVariable["bis_disabled_Door_1",1,true]; _rsb allowDamage false; _dome allowDamage false; /* Tell clients that the server is ready and is accepting queries */ life_server_isReady = true; PVAR_ALL("life_server_isReady"); /* Initialize hunting zone(s) */ ["hunting_zone",30] spawn TON_fnc_huntingZone; [] execVM "\life_server\Functions\DynMarket\fn_config.sqf";
-
C:\server\A3Master\@life_server\addons\life_server\Functions\DynMarket
Code
Alles anzeigen/* ##################### 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 ### ################################################################# */ // ███████████████████████████████████████████████████████████████████████ // █████████████████ DYNAMIC MARKET BASIC CONFIGURATION ██████████████████ // ███████████████████████████████████████████████████████████████████████ DYNMARKET_Serveruptime = 04; // Serveruptime after restart in hours DYNMARKET_UseExternalDatabase = true; // Should the script use the External Database? DYNMARKET_PriceUpdateInterval = 05; // After how many minutes should the price be updated? DYNMARKET_CreateBackups = true; // Should the server save write the prices regulary into the Database? If false, it will save the prices before Server-restart? DYNMARKET_CreateBackupInterval = 03; // After how many updates (PriceUpdateIntervals) should the prices be saved into the Database? DYNMARKET_UserNotification = false; // Should the user be informed with a hint whenever the prices got updated? // █████████████████ USER NOTIFICATION TEXTS █████████████████ DYNMARKET_UserNotification_Text = [ "Die Marktpreise wurden aktualisiert!", "Diese Meldung dient zu Testzwecken." ]; // █████████████████ ITEM GROUP CONFIGURATION █████████████████ DYNMARKET_Items_Groups = [ ["Legal", [ ["apple",-1,55,85], ["peach",-1,55,85], ["oil_processed",-1,3000,4800], //["wood",-1,800,2000], //["brett",-1,2300,4100], ["copper_refined",-1,1700,4500], ["iron_refined",-1,2800,4800], ["salt_refined",-1,2800,5200], ["glass",-1,2100,4400], ["diamond_cut",-1,3500,6200], ["diamond_uncut",-1,1200,2900], ["cement",-1,1900,3600], //["baumwolle_refined",-1,2600,4200], //["applejuice",-1,50,75], //["peachjuice",-1,50,75], //["frogmeat",-1,2500,3500], //["suggar",-1,1200,2300], //["nail",-1,2200,3600], ["goldbar",-1,95000,115000] ], 0.5 ], ["Illegal", [ ["heroin_unprocessed",-1,2300,4500], ["heroin_processed",-1,3500,7500], ["cannabis",-1,2800,3500], ["marijuana",-1,4500,8200], ["cocaine_unprocessed",-1,3000,4500], ["cocaine_processed",-1,3900,7500], //["froglsd",-1,3500,6300], ["turtle_raw",-1,7500,9800], //["turtle_soup",-1,3800,5800], ["weaponmg",-1,8000,15000] ], 0.5 ] ]; // █████████████████ ALL SELLABLE ITEMS █████████████████ DYNMARKET_Items_ToTrack = [ ["apple",50], ["peach",50], ["oil_processed",3000], //["wood",800], //["brett",2300], ["copper_refined",1700], ["iron_refined",2800], ["salt_refined",2800], ["glass",2100], ["diamond_cut",3500], ["diamond_uncut",1200], ["cement",1900], //["baumwolle_refined",2600], //["applejuice",50], //["peachjuice",50], //["frogmeat",2500], //["suggar",1200], //["nail",2200], ["goldbar",95000], // ILLEGAL ["heroin_unprocessed",2300], ["heroin_processed",3500], ["cannabis",2800], ["marijuana",4500], ["cocaine_unprocessed",3000], ["cocaine_processed",3900], //["froglsd",3500], ["turtle_raw",7500], //["turtle_soup",3800], ["weaponmg",8000] ]; //███████████████████████████████████████████████████████████████████████ //██████████████████ DO NOT MODIFY THE FOLLOWING CODE! ██████████████████ //███████████████████████████████████████████████████████████████████████ DYNMARKET_Items_CurrentPriceArr = []; DYNMARKET_sellarraycopy = DYNMARKET_Items_ToTrack; DYNMARKET_Serveruptime = (DYNMARKET_Serveruptime * 3600) - 300; { _currentArray = _x; DYNMARKET_Items_CurrentPriceArr pushBack [_currentArray select 0,_currentArray select 1,0]; } forEach DYNMARKET_Items_ToTrack; publicVariable "DYNMARKET_UserNotification"; publicVariable "DYNMARKET_UserNotification_Text"; if (DYNMARKET_UseExternalDatabase) then {[1] call TON_fnc_HandleDB;}; DYNMARKET_UpdateCount = 0; if (DYNMARKET_UseExternalDatabase) then { [] spawn { sleep DYNMARKET_Serveruptime; diag_log "### DYNMARKET >> CURRENT PRICES ARE BEING WRITTEN TO THE DATABASE ###"; diag_log "### DYNMARKET >> AS PLANNED, AWAITING RESULT... ###"; [0] call TON_fnc_HandleDB; }; }; sleep 5; [] call TON_fnc_sleeper;
-
jetzt connectet er zur datenbank mann kann auf den server aber dieser bug tritt auf dynamisches markt system also das ganze markt system funktioniert nicht
RPT_LOG
Code
Alles anzeigenError: Object(2 : 1469) not found Error: Object(2 : 1471) not found Error: Object(2 : 1473) not found Error: Object(2 : 1475) not found Error: Object(2 : 1480) not found Error: Object(2 : 1482) not found Error: Object(2 : 1484) not found Error: Object(2 : 1489) not found Error: Object(2 : 1494) not found Error: Object(2 : 1496) not found Error: Object(2 : 1501) not found Error: Object(2 : 1506) not found Error: Object(2 : 1508) not found Error: Object(2 : 1510) not found Error: Object(2 : 1512) not found Error: Object(2 : 1597) not found c:\w\stable\futura\lib\network\networkserver.cpp NetworkServer::OnClientStateChanged:NOT IMPLEMENTED - briefing! "extDB: Version: 63" "extDB: Connected to the Database" Strange convex component322 in a3\structures_f\research\dome_big_f.p3d:geometryFire Strange convex component327 in a3\structures_f\research\dome_big_f.p3d:geometryFire "extDB2: uisleep [4]: 178.426" "extDB2: uisleep [4]: 178.526" "extDB2: uisleep [4]: 188.035" "extDB2: uisleep [4]: 188.259" "extDB2: uisleep [4]: 188.502" "extDB2: uisleep [4]: 188.63" "extDB2: uisleep [4]: 188.784" Mission id: 40cd152b72dfe13311f26adf64e37f8a13451053 "extDB2: uisleep [4]: 190.982" Error in expression <rray = _queryResult select 0; if (count _pricearray < 1) then { diag_log "######> Error position: <_pricearray < 1) then { diag_log "######> Error Undefined variable in expression: _pricearray File life_server\Functions\DynMarket\fn_HandleDB.sqf, line 33
fn_handeleDB.sqf
Code
Alles anzeigen/* ##################### 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["DYNMARKET_Price_Set:%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["DYNMARKET_Price_Get"]; 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 { <<<<<<<<<<<<<<<<<<<<<<<<<Zeile 33 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 "####################################################################"; }; }; };
-
es wurde kein exdb log erstellt und was hat es hier mit aufsich?
CodeError: Object(2 : 1469) not found Error: Object(2 : 1597) not found c:\w\stable\futura\lib\network\networkserver.cpp NetworkServer::OnClientStateChanged:NOT IMPLEMENTED - briefing! "extDB: Version: " "The server-side extension extDB was not loaded into the engine report this to the server admin." Mission id: 164f679b3336468813e464e35fa0df3b77ba2476 EPE manager release (18|138|0) Number of actors in scene after release: 18 EPE manager release (0|18|0)
-
ich besitze das negativ network script aus den forum wenn ich joine setup client pelase white
im rpt log steht ich hätte falsche version
RPT_LOG
ist im anhang de rlog
-
wo kann man die Ruck Sack Größe ändern wie viele waffen man da rein tun und die größe im z menu
schuldigung wegen Rechtschreib fehler habe LRS
-
ich habe fahrzeug skin eingefügt aber in game hatt es keine skin hier ist die datei
als Text bei im Config_Vehicles.txt
-
-
-
-
-
-
1. Altis life Server Up to date
2. Steam arma3 Up to date
3. nach dem man Zivilist aus gewählt hat
4. Spiel CrashtLoakal pc game log:
ArmaReport_Log_20161201T175918_Administrator.zip
RPT:log
arma3server_2016-12-01_18-36-42.txtMit freundlischen grüßen
steven
[habe LRS]
-
also nur lade bildschirm also die map von stratis [Sealdrop script]
warum hier ist RPT log:
Code18:56:14 Attempt to override final function - rscunitinfo_script 18:56:14 Attempt to override final function - rscunitinfo_script 18:56:14 Attempt to override final function - rscunitinfo_script 18:56:17 VoteThreshold must be in 0..1 range. Defaulting to 0.5 Initializing Steam server - Game Port: 2302, Steam Query Port: 2303 Steam AppId from steam_appid.txt: 107410 Connected to Steam servers
ich hoffe ihr könnt mir helfen
der server läuft auf windows rootmit freundlichen grüßen stven
-
-
hier ist der code bitte helft mir
Code
Alles anzeigencase "blackweapon": { switch(true) do { case (playerSide != civilian): {"You are not a civilian!"}; case (!license_civ_blackmarkt): {"Du besitz keine schwarzmarkt Lizenz!"}; default { ["bwaffen", [ ["muzzle_snds_M","Schalldämpfer 5,56 mm",10000], ["muzzle_snds_H","Schalldämpfer 6,5 mm",10000], ["muzzle_snds_B","Schalldämpfer 7,62mm",10000], ["optic_Yorris","Yorris j2",10000], ["optic_Aco_smg","ACO-MP",13000], ["optic_Holosight_smg","MK 17 Holo MP",13000], ["optic_Holosight","MK 17 Holo",23000], ["optic_Aco","ACO",18000], ["optic_MRCO",MRCO",25000], ["optic_Arco_blk_F","ARCO",40000], ["optic_ERCO_blk_F","ERCO",50000], ["optic_Hamr","RCO",25000], ["optic_SOS","MOS",90000], ["optic_LRPS","LRPS",90000], ["optic_DMS_ghex_F","DMS",90000], ["optic_NVS","NVS",12000], ["optic_AMS","AMS",100000], ["acc_pointer_IR","IR-Laserpointer",8000], ["LMG_03_F","LIM-85 6,3mm",590000], ["acc_flashlight","Taschenlampe",8000], ["bipod_01_F_snd","AK-12 7,62mm",590000], ["bipod_01_F_blk","AK-12 Magazin",30000], ["bipod_01_F_mtp","AK-12 GL 7,62 mm",650000], ["bipod_02_F_blk","Zweibein",50000], ["bipod_02_F_tan","Zweibein",50000], ["bipod_02_F_hex","Zweibein",50000], ["bipod_03_F_blk","Zweibein",50000], ["bipod_03_F_oli","Zweibein",50000], ["bipod_01_F_khk","Zweibein",50000], ["Rangefinder","Entfernungsmesser",2000] ] ]; }; }; };