DarkFenikkusu Posted February 25, 2015 Share Posted February 25, 2015 Hello. I tried to make a custom character mod for the first time and I had a few problems which I could fix by myself and later, I asked for help here in the forums in the DS section. They helped me and said, that I should now try it in the DST section, so here I am. I'm able to select my custom character, but if I do an error is showing up. That is the log.txt, right after the error : https://gist.github.com/anonymous/5a2f29e813f392a51e12 and here's an screenshot of the error : http://puu.sh/gbOzK/8ec7423d2b.jpg Link to comment https://forums.kleientertainment.com/forums/topic/51450-custom-character-mod-error-message/ Share on other sites More sharing options...
Jjmarco Posted February 25, 2015 Share Posted February 25, 2015 @DarkFenikkusu, The error happens in common_postinit, where you are trying access the 'combat' component.The combat component (and pretty much all other components except for a few, see rezecib's guide) doesn't exist on clients, that's why you get that error. common_postinit is executed on both the server and the clients.I'd suggest moving all the code related to combat in master_postinit, which is only executed server-side. Link to comment https://forums.kleientertainment.com/forums/topic/51450-custom-character-mod-error-message/#findComment-616715 Share on other sites More sharing options...
rezecib Posted February 25, 2015 Share Posted February 25, 2015 @DarkFenikkusu, Put code that affects components in the master_postinit. Link to comment https://forums.kleientertainment.com/forums/topic/51450-custom-character-mod-error-message/#findComment-616722 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