Jump to content

Recommended Posts

I'm making a custom character that spawns with 2 custom items. On offline test it works by myself and the items are fine, but when I brought it to online the character did not spawn with one of the items. The other item spawns fine, and is still in the second inventory slot like it was trying to spawn the first item. It appears that only when the server host connects and plays the character they will have the first item, any other players who pick the character will only have the second item and an empty slot.

 

I haven't any clue what this bug means or how to fix it, nor have I been able to find a solution to anyone else having the bug. I'll upload my wip mod for anyone to take a look at the files.

link_mod.zip

@AleksandrPlz, mastersword.lua is missing inst.entity:AddNetwork(). 

Ah, I've been trying to debug this for days... I added that line but now it crashes whenever you select the character, before it actually gets you in-game. Is there a specific area to add it to?

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