[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

    yottabyte

    Ugh, I do not recommend using the 1.07h version. The RAM usage sky rockets and freezes my server and makes the computer go really slow. Please do fix.
     
  3. Offline

    anazhd

    It didn't slows down my server thou. Maybe it's because I'm using 32core, 4gb ram linux server. ;)
     
  4. Offline

    yottabyte

    That's a lot of cores.
     
  5. Offline

    SoTD

    I created 1 NPC with your addon, got 3 Null Pointer Exceptions. But i didn't see any huge RAM use, still seems normal, okay.. it's just 1 npc.

    But i got a question: Does the server recognize the created npc's as "real players"? I use dynmap and can't find the created npc. Just asking cuz im planing to put 1 npc at my mobtrap, so the mobs in the npc's near will spawn, even if iam not in the near.
     
  6. Offline

    MacVaultDweller

    Same with me the more npc's added the more NullPoint Exceptions.
    cb 733 with latest Citizens build.

    Code:
    08:16:12 [SEVERE] java.lang.NullPointerException
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    08:16:12 [SEVERE] java.lang.NullPointerException
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    08:16:12 [SEVERE] java.lang.NullPointerException
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    08:16:12 [SEVERE] java.lang.NullPointerException
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    08:16:12 [SEVERE] java.lang.NullPointerException
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    08:16:12 [SEVERE] java.lang.NullPointerException
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    08:16:12 [SEVERE] java.lang.NullPointerException
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    08:16:12 [SEVERE] java.lang.NullPointerException
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    08:16:12 [SEVERE] java.lang.NullPointerException
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    08:16:12 [SEVERE] java.lang.NullPointerException
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    08:16:12 [SEVERE] java.lang.NullPointerException
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    08:16:12 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    08:16:12 [INFO] [Citizens]: Loaded 7 NPC's
    
     
  7. Offline

    Gixbit

    What if they were all clocked at 2mhz?
     
  8. Offline

    yottabyte

    That would be pretty stupid since Minecraft doesn't support multiple cores :p
     
  9. Offline

    anazhd

    For faster processing.. minecraft on linux, the best. 40% better and faster than windows.

    2mhz? oh lol.
     
  10. Offline

    fullwall

    Still checking out the errors, not sure what effect (if any) they have, since some have reported no actual effect. @yottabyte - most likely you don't have the traders files yet (redownload ZIP please). To all - traders are NOT finished yet, I just had to release a 1.5 compatible version first. It recognises them as real players, but blocks most transactions with them, so plugins probably don't see them as real players.
     
  11. Offline

    Hawtin

    Hmm talk your npc´s?
     
  12. Offline

    yottabyte

    I didn't at first and got tons of errors spammed so I added the trader files but the RAM usage is still crazy.
     
  13. Offline

    SoTD

    Seems like a bug:

    I created a NPC with "/npc create name". After a while the npc disappeared, but i don't know why. Nothing to see at console. I still can select the npc, and move it, but i don't see it, reconnect and server restart didn't help. So i had to remove him and create another one.
     
  14. Offline

    yottabyte

    Just out of curiosity, what CPU do you have? Must've cost a ton.
     
  15. Offline

    anazhd

    co-located dedicated server located at ISP Datacenter. Using AMD Opteron 16Core x2. and 64gb ram. not 4 ( typo on above post ) . Cost a lot of tons :3

    but my server still dont have players. never advertised about it, and still not inviting anyone else yet.
     
  16. Offline

    yottabyte

    Getting off topic here but I'm pretty sure AMD hasn't released a 16-core CPU yet.
     
  17. Offline

    Waffletastic

    On my server, it just goes through the startup just fine, then at the very end, says loaded 0 npcs, and won't let anybody connect.
     
  18. Offline

    Waffletastic

    Getting this now:


    03:25:46 [SEVERE] java.lang.NullPointerException
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:127)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:226)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:69)
    03:25:46 [SEVERE] java.lang.NullPointerException
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:127)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:226)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:69)
    03:25:46 [SEVERE] java.lang.NullPointerException
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:127)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:226)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:69)
    03:25:46 [SEVERE] java.lang.NullPointerException
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:127)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:226)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:69)
    03:25:46 [SEVERE] java.lang.NullPointerException
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:127)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:226)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:69)
    03:25:46 [SEVERE] java.lang.NullPointerException
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:127)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:226)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:69)
    03:25:46 [SEVERE] java.lang.NullPointerException
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:127)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:226)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:69)
    03:25:46 [SEVERE] java.lang.NullPointerException
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:127)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:226)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:69)
    03:25:46 [SEVERE] java.lang.NullPointerException
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:127)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:226)
    03:25:46 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:69)
    03:25:46 [SEVERE] java.lang.NullPointerException
    03:25:46 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:127)
    03:25:47 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:226)
    03:25:47 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:69)
    03:25:47 [SEVERE] java.lang.NullPointerException
    03:25:47 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:127)
    03:25:47 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:226)
    03:25:47 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:69)
    03:25:47 [INFO] [Citizens]: Loaded 62 NPC's
    >
     
  19. Offline

    fullwall

    OK, still looking for the cause of the null pointer exception, though its hard to tell the cause from looking at the minecraft source code.
     
  20. Offline

    Drei Gyuu

    Hello hello,

    Finally the update, really excited, although I won't get it yet, I'll wait till the null pointer errors are fixed, People should have learned by now, If you download the whole zip file with the citizen folder and replace the old citizen files you have on your server, ofcourse it will delete your old data, ofcourse it will get rid of all your current npcs, so Backup Backup Backup Backup and Backup so you can always restore something if you screw up.

    Good luck with all,
    Thanks for the long awaited updated glad to see the plug-in is still being worked on :D


    Also, suggestions if I may,

    I know you have been working hard on developing this plug-in but since you are still working on Traders.

    Do you think it will be possible to make NPC traders that when you right click on them you it will open a chestbox window and there you can see Things that you can buy, or drop off items that you want to sell. That would be really nice! :D Similllar to what RealShop plug-in has. (Please edit this if I'm not allowed to mention other plugins on this thread)

    Lastly, can you advice me if there is a way to get rid of the armor for NPCs after you set them to have some on. If not I'll just recreate the NPC,

    Warm Regards,
     
  21. Offline

    JohnTheRipper

    I'm running B740, I'll go see if this works...

    This is the last plugin I'm still waiting on.
     
  22. Offline

    BioRage

    Please update Gastronomic.
     
  23. Offline

    cloned

    I have not used this plugin yet but from what I can tell, it only allows NPCs to talk?
     
  24. Offline

    MacVaultDweller

    replaced cb 733 with cb 740 it works just like it did with cb733 but I still get the same same [SEVERE] at net.minecraft.server.NetworkManage errors
     
  25. Offline

    fullwall

    OK, please wait for the moment. When I figure out the null error (which may cause the high RAM) problem, I will update to 1.07i.
     
  26. Offline

    JohnTheRipper

    Looking at my server, it seems like on B740 the plugin *partially* works, but it still gives the errrors?

    Any ideas?

    What's the ETA for a update?

    Is the NullPointer exception bad, or is it safe for me to run the plugin?
     
  27. Offline

    fullwall

    If you don't get high ram usage, then yes it should be safe. Still looking for the cause/effect of the nulls.
     
  28. Offline

    JohnTheRipper

    As far as I see, the plugin works fine, with similar RAM usage as before.

    The only thing is with 15 or bigger chars in a NPC name, it throws a few more exceptions at me upon NPC creation.

    I guess I'll just run it like this for now.

    Protip: Server owners, go into your files for this plugin and surgically remove any NPCs with too-long names.
     
  29. Offline

    fullwall

    OK, I have figured out the high RAM usage issue (default save-to-disc value was way too low). Still need to figure out this null issue before 1.07i. Also, 1.07i will stop you from having too long npc names, but won't change existing ones for you as of yet.
     
  30. Offline

    cloned

    I created an NPC with text but he doesn't talk.
     
  31. Offline

    OllieRaiden

    Hey. Whenever I type in /citizens help I get "An internal error occured while attempting to perform this command" in-game and the following error in the console.

    I can't seem to do any of the Citizens commands. And copying over the data of my old Citizen NPCs causes the server to get an endless stream of severe warnings to the extent no one can log in.
     

Share This Page