Jump to content

Recommended Posts

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

@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.

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
×
  • Create New...