diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c5df59..135bb98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ #ExAd +## Changelog: +### 160505 01:40 . v0.6.1 +#### Fixed +* Display null when entering Virtual Garage from Flag (Virtual Garage) +* Sound error for grinding, tmp fix, sound will work on Chernarus (Grinding) + +#### Added + +#### Deleted + ## Changelog: ### 160502 23:15 . v0.6.0 #### Fixed diff --git a/mpmissions/Exile.Altis/ExAdClient/Grinding/CHANGELOG.md b/mpmissions/Exile.Altis/ExAdClient/Grinding/CHANGELOG.md index 1c43b6d..51b7f35 100644 --- a/mpmissions/Exile.Altis/ExAdClient/Grinding/CHANGELOG.md +++ b/mpmissions/Exile.Altis/ExAdClient/Grinding/CHANGELOG.md @@ -1,11 +1,12 @@ #VirtualGarage ## Changelog: + +### 160505 01:40 . v0.6.1 +#### Fixed +* Sound error for grinding, tmp fix, sound will work on Chernarus ### 160502 23:15 . v0.6.0 -#### Fixed - #### Added * Grinding introduced * Grinding battleye scripts -#### Deleted diff --git a/mpmissions/Exile.Altis/ExAdClient/Grinding/Functions/fn_grindLock.sqf b/mpmissions/Exile.Altis/ExAdClient/Grinding/Functions/fn_grindLock.sqf index bb2f9a8..fdf0cff 100644 --- a/mpmissions/Exile.Altis/ExAdClient/Grinding/Functions/fn_grindLock.sqf +++ b/mpmissions/Exile.Altis/ExAdClient/Grinding/Functions/fn_grindLock.sqf @@ -22,7 +22,9 @@ if(vehicle player != player)exitWith{false}; ExAd_GRINDING_OBJECT = _this select 0; ExAd_GRINDING = true; call ExileClient_gui_interactionMenu_unhook; -_soundSrc = createSoundSource ["Sound_Factory10", position ExAd_GRINDING_OBJECT, [], 0]; +if(isClass(configFile >> "CfgVehicles" >> "Sound_Factory10")) then { + _soundSrc = createSoundSource ["Sound_Factory10", position ExAd_GRINDING_OBJECT, [], 0]; +}; player playActionNow "medicStart"; @@ -81,7 +83,10 @@ while{(ExAd_GRINDING_OBJECT == cursorTarget) && ExAd_GRINDING}do{ _ticker = _ticker + 1; }; -deleteVehicle _soundSrc; +if(isClass(configFile >> "CfgVehicles" >> "Sound_Factory10")) then { + deleteVehicle _soundSrc; +}; + player playActionNow "medicStop"; removeMissionEventHandler ["Draw3D",ExAd_DRAW3D_HANDLER]; diff --git a/mpmissions/Exile.Altis/ExAdClient/Grinding/UPDATE.md b/mpmissions/Exile.Altis/ExAdClient/Grinding/UPDATE.md index 0fa0445..bf4dc04 100644 --- a/mpmissions/Exile.Altis/ExAdClient/Grinding/UPDATE.md +++ b/mpmissions/Exile.Altis/ExAdClient/Grinding/UPDATE.md @@ -1,5 +1,9 @@ #VirtualGarage ## Instructions: +### 160505 01:40 . v0.6.1 +#### Update +* Replace "ExAdClient\Grinding\Functions" + ### 160502 23:15 . v0.6.0 #### Full installation diff --git a/mpmissions/Exile.Altis/ExAdClient/VirtualGarage/CHANGELOG.md b/mpmissions/Exile.Altis/ExAdClient/VirtualGarage/CHANGELOG.md index 5fdab6f..964a0fb 100644 --- a/mpmissions/Exile.Altis/ExAdClient/VirtualGarage/CHANGELOG.md +++ b/mpmissions/Exile.Altis/ExAdClient/VirtualGarage/CHANGELOG.md @@ -1,5 +1,9 @@ #VirtualGarage ## Changelog: + +### 160505 01:40 . v0.6.1 +#### Fixed +* Display null when entering Virtual Garage from Flag ### 160429 14:04 . v0.5.1 #### Fixed diff --git a/mpmissions/Exile.Altis/ExAdClient/VirtualGarage/UPDATE.md b/mpmissions/Exile.Altis/ExAdClient/VirtualGarage/UPDATE.md index dc1d0f3..8a63318 100644 --- a/mpmissions/Exile.Altis/ExAdClient/VirtualGarage/UPDATE.md +++ b/mpmissions/Exile.Altis/ExAdClient/VirtualGarage/UPDATE.md @@ -1,5 +1,18 @@ #VirtualGarage ## Instructions: + +### 160505 01:40 . v0.6.1 +#### Update +* Modify config.cpp ("CfgInteractionMenus" >> "Flag") +```cpp +class VG : ExileAbstractAction +{ + title = "Virtual Garage"; + condition = "(([_object, getPlayerUID player] call ExileClient_util_territory_getAccessLevel) select 0) >= ExAd_VG_ACCESS_LEVEL"; + action = "[] spawn {[] call ExileClient_gui_xm8_show; UISleep 1; call XM8_VG_checkNearByFlags}"; +}; +``` + ### 160429 14:04 . v0.5.1 #### Update diff --git a/mpmissions/Exile.Altis/config.cpp b/mpmissions/Exile.Altis/config.cpp index 28911fc..cf4013d 100644 --- a/mpmissions/Exile.Altis/config.cpp +++ b/mpmissions/Exile.Altis/config.cpp @@ -15,7 +15,7 @@ class CfgInteractionMenus { title = "Virtual Garage"; condition = "(([_object, getPlayerUID player] call ExileClient_util_territory_getAccessLevel) select 0) >= ExAd_VG_ACCESS_LEVEL"; - action = "call XM8_VG_checkNearByFlags"; + action = "[] spawn {[] call ExileClient_gui_xm8_show; UISleep 1; call XM8_VG_checkNearByFlags}"; }; }; };