BluesyBuesy Posted July 3, 2017 Share Posted July 3, 2017 This is a server-side mod, so I should have access to the kramped component, but because the _activeplayers table is local I can't access it from modmain using AddComponentPostInit. Basically when a player joins, they're added to a local table within kramped, and when they kill nice creatures a naughty value is added to this table. The naughtiness data isn't even saved anywhere except for this single temporary local table. You can just restart a server or log in and out and it will reset your naughtiness. I could just keep track of naughtiness myself or extract the information out of the debug string with string functions (really dumb). Is there a way to access the local table from modmain that I'm just not aware of? Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now