gregdwilson Posted June 12, 2015 Share Posted June 12, 2015 When I set up a custom configuration for mods for a single host (player as host) then the configuration files works. However, when a configuration is setup for the client and the server using modoverides.lua for both client and host then the client doesn't see the configuration is reverts to default. How can I modify this? I can't seem to change the configuration in the modscreen of the client to override this. The client for some reason always reverts to default. Is there a work around for this? Link to comment Share on other sites More sharing options...
Kzisor Posted June 12, 2015 Share Posted June 12, 2015 @gregdwilson, use netvars: http://forums.kleientertainment.com/topic/48264-net-variable-types-and-sending-data-from-serverhost-to-clients/ Link to comment Share on other sites More sharing options...
Maris Posted June 12, 2015 Share Posted June 12, 2015 It is very old bug. Link to comment Share on other sites More sharing options...
Developer PeterA Posted June 12, 2015 Developer Share Posted June 12, 2015 @gregdwilson, the mod itself will need to determine if it wants to read the client's configuration or the server's configuration for each option. This is done by passing true or false into the second parameter of GetModConfigData. Passing true will return the local client's configuration, rather than the version download by the server. Or am I misunderstanding your issue?@Maris, what is the bug you are referring to here? Link to comment Share on other sites More sharing options...
gregdwilson Posted June 12, 2015 Author Share Posted June 12, 2015 @PeterA That was perfect. Exactly what I needed. Link to comment Share on other sites More sharing options...
Maris Posted June 14, 2015 Share Posted June 14, 2015 what is the bug you are referring to here? Sorry for that. It's false reporting. There WAS a bug. Now all is fine. Link to comment Share on other sites More sharing options...
Developer PeterA Posted June 15, 2015 Developer Share Posted June 15, 2015 @Maris, it's all good! Thanks for letting me know! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now