[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

    MCE626

    this isn't working for 1.4.5 for me... :( it has this -

    08:20 AM [INFO] [Citizens] Enabling Citizens v2.0
    08:20 AM [SEVERE] [Citizens] v2.0 is not compatible with Minecraft v1.4.5. Disabling.
    08:20 AM [INFO] [Citizens] Disabling Citizens v2.0
    08:20 AM [INFO] [Citizens] v2.0 disabled.
     
  3. Offline

    grid21

    Ok this is really simple. I go to load the plugin and I get this error. Basically your plugin is out of date.
    2012-11-27 17:08:22 [INFO] [Citizens] Enabling Citizens v2.0
    2012-11-27 17:08:22 [SEVERE] [Citizens] v2.0 is not compatible with Minecraft v1.4.5. Disabling.
    2012-11-27 17:08:22 [INFO] [Citizens] Disabling Citizens v2.0
    2012-11-27 17:08:22 [INFO] [Citizens] v2.0 disabled.
     
  4. 17:32:08 [SEVERE] [Citizens] v2.0 is not compatible with Minecraft v1.4.5. Disabling.

    Is What I get
     
  5. Offline

    fullwall

    grid21 Minecraft Chameleon @lkinesyKx - you are all using the incorrect version of Citizens for your CraftBukkit version. Please read the dev.bukkit page section on dev builds.
     
  6. Offline

    IkinesyKx

    fullwall Yes, sorry you're right x) but now I have an other error ... x) even if my npc spawn ...
    Code:
    [Citizens] Task #20 for Citizens v1.2.1 generated an exception
    java.lang.NoSuchFieldError: bG
        at net.citizensnpcs.resources.npclib.PathNPC.getYawDifference(PathNPC.java:141)
        at net.citizensnpcs.resources.npclib.PathNPC.handleMove(PathNPC.java:162)
        at net.citizensnpcs.resources.npclib.PathNPC.moveTick(PathNPC.java:227)
        at net.citizensnpcs.resources.npclib.HumanNPC.doTick(HumanNPC.java:84)
        at net.citizensnpcs.TickTask.run(TickTask.java:35)
        at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
        at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:531)
        at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:215)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:495)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:428)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:818)
     
  7. Offline

    fullwall

    IkinesyKx - what CraftBukkit/Citizens version are you using? Looks like there's still a mismatch.
     
  8. Offline

    IkinesyKx

    1.4.2 CraftBukkit and the last build citizens ans i have this problem when i want to add my olf npc :( and when i create un new npc i haven't this problem :eek:
     
  9. Offline

    grid21

    May I have a link or download link to said pages?
     
  10. Offline

    IkinesyKx

  11. Offline

    IkinesyKx

    Items with build #82 of Citizens bug. When you give an item to an npc, it doesn't appear. After a reboot, it appear. normal? :mad:
     
  12. Offline

    Benbuddy22

    please report this error: [see console] java.lang.nosuchmethoderror: net.minecraft.server.mincraftserver.E()Ljava/security/keypair;

    can someone help! i am in version 1.4.5 with MC but i keep getting this when i make an NPC
     
  13. Offline

    depato123

    Plis update
     
  14. Offline

    fullwall

    depato123 - I am waiting for an RB so any Bukkit API changes (such as the one to be pushed shortly) will not break Citizens. Please use the dev builds at http://ci.citizensnpcs.com
     
  15. Offline

    Darckspace

  16. Offline

    xXSniperzzXx_SD

    Sigh... I just want a good NPC plugin, and this is the only good one, but it won't get released till the RB is out... and chances are thats not for awhile still considering there on CB 1.4.5 R0.3
     
  17. Offline

    fullwall

    xXSniperzzXx_SD - I'll be releasing an alpha on CB 1.4.5 R0.3 when it comes out.
     
  18. Offline

    DarthVaderPolo

    Help i get this error when trying to type /npc

    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:502)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:985)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:903)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:858)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:123)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:290)
    at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:113)
    at org.getspout.spout.SpoutNetServerHandler.d(SpoutNetServerHandler.java:198)
    at net.minecraft.server.ServerConnection.b(SourceFile:39)
    at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
    at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595)
    at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
    Caused by: java.lang.NullPointerException
    at net.citizensnpcs.Citizens.onCommand(Citizens.java:142)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    ... 17 more

    Im using the newest version 2.0.4 and my server is 1.4.5
    any idea?
     
  19. Offline

    fullwall

    DarthVaderPolo - you're probably having an issue with the new CraftBukkit package renaming. Please upgrade both C2 and CraftBukkit to the very very latest builds of both or wait for a R0.3 beta.
     
  20. Offline

    DarthVaderPolo

    Actually i've upgrade d my bukkit to 1.4.5 R0.2 and C2 2.0.4-SNAPSHOT. ,weird
    Maybe I should wait for a bukkit update *sigh*
    Thanks,anyway: D
     
  21. Offline

    fullwall

    DarthVaderPolo - the very latest CraftBukkit is R0.3 dev, the latest snapshot of Citizens is for that particular build in preparation for the new beta.
     
  22. Offline

    DarthVaderPolo

    Aw snap!
    I never thought of that, will try to update bukkit when i got back to my computer,
    Will update when i've done that,thanks : D
     
  23. Offline

    Togakure321

    hey guys i hope people are still acknowledging this forum i have this issue i originally asked anticheat about but they said come here since it was to do with the Citizens API getname() heres the layout of my issue i hope you guys can help.
    Thanks!

    10:54:42 [SEVERE] Could not pass event EntityDamageByEntityEvent to AntiCheat v1
    .4
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:341)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:462)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callEvent(CraftEventFa
    ctory.java:80)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDamageEvent(
    CraftEventFactory.java:377)
    at org.bukkit.craftbukkit.event.CraftEventFactory.handleEntityDamageEven
    t(CraftEventFactory.java:399)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:658)

    at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:39
    )
    at net.minecraft.server.EntityHuman.attack(EntityHuman.java:794)
    at net.citizensnpcs.npc.ai.MCTargetStrategy.update(MCTargetStrategy.java
    :105)
    at net.citizensnpcs.npc.ai.CitizensNavigator.run(CitizensNavigator.java:
    120)
    at net.citizensnpcs.npc.CitizensNPC.update(CitizensNPC.java:224)
    at net.citizensnpcs.npc.entity.CitizensHumanNPC.update(CitizensHumanNPC.
    java:139)
    at net.citizensnpcs.npc.entity.EntityHumanNPC.j_(EntityHumanNPC.java:144
    )
    at net.minecraft.server.World.entityJoinedWorld(World.java:1333)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:5
    46)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1315)
    at net.minecraft.server.World.tickEntities(World.java:1193)
    at net.minecraft.server.WorldServer.tickEntities(WorldServer.java:444)
    at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:577)
    at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
    Caused by: java.lang.NullPointerException
    at net.h31ix.anticheat.event.EventListener.decrease(EventListener.java:9
    3)
    at net.h31ix.anticheat.event.EntityListener.onEntityDamage(EntityListene
    r.java:189)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:339)
    ... 24 more

    im assuming its something anticheat is having trouble with due to the 10:54:42 [SEVERE] Could not pass event EntityDamageByEntityEvent to AntiCheat v1.4

    thanks again!
     
  24. Offline

    Togakure321

    hey guys idk how to fix this its something to do with the API? any help you could give would be awesome thanks!!

    10:54:42 [SEVERE] Could not pass event EntityDamageByEntityEvent to AntiCheat v1
    .4
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:341)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:462)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callEvent(CraftEventFa
    ctory.java:80)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDamageEvent(
    CraftEventFactory.java:377)
    at org.bukkit.craftbukkit.event.CraftEventFactory.handleEntityDamageEven
    t(CraftEventFactory.java:399)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:658)

    at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:39
    )
    at net.minecraft.server.EntityHuman.attack(EntityHuman.java:794)
    at net.citizensnpcs.npc.ai.MCTargetStrategy.update(MCTargetStrategy.java
    :105)
    at net.citizensnpcs.npc.ai.CitizensNavigator.run(CitizensNavigator.java:
    120)
    at net.citizensnpcs.npc.CitizensNPC.update(CitizensNPC.java:224)
    at net.citizensnpcs.npc.entity.CitizensHumanNPC.update(CitizensHumanNPC.
    java:139)
    at net.citizensnpcs.npc.entity.EntityHumanNPC.j_(EntityHumanNPC.java:144
    )
    at net.minecraft.server.World.entityJoinedWorld(World.java:1333)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:5
    46)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1315)
    at net.minecraft.server.World.tickEntities(World.java:1193)
    at net.minecraft.server.WorldServer.tickEntities(WorldServer.java:444)
    at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:577)
    at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
    Caused by: java.lang.NullPointerException
    at net.h31ix.anticheat.event.EventListener.decrease(EventListener.java:9
    3)
    at net.h31ix.anticheat.event.EntityListener.onEntityDamage(EntityListene
    r.java:189)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:339)
    ... 24 more
     
  25. Offline

    fullwall

    Togakure321 - yes, it's an AntiCheat problem. Possibly to do with CitizensAPI methods returning null, perhaps a softdepend is needed?.
     
  26. Offline

    Togakure321

    they sent me here since it was an API problem :/ they tried to fix it but they said the root problem would only be fixable through you guys
     
  27. Offline

    Togakure321

    they sent me here and told me you guys were the only ones who could really fix it they tried on their end and it didnt really work lol :p

    again thanks for any help you can provide ^^
     
  28. Offline

    Togakure321

    sorry about the 2 responses... - .- my computer wasnt showing the first one for what ever reason figured it was lost in cyberspace.
     
  29. Offline

    hugovn

    Uhm. theres a prob lem with mine that i downloaded on bukkit dev . When i do/npc create (name) It wont create an NPC .... WHAT DO I DO?!?!?!?!?!?!??!?!?!?!?!?!?!
     
  30. Hey dudes =)

    Great mod! (As I also said on the Bukkit Dev comments)

    I have a question regarding Denizens.

    I want to have an Age Checking system. Here is the code that allows the player to input an age and it will be FLAGGED to the player.

    Code:
    'Welcome':
      Type: Interact
      Requirements:
        Mode: All
        List:
        - -FLAGGED NewPlayer PLAYER
      Steps:
        1:
          Click Trigger:
            Script:
              - ENGAGE
              - CHAT "Hello! And welcome to BlahBlahBlah"
              - WAIT 2
              - CHAT "Since you have just arrived in this Realm, I will need you to tell me some details."
              - WAIT 2
              - CHAT "What is your age?"
              - WAIT 1
              - NARRATE "<GREEN>Input a number. Remember if you are a baby or a super old person, you wont be able to do much here. Be realistic!"
              - DISENGAGE
          Chat Trigger:
            1:
              Trigger: I am /*/ years old.
              Script:
              - FLAG Age:<*>
              - WAIT 1
              - IF 'FLAG:Age' IS_NUMBER 'SCRIPT:NeedAge 1' ELSE 'SCRIPT:NeedAge 2'
     
    'NeedAge':
      Type: Interact
      Requirements:
        Mode: All
        List:
        - -FLAGGED NewPlayer PLAYER
      Steps:
        1:
          Chat Trigger:
            Script:
              - CHAT "Fantastic! Ok on to the next question."
        2:
          Chat Trigger:
            Script:
              - CHAT "I am sorry but you need to give me a number."
              - ZAP Welcome 1
    
    It all works except that the IF FLAG:Age does not jump to the Step/Activity (whatever it is) titled "NeedAge"
     
  31. Offline

    xMinecraft

    How do I make an NPC move from point to point?
     

Share This Page