Jump to content

dayz10k

Member
  • Content Count

    9
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About dayz10k

  • Rank
    Private
  1. dayz10k

    A2/A2:OA Patch 18.12.2015

    Opened Issue 1 on the github (firstpost!) Medbox0 inherits from Cardboardbox https://github.com/DayZMod/DayZ/search?utf8=%E2%9C%93&q=CardboardBox&type=Code class MedBox0 : CardboardBox { scope = public; displayName = $STR_DAYZ_OBJ_2; model = "z\addons\dayz_communityassets\models\medical_freezbox.p3d"; In https://github.com/Goliath86/CorePatch/blob/9e5e9a20287b2cc7782b95c8e31562cce63575f1/CorePatch_AdditionalObjects/config.cpp it appears that CardboardBox scope is set to protected (value 1) versus public (value 2), per https://community.bistudio.com/wiki/CfgVehicles_Config_Reference this may be preventing the medboxes from being able to spawn the appropriate gear in hospitals, etc?
  2. this is within DayZ multiplayer, so I believe MPF is already in place and initialized in the server-side PBO. I'll take another look, though...other than that, does syntax look correct? and logic--am I causing any issues that might be a loop? Was hoping for a small message right when someone clicks the addAction "refuel" and ib_refueling_in_progress = true; Thanks!
  3. want to create something to warn me of players offmap something along the lines of _posxplayer = getpos _player select 0 _posyplayer = getpos _player select 1 if ((_posxplayer < 0) || (_posyplayer < 0)) { _message = format["%1 left the playable map!,_player]; _loc_message = format["%1 left the playable map at %2, %3!,_player, _posxplayer, posyplayer]; diag_log _loc_message; [nil, nil, rspawn, [_player, _message], { (_this select 0) globalChat (_this select 1) }] call RE; } can anyone spot check this logic for me? also, in MP would this sort of calculation crush performance? maybe set it on a sleep 10;
  4. yes, arma2oaserver_1.exe...which I updated in the config i will try the --dsc and see what happens.
  5. without the hint, etc it works (obviously). I have tried entering it once the refueling state is set to true ib_refueling_in_progress = true; titleText ["Refueling", "PLAIN", 3]; as well as in the /while/ loop as it is actively refueling while {(vehicle _caller == _target) and (local _target)} do in either case, the refueling seems to stop (meaning I may have to spam scroll wheel for the addaction repeatedly) or fail.
  6. I have spaces in my path, but never had a problem with any function (i use bat files for my scheduler, etc) until i tried to go from 1.46->1.49...with 1.49 it just says its waiting for the server to start (which is already started) after I launch BEC.
  7. I'm trying to fire an event (either serverwide or using a 4km "local" radius), but having no luck--where ever I put it, the script seems to crap out after. I have tried using rHINT, rSPAWN (a titletext), rSPAWN (BIS_fnc_infoText), etc This would be based upon one of the refuel scripts (scroll wheel->refuel) when at a gas station. can anyone help me with the syntax? thanks! ---------- Post added at 10:19 ---------- Previous post was at 10:18 ---------- script code private ["_target", "_caller", "_id", "_isNearFeed"]; _target = _this select 0; _caller = _this select 1; _id = _this select 2; if (isNil "ib_refueling_in_progress") then { ib_refueling_in_progress = false; }; if (!ib_refueling_in_progress) then { _isNearFeed = count ((position _caller) nearObjects ["Land_A_FuelStation_Feed", 10]) > 0; if (!_isNearFeed) then { titleText ["You must be near a fuel station pump.", "PLAIN DOWN", 3]; titleFadeOut 3; } else { ib_refueling_in_progress = true; titleText ["Refueling", "PLAIN", 3]; while {(vehicle _caller == _target) and (local _target)} do { private ["_velocity", "_fuel", "_pos"]; _velocity = velocity _target; _fuel = fuel _target; _pos = position _target; if ((_velocity select 0 > 1) or (_velocity select 1 > 1) or (_velocity select 2 > 1)) exitWith { }; if (_position select 2 > 0.5) exitWith {}; if (_fuel >= 1.0) exitWith { }; sleep 0.5; _fuel = _fuel + 0.007; if (_fuel >= 1.0) then { _fuel = 1.0; }; _target setFuel _fuel; }; titleFadeOut 1; ib_refueling_in_progress = false; }; }; ---------- Post added at 10:22 ---------- Previous post was at 10:19 ---------- Things I've tried [nil,nil,rHINT,"You hear the rumblings of a gas pump in the distance."] call RE; [nil, nil, rSPAWN, [], {rHINT,"You hear the rumblings of a gas pump in the distance."}] call RE; [nil,nil,,rTITLETEXT,format["You hear the rumblings of a gas pump in the distance.", (name _caller)],"PLAIN DOWN"] call RE; and using rSPAWN to call BIS_fnc_infoText
  8. dayz10k

    J.S.R.S. 1.5

    this looks cool!
  9. I'm trying to fire an event (either serverwide or using a 4km "local" radius), but having no luck--where ever I put it, the script seems to crap out after. I have tried using rHINT, rSPAWN (a titletext), rSPAWN (BIS_fnc_infoText), etc This would be based upon one of the refuel scripts (scroll wheel->refuel) when at a gas station. can anyone help me with the syntax? thanks! ---------- Post added at 10:19 ---------- Previous post was at 10:18 ---------- script code private ["_target", "_caller", "_id", "_isNearFeed"]; _target = _this select 0; _caller = _this select 1; _id = _this select 2; if (isNil "ib_refueling_in_progress") then { ib_refueling_in_progress = false; }; if (!ib_refueling_in_progress) then { _isNearFeed = count ((position _caller) nearObjects ["Land_A_FuelStation_Feed", 10]) > 0; if (!_isNearFeed) then { titleText ["You must be near a fuel station pump.", "PLAIN DOWN", 3]; titleFadeOut 3; } else { ib_refueling_in_progress = true; titleText ["Refueling", "PLAIN", 3]; while {(vehicle _caller == _target) and (local _target)} do { private ["_velocity", "_fuel", "_pos"]; _velocity = velocity _target; _fuel = fuel _target; _pos = position _target; if ((_velocity select 0 > 1) or (_velocity select 1 > 1) or (_velocity select 2 > 1)) exitWith { }; if (_position select 2 > 0.5) exitWith {}; if (_fuel >= 1.0) exitWith { }; sleep 0.5; _fuel = _fuel + 0.007; if (_fuel >= 1.0) then { _fuel = 1.0; }; _target setFuel _fuel; }; titleFadeOut 1; ib_refueling_in_progress = false; }; }; ---------- Post added at 10:22 ---------- Previous post was at 10:19 ---------- Things I've tried [nil,nil,rHINT,"You hear the rumblings of a gas pump in the distance."] call RE; [nil, nil, rSPAWN, [], {rHINT,"You hear the rumblings of a gas pump in the distance."}] call RE; [nil,nil,,rTITLETEXT,format["You hear the rumblings of a gas pump in the distance.", (name _caller)],"PLAIN DOWN"] call RE; and using rSPAWN to call BIS_fnc_infoText
×