will_b_gaming Posted March 6, 2025 Share Posted March 6, 2025 I have a mod with a basic concept. You hit a button to go AFK and then it freezes you in place and makes you invincible until you hit the button again. I am unsure why, but the mod doesn't properly obtain GLOBAL.ThePlayer when activating on a client. It returns their character's prefab name, but they have no hunger component, no sanity component, no health component, no stategraph, all of which I affect in my code. What is the problem? Go Offline.rar Link to comment https://forums.kleientertainment.com/forums/topic/164669-mod-works-for-host-but-not-clients/ Share on other sites More sharing options...
will_b_gaming Posted March 6, 2025 Author Share Posted March 6, 2025 oops, that version crashes on startup and i can't figure out how to edit my post, so use this one Go Offline.rar Link to comment https://forums.kleientertainment.com/forums/topic/164669-mod-works-for-host-but-not-clients/#findComment-1804736 Share on other sites More sharing options...
will_b_gaming Posted March 8, 2025 Author Share Posted March 8, 2025 I got it fixed by following this guide Link to comment https://forums.kleientertainment.com/forums/topic/164669-mod-works-for-host-but-not-clients/#findComment-1805179 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