Open KRDucky opened 9 years ago
I need full RPT log, that's not even related to purchasing ammo, sounds like you did a typo somewhere
Ignore the highlighted lines. I fixed that part already.
I need storeConfig.sqf
You possess an item in your player inventory that was removed from the customPlayerItems array in the store config. There is no mechanism in place to deal with that.
hmm I wonder what it is. All I had from there was the food and water I still can not purchase ammo from the gun stores though
Open up client\inventory\remove.sqf
and add diag_log format ["mf_inventory_remove %1", _id];
above _item = _id call mf_inventory_get;
then give RPT log again
Okay I found the problem, the error is caused by clicking the "Sell" button on the general store menu without having selected an item to sell, it seems to be present in all A3W variants and versions.
hmm ok. so do you still want me to add that line?
no its ok
im still unable to purchase ammo though
do i need to clear the DB?
no you don't need to clear the DB. Could you please explain in more detail what "unable to purchase ammo" means? What do you do and what happens?
I enter the store, select rifles, select the ammo and click buy......nothing happens. I can buy the rifle but not the ammo.
im getting this error: 16:05:31 Error in expression <call mf_inventory_get; _current = _item select 1; _item set [1, _current - _qty]> 16:05:31 Error position: <select 1; _item set [1, _current - _qty]> 16:05:31 Error select: Type Object, expected Array,String,Config entry 16:05:31 File mpmissions__CUR_MP.Altis\client\inventory\remove.sqf, line 13
linuxmaster9 [4:28 PM] but cant for the life of me figure out why