[FUN] Citizens v2.0.11 - Human NPCs for Bukkit [1.7.2]

Discussion in 'Archived: Plugin Releases' started by Citizens, Mar 5, 2011.

  1. Offline

    Citizens

    Citizens - Human NPCs for Bukkit
    Version: 2.0.11
    Authors: @fullwall and @aPunch
    Source: Citizens on GitHub

    Citizens is now on BukkitDev

    This thread will no longer be updated. We encourage you to use our page on BukkitDev. You can find information, links to our wiki and website, and the download page there.

    Showing Your Support

    We work hard to maintain Citizens. We've been working on Citizens2 around the clock on new and exciting features. A little motivation never hurts, so feel free to donate to us - fullwall and aPunch.

    If you can't donate, we appreciate a "hello" every now and then. Stop by the IRC channel #citizens on irc.esper.net to discuss Citizens and give thanks!
     
  2. Offline

    topsub

    I dont' think you covered my error but here it is:

    Code:
    2011-07-26 10:15:19 [WARNING] Task of 'Citizens' generated an exception
    java.lang.ArrayIndexOutOfBoundsException: 1
            at com.citizens.utils.LocationUtils.loadLocation(LocationUtils.java:64)
            at com.citizens.properties.properties.BasicProperties.getWaypoints(BasicProperties.java:261)
            at com.citizens.properties.properties.BasicProperties.loadState(BasicProperties.java:312)
            at com.citizens.properties.PropertyManager.load(PropertyManager.java:51)
            at com.citizens.npcs.NPCManager.register(NPCManager.java:64)
            at com.citizens.Citizens.setupNPCs(Citizens.java:305)
            at com.citizens.Citizens.access$0(Citizens.java:286)
            at com.citizens.Citizens$1.run(Citizens.java:120)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  3. Offline

    topsub

    I dont' think you covered my error but here it is:

    Code:
    2011-07-26 10:15:19 [WARNING] Task of 'Citizens' generated an exception
    java.lang.ArrayIndexOutOfBoundsException: 1
            at com.citizens.utils.LocationUtils.loadLocation(LocationUtils.java:64)
            at com.citizens.properties.properties.BasicProperties.getWaypoints(BasicProperties.java:261)
            at com.citizens.properties.properties.BasicProperties.loadState(BasicProperties.java:312)
            at com.citizens.properties.PropertyManager.load(PropertyManager.java:51)
            at com.citizens.npcs.NPCManager.register(NPCManager.java:64)
            at com.citizens.Citizens.setupNPCs(Citizens.java:305)
            at com.citizens.Citizens.access$0(Citizens.java:286)
            at com.citizens.Citizens$1.run(Citizens.java:120)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  4. Offline

    NeonJ

    Guards are not ready yet. :<
     
  5. Offline

    DeltaDevil

    Plugin is working great, however ive set all my npcs to have unlimited items, and they still disappear, this is since version 1.5 and still not fixed, is this happening to anybody else ?
     
  6. Offline

    Kagenstein

    :p Can i change npc skin?
     
  7. Offline

    gmore70

    why do I bother...lets follow gmore's posts along. Gmore reports NPC despawning. They despawn on server every hour after installing d version. Gmore then posts he will added debug to trace your issue down. So despawning had happend numerous times before before despawn before I introduce "" in the config.

    This is my last comment as I have killed Citizens, that or I will have a few hundred users on my server revolt.

    I do run a software company that is completely java based. I know its easy to just assume that your user is an idiot and the problem is not real. Instead of a knee jerk reaction of shutting me down, you could have just taken a look. The reality is your NPCs despawn radomnly without TP or warp, regardless of ' or ". You ASKED to be informed with D. I honestly dont see how you will ever overcome your bug with this attitude.
     
  8. Offline

    mongfish

    Hi,
    I recently upgraded to the latest version of citizens due to my citizens floating up into the sky for infinity.

    But now I can't even create NPCs on version 1.0.9d, here is the error that I get when I try to -
    Code:
    16:07:52 [SEVERE] Could not pass event ENTITY_DAMAGE to Citizens
    java.lang.NoClassDefFoundError: Could not initialize class com.citizens.CreatureTask
        at com.citizens.listeners.EntityListen.onEntityDamage(EntityListen.java:47)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.Entity.burn(Entity.java:652)
        at net.minecraft.server.Entity.move(Entity.java:601)
        at net.minecraft.server.EntityLiving.a(EntityLiving.java:520)
        at net.minecraft.server.EntityLiving.v(EntityLiving.java:704)
        at net.minecraft.server.EntityMonster.v(EntityMonster.java:26)
        at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
        at net.minecraft.server.EntityMonster.m_(EntityMonster.java:30)
        at net.minecraft.server.EntityCreeper.m_(EntityCreeper.java:68)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1198)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1180)
        at net.minecraft.server.World.cleanUp(World.java:1104)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I don't know what is wrong with this because I am an OP and have all the permissions required to create npcs. Sorry if this has already been covered previously but I couldn't see it anywhere.

    Thankyou
     
  9. Offline

    razoreqx

    I get the msg "you dont have permission to use that command" with this new version. It worked before using the new built in permissions for bukkit.
     
  10. Offline

    razoreqx

    I get the msg "you dont have permission to use that command" with this new version. It worked before using the new built in permissions for bukkit.
     
  11. Offline

    aPunch

    We have new permissions nodes that you can find here.
     
  12. Offline

    razoreqx

    thank you!
     
  13. Offline

    razoreqx

    thank you!
     
  14. Offline

    Exidous

    Che

    check the "Know Bugs" in the title.

    ENTITY_DAMAGE errors and "Could not cast blah to blah" errors - FIX THESE BY REMOVING ALL SINGLE QUOTES IN YOUR CONFIGURATION FILES BESIDES items.select-items andgeneral.chat.format
     
  15. Offline

    Williamsson

    Okay, tried to uptade to latest version. Got this:

    http://pastebin.com/6aCfcEzv

    Bukkit: 1000

    Citizens: Latest, 1.0.9d

    Plugins:
    Autosave
    Backup
    Bigbrother
    BookWorm
    BukkitCOntrib
    Citizens
    Commandbook
    Craftgroup
    CustomDifficulty
    Dynmap
    Falsebook
    Iconomy
    Landmarks
    LazyRoad
    MCDocs
    MCTelnet
    Multiinv
    Multiverse
    NPCQuester
    Permissions 3.1.7 (?)
    Residence
    Stargate
    uQUest
    uQuest-ShowTracker
    WorldBorder
    WorldEdit
    WorldGuard
     
  16. Offline

    Williamsson

    Okay, tried to uptade to latest version. Got this:

    http://pastebin.com/6aCfcEzv

    Bukkit: 1000

    Citizens: Latest, 1.0.9d

    Plugins:
    Autosave
    Backup
    Bigbrother
    BookWorm
    BukkitCOntrib
    Citizens
    Commandbook
    Craftgroup
    CustomDifficulty
    Dynmap
    Falsebook
    Iconomy
    Landmarks
    LazyRoad
    MCDocs
    MCTelnet
    Multiinv
    Multiverse
    NPCQuester
    Permissions 3.1.7 (?)
    Residence
    Stargate
    uQUest
    uQuest-ShowTracker
    WorldBorder
    WorldEdit
    WorldGuard
     
  17. Offline

    Williamsson

    Okay, tried to uptade to latest version. Got this:

    http://pastebin.com/6aCfcEzv

    Bukkit: 1000

    Citizens: Latest, 1.0.9d

    Version we updated from, according to the console: 1.0.9 (Odyssey)

    Plugins:
    Autosave
    Backup
    Bigbrother
    BookWorm
    BukkitCOntrib
    Citizens
    Commandbook
    Craftgroup
    CustomDifficulty
    Dynmap
    Falsebook
    Iconomy
    Landmarks
    LazyRoad
    MCDocs
    MCTelnet
    Multiinv
    Multiverse
    NPCQuester
    Permissions 3.1.7 (?)
    Residence
    Stargate
    uQUest
    uQuest-ShowTracker
    WorldBorder
    WorldEdit
    WorldGuard
     
  18. Offline

    Duginox

    I changed back to 1.0.9c. There was to many bugs and glitches.
    Forexample, not all of the traders saves the items they are selling and after someone successfully purchased an item it says ''Only 1 person at a time'' or something.
    To fix the ''Only 1 person at a time''-bug I have to restart the whole server.
     
  19. Offline

    Cenarius

    Hi there guys :D
    what's up :)

    is there is any chance that you will hook heroes with a class choose NPC ?
    maybe add that as a future to the wizard ?
    i bet there is a looooot of RPG server which will agree with me on this :D

    thanks ^_^
    keep up the good work :D
     
  20. Offline

    mbsuperstar1

    This issue is being investigated by fullwall, but unless someone can gather up enough information to easily replicate it or find its origin, it is very tricky to find. Not to mention that they have half-finished features and as a result may have been preoccupied with other parts of the plugin.

    I've even compiled this list by looking through github issues and error reports. Any additions would be appreciated, because like you I want this fixed as fast as possible.

    Code:
    Can be triggered by the dreamland plugin going to the skylands and back. Multiworld teleportation.
    
    They are still there but go invisible
    
    Relogging does NOT fix the issue.
    
    Reloading or restarting in the latest version causes them to reappear, until they vanish again.
    
    No NPC's fully despawn now in the latest build and there are no noticable memory leaks.
    
    They still talk as normal, and can be selected via command.
    
    The NPC move command does not make them visible, but appears to adjust their location and talk radius as normal. 1 User reported that this can duplicate the NPC and
    that it cannot be deleted as it has the same UID.
    
    Upon reappearing one User has reported that the NPC types were wiped from the now visible NPC's, requiring to be re-toggled.
     
  21. Offline

    Dyramisty

    Working fine, thanks once again! =D
     
  22. Offline

    agression

    I have got a problem.I am creating a trader npc.But i am close and start server.My npc is deleted.Am I fix this problem ?
     
  23. Offline

    todd422

    how to make a guard?
    sorry if already posted, not looking through 200+ pages..
     
  24. Offline

    ferretlegs

    Thanks for that fullwall. Any advice on the wizard addloc issue where I cant add new locations for my existing wizard? Also, have dev builds stablised enough yet so I can tackle the pathing issue, and most crucially, do you think that the chunk not-really-unloading cause you have identified for invisibility can be ultimately resolved, or is it a core problem with how mc operates?
     
  25. Offline

    fullwall

    @ferretlegs - Not as yet. The despawning bug can be fixed if I find a reliable way to reproduce it 100% of the time. I have tried going to nether, tping away and back and they're still there... :(. Dev builds are probably not stable enough (they won't have all type functionality as we've just changed something big...).
    @gmore70 :(. I'm sorry to hear that.
     
  26. Offline

    ferretlegs

    Hi Fullwall, yes the strange thing is that the nether doesnt seem to trigger it, but if you load up dreamland plugin and then jump off the edge to return to normal world it always happens 100% of the time. This is the only circumstance it occurs for me now - with skylands disabled I have not had a single invisibility problem, nor have I had a true despawn since you conclusively fixed it a couple of weeks ago.
     
  27. Offline

    Exidous

    I didn't get a response so ill post it again. Sorry to be annoying. Evil Npcs cannot be hurt in a no-pvp area but can inflict damage. for example in worldguard or towny, if there is a flag of no-pvp, players cannot kill npcs but the npcs can kill players. Is there any way to make npcs flagged as players so they are under the same rules that players are? or is this a problem that the other plugins are going to have to address? thanks for any help or suggestions you have and keep up the good work.
     
    mbsuperstar1 likes this.
  28. Offline

    taekwondie

    I need help on something. When I move next to the NPC and run into him, he moves. I don't want other people making him move 20 blocks away from the original spot, so how can I make it so the NPC doesn't move any where when I bump into him?
     
  29. Offline

    Mordaith

    Hey everyone! Just me again. Sorry to be a pain. I just got off work and figured I'd update to the new version of Citizens, (a few NPC's we want to rename with out needing to go through the hassle of setting them back up), but when I installed it - all the NPC's were gone. Is this something to do with the new permissions? Is there some switch I need to turn on or something?

    Still really enjoying the plug-in, our players are saving up their Iconomy monies to buy their own NPC's.

    Also - question - will there be a chance to have a Wizard/Guard character - to have a traveling wizard compainion?

    As always I am terribly sorry if this was ask before, answered else where, and what not - I did try looking around first, but maybe my search-fu is off.

    Thanks again - awesome awesome mod.
     
  30. Offline

    RaginMc

    Need some help, I have been messing with this plugin on a test server for about 3 days now,.. Every thing works for admins.,.. but i have having a prob with the permissions,..i only want "builders" + to beable to use the shops/blacksmiths (maybe healers later on),.. not make new shops or edit any thing else about the bots. i have tried adding all permissions but admin and nothing works for builders+ when i say all,. i mean "ALL" and when i add the admin node it works np,,.. even tried adding admins and then doing the ones i dont want builder+ to have like - -citi son on so on, with "- -citi" a - saying that it takes a way that permissions,.. but it will not take them away, i am using permissionsEX i'm pretty sure its supported,.. if you need anything else let me know,.. i really like this plugin and i have lots of ideas for the bots,.. just need it so only admins can edit them..

    Thx Ragin
     
  31. Offline

    RaginMc

    You only replaced the .Jar file right?
     

Share This Page