Surge132

TRYK & infiSTAR Uniform Replacing

4 posts in this topic

So I'm having a bit of a problem here. I'm using @TRYK on a my own test server and I've noticed that whenever infiSTAR replaces my Uniform/Vest, every item that is inside my uniform just disappears, no matter the item. I'm unsure if this is an error by me or some sort of error on infiSTAR's side. Any help is appreciated.

Share this post


Link to post
Share on other sites

please make sure to use the latest files (you can find a link in my signature)

Share this post


Link to post
Share on other sites
Advertisement

well you can do uniform_and_vest_check = false; in the config file to stop it from replacing but this is the code for the uniform replacing:

 

Spoiler

_currentUniformPlayer = uniform player;
_uniformContent = (uniformContainer player) call ExileClient_util_containerCargo_serialize;
removeUniform player;
player forceAddUniform _currentUniformPlayer;
[(uniformContainer player), _uniformContent] call ExileClient_util_containerCargo_deserialize;

 

 

it is using these exile functions to get the current content of the uniform & temp saves it - after that it removes the uniform and adds a uniform of the same type back + adds the content back to it

When I was testing this to myself, it worked so I can't tell why you are having problems with it :-O

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.