Register

DonkeyPunch Community Gaming

GAME ON!!! -sTanG

News:

Now you can easily login to DP with Steam, Twitter, Facebook, GitHub, Google+, Reddit, YouTube +++.
Administrator
*****

DirtySanchez

July 10, 2017, 12:03:28 AM
Humanitarian Posts: 932 Humanity: +1337/-420
Fix Exile crafting issue with their use of BIS functions "loadXXX" for getting total mass

Crafting in exile is great, however it is not great when you lose your materials required and you get jack squat in return for them.....

That is happening in Exile 1.0.3b and is not being acknowledged by their staff.
Their issue is again with use of Arma functions and not keeping up.
Just like the use of broken bis function in the player database load....

Well here is a quick fix and most likely the one that will last since your inventory isnt going to change like a BIS function can!

Open your ExileClient_util_inventory_canExchangeItems.sqf
Make these changes at the top and save it to your mission file overrides folder.
Add your override to the CfgExileCustomCode and start that bitch UP!!!!!!!!!!!!!!!!!!!!!
Code: [Select]
ExileClient_util_inventory_canExchangeItems.sqf

//_uniformLoad = loadUniform player;
_uniformLoad = 0;
_uniformMaximumLoad = (uniform player) call ExileClient_util_gear_getMaximumLoad;
_uniformContent = uniformItems player;
{
    _itemMass = _x call ExileClient_util_gear_getMass;
    _uniformLoad = _uniformLoad + _itemMass;
}forEach _uniformContent;
//_vestLoad = loadVest player;
_vestLoad = 0;
_vestMaximumLoad = (vest player) call ExileClient_util_gear_getMaximumLoad;
_vestContent = vestItems player;
{
    _itemMass = _x call ExileClient_util_gear_getMass;
    _vestLoad = _vestLoad + _itemMass;
}forEach _vestContent;
//_backpackLoad = loadBackpack player;
_backpackLoad = 0;
_backpackMaximumLoad = (backpack player) call ExileClient_util_gear_getMaximumLoad;
_backpackContent = backpackItems player;
{
    _itemMass = _x call ExileClient_util_gear_getMass;
    _backpackLoad = _backpackLoad + _itemMass;
}forEach _backpackContent;

GAME ON MOFOS!!!!!
-sTanG
« Last Edit: July 10, 2017, 12:07:27 AM by DirtySanchez »


Website: http://DonkeyPunch.INFO  |  Discord: https://discord.me/eXpoch  |  TeamSpeak: ts3.donkeypunch.info

  • Bravo Bunny
  • Posts: 1
  • Humanity: +1/-0
Good job they added that cracking framework to allow users to overwrite code then isn't it  :confused: /relieved

"Their issue is again with use of Arma functions and not keeping up."
Yeah... using Arma functions in Arma 3? - Who would do that.. must be noobs.

  • Humanitarian
  • Posts: 932
  • Humanity: +1337/-420
Good job they added that cracking framework to allow users to overwrite code then isn't it  :confused: /relieved

"Their issue is again with use of Arma functions and not keeping up."
Yeah... using Arma functions in Arma 3? - Who would do that.. must be noobs.

""cracking framework to allow users to overwrite code then isn't it""
I dont see any issues changing any function on Epoch, Altis Life, Wasteland and others
All of that was done without the need for that system...

Using Bohemia's functions is one thing, but using the BROKEN ONES is just plain dumb.

Thanks!
Website: http://DonkeyPunch.INFO  |  Discord: https://discord.me/eXpoch  |  TeamSpeak: ts3.donkeypunch.info


 
1337-420