[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

    fullwall

    They shouldn't. There are checks to prevent that at least.
     
  3. Offline

    Mrjibidi

    Next update!! WHEN!!?!?!?!?!?:p
     
  4. Offline

    NickBrahz

  5. Version 1.07c is out, fixing the random disappearing of NPC's
     
  6. Offline

    fullwall

    Thanks NickBrahz - full props to my friend :).
     
  7. Offline

    Mrjibidi

    Well my NPC's are still missing.
     
  8. Offline

    NickBrahz

    Care to elaborate...
     
  9. Offline

    but2002

    Not a stupid question. When we were testing on the Fuyuri server, that seemed to be the exact cause.
     
  10. Offline

    Mrjibidi

    Fullwall isn't here so any other developer help me? My NPC's are missing!
     
  11. Offline

    NickBrahz

    For the second time, if you elaborate whats wrong maybe we can help you
     
  12. Offline

    Mrjibidi

    Where? in here? or to some private conversation?:confused: and the video has no help.
     
  13. Offline

    BigBlueGER

    Is there a way to change the distance to the player the NPCs need to start talking?
    I've made a test postoffice and they should say 'Welcome!', but they're just saying it when I touch them.
    Btw., 1.07c helped alot, made my NPCs reappear =D
     
  14. Offline

    NickBrahz

    Well if you open the config file up, try increasing the line that says
    Code:
    look-range=4
    It may also affect speech im not to sure but its worth a shot

    Just post whats actually wrong in here, any errors on the console, what version of this and CB are you using, the general stuff

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  15. Offline

    Mrjibidi

    Sorry.. got confused :)

    2011-03-28 14:35:32 [INFO] Starting minecraft server version Beta 1.3
    2011-03-28 14:35:32 [INFO] Loading properties
    2011-03-28 14:35:32 [INFO] Starting Minecraft server on *:25565
    2011-03-28 14:35:32 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-g6c6c30a-b556jnks (MC: 1.3)
    2011-03-28 14:35:32 [INFO] Preparing level "Suomilandia"
    2011-03-28 14:35:32 [INFO] Preparing start region
    2011-03-28 14:35:33 [INFO] LWC Loading shared objects
    2011-03-28 14:35:33 [INFO] LWC Native library: plugins/LWC/lib/native/Windows/x86/sqlitejdbc.dll
    2011-03-28 14:35:33 [INFO] [Permissions] version [2.5.3] (Phoenix) was Initialized.
    2011-03-28 14:35:33 [INFO] afraidSkills version 0.3.21 is enabled!
    2011-03-28 14:35:33 [INFO] [Citizens]: Permissions enabled.
    2011-03-28 14:35:33 [INFO] 143 recipes
    2011-03-28 14:35:33 [SEVERE] Index: 1, Size: 1 loading Citizens v1.07 (Is it up to date?)
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    at java.util.ArrayList.RangeCheck(Unknown Source)
    at java.util.ArrayList.get(Unknown Source)
    at com.fullwall.Citizens.NPCDataManager.addItems(NPCDataManager.java:20)
    at com.fullwall.Citizens.NPCManager.registerBasicNPC(NPCManager.java:71)
    at com.fullwall.Citizens.BasicNPCHandler.spawnExistingNPC(BasicNPCHandler.java:25)
    at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:224)
    at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:77)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  16. Offline

    NickBrahz

    Ok first up, re-download the zip folder for 1.07C to make sure you have the newest version, and also make sure you have all the appropriate files/folders in the right places for this plugin
     
  17. Offline

    BigBlueGER

    Nah, already tried that. But might be a feature suggestion =D
    Anyway, this plugin made my city SO much more... entertaining =P
     
  18. Offline

    NickBrahz

    Hmm well maybe you can position the guy right behind the door just standing there creepy and waiting for a customer haha
     
  19. Offline

    Joself

    oh great... My iConomy isn't updating balances, so I'm stuck at 100, and apperantly, I don't got enough money to create a NPC. And I don't got a config file, just the .jar... :S
     
  20. Offline

    MacVaultDweller

    config file items layout would be helpful.
    Thanks for all the improvements.
     
  21. Offline

    fullwall

    Download from the link in 1.07 - you should receive a ZIP file, where you can configure economy. The item lookup file is for parsing texts - you should not need to alter it.
     
  22. Offline

    Joself

    Oh lol, I just downloaded the jar...
     
  23. Offline

    MacVaultDweller

    Code:
    #Minecraft Properties File
    #Mon Mar 28 09:35:15 EDT 2011
    3=0,0,0,0,0,
    2=0,0,0,0,0,
    1=0,0,0,0,0,
    0=0,0,0,0,0,
    In order what are the items please
    Sorry I meant For armor item in hand layout order.
     
  24. Offline

    fullwall

    In hand item -> helm -> chestplate -> leggings -> boots.
     
  25. Offline

    Joself

    Now, the installation is weird. If I out the folder in the plugins folder, I can't create NPC's, if I put the .jar in there, I'm able to. But I can't change the price or even turn the price off.

    (If it matters, I'm on a Mac.)
     
  26. Offline

    Zenolijo

    Code:
    16:13:33 [INFO] [Citizens]: Permissions enabled.
    16:13:33 [INFO] 143 recipes
    16:13:33 [ALLVARLIG] Index: 1, Size: 1 loading Citizens v1.07 (Is it up to date?)
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
        at java.util.ArrayList.RangeCheck(ArrayList.java:547)
        at java.util.ArrayList.get(ArrayList.java:322)
        at com.fullwall.Citizens.NPCDataManager.addItems(NPCDataManager.java:20)
        at com.fullwall.Citizens.NPCManager.registerBasicNPC(NPCManager.java:67)
        at com.fullwall.Citizens.BasicNPCHandler.spawnExistingNPC(BasicNPCHandler.java:25)
        at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:220)
        at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:77)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    Everything i find works, but this shows when i start my server.
    I have renamed the Citizens.jar to zCitizens.jar for multiworld support, but don't think thats why...
     
  27. Offline

    fullwall

    You have probably imported some legacy NPCs - just delete all values in your Citizens.items file. Before you do, can you post an example of your file? Just so I can add some porting code.
     
  28. Offline

    Joself

    Who? Me? Or did you mean Zenolijo?
     
  29. Offline

    Dominic_T

    NPCs with spaces ('/') in their names appear with the '/' instead when automatically talking to nearby players.
     
  30. Offline

    NickBrahz

    FullWall, i was wondering if in the next update, would it be possible to change the range that NPC's talk when its set to talk when near? and would you be able to set it individually for each NPC, cheers.
     
  31. Offline

    fullwall

    Joself: Zenolijo. We'll see Nick - you can change that range using the look-range setting currently.
     

Share This Page