Norfeder

  • Content count

    24
  • Joined

  • Last visited

Community Reputation

7 Neutral

About Norfeder

  • Rank
    Junior Member

Recent Profile Visitors

257 profile views
  1. First off I didn't entered or left any caves, it wasn't even a world with caves enabled. Befriended a pigman on a surface and happens world to have to restart the server can just happen to any normal playthrough. I later tested it with the "Show Me" mod. The pigman has a leader(owner) and loyality time when first befriended. When I restarted the server, the leader was gone, but the loyality time still remained. I don't see how it is working as intended. I am a modder and found this issue when I can't get my pet to remember its owner after restarting the server. I suspect it is leader component's issue that it fails to save the leader's prefab when the server is shutting down. If it isn't a bug then never mind, I figured out how to work around with this issue and can make a mod to fix the component myself anyway.
  2. As shown in the video. The pigman and rocky does follow the player when befriended. But when I restarted the server, they don't follow the player anymore. dontstarve_steam 2019-04-27 21-41-44-778.avi
  3. local range = TUNING.SANITY_EFFECT_RANGE local count = 0 local ents = TheSim:FindEntities(x, y, z, range) inst:DoPeriodicTask(0, function() for k,v in pairs(ents) do if v.prefab == " The guy I really hate " then count = count + 1 end end if count > 0 then inst.components.sanity.dapperness = count * TUNING.DAPPERNESS_SMALL * -1 else inst.components.sanity.dapperness = 0 end count = 0 end) This should do the job.