Jump to content

[Outdated][RELEASE] Virtual Garage update for 1061


theduke

Recommended Posts

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

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

Link to comment
Share on other sites

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

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 :laugh:

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

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

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

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

@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";

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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.

Link to comment
Share on other sites

  • 2 weeks later...
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

Guest
This topic is now closed to further replies.
×
×
  • Create New...