Jump to content

Search the Community

Showing results for tags 'virtual garage'.



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 8 results

  1. Hi guys, Here's my version of Virtual Garage, it's not far off a full rewrite but includes some of the original code that the original author contributed. Fixes a lot of problems and adds a lot of newer features: Single UI for storing/retrieving vehicles Dynamic pricing based on vehicle type/classname Dynamic limits based on vehicle type/classname Adds support for removing a helipad nearby Able to see storage in stored vehicles RPT logging for storing/retrieving vehicles Fixes dupes for more than 2 people depositing the same vehicle Supports briefcases and coins Localization support (currently german and russian) Has uninstall information for the previous version Please see my github repo for install instructions: https://github.com/oiad/virtualGarage
  2. Hi all, doing up a server for myself and a few friends but am having one issue which I am clueless as to why it is happening. It doesn't really affect game play but does make it difficult navigating through certain tasks. The issue arises with ZSC and Virtual Garage dialogs only as far as I have tested. Certain buttons within dialogs do not show, such as the deposit and withdraw buttons for the bankers and the store vehicle button in the Virtual Garage dialog. I am running InfiSTAR admin tools and antihack and as far as I know, that could be the culprit with these problems but I have checked the servers .RPT and checked for errors with ZSC and the Virtual Garage with nothing coming up. There are InfiSTAR logs showing though and one refers to a dialog. In-game screens And my .RPT from the last restart to when I tested the dialogs to gather screenshots All help is appreciated as I can't find anything to do with infiSTAR in the script installs. Thanks all!
  3. Ok, I got virtual garage in the server fully, It still is screwy tho but in term it works, We can use the plotpole with it but now it is breaking our banking system. I haven't a clue what has gone wrong with it i followed every instruction not sure if its a config that screwed up or what it would be?
  4. Alright so here is the virtual garage. ALL CREDITS go to the original authors. GZA David for the Virtual Garage script Torndeco for the EXT Database All i did was change a few variables to update it for 1.0.6.1 DOWNLOAD https://github.com/theduke77/Virtual-Garage I use the script a little different than intended. The only difference, i use vehicle and air traders to access the virtual garage, intended for use with garages, but requires gem crafting... The original instructions are in the download in case someone wants to do it that way so on with the instructions.. Tools Required Notepad ++ PBO Tool SQL tool such as HeidiSQL First we start with the mission folder. copy the scripts folder from the downloads into your mission folder. 1. Open your init.sqf look for dayz_randomMaxFuelAmount add this bellow DZE_garagist = ["Profiteer4","Worker3","RU_Profiteer4","Hooker1","Worker2"]; save and close 2. Open your description.ext add this at the bottom #include "scripts\garage\common.hpp" #include "scripts\garage\vehicle_garage.hpp" save and close 4. Open your fn_selfactions.sqf look for //Player Deaths add this above //Garage if((_typeOfCursorTarget in DZE_garagist) && (player distance _cursorTarget < 5)) then { if (s_garage_dialog2 < 0) then { s_garage_dialog2 = player addAction ["Vehicle Garage", "scripts\garage\vehicle_dialog.sqf",_cursorTarget, 3, true, true, "", ""]; }; if (s_garage_dialog < 0) then { s_garage_dialog = player addAction ["Store Vehicle in Garage", "scripts\garage\vehicle_store_list.sqf",_cursorTarget, 3, true, true, "", ""]; }; } else { player removeAction s_garage_dialog2; s_garage_dialog2 = -1; player removeAction s_garage_dialog; s_garage_dialog = -1; }; still in the fn_selfactions.sqf look for player removeAction s_player_fuelauto2; s_player_fuelauto2 = -1; player removeAction s_player_manageDoor; s_player_manageDoor = -1; add this bellow player removeAction s_garage_dialog2; s_garage_dialog2 = -1; player removeAction s_garage_dialog; s_garage_dialog = -1; save and close. 5. Open your variables.sqf look for dayz_resetSelfActions = { add this before the closing bracket }; s_garage_dialog = -1; s_garage_dialog2 = -1; save and close 6. Open your compiles.sqf look for fn_dropItem = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_dropItem.sqf"; add this above player_getVehicle = compile preprocessFileLineNumbers "scripts\garage\getvehicle.sqf"; player_storeVehicle = compile preprocessFileLineNumbers "scripts\garage\player_storeVehicle.sqf"; vehicle_info = compile preprocessFileLineNumbers "scripts\garage\vehicle_info.sqf"; Still in the compiles, add this at the bottom SC_fnc_removeCoins= { private ["_player","_amount","_wealth","_newwealth", "_result"]; _player = _this select 0; _amount = _this select 1; _result = false; _wealth = _player getVariable[Z_MoneyVariable,0]; if(_amount > 0)then{ if (_wealth < _amount) then { _result = false; } else { _newwealth = _wealth - _amount; _player setVariable[Z_MoneyVariable,_newwealth, true]; _player setVariable ["moneychanged",1,true]; _result = true; call player_forceSave; }; }else{ _result = true; }; _result }; SC_fnc_addCoins = { private ["_player","_amount","_wealth","_newwealth", "_result"]; _player = _this select 0; _amount = _this select 1; _result = false; _wealth = _player getVariable[Z_MoneyVariable,0]; _player setVariable[Z_MoneyVariable,_wealth + _amount, true]; call player_forceSave; _player setVariable ["moneychanged",1,true]; _newwealth = _player getVariable[Z_MoneyVariable,0]; if (_newwealth >= _wealth) then { _result = true; }; _result }; vehicle_gear_count = { private["_counter"]; _counter = 0; { _counter = _counter + _x; } count _this; _counter }; save and close 7A. Open your publicEH.sqf If you don't have a custom publicEH.sqf already, go to step 7B look for if (dayz_groupSystem) then { "PVDZ_Server_UpdateGroup" addPublicVariableEventHandler {(_this select 1) spawn server_updateGroup}; }; add this bellow "PVDZE_queryGarageVehicle" addPublicVariableEventHandler {(_this select 1) spawn server_queryGarageVehicle}; "PVDZE_spawnVehicle" addPublicVariableEventHandler {(_this select 1) spawn server_spawnVehicle}; "PVDZE_storeVehicle" addPublicVariableEventHandler {(_this select 1) spawn server_storeVehicle}; 7B. Only do this step if you DON'T have a custom publicEH.sqf Open your init.sqf again look for call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; replace it with this call compile preprocessFileLineNumbers "scripts\garage\publicEH.sqf"; Thats it for the mission file Now for the server Copy the garage folder from the download, into the compiles folder in your dayz_server folder 1. Open your server_functions.sqf look for this spawn_vehicles = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\spawn_vehicles.sqf"; add this bellow "extDB" callExtension "9:DATABASE:Database2"; "extDB" callExtension format["9:ADD:DB_RAW_V2:%1",1]; "extDB" callExtension "9:LOCK"; server_queryGarageVehicle = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\garage\server_queryGarageVehicle.sqf"; server_spawnVehicle = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\garage\server_spawnVehicle.sqf"; server_storeVehicle = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\garage\server_storeVehicle.sqf"; fn_asyncCall = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\garage\fn_async.sqf"; Save and close Thats it for the server PBO BattlEye Add to publicvariable.txt: !="PVDZE_queryGarageVehicle" !="PVDZE_storeVehicle" !="PVDZE_spawnVehicle" Infistar Infistar: Add to _ALLOWED_Dialogs: 2800,3800 Now for the database Using heidi (or your favorite sql tool) Open SQL.txt and copy everything in there and run a query on your database. This will create a database called extdb Copy the @extdb folder to the root of your server. In your server launch BAT. add @extdb; before @dayz_epoch_server Open the @extdb folder, edit the extdb-conf.ini and change the username and password to suit your needs. (you might need to give all permissions for that user for the new database in heidi) All done. Log in and go visit your vehicle traders! Cheers Enjoy! EDIT: updated the instructions for the fix of ANY/gear and it not taking coins. Please refer to step 6 EDIT 22/03/2017 : Added a fix for client RPT error (Step 5) Also changed the variable for the currency
  5. Hi all, Someone have working virtual garage script for Chernarus epoch server? Thank you! Corpulio_Hun
  6. I am trying to install virtual garage. Need help on fixing a line of script. in my server_monitor.sqf I have a line of script that is: if ((count _intentory > 0) && !(typeOf( _object) in DZE_DoorsLocked)) then { I need to add the following to it: if ((count _inventory > 0) && !((typeOf _object) in DZE_Garage)) then { Would it be: if ((count _intentory > 0) && !((typeOf( _object) in DZE_DoorsLocked),((typeOf _object) in DZE_Garage)) then {
  7. Hello community, With a lot of hard work and amazing help from GZA, we were able to get Virtual Garage to work on our hosted test server. Here is the link to his awesome script https://seafile.zomb...u/d/1cdde343bd/! GZA uses deploy his garages. I don't want to use this large script for just this single reason. I was hoping someone in this awesome community with the knowledge of scripting would be able to develop an addon that would allow the following: 1) Allow the item to be purchased from a trader eg. gem. 2) Deployment of: Land_MBG_Garage_Single_A Land_MBG_Garage_Single_B Land_MBG_Garage_Single_C Land_MBG_Garage_Single_D Helipad 3) Allow the player to adjust positioning of the garage or helipad before placement. 4) Have the item consumed after garage or helipad is placed. I can't wait to see if someone is able to come up with something that works. This could be a great way to help with database performance by reducing the amount of cars on the server. Also help reduce the complaints of players vehicles "disappearing". Thanks in advance!!
  8. Hello Guys I was installing a virtual garage from overheat but when i point towards the garage it does not give any option to use that if its related to self action here is mine please help to point out mistake in case more files required please name them Using P4L and plot management tried to use ids from both of them
×
×
  • Create New...