Jump to content

Search the Community

Showing results for tags 'BAckpack'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 11 results

  1. Hi, How do i know what is inside a player backpack? I found some functions in the WIKI BI but all of then are only to Arma 3. Thankyou!
  2. InventoryOpened.sqf: // @file Author: Ivlar.net [] spawn { while {1 == 1} do { waitUntil {!isnull (findDisplay 602)}; { if ((isPlayer _x && _x != player) && (alive _x)) then { _backpack=backpackContainer player; _backpack_x=backpackContainer _x; if(_backpack==_backpack_x)then{ hint "No Duping!"; removeBackpack player; }; }; } forEach nearestObjects [player, ["Epoch_Male_F","Epoch_Female_F"], 10]; sleep 1; }; }; Add to your init: if (hasInterface) then { [] execVM "InventoryOpened.sqf"; }; Maybe you have any ideas on how to improve the script?
  3. Tricks

    Backpack/Skin Dupers

    Hey guys, Was wondering if there was a way I can make it so you have to drop your backpack to change skins. Finding players duping very easily with this exploit. Thanks!
  4. Hi im trying to make a script that changes a players skin to a rocker skin with out loosing his backpack Here is my code private ["_bagType","_bagMagazines","_bagWeapons","_array1","_array2"]; _unitBag = unitBackpack player; _bagType = typeOf _unitBag; _bagWeapons = getWeaponCargo _unitBag; _bagMagazines = getMagazineCargo _unitBag; removeBackpack (vehicle player); sleep 1; [dayz_playerUID,dayz_characterID,'Rocker2'] spawn player_humanityMorph; sleep 1; if(_bagType == "CZ_VestPouch_EP1" || _bagType == "DZ_LargeGunBag_EP1" || _bagType == "DZ_ALICE_Pack_EP1" || _bagType == "DZ_Assault_Pack_EP1" || _bagType == "DZ_Backpack_EP1" || _bagType == "DZ_British_ACU" || _bagType == "DZ_CivilBackpack_EP1" || _bagType == "DZ_Czech_Vest_Pouch" || _bagType == "DZ_Patrol_Pack_EP1" || _bagType == "DZ_TK_Assault_Pack_EP1" || _bagType == "DZ_GunBag_EP1" || _bagType == "DZ_CompactPack_EP1" || _bagType == "DZ_TerminalPack_EP1") then { (vehicle player) addBackpack _bagType; sleep 0.1; _array1 = _bagWeapons select 0; _array2 = _bagWeapons select 1; for [{_i=0}, {_i < count _array1}, {_i=_i+1}] do { (unitBackpack player) addWeaponCargo [(_array1 select _i),(_array2 select _i)]; }forEach ARRAY; _array1 = _bagMagazines select 0; _array2 = _bagMagazines select 1; for [{_i=0}, {_i < count _array1}, {_i=_i+1}] do { (unitBackpack player) addMagazineCargo [(_array1 select _i),(_array2 select _i)]; }forEach ARRAY; }; i think my problem is that the sleep funtion don't work wile using player_humanityMorph if i make this. It takes off my backpack and put it on again. sleep 1; //[dayz_playerUID,dayz_characterID,'Rocker2'] spawn player_humanityMorph; sleep 1; Hope some one can help me :)
  5. Hello, Looking for some help with this Code i am trying to add to our server as a backpack theft protection when inside safezones. We had something similar up to now but it just didn't work very well. I am adding this code to the bottom of my custom fn_gearMenuChecks.sqf which is called in the MPMission\compiles.sqf. I've added comments trying to explain what it is doing (WE ALSO USE CUSTOM FRIENDLIST SYSTEM, so things may look strange) THE CODE: if (inSafeZone) then //if player inside a safezone { _playerNear = (({isPlayer _x} count (nearestObjects [player, ['Man'],6])) > 1); //there is another player within 6m of you if (_playerNear) then //if player within 6m { //define variables _puid = getPlayerUID player; _fuid = getPlayerUID cursorTarget; _playerID = player getVariable ["CharacterID", "0"]; _targetid = cursorTarget getVariable ["CharacterID", "0"]; _sFriends = player getVariable ["friendlies", []]; _pfls = player getVariable ["AH_friendlist",[]]; _tFriends = cursorTarget getVariable ["friendlies", []]; _ffls = cursorTarget getVariable ["AH_friendlist",[]]; _isFriend = (((_targetid in _sFriends)&&(_playerID in _tFriends)) || ((_fuid in _pfls)&&(_puid in _ffls))); //player is inside your friendslist _isLootpile = (cursorTarget isKindOf "WeaponHolder"); //cursortarget is a lootpile if (!_isFriend || _isLootpile) then //if target not inside friendslist OR cursortarget is a lootpile { _display closeDisplay 1; // do not allow gear access cutText ["\nANTI-THEFT: You cannot access non-friends gear/backpacks in safezone!","PLAIN DOWN"]; //text }; }; }; Point is that if you are inside a safezone and there is another player within 6m: - if target player is not inside your friendslist = you cannot access their gear/backpack - if you target a lootpile = no gear access The problem is that it does not let me access anyones gear if there is another player within 6m, no matter if they are in my friendslist or not. Very tired trying to figure out what could be wrong, does this code look allright? Here's my whole fn_gearMenuChecks.sqf: http://pastebin.com/znjtWC8R Any help is appreciated
  6. Epoch 0.2.0.1 Arma 1.34.128075 CPC Hardcore Wearing a ghillie, wanted to take AI's clothes in my backpack by dragging them into the backpack contents area. Wouldn't go in, but a copy of my ghillie (!) would be dropped next to the AI's body. Rest as per other reports - duped ghillie had same contents as mine (a whole lotta swings).
  7. Hi All, Every time a player or admin (any level) exists the game and comes back in their backpack gear is wiped (including mine when I do it) Now, I know what your thinking, they are logging off near someone, near the sevrer restart time or combat logging. none of the above, my players were either miles apart, alone or in the middle of restarts, this happens every single time without exeption no matter where or how you log off and its driving players away (and some of my admins) as I cant fix it and they are getting sick of it :/ I have Antihack by InfiSTAR and I dont know if it has anything to do with that? :/ Realy stuck for ideas and could do with a little help :( Aaron
  8. hey guys, so im looking for some help from anyone at all. basically i found this: and ive been trying to replicate it for some time but im not that great from a coding standpoint. can anyone by chance help me figure this out (clueless) i would love to be able to sell from both a locked vehicle (or unlocked) and your backpack. any help would be appreciated.
  9. Hi, I am looking to see if I can fix a couple of issues with backpack to inventory exchange. Putting a gun in to your inventory loads available slots with sa much ammo as it can. Will look to change this to 2 mags max auto load if you have them available. Swapping a gun to / from the backpack with another gun will drop the gun / ammo swapped to the backpack if you do not have enough room. Looking for a starting point for this to try and avoid having to try to trawl through multiple PBOs and sqf file. Any pointers on which files to look at would be appreciated. Thanks RB
  10. I changed the "_inventory" and "_backpack", but "_backpack" changed is no effect. I how to do? //Variables _inventory = [["NVGoggles","Binocular","MakarovSD","ItemMap","ItemGPS","ItemEtool","ItemCompass","ItemWatch","ItemToolbox","ItemFlashlight","ItemKnife","ItemMatchbox","ItemCrowbar","ItemHatchet_DZE","Winchester1866"],["15Rnd_W1866_Slug","15Rnd_W1866_Slug","15Rnd_W1866_Slug","8Rnd_9x18_MakarovSD","8Rnd_9x18_MakarovSD","8Rnd_9x18_MakarovSD","8Rnd_9x18_MakarovSD","ItemBandage","ItemBandage","ItemBandage","ItemBandage"]]; _backpack = ["DZ_Backpack_EP1",[[],[]],[["ItemBloodbag","ItemHeatPack","ItemPainkiller","ItemAntibiotic","ItemMorphine","ItemEpinephrine","ItemWaterbottle","FoodMRE","ItemBriefcase50oz"],[1,1,1,1,1,1,1,1,1]]]; _survival = [0,0,0]; _isInfected = 0; _model = "";
  11. I was just thinking that since Epoch already has most of the civilian vehicles from this wonderful pack, why not include the rest of it? Obviously I don't mean adding anything like tanks and such (maybe the armored repair vehicles since tracks are usually easy to break) but stuff like the other police vehicles, the military transport trucks, the ridiculous fire engine thats massive because it looks lovely, etc. Also it would be a quick way of injecting basic items like new backpacks, weapons, and skins into Epoch to make a mod that has come so far to take it's seat upon the throne of best DayZ mod. (At least in my opinion) Link to the Armaholic Page : http://www.armaholic.com/page.php?id=17447
×
×
  • Create New...