gregdwilson Posted June 6, 2015 Share Posted June 6, 2015 So when using my character mod, anyone else that is also using one of my characters moonwalks away off my screen (but not off theirs) when they are still. I also wander off on their screen if I am still. What would be causing this? Could it be character physics or collision boxes? Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/ Share on other sites More sharing options...
Renarii Posted June 6, 2015 Share Posted June 6, 2015 I think you're going to have to post your character code for this it's not likely someone will be able to tell you your problem otherwise. Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/#findComment-644361 Share on other sites More sharing options...
gregdwilson Posted June 6, 2015 Author Share Posted June 6, 2015 I can't really post the code since it has around 3500 lines of code. I was wondering if anyone else has had similar issues and what to look for. I can post parts of code that may be relevant but I know that some of the functions that only get called once in a while won't really matter. I suppose I could add the files, but again looking through 3500 lines of code may not be super helpful. I'll try and compile the relevant code in the meantime. Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/#findComment-644487 Share on other sites More sharing options...
DarkXero Posted June 6, 2015 Share Posted June 6, 2015 What do you have in the common_postinit of your character's prefab? Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/#findComment-644499 Share on other sites More sharing options...
Kzisor Posted June 6, 2015 Share Posted June 6, 2015 I can't really post the code since it has around 3500 lines of code. Upload it as a .zip file, a .txt file or heck, even a .lua file. It's beneficial if you upload the entire mod and not just the character prefab file. Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/#findComment-644520 Share on other sites More sharing options...
gregdwilson Posted June 6, 2015 Author Share Posted June 6, 2015 Alright, here is Modmain and all of the scripts. If anyone does end up using any of this code just please give credit where its due.ShadowDragons.zip Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/#findComment-644543 Share on other sites More sharing options...
DarkXero Posted June 6, 2015 Share Posted June 6, 2015 What character is the one with the issue? Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/#findComment-644560 Share on other sites More sharing options...
gregdwilson Posted June 6, 2015 Author Share Posted June 6, 2015 I've seen it on Xcho and Saphira but I haven't looked at the other characters yet. I was playing with some friends who were the default characters but it was only my custom characters that were wandering. I did have Global Positions on at the time and I was wondering if that was the problem. I took it off and haven't seen it doing it yet. I'm not sure why it would only be my character with the problem and not others though. :/ Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/#findComment-644566 Share on other sites More sharing options...
Auth Posted June 6, 2015 Share Posted June 6, 2015 Something I like to call "Lag" Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/#findComment-644567 Share on other sites More sharing options...
gregdwilson Posted June 6, 2015 Author Share Posted June 6, 2015 Definitely not lag since they would be standing still and then just start moving until they went off the screen. As soon as they moved they were in the right place again. Also, this only happened with my custom characters and not the default ones so it definitely wasn't lag or rubberbanding. Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/#findComment-644569 Share on other sites More sharing options...
Auth Posted June 6, 2015 Share Posted June 6, 2015 It happens to me (except with mobs) when I join my friends server sometimes. They slide around, and it's simply because of lag. Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/#findComment-644573 Share on other sites More sharing options...
DarkXero Posted June 6, 2015 Share Posted June 6, 2015 So the problem is when you have Global Positions activated too? Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/#findComment-644585 Share on other sites More sharing options...
gregdwilson Posted June 6, 2015 Author Share Posted June 6, 2015 It appears so, I took it off and I haven't seen the problem. Let me reactivate it and see if it comes back. Link to comment https://forums.kleientertainment.com/forums/topic/54873-wandering-characters/#findComment-644597 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