Jump to content

Syrical

Member
  • Posts

    25
  • Joined

  • Last visited

Posts posted by Syrical

  1. Cant seem to find a fix for this or work it out either so im asking for help 

     

    essentially i installed r3f on my pantera server however it stopped my admin tools working after a bit of investigating i discovered that if i have the exec for r3f before my admin tools lift and tow workes fine but no tools then when i swap them so admin tools activates before r3f tools work fine but lift doesnt ?

     

    i cant seem to find a fix any help would be appreciated 

     

     

    For DayZ Epoch

    Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
    */
    startLoadingScreen ["","RscDisplayLoadCustom"];
    cutText ["","BLACK OUT"];
    enableSaving [false, false];
     
    //REALLY IMPORTANT VALUES
    dayZ_instance = 16; //The instance
    dayzHiveRequest = [];
    initialized = false;
    dayz_previousID = 0;
     
    //disable greeting menu 
    player setVariable ["BIS_noCoreConversations", true];
    //disable radio messages to be heard and shown in the left lower corner of the screen
    enableRadio false;
    // May prevent "how are you civillian?" messages from NPC
    enableSentences false;
     
    // DayZ Epoch config
    DZE_requireplot = 0;
    spawnShoremode = 1; // Default = 1 (on shore)
    spawnArea= 1500; // Default = 1500
     
    MaxVehicleLimit = 300; // Default = 50
    MaxDynamicDebris = 20; // Default = 100
    dayz_MapArea = 12000; // Default = 10000
     
    // new stuff
    dayz_paraSpawn = false;
     
    dayz_sellDistance_vehicle = 10;
    dayz_sellDistance_boat = 30;
    dayz_sellDistance_air = 40;
     
    dayz_maxAnimals = 5; // Default: 8
    dayz_tameDogs = true;
    DynamicVehicleDamageLow = 0; // Default: 0
    DynamicVehicleDamageHigh = 100; // Default: 100
     
    DZE_BuildOnRoads = false; // Default: False
     
    EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];
    dayz_fullMoonNights = true;
     
    // DZEdebug = true;
     
    //Load in compiled functions
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
    progressLoadingScreen 0.1;
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
    progressLoadingScreen 0.2;
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
    progressLoadingScreen 0.4;
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
    call compile preprocessFileLineNumbers "custom\snap_build\compiles.sqf"; //Compile regular functions
    progressLoadingScreen 0.5;
    call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
    progressLoadingScreen 1.0;
     
    "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
     
    if (isServer) then {
    //Compile vehicle configs
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_16.Panthera2\dynamic_vehicle.sqf";
    // Add trader citys
    _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_16.Panthera2\mission.sqf";
     
    _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
    };
     
    if (!isDedicated) then {
            [] execVM "custom\Server_WelcomeCredits.sqf";
    //Conduct map operations
    0 fadeSound 0;
    waitUntil {!isNil "dayz_loadScreenMsg"};
    dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
    execVM "service_point\service_point.sqf";
     
    //Run the player monitor
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
    _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
     
     
    //anti Hack
    //[] execVM "\z\addons\dayz_code\system\antihack.sqf";
     
    //Lights
    //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
    };
    #include "\z\addons\dayz_code\system\REsec.sqf"
    //Start Dynamic Weather
    execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";
     
    #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
     
    // Epoch Admin Tools
    AdminList = [
    "150027718", // <Admin In-Game Name>
    "124134470" // <Admin In-Game Name>
    ];
    ModList = [
    "999999999", // <Admin In-Game Name>
    "999999999" // <Admin In-Game Name>
    ];
    [] execVM "admintools\Activate.sqf";
     
    execVM "R3F_ARTY_AND_LOG\init.sqf;
  2. if it helps mine looks like this 

     

     
    if (!isDedicated) then {
            [] execVM "custom\Server_WelcomeCredits.sqf";
    //Conduct map operations
    0 fadeSound 0;
    waitUntil {!isNil "dayz_loadScreenMsg"};
    dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
    execVM "service_point\service_point.sqf";
     
    i had an issue where it didnt work because i  put a full stop instead of a comma on one of the lines 
     
    pm me your code and i can take a look if you like ?
  3. i have seen a mission on a Tavianna Life Server and wander if it would work on epoch 

     

    essentially says a goverment convoy is going to (point a) intercept for rewards, 

     

    so essentially a ural with say 5 ai in, if you stop it without blowing it up and kill the ai you get the gear thats in the truck ? 

  4. I also have an idea there is a script for an addon to blue Phoenix on the forums I'm currently on my phone so can't search for it. Basically if gave you a menu of every veichle in the database from Ladas to a10 etc that spawned them with a key, I cannot for the life of me get it to work with these tools however I'm no coder

    What would you think of adding this ?

  5. hey guys i'm having an issue locating the build timer to reduce it, i have looked over the forums and can only find info thats a few months old. 

     

    All i have found tells me to change the _limit in my playerbuild.sqf 

     

    however the option is not there

     

    here is the entirety of it 

     

     

    private ["_item","_classname","_require","_text","_location","_sfx","_object","_string","_onLadder","_isWater","_boundingBox","_maxPoint","_actionBuild","_actionCancel"];

     
    call gear_ui_init;
     
    closeDialog 1;
     
    if (r_action_count != 1) exitWith { cutText [localize "str_player_actionslimit", "PLAIN DOWN"]; };
     
    _item = _this;
    _classname = getText (configFile >> "CfgMagazines" >> _item >> "ItemActions" >> "Build" >> "create");
    _require = getText (configFile >> "CfgMagazines" >> _item >> "ItemActions" >> "Build" >> "require");
    _text = getText (configFile >> "CfgVehicles" >> _classname >> "displayName");
    _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
    _isWater = (surfaceIsWater (getPosATL player)) or dayz_isSwimming;
     
    if(_isWater) exitWith {
    r_action_count = 0;
    cutText [localize "str_player_26", "PLAIN DOWN"];
    };
     
    if(_onLadder) exitWith {
    r_action_count = 0;
    cutText [localize "str_player_21", "PLAIN DOWN"];
    };
     
    // item is missing
    if ((!(_item IN magazines player))) exitWith {
    r_action_count = 0;
    _string = switch true do {
    case (_object isKindOf "Land_A_tent"): {"str_player_31_pitch"};
    default {"str_player_31_build"};
    };
    cutText [format[(localize "str_player_31"),_text,(localize _string)] , "PLAIN DOWN"];
    diag_log(format["player_build: item:%1 require:%2  Player items:%3  magazines:%4", _item, _require, (items player), (magazines player)]);
    };
     
    // tools are missing
    if ((_require != "") and {(!(_require IN items player))}) exitWith {
    r_action_count = 0;
    cutText [format[(localize "str_player_31_missingtools"),_text,_require] , "PLAIN DOWN"];
    };
     
    if (!isNull (player getVariable "constructionObject")) exitWith {
    r_action_count = 0;
    cutText [localize "str_already_building", "PLAIN DOWN"];
    };
     
    player setVariable ["constructionObject", player]; //Quick fix to stop multi build bug
     
    player removeMagazine _item;
     
    cutText [localize "str_player_build_rotate", "PLAIN DOWN"];
     
    _location = getMarkerpos "respawn_west";
    _object = createVehicle [_classname, _location, [], 0, "NONE"];
    _boundingBox = boundingBox _object;
    _maxPoint = ([[0,0], _boundingBox select 1] call BIS_fnc_distance2D) + 1;
    //_object attachTo [player, [0, _maxPoint + 1, 0]];
     
    player setVariable ["constructionObject", _object];
    _object setVariable ["characterID",dayz_characterID,true];
     
    _sfx = switch true do {
    case (_object isKindOf "Land_A_tent"): {"tentunpack"};
    default {"repair"};
    };
     
    _actionBuild = player addAction [localize "str_player_build_complete", "\z\addons\dayz_code\actions\object_build.sqf", [_object, _item, _classname, _text, true, 20, _sfx], 1, true, true, "", "!isNull (_target getVariable [""constructionObject"", objNull])"];
    _actionCancel = player addAction [localize "str_player_build_cancel", "\z\addons\dayz_code\actions\object_build.sqf", [_object, _item, _classname, _text, false, 0, "none"], 1, true, true, "", "!isNull (_target getVariable [""constructionObject"", objNull])"];
     
    _position = [0,0,0];
    while {!isNull (player getVariable "constructionObject")} do {
    if (vehicle player != player) then {
    player action ["eject", vehicle player];
    };
     
    if (speed player > 10 or speed player <= -8) then {
    cutText [localize "str_player_build_movingfast", "PLAIN DOWN"];
    player playMove "amovpercmstpssurwnondnon";
    };
     
    if (!((count ((getPosATL player) - _position)) == 0)) then {
    _position = getPosATL player;
    _object setPosATL [(_position select 0) + _maxPoint * sin(getDir player), (_position select 1) + _maxPoint * cos(getDir player), 0.01];
    };
     
    sleep 0.01;
     
    if ((!alive player) or {((getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1)}) then {
    [[],[],[],[_object, _item, _classname, _text, false, 0, "none"]] call object_build; 
    };
    };
     
    player removeAction _actionBuild;
    player removeAction _actionCancel;

     

    any help would be appreciated 

  6. hey guys, i have been trying almost all day to get a map addition on my server as i have been asked by a clan to put one on. 

    however i am fairly new to working with code, i have tried this method and and the server side method however either when i log onto the server the server side attempts just sit on waiting for host and the mpmissions version loads fine but none of the map additions are there ? any help would be greatly appreciated 

     

    i know i am probably missing something stupid would anyone be able to look at my mp missions folder and tell me if i am doing something wrong ?

     

     

     

    (edit; Grammar was awful) 

  7. I'm currently using xstreamgaming and to be honest I found them pretty good control panel is simple when you get used to where everything is and the pings good for myself so far no downtime and if I submit a ticket in business hours then I get a reply usually wothin an hour . Another good thing about them is you can add a script repack from the mod menu which you can turn off and on certain scripts at will which saved a lot of hassle especially as I remember putting bluephronix on dayz st

    I have had a dayz.st server but found it restricting and too much down time.

  8. dayz.st you need to add the item to the traders items just make sure you use the correct id for example mine is 

    777 CinderBlocks 1 Building Supplies trade_items

    starting from the item id (make sure you use one that's not in use) then its the class name, item type, group and finally alfie 

    and then you need to add it to the traders data table for example mine;

    7376 ["CinderBlocks",1] 200 [2,"ItemGoldBar",1] [1,"ItemGoldBar",1] 0 508

    trade_items

     

    this means item id, class name must be placed in that format (1 being defining that its an item not a car or gun etc) 200 is what i have my quantity set to then its buy price [amount,"currency",1 (defining it as an item)] sell price is the same set up as buy price, leave the 0 as it is 508 is the trader id of the traders you want to sell it too you can find this by checking for other building supplies in your trader data (just look for another building item i.e vault and check the ids that sell it (ctrl+f to search) and finally the alfie again

     

    this is how mine is set up and it works mine just change the item id as you cant have the same id twice so if you want these at 3 traders you would need 3 separate id's and change the trader id to whichever one you want, you can simply change the cinder blocks for mortar buckets by using the above method and just changing the id and  classname or you can add almost everything just make sure you use the correct class name

  9. dayz.st you need to add the item to the traders items just make sure you use the correct id for example mine is 

    777 CinderBlocks 1 Building Supplies trade_items

    starting from the item id (make sure you use one that's not in use) then its the class name, item type, groupd and finally alfie 

    and then you need to add it to the traders data table for example mine;

    7376 ["CinderBlocks",1] 200 [2,"ItemGoldBar",1] [1,"ItemGoldBar",1] 0 508

    trade_items

     

    this means item id, class name must be placed in that format (1 being defining that its an item not a car or gun etc) 200 is what i have my quantity set to then its buy price [amount,"currency",1 (defining it as an item)] sell price is the same set up as buy price, leave the 0 as it is 508 is the trader id of the traders you want to sell it too you can find this by checking for other building supplies in your trader data (just look for another building item i.e vault and check the ids that sell it (ctrl+f to search) and finally the alfie again

     

    this is how mine is set up and it works mine just change the item id as you cant have the same id twice so if you want these at 3 traders you would need 3 separate id's and change the trader id to whichever one you want, you can simply change the cinder blocks for mortar buckets by using the above method and just changing the id and  classname or you can add almost everything just make sure you use the correct class name 

     

    first attempt at helping so hope it helps 

  10. Hello all I am struggling to get blue phonix to work I cannot even get the menu to appear I have bloodbag missions tow etc working just struggling with that would anyone be able to take a look at my PBO's and see where I have gone wrong ? Can't seem to find a fix on there site or here

    Thanks

  11. hello all i am fairly new to this server modding malarkey and have put lift and tow into my server towing appears to work fine (haven't tried it on all cars) however i can lift with a mi-17 but cannot with a Chinook ? any ideas would be appreciated 

     

    regards :) 

×
×
  • Create New...