DirtySanchez Posted February 16, 2017 Share Posted February 16, 2017 (edited) Hey everyone, Altis Life eXpanded Housing system with Vector Building included for FREE Brought to you by the eXpoch development team and DonkeyPunch Community Gaming. ENJOY!!!! So far many items have been added but you guys can add whatever else you want to this system The github was made like this so you can see EVERY SINGLE change I made. LEARN FROM THIS, USE THIS, eXpand UPON THIS. DO NOT SELL THIS, DO NOT CLAIM THIS AS YOURS. but ENJOY GAME ON!!! -sTanG https://github.com/ravmustang/AltisLife-eXpandedHousing Edited February 16, 2017 by DirtySanchez 1 1 Quote Link to comment Share on other sites More sharing options...
Matthias Burns | Matze Posted February 26, 2017 Share Posted February 26, 2017 so which files are to use? Quote Link to comment Share on other sites More sharing options...
MrMallenby Posted March 6, 2017 Share Posted March 6, 2017 How do i use this in my own mission file? Quote Link to comment Share on other sites More sharing options...
DirtySanchez Posted March 6, 2017 Author Share Posted March 6, 2017 Hey guys sorry for the delay in popping back in here. Thanks to @BoGuu for telling me "told ya so!" Ok so we have 64 bit arma 3 coming soon along with 5.0 sometime thereafter :fingers crossed:  If you look on my github at the wasteland versions readme, you will see what I am planning and have started to do for this version  Please be patient whIle all the arma 3 developers, scriptors and owners are preparing for all of the arma bis goodness we will get out of this update.  In the meantime those that have c succeeded please let me know any upgrades you have in mind or have implemented.  GAME ON!!! -sTanG Quote Link to comment Share on other sites More sharing options...
Matthias Burns | Matze Posted March 10, 2017 Share Posted March 10, 2017 On 6.3.2017 at 5:57 PM, Wackbatt said: take the files from the git and add them to your own mission the question is WHICH, there from standard 5.0 i already got them Quote Link to comment Share on other sites More sharing options...
Nikos Posted March 11, 2017 Share Posted March 11, 2017 On 6/3/2017 at 6:57 PM, Wackbatt said: take the files from the git and add them to your own mission It is not that simple unless we are talking about a vanilla server. Most of us have modified things, here and there, to suit our needs. That means, someone wanting to install the expanded housing needs to track the modified or new files, which are marked as "Release v1" in the github announcement. This may be not enough though. Each of the already existing, in an existing server, files must be compared to the "Release v1" and changes applied. That's in order to avoid losing our changes, if done. In a Vanilla server, even in one with only a few modifications, things are very easy of course. Quote Link to comment Share on other sites More sharing options...
Nikos Posted March 11, 2017 Share Posted March 11, 2017 Correct me if I am wrong. These are commits from the "non-expanded housing" to "Release v1", right? 1 Quote Link to comment Share on other sites More sharing options...
Joel Posted March 19, 2017 Share Posted March 19, 2017 Wich Altis Life Version is on Github? Quote Link to comment Share on other sites More sharing options...
Matthias Burns | Matze Posted March 20, 2017 Share Posted March 20, 2017 Looks like 5.0 since there is this config section. Quote Link to comment Share on other sites More sharing options...
GpGamingX Posted March 31, 2017 Share Posted March 31, 2017 when you place the objects, can you place them in walls and outside? Quote Link to comment Share on other sites More sharing options...
Kangaroo Posted April 28, 2017 Share Posted April 28, 2017 On 3/31/2017 at 10:45 AM, GpGamingX said: when you place the objects, can you place them in walls and outside? as you saw the sandbags inside of the house fences.. I'd assume so .. But why dont you test it Quote Link to comment Share on other sites More sharing options...
GpGamingX Posted April 28, 2017 Share Posted April 28, 2017 Yes, I see. Well I would have tested it back then if I known about a little thing called making a copy of my server And testing it out. Lol. I was such a noob then. Quote Link to comment Share on other sites More sharing options...
N/A Posted May 5, 2017 Share Posted May 5, 2017 To fix error in fn_removeContainer, go into the file, add "_furnitures", to the private[] section, add _furnitures = _house getVariable ["furnitures",[]]; right under _containers = _house getVariable ["containers",[]]; Quote Link to comment Share on other sites More sharing options...
N/A Posted May 13, 2017 Share Posted May 13, 2017 I had to remove some of the button keys to move the object forward sideways etc because people are able to stand in their house but still place objects far outside it using these keys. Also, the limit to the amount of objects doesn't seem to be working for me, has anyone else got it working properly? lightPos[] = {2,0,3.5}; furniture = 12;  Quote Link to comment Share on other sites More sharing options...
Wilder Posted May 26, 2017 Share Posted May 26, 2017 Any 4.4 version ? Quote Link to comment Share on other sites More sharing options...
Delexical Posted June 24, 2017 Share Posted June 24, 2017 Hey guys, just wondering if anyone else is having this problem. Duplication The duplications disappear when I sell the house but the original ones don't. I can also pick them all up; making an unlimited supply of furniture. Thanks, Carl. Quote Link to comment Share on other sites More sharing options...
Delexical Posted June 24, 2017 Share Posted June 24, 2017 (edited) Update: I believe that the storage crates disappear when sold. Desks are still staying - - testing other objects. Update 2: Only duplicates on player disconnect, not on #restart. Edited June 24, 2017 by 14e_Senator_Walter Quote Link to comment Share on other sites More sharing options...
N/A Posted June 26, 2017 Share Posted June 26, 2017 On 6/23/2017 at 10:40 PM, 14e_Senator_Walter said: Update: I believe that the storage crates disappear when sold. Desks are still staying - - testing other objects. Update 2: Only duplicates on player disconnect, not on #restart. i went into houseCleanup and put _container = nearestObjects[_pos,["Box_IND_Grenades_F","B_supplyCrate_F"],12];  above _lifeContainers = getArray(missionConfigFile >> "CfgDonkeyPunchCustoms" >> "LifeContainers");  and it worked Quote Link to comment Share on other sites More sharing options...
Delexical Posted June 27, 2017 Share Posted June 27, 2017 (edited) 16 hours ago, Repentz said: i went into houseCleanup and put _container = nearestObjects[_pos,["Box_IND_Grenades_F","B_supplyCrate_F"],12];  above _lifeContainers = getArray(missionConfigFile >> "CfgDonkeyPunchCustoms" >> "LifeContainers");  and it worked Testing.  In two parts of the video he explains that some things were duplicated. So I don't think it's just me. But on that Malden server both targets and storage are being duplicated. Testing the fix now. Edited June 27, 2017 by 14e_Senator_Walter Video Quote Link to comment Share on other sites More sharing options...
Delexical Posted June 27, 2017 Share Posted June 27, 2017 (edited) 17 hours ago, Repentz said: i went into houseCleanup and put _container = nearestObjects[_pos,["Box_IND_Grenades_F","B_supplyCrate_F"],12];  above _lifeContainers = getArray(missionConfigFile >> "CfgDonkeyPunchCustoms" >> "LifeContainers");  and it worked I believe that you posted a fix for storage crates not deleting, I'm not 100% sure though. Anyways, this didn't fix my problem. Only Storage boxes are disappearing after being sold. But Storage boxes and furniture still do duplicate. (See Screenshot) I hope someone can post a fix as even one of the biggest Malden life is having duplication issues (above video). Spoiler /* File: fn_houseCleanup.sqf Author: NiiRoZz Description: Cleans up containers inside in house of player. */ private ["_query","_containers"]; _query = format ["SELECT pid, pos FROM containers WHERE pid='%1' AND owned='1'",_this]; _containers = [_query,2,true] call DB_fnc_asyncCall; if (count _containers isEqualTo 0) exitWith {}; { _pos = call compile format ["%1",_x select 1]; _lifeContainers = getArray(missionConfigFile >> "CfgDonkeyPunchCustoms" >> "LifeContainers"); _lifeFurniture = getArray(missionConfigFile >> "CfgDonkeyPunchCustoms" >> "BuildableFurniture"); _lifeContainers = _lifeContainers + _lifeFurniture; { deleteVehicle _x; } forEach _container; } forEach _containers;  Spoiler #include "\life_server\script_macros.hpp" /* File : fn_fetchPlayerHouses.sqf Author: Bryan "Tonic" Boardwine Modified : NiiRoZz Description: 1. Fetches all the players houses and sets them up. 2. Fetches all the players containers and sets them up. */ private ["_query","_containers","_containerss","_houses","_furnituress"]; params [ ["_uid","",[""]] ]; if (_uid isEqualTo "") exitWith {}; _query = format ["SELECT pid, pos, classname, inventory, gear, dir, id FROM containers WHERE pid='%1' AND owned='1'",_uid]; _containers = [_query,2,true] call DB_fnc_asyncCall; _containerss = []; _furnituress = []; { _position = call compile format ["%1",_x select 1]; _house = nearestObject [_position, "House"]; _direction = call compile format ["%1",_x select 5]; _trunk = [_x select 3] call DB_fnc_mresToArray; if (_trunk isEqualType "") then {_trunk = call compile format ["%1", _trunk];}; _gear = [_x select 4] call DB_fnc_mresToArray; if (_gear isEqualType "") then {_gear = call compile format ["%1", _gear];}; //furniture and container split _className = _x select 2; _type = getText(missionConfigFile >> "CfgDonkeyPunchCustoms" >> _className); _isFurniture = getNumber(missionConfigFile >> "VirtualItems" >> _type >> "furniture") isEqualTo 1; _container = createVehicle[_x select 2,[0,0,999],[],0,"NONE"]; waitUntil {!isNil "_container" && {!isNull _container}}; if!(_isFurniture)then{ _containerss pushBack _container; }else{ _furnituress pushBack _container; _container enableSimulationGlobal false; }; _container allowDamage false; _container setPosATL _position; _container setVectorDirAndUp _direction; //Fix position for more accurate positioning _posX = _position select 0; _posY = _position select 1; _posZ = _position select 2; _currentPos = getPosATL _container; _fixX = (_currentPos select 0) - _posX; _fixY = (_currentPos select 1) - _posY; _fixZ = (_currentPos select 2) - _posZ; _container setPosATL [(_posX - _fixX), (_posY - _fixY), (_posZ - _fixZ)]; _container setVectorDirAndUp _direction; _container setVariable ["Trunk",_trunk,true]; _container setVariable ["container_owner",[_x select 0],true]; _container setVariable ["container_id",_x select 6,true]; clearWeaponCargoGlobal _container; clearItemCargoGlobal _container; clearMagazineCargoGlobal _container; clearBackpackCargoGlobal _container; if (count _gear > 0) then { _items = _gear select 0; _mags = _gear select 1; _weapons = _gear select 2; _backpacks = _gear select 3; for "_i" from 0 to ((count (_items select 0)) - 1) do { _container addItemCargoGlobal [((_items select 0) select _i), ((_items select 1) select _i)]; }; for "_i" from 0 to ((count (_mags select 0)) - 1) do{ _container addMagazineCargoGlobal [((_mags select 0) select _i), ((_mags select 1) select _i)]; }; for "_i" from 0 to ((count (_weapons select 0)) - 1) do{ _container addWeaponCargoGlobal [((_weapons select 0) select _i), ((_weapons select 1) select _i)]; }; for "_i" from 0 to ((count (_backpacks select 0)) - 1) do{ _container addBackpackCargoGlobal [((_backpacks select 0) select _i), ((_backpacks select 1) select _i)]; }; }; _house setVariable ["containers",_containerss,true]; } forEach _containers; _query = format ["SELECT pid, pos FROM houses WHERE pid='%1' AND owned='1'",_uid]; _houses = [_query,2,true] call DB_fnc_asyncCall; _return = []; { _pos = call compile format ["%1",_x select 1]; _house = nearestObject [_pos, "House"]; _house allowDamage false; _return pushBack [_x select 1,_containerss]; } forEach _houses; missionNamespace setVariable [format ["houses_%1",_uid],_return];  I believe those two files are the files that have a problem in them, not sure though. Edited June 27, 2017 by 14e_Senator_Walter 'and furniture' Quote Link to comment Share on other sites More sharing options...
Delexical Posted July 1, 2017 Share Posted July 1, 2017 Bump. Quote Link to comment Share on other sites More sharing options...
HarryJacobs Posted July 12, 2017 Share Posted July 12, 2017 Is there a 4.4 version of this? Quote Link to comment Share on other sites More sharing options...
Delexical Posted July 19, 2017 Share Posted July 19, 2017 On 6/27/2017 at 1:51 AM, Repentz said: i went into houseCleanup and put _container = nearestObjects[_pos,["Box_IND_Grenades_F","B_supplyCrate_F"],12];  above _lifeContainers = getArray(missionConfigFile >> "CfgDonkeyPunchCustoms" >> "LifeContainers");  and it worked Btw, it still happened on your Malden server after you posted this. Quote Link to comment Share on other sites More sharing options...
N/A Posted July 19, 2017 Share Posted July 19, 2017 2 hours ago, 14e_Senator_Walter said: Btw, it still happened on your Malden server after you posted this. odd Quote Link to comment Share on other sites More sharing options...
Delexical Posted July 20, 2017 Share Posted July 20, 2017 9 hours ago, Repentz said: odd I know that this is abit fan boy but PsiSyn said that something duped after you posted that  not sure if it's still happening tho 0.o Still happening on my server but it only dupes on client reconnect, not on restart. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.