[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 - 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


    When an RB comes out and it's semi-stable.
  3. Offline


    with a hosted server, using the stop command doesn't actually stop the server since it's being controlled by TCAdmin (or another control interface) Is it not possible for you to code it so that everytime you add data to a trader, it saves it to a file? Sort of like a flatfile?
  4. Offline


    Whenever i restart or stop and start server again, all Npc's dissapear. I always save all before shutting down/restarting.

    Could it be an issue with Multiverse ?
  5. Offline


    I had the same problem and i dont know why it does so.
  6. Offline


    Did you see my message about exploiting traders? I didn't want to post the method here
  7. Offline

    Randy Schouten

    Was it possible to fix the lag thing in 1.6?
  8. Offline


    Hopefully. @transient - yes. I may have a solution (might require a slight performance hit with traders). @Sydaell - quite possibly. @TheChrisHill - it does, depending on your settings (save-often must be true). Otherwise, the save task has to catch it.
  9. Offline


    Wait, if I turn off the save-often, the auto save-all I have set will catch it?

    Also, I noticed that there is a bug with citizens, nothing major, but happened twice and I found out why.
    If you do a /reload in the middle of the sever doing a save, like an auto save-all, all the NPC's are lost. Maybe implement a backup system? Citizens would check to see if the there is an existing npc backup if the current active file has zero npcs?
  10. Offline


    Yes, and using 'stop'.
  11. Offline


    Just checking, but I just made an edit before your post popped up, did you see what I added in my last post?
  12. Offline


    Are guards in development? I thought I remembered seeing that somewhere.
  13. Offline


    bukkit 815:

    08:44:07 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorldManager.<init>(Lnet/minecraft/server/World;)V
        at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHumanNpc(NPCSpawner.java:66)
        at com.fullwall.Citizens.NPCs.NPCManager.register(NPCManager.java:62)
        at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:129)
        at com.fullwall.Citizens.Citizens.access$0(Citizens.java:120)
        at com.fullwall.Citizens.Citizens$1.run(Citizens.java:83)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:384)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:308)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    08:44:34 [WARNING] BukkitUpdater : Error during downloading 'http://www.minerepo.tk/repo.xml'
    08:44:34 [WARNING] java.net.SocketException: Unexpected end of file from server
    08:44:35 [WARNING] BukkitUpdater : Error during parsing repository '1306565044245.21791.repo.xml'
    08:44:35 [WARNING] java.io.FileNotFoundException: /Users/marcvanderloos/Desktop/Minecraft servers/Citizens kopie/plugins/BukkitUpdater/cache/1306565044245.21791.repo.xml (No such file or directory)
    no citizens in my world :(
  14. Offline


    There's a reason why the most recent Recommended version of CB is 803.
    Just wait for a real recommended version of CB, then the authors will work with the issues.
  15. Offline


    Ok. I've found the bug. For all those who get these You dont have Iconomy instaled error while setting prices for the NPC delete the uQuest plugins this helped me. If it doesent work then try one on one to delete the plugins.
  16. Offline


    Please make support for the new bukkit build!
    I want this mod so bad!
  17. Offline


    Please be patient, the latest bukkit build isn't very stable and plus there's more minecraft updates to come today. Notch said that he'd be fixing the slow loading chunks, lighting and item problems.
  18. Offline


    It works on the new bukkit build. Just not released till new RB. Yes, guards are being worked on. @Liger_XT5 - on your issue, perhaps.
  19. Offline


    a little problem: when I dont have enough money to buy something from trader it says:
    The trader doesn't have enough money available to buy 1 ...
    Its suppose to be: "You don't have enought money available to buy"
    please fix this
  20. Offline


    Maybe neither of you have enough.
  21. Offline


    Can you release it now? I would be very grateful.
    Can't wait anymore...
  22. Offline


    Just some feedback.

    I think you need to sort out your file descriptors/sockets/pipes handling. Anything over 20 NPC's and I get massive severes complaining about too many open files after a few hours of server uptime:

    2011-05-28 05:00:16 [SEVERE] Unable to save plugins/Citizens/Bandits/Citizens.bandits
    java.io.FileNotFoundException: plugins/Citizens/Bandits/Citizens.bandits (Too many open files)
    	at java.io.FileOutputStream.open(Native Method)
    I've changed file limits on the OS (debian) to more than enough and it has no effect so my guess is that Citizens is not cleaning up after itself properly.
  23. Offline


    There's no RB, so no, it will not be released at the moment. @footwo - it does clean up, but you might try setting save-often to false since you use linux.
  24. Offline


    Ok I'll give it a shot, thanks.
  25. Are the guards/waypoints incoming ? :)
  26. Offline


    I get an internal error when i try to place an NPC

    (EDIT: i don't have any sql database, the wiki never said I needed one, so I assume I do not, oh and I'm build 815, that might be the reason)
  27. Offline


    Flatfile is the worst storage to use for Minecraft servers that experience heavy use due to high concurrency numbers of on line traffic. It eats up the largest amount of ram and disk activity as the plugins that use Flatfiles are loaded up. Even .txt logging is a massive ram hit. And when i say massive, Flatfile and .txt logging can easily run up to 2 gigs of ram when you use a lot of plugins that log or even just one that is a heavy logger like Precious Stones, pre-MySQL. MySQL eats up like 200-300 or so megs with 4-6 plugins tied in and all that extra over head for flatfile and .txt logging is gone and the server performance doesn't take a big as hit as it does from archaic logging and constant read/write access that only adds to 150 million + that bukkit is already doing every 15 or so minutes.

    Citizens, NPC, MMO plugins all do a lot of heavy logging and disk accessing, tracking - MySQL should be used as a mandatory requirement for such plugins. To not do so, is to work the server far harder than it needs and to even make ones plugin virtually useless for lower spec'd machines that have medium loads of traffic like 15-20 people. Because lots of plugins work great with <10 people and the moment your server hits 20-45, the plugin falls apart with data persistent issues and the inability to keep up with tracking of all the things required thus leading to poor performance, console error spam, huge memory leaks, and servers that need to be restarted ever 30-60 minutes to avoid read timing out because of resources being over taxed (a result of bukkit notbeing unable to identify why this has started happening in the extreme since 1.4).

    2 cents.
    Psycho Robot and footwo like this.
  28. Offline


  29. <3 <3 needs to be done :)
  30. Offline


    It's been interesting comparing Citizens to npcx these past few weeks, so far it seems both have different and cool features. If Citizens made npc's killable, able to patrol and with guards coming in it just might replace npcx! Although the quest system is also something I've been waiting on... it's possible with npcx, but man it could really be improved in either plugin! It's simply hard to have a npc tell a full "story" with citizens only allowing random bits of text (in no particular order,) and with npcx allowing it, but making it extremely hard to create such stories and requiring keywords that only trigger short sentences.

    tl;dr: Perhaps that quest system is coming soon? Also killable npc's would be neat :)
    I enjoy the new features and all, but quests are all I ever wanted the npc's for to be honest... can't imagine i'm alone with that either!
  31. Wtf
    i have permissions. no permissions added , why can only admins use trader and blacksmith?
    i tried to create city with blacksmith, 2 traders. But none normal players are allowed to use them?

Share This Page