Search the Community
Showing results for tags 'values'.
Found 1 result
Frankloco posted a topic in ProgrammingHello everyone, For quite a while I have been working on implementing my own version of Humanity. I have managed to setup pretty much everything up correctly except for one thing. Bandit (negative respect/humanity) purchases won't work for me. I thought I figured out all the scripts that I needed to change in the ExileClient and ExileServer, but I still keep getting the "Code 14" error. I am currently clueless on what I am doing wrong or what I am missing. Firstly I encountered the problem that the available items would be greyed out even though the character had enough humanity and only heroes could still buy it (sounds weird, don't worry, it is). I managed to resolve that problem and the purchase button is available at the correct moments, but when pressing the "Buy" button I receive my code 14 error. These are the scripts that I modified with their original bits commented out for easy comparison. ExileClient_gui_traderDialog_event_onStoreListBoxSelectionChanged.sqf ExileServer_system_trading_network_purchaseItemRequest.sqf I am quite positive that the ExileClient_gui_traderDialog_event_onStoreListBoxSelectionChanged has nothing to do with it anymore, but I am totally clueless so I included it anyway. I did not modify the ExileClient_gui_traderDialog_even_onPurchaseButtonClick at all. Currently the buying of items with 0 required respect only works if you have more than 0 respect (didn't test it when playerRespect = 0), and if you are a bandit you aren't able to buy any bandit items or default items either. Hopefully someone has an answer to my problem. You will be forever remembered! Thanks in advance! Greetings, Frankloco