Death bug?

Discussion in 'General Discussion' started by Varrak, Mar 22, 2014.

  1. Varrak

    Varrak New Member

    Joined:
    Mar 22, 2014
    Messages:
    6
    Likes Received:
    0
    I was testing this out, and first let me say I love this! It's very well done.

    My only problem was you can't die, you can get to a -450K blood count but yet you don't die, everything goes white and you can't see, you have broken bones, but can still crawl around and shoot your weapon (if you can actually manage to see anything) at one point I managed to hit ESC and 'respawn' however that just put me in the same state in the 'wilderness' with no way of curing myself or doing anything. The only way I could fix this was to actually edit my health stats in the database.

    Has anyone else came across this issue?

    Thank you in advance!
     
  2. Varrak

    Varrak New Member

    Joined:
    Mar 22, 2014
    Messages:
    6
    Likes Received:
    0
    Sorry that death bug was with the Joker (weird spelling) mod / stand alone server.
     
  3. Varrak

    Varrak New Member

    Joined:
    Mar 22, 2014
    Messages:
    6
    Likes Received:
    0
    And it's still here, this was a Mod put together by Joker and Pwnoz0r, and several other people. Here is the issue, this script

    removeAllWeapons _body;
    clearMagazineCargo _body;
    hidebody _body;

    // --------------------Create a loot container inside the grave.
    _tempContainer = createVehicle ["weaponHolder", getPosATL _body, [], 0, "can_collide"];
    _containerLoc = getPosATL _tempContainer;
    _containerLoc = [((_containerLoc select 0) + 0),((_containerLoc select 1) + 0),0];
    _tempContainer setPosATL _containerLoc;


    // #### PLAYER items to weaponholder start ####
    // player add weapons
    {
    _tempContainer addWeaponCargoGlobal [_x,1];
    } forEach _playerWeapons;

    // player add items
    {
    _tempContainer addMagazineCargoGlobal [_x,1];
    } forEach _playerMagazines;

    // #### PLAYER items to weaponholder stop ####
    // #### PLAYER skin to weaponsholder start ####
    switch (_playerSkin) do {
    case "Survivor3_DZ": {
    _playerSkin = "Survivor2_DZ";
    };
    case "Bandit1_DZ": {
    _playerSkin = "Survivor2_DZ";
    };
    };
    _skinItem = "Skin_" + _playerSkin;
    _okSkin = isClass (configFile >> "CfgMagazines" >> _skinItem);
    if(_okSkin) then {
    _tempContainer addMagazineCargoGlobal [_skinItem,1];
    };
    // #### PLAYER skin to weaponsholder stop ####
    // #### BACKPACK items to weaponsholder start ####

    if (!isNil "_newBackpackType") then {
    if (_newBackpackType != "") then {
    _backpackWpnTypes = [];
    _backpackWpnQtys = [];
    if (count _backpackWpn > 0) then {
    _backpackWpnTypes = _backpackWpn select 0;
    _backpackWpnQtys = _backpackWpn select 1;
    };
    _countr = 0;
    {
    _tempContainer addWeaponCargoGlobal [_x,(_backpackWpnQtys select _countr)];
    _countr = _countr + 1;
    } forEach _backpackWpnTypes;
    _backpackmagTypes = [];
    _backpackmagQtys = [];
    if (count _backpackmag > 0) then {
    _backpackmagTypes = _backpackMag select 0;
    _backpackmagQtys = _backpackMag select 1;
    };
    _countr = 0;
    {
    _tempContainer addmagazineCargoGlobal [_x,(_backpackmagQtys select _countr)];
    _countr = _countr + 1;
    } forEach _backpackmagTypes;
    };
    };
    // #### BACKPACK items to weaponsholder stop ####
    // #### BACKPACK to weaponsholder start ####
    // help from opendayz: AlienX (simpler code)
    _allowedBackpacks = ["CZ_VestPouch_EP1", "DZ_Patrol_Pack_EP1", "DZ_Assault_Pack_EP1", "DZ_CivilBackpack_EP1",
    "DZ_ALICE_Pack_EP1", "DZ_Backpack_EP1", "DZ_British_ACU", "DZ_Czech_Vest_Puch",
    "DZ_GunBag_EP1", "DZ_TerminalPack_EP1", "DZ_TK_Assault_Pack_EP1", "DZ_LargeGunBag_EP1"];

    _class = typeOf _backpack;
    if (_class in _allowedBackpacks) then { createVehicle [_class, position _body, [], 4, "can_collide"]; };

    // #### BACKPACK to weaponsholder stop ####

    // ### PERMALOOT start ###
    _tempContainer setVariable["permaLoot", true];
    // ### PERMALOOT stop ###


    // --------------------Create the tombstone objects.
    _graveBase = createVehicle ["GraveCross2", position _tempContainer, [], 0, "NO_COLLIDE"];
    _graveBase setPosATL position _tempContainer; // setPos again because arma.
    _graveBase setDir _playerDir;

    [_graveBase, _tempContainer] spawn {
    };
    hidebody _body;
    // ################## grave cross script stop ##################

    You just don't die, you can crawl / walk around or just lay dirt eating worms but you never respawn .. and if you do you are still in the same health state that you hit the ground with.
     
  4. Amazingpaper

    Amazingpaper New Member

    Joined:
    Mar 24, 2014
    Messages:
    7
    Likes Received:
    1
    I have the same problem! Did you end up fixing it?
     
  5. CoolGamer

    CoolGamer Member

    Joined:
    Apr 25, 2014
    Messages:
    33
    Likes Received:
    1
    I'd like to know that fix as well because I have a similar issue , it dies but gets stuck at respawn loading.
     
  6. FallingSheep

    FallingSheep OpenDayZ Lord!

    Joined:
    Mar 17, 2013
    Messages:
    1,935
    Likes Received:
    572
    He released a a fixed version, check the OP
     
  7. CoolGamer

    CoolGamer Member

    Joined:
    Apr 25, 2014
    Messages:
    33
    Likes Received:
    1
    I just tried it last night, same problem.
     

Share This Page