SKS.Goliath Posted March 22, 2017 Report Share Posted March 22, 2017 hello me rpt vgarage me store vehicle this work and remove key problem me not see vehicle in db and in game Garage list is empty Error Undefined variable in expression: _key File z\addons\dayz_server\compile\garage\fn_async.sqf, line 26 or Error Undefined variable in expression: _queryresult Link to comment Share on other sites More sharing options...
theduke Posted March 23, 2017 Author Report Share Posted March 23, 2017 17 hours ago, SmokeyBR said: Thanks for the input. The client RPT error is fixed. Please refer to step 5 As for the server i have yet to reproduce it I also added a fix for the currency to remove properly thanks to cherdenko @Cherdenko I tried the z_moneyvariable again and it worked for me this time.. dont know why it didnt work the first time.. i might of forgot to save the file haha OP has been updated Cherdenko and SmokeyBR 2 Link to comment Share on other sites More sharing options...
SmokeyBR Posted March 23, 2017 Report Share Posted March 23, 2017 going to test it now that i think about the the first server error might be because ground vehicles were spawning without a helipad. Link to comment Share on other sites More sharing options...
theduke Posted March 23, 2017 Author Report Share Posted March 23, 2017 5 hours ago, SKS.Goliath said: hello me rpt vgarage me store vehicle this work and remove key problem me not see vehicle in db and in game Garage list is empty Error Undefined variable in expression: _key File z\addons\dayz_server\compile\garage\fn_async.sqf, line 26 or Error Undefined variable in expression: _queryresult make sure you did this part. Open the @extdb folder, edit the extdb-conf.ini and change the username and password to suit your needs. It seems its not able to access the database. Link to comment Share on other sites More sharing options...
WagnerMello Posted March 24, 2017 Report Share Posted March 24, 2017 Olá amigos gostaria de saber como usar este script com minérios eu não uso moedas juandayz 1 Link to comment Share on other sites More sharing options...
juandayz Posted March 24, 2017 Report Share Posted March 24, 2017 1 hour ago, WagnerMello said: Olá amigos gostaria de saber como usar este script com minérios eu não uso moedas before a moderator get angry with you He said "Hello friends i want to know how i can use this script with gold system, i dont have coins in my server" Link to comment Share on other sites More sharing options...
WagnerMello Posted March 24, 2017 Report Share Posted March 24, 2017 kkkkkkkkkkkkkk Sorry, I'm going crazy. juandayz 1 Link to comment Share on other sites More sharing options...
McPimpin Posted March 25, 2017 Report Share Posted March 25, 2017 I have gone through the instructions 4 times and I cannot get a scroll option on the vehicle traders for a Garage option. I have even tried it without infistar to rule out the antihack. Any suggestions. Link to comment Share on other sites More sharing options...
theduke Posted March 26, 2017 Author Report Share Posted March 26, 2017 1 hour ago, McPimpin said: I have gone through the instructions 4 times and I cannot get a scroll option on the vehicle traders for a Garage option. I have even tried it without infistar to rule out the antihack. Any suggestions. make sure your vehicle traders are in fact the ones in the dze_garagist group... if you are using cherno, they should be the correct ones unless you customized your traders. if that is fine, then double check and make sure you properly did the fn_selfactions.sqf part Link to comment Share on other sites More sharing options...
Cateyes Posted March 26, 2017 Report Share Posted March 26, 2017 Vehicles or helis without ammo spwan from the garage, where can I exhibit it ? or gives a script for this? Link to comment Share on other sites More sharing options...
theduke Posted March 26, 2017 Author Report Share Posted March 26, 2017 Thx will update it! EDIT: I cant find PVDZ_plr_Save anywhere in those files Link to comment Share on other sites More sharing options...
SmokeyBR Posted March 27, 2017 Report Share Posted March 27, 2017 On 3/14/2017 at 10:41 PM, theduke said: Still in the compiles, add this at the bottom theduke 1 Link to comment Share on other sites More sharing options...
theduke Posted March 27, 2017 Author Report Share Posted March 27, 2017 40 minutes ago, SmokeyBR said: LOL thanks. ya i needed sleep it shows. I was looking through the files themselves lol Ill do it as soon as i get home from work, in 8hrs ;) Link to comment Share on other sites More sharing options...
SmokeyBR Posted March 27, 2017 Report Share Posted March 27, 2017 its be known to happen to me too, just glad im able to help in some small way. Link to comment Share on other sites More sharing options...
theduke Posted March 27, 2017 Author Report Share Posted March 27, 2017 11 hours ago, SmokeyBR said: its be known to happen to me too, just glad im able to help in some small way. OP has been updated. Thanks @SmokeyBR and @ebayShopper :D Link to comment Share on other sites More sharing options...
Corpulio_Hun Posted April 2, 2017 Report Share Posted April 2, 2017 hi, I have a big problem with VG. When the server have a lag (some player have always lag because dont have good pc), u multiple hit "get vehicle " button(u use makro button in mouse), then duplicate VG the vehicle but multiple time. Only one key open ca 5-6 same time spawned vehicle. Someone have the solution? I need this quick! A half server player duplicate the vehicle :( Pls help me. Thx! Corpulio_Hun Link to comment Share on other sites More sharing options...
juandayz Posted April 2, 2017 Report Share Posted April 2, 2017 @Corpulio_Hun if lag = lowers fps .. you can use something like (this is an old antidupe) VG_antidupe.sqf private ["_abortVGmenu","_fps","_validfps"]; _fps = round(diag_fps); _validfps = 10; //put any other value to get the top of restriction while {true} do { _abortVGmenu = false; if (diag_fps <= _validfps) then { _abortVGmenu = true; }; if( !isNull (FindDisplay 106) ) then { if (_abortVGmenu) then { (FindDisplay 106) closeDisplay 1; sleep 1; systemChat format["VG Menu was closed by low value in fps: %1",_fps];//put your own text }; }; uisleep 0.2; }; ***the FindDisplay 106 must be changed by the VG menu number. @theduke knows what i talking about -go to your init.sqf find: if (!isDedicated) then { somewhere into this section paste: [] execVM "VGantidupe\VGantidupe.sqf"; Corpulio_Hun 1 Link to comment Share on other sites More sharing options...
Corpulio_Hun Posted April 3, 2017 Report Share Posted April 3, 2017 Thx! @theduke pls tell me the vg menu number :) Link to comment Share on other sites More sharing options...
theduke Posted April 3, 2017 Author Report Share Posted April 3, 2017 10 hours ago, Corpulio_Hun said: hi, I have a big problem with VG. When the server have a lag (some player have always lag because dont have good pc), u multiple hit "get vehicle " button(u use makro button in mouse), then duplicate VG the vehicle but multiple time. Only one key open ca 5-6 same time spawned vehicle. Someone have the solution? I need this quick! A half server player duplicate the vehicle :( Pls help me. Thx! Corpulio_Hun honestly the best solution for that is when you catch them, delete the extra vehicles, or ban them... always trying so hard to fix the issues shitheads like to take advantage of is a waste of effort and time. its easier to ban them. Thx @juandayz for the fix though. As for infistar number, if in the instructions juandayz 1 Link to comment Share on other sites More sharing options...
Corpulio_Hun Posted April 3, 2017 Report Share Posted April 3, 2017 11 hours ago, juandayz said: @Corpulio_Hun if lag = lowers fps .. you can use something like (this is an old antidupe) VG_antidupe.sqf private ["_abortVGmenu","_fps","_validfps"]; _fps = round(diag_fps); _validfps = 10; //put any other value to get the top of restriction while {true} do { _abortVGmenu = false; if (diag_fps <= _validfps) then { _abortVGmenu = true; }; if( !isNull (FindDisplay 106) ) then { if (_abortVGmenu) then { (FindDisplay 106) closeDisplay 1; sleep 1; systemChat format["VG Menu was closed by low value in fps: %1",_fps];//put your own text }; }; uisleep 0.2; }; ***the FindDisplay 106 must be changed by the VG menu number. @theduke knows what i talking about -go to your init.sqf find: if (!isDedicated) then { somewhere into this section paste: [] execVM "VGantidupe\VGantidupe.sqf"; Can u tell me pls what number is "findDisplay"? thx Link to comment Share on other sites More sharing options...
juandayz Posted April 3, 2017 Report Share Posted April 3, 2017 4 hours ago, Corpulio_Hun said: Can u tell me pls what number is "findDisplay"? thx dont have it, but i think is 2800 Spoiler private ["_abortVGmenu","_fps","_validfps"]; _fps = round(diag_fps); _validfps = 10; //put any other value to get the top of restriction while {true} do { _abortVGmenu = false; if (diag_fps <= _validfps) then { _abortVGmenu = true; }; if (_abortVGmenu) then { closeDisplay 2800; sleep 1; systemChat format["VG Menu was closed by low value in fps: %1",_fps];//put your own text }; uisleep 0.2; }; this is the only way that i have in mind. i guess must be a better fix. Corpulio_Hun 1 Link to comment Share on other sites More sharing options...
WagnerMello Posted April 17, 2017 Report Share Posted April 17, 2017 Hello friends is there a possibility to limit the amount of vehicles saved in the virtual garage? DieTanx 1 Link to comment Share on other sites More sharing options...
juandayz Posted April 19, 2017 Report Share Posted April 19, 2017 On 17/4/2017 at 7:13 PM, WagnerMello said: Hello friends is there a possibility to limit the amount of vehicles saved in the virtual garage? not sure cuz never use this script but you can start trying in player_storeVehicle.sqf adding this lines in red if (_objectID == "1") exitWith {cutText ["Can not store mission vehicle.", "PLAIN DOWN"];}; // Check for mission vehicle WAI Script if(count _obj > 5) exitWith { cutText ["you cannot store more vehicles.", "PLAIN DOWN"];//cannot store more than 5 vehicles }; Link to comment Share on other sites More sharing options...
WagnerMello Posted April 19, 2017 Report Share Posted April 19, 2017 Juan put this line and players can not keep any more cars even under 5 Link to comment Share on other sites More sharing options...
juandayz Posted April 19, 2017 Report Share Posted April 19, 2017 9 minutes ago, WagnerMello said: Juan put this line and players can not keep any more cars even under 5 ok, i fail but is something like this . maybe the _obj variable is not the variable needed in this case. Link to comment Share on other sites More sharing options...
Recommended Posts