fullwall / Citizens

An NPC plugin for bukkit.
Other
35 stars 7 forks source link

NPC's Despawning #121

Open d00ba opened 13 years ago

d00ba commented 13 years ago

I was standing right next to an NPC when he vanished.

The console shows the following:--

11.07 15:24:05 [Server] INFO [Citizens] Despawned at 8 -2 11.07 15:24:01 [Server] INFO [Citizens] Despawned at 8 -3

d00ba commented 13 years ago

The despawned NPC's return when the server is restarted.

ghost commented 13 years ago

Same Problem here. Don't want to annoy my Members with restarting the server more than 3 times the day. NPC's seem to despawn randomly. Please Fix!

d00ba commented 13 years ago

I downloaded the version fullwall posted in the thread to fix this issue. It does fix it, however, the NPC's now turn invisible instead of despawning (so they're still selectable and talk). It's also causing NPC's to be duplicated occasionally when using /npc move. The duplicated NPC has the same ID as the original one and isn't deleteable

ghost commented 13 years ago

reloading bukkit with "reload" in console works to. but I'm not on my server 24/7...

don4of4 commented 13 years ago

Same issue, this is a show stopping bug for citizens. I simply cannot manage npc's this buggy in my server.

ghost commented 13 years ago

Actual I'm using a workaround. My Server is Using FalseBook by default. So i createt an IC to allow players the reload of bukkit. After triggering a lever the NPC's respawn. Not the best solution but it works ;)

http://www.djgemo.de/IC-Wiki/MC1511.html http://forums.bukkit.org/threads/mech-falsebook-0-87-dev-3-craftbook-for-bukkit-83-ics-cauldrons-gates-minecarts-997-1001.7227/

phoenixstar commented 13 years ago

don4of4 and others who have this issue...

I have a question for you... Do you use the plugin Performance Tweaks?

I noticed mine disappeared also, and thought about this plugin. It does something with the chunk persistence in the memory... maybe that's the issue here?

Quote: "Chunk Persistance: Change how long chunks will stay loaded into RAM, instead of unloading instantly when not used. This way naturally high traffic areas will stay loaded, yet areas that someone was just passing through will unload after some time."

This plugin is also inactive according to the title, but i had been using it anyways. I took it out and haven't had a problem since then. Just a thought for you guys.

ghost commented 13 years ago

I'm not using this plugin. But I also don't tested it with the actual version.

don4of4 commented 13 years ago

@phoenixstar

No, I do not.

phoenixstar commented 13 years ago

well it was worth a shot :)

but maybe thats where the issue lies? Maybe something in the code for Citizens and something with the code for the chunks being in memory where they are located is clashing? All i know is, that now my npc's dont respawn, and havent. Maybe another plugin is causing this to occur...

grandwazir commented 13 years ago

I've got this issue as well. NPC disappear but still talk to people which is rather confusing. Has been happening for ages.

don4of4 commented 13 years ago

Ok, this bug makes your plugin unusable. The lack of progress on this bug is disheartening. I am going to review your code.