HALs_Store icon indicating copy to clipboard operation
HALs_Store copied to clipboard

Equip ( If possible ) Bug

Open JustAdrian98 opened this issue 4 years ago • 7 comments

Modded attachments ( RHS, CUP, etc ), when choosing the option to equip the item if possible, the first purchase will deduct the money but does not give the player item. Only from the second purchase will the shop give the player the item to the chosen storage.

JustAdrian98 avatar Feb 11 '21 01:02 JustAdrian98

I've been having this issue as well, I've just told my players to not equip attachments.

RaidenKoizuma avatar Mar 15 '21 17:03 RaidenKoizuma

I've been having this issue as well, I've just told my players to not equip attachments.

I have a temporary walkaround. I'll post it here when I get home on my pc.

JustAdrian98 avatar Mar 16 '21 20:03 JustAdrian98

Any news on this?

CodeWithDennis avatar Apr 03 '21 17:04 CodeWithDennis

Sorry for the late reply, please add me on discord at Adrian.J#6173. I'll send you my fixed code.

JustAdrian98 avatar May 11 '21 19:05 JustAdrian98

You didn't complete your Discord, I can't add you. My discord is J. Christ#9382 please add if you can!

RaidenKoizuma avatar May 12 '21 20:05 RaidenKoizuma

I have the same issues, can you post the fix? It happens on dedicated server only.

Xehia avatar Oct 14 '24 13:10 Xehia

Found it, change line 60 in HALs\Addons\store\functions\server\fn_purchase.sqf

From this: private _equipped = [_unit, _classname] call HALs_store_fnc_equipItem; To this: private _equipped = [_unit, _classname] remoteExec ["HALs_store_fnc_equipItem", _unit];

Xehia avatar Oct 15 '24 21:10 Xehia