Joachim Posted August 15, 2016 Share Posted August 15, 2016 (edited) I have a problem with the actions displayed when hovering over a custom mob (the wildbeaver). Everything works fine locally, but as soon as I host it on my dedicated server, the actions displayed are messed up. Without any items equipped, I am able to: fish inside my wildbeavers (as if they are ponds), light them on fire (without a torch), and learn them (without them being blueprints). These actions do not actually get performed on the backend, but on the client-side the animations for these actions are shown. Probably related: they are also supposed to have names, but these do not show up either (only locally). I have no idea what could cause this. If anyone could help me out here, that would be great. I used the pigman prefab as a base for the wildbeaver and changed the wildbeaver to make them more beaver-like. You can see the code for the wildbeaver on my Github account: https://github.com/jchmb/dst-multiverse/blob/master/data/scripts/prefabs/wildbeaver.lua You can also see it for yourself (if you feel like it): http://steamcommunity.com/sharedfiles/filedetails/?id=726432903 It has something to do with networking, but I cannot find anything significant that makes them any different from pigmen in this regard. Please help me. I will love you forever. Edited August 16, 2016 by Joachim Link to comment https://forums.kleientertainment.com/forums/topic/69578-solved-custom-mob-actions-messed-up/ Share on other sites More sharing options...
Joachim Posted August 16, 2016 Author Share Posted August 16, 2016 Ugh. Apparently this was all caused by forgetting to network the talker component. Really weird how this can affect all of that. But I am happy, because it is fixed. Link to comment https://forums.kleientertainment.com/forums/topic/69578-solved-custom-mob-actions-messed-up/#findComment-804119 Share on other sites More sharing options...
rezecib Posted August 16, 2016 Share Posted August 16, 2016 32 minutes ago, Joachim said: Apparently this was all caused by forgetting to network the talker component. Doesn't this just remind you how wonderful programming can be sometimes? Link to comment https://forums.kleientertainment.com/forums/topic/69578-solved-custom-mob-actions-messed-up/#findComment-804120 Share on other sites More sharing options...
Joachim Posted August 16, 2016 Author Share Posted August 16, 2016 27 minutes ago, rezecib said: Doesn't this just remind you how wonderful programming can be sometimes? Yeah, totally. Earlier this day I was crying in a corner. Link to comment https://forums.kleientertainment.com/forums/topic/69578-solved-custom-mob-actions-messed-up/#findComment-804133 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