Inactive [Inactive][FUN] NPCX + Civilizations! [1.8] Everquest style BOTS, paths, aggro, loot, guard, shops,.

Discussion in 'Inactive/Unsupported Plugins' started by mixxit, Mar 19, 2011.

  1. Offline


    Version: See thread title for bukkit compatibility (usually RB)
    Test Server:


    Implements everquest style npc spawngroups using the npc library allowing you to make persistent npcs/rare npcs spawn around your map. Npcs will fight back if attacked and even talk on right click. They will sell items and can even have loot assigned and be given factions and paths to walk and npc trading

    Install / Changelog / Commands / README

    All of this has now moved to


    I will be updating NPCX in the future with a rewrite for 1.9 bot functionality
  2. Offline


    I believe that is currently a todo command and that right now you have to edit the database in order to remove it. Hopefully this will change soon. :)
  3. Offline


    I also noticed that NPC shops do not group similar items together. If you sell 1 lot of 30 coal to an NPC, and then a second lot of 10 for example, it sells them in seperate groups. Would it be possible to have them grouped?

    Hoping to also see buy/sell price settings. Keep up the great work :D
  4. Offline


    how does one do with the shop?
    when I put things in the robot when the server reboot then it will go away.
    how are you supposed to put more stuff in the robot?

    2011-03-26 14:32:43 [INFO] [iConomy] Logging is currently disabled.
    2011-03-26 14:32:44 [INFO] [iConomy] v4.5 (Elektra) loaded.
    2011-03-26 14:32:44 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    2011-03-26 14:32:44 [INFO] npcx : load settings begun
    2011-03-26 14:32:44 [INFO] jdbc:mysql://
    2011-03-26 14:32:44 [INFO] npcx : loadsettings() ended
    2011-03-26 14:32:44 [INFO] npcx : initialising database connection
    2011-03-26 14:32:44 [INFO] npcx : registering monitored events
    2011-03-26 14:32:44 [INFO] npcx : loading factions
    2011-03-26 14:32:44 [INFO] npcx : Loaded 1 factions.
    2011-03-26 14:32:44 [INFO] npcx : loading pathgroups
    2011-03-26 14:32:44 [INFO] npcx : Loaded 0 pathgroup.
    2011-03-26 14:32:44 [INFO] npcx : loading loottables
    2011-03-26 14:32:44 [INFO] npcx : Loaded 1 loottables.
    2011-03-26 14:32:44 [INFO] npcx : loading spawngroups
    2011-03-26 14:32:44 [INFO] 2 spawngroups loaded
    2011-03-26 14:32:44 [INFO] npcx version 0.165 enabled.
    2011-03-26 14:32:44 [INFO] [(Plugin)] Successfully linked with iConomy.

    Item.txt ? 4,64,20


    how do you do that he is not going to attack?
    I just want to shop from him.

    please help

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


    Excuse me, AWESOME PLUGIN !!!
    But, how to view all the npc of a same spawngroup in the same time ?
    And how to delete npc or spawngroups ?
  6. Offline


  7. Offline


    So i put mysql-connector-java-5.1.6 in my main server folder? or do I put it in plugins? I would really help if someone can show me to picture tutorial or a video, thanks.
  8. Offline


    The invisible npcs seem to happen upon making multiple spawngroups with the same npc attached to it. What I was doing was making spawn locations for enemies to appear, but I wanted them all to have the same name/characteristics. I believe after two spawngroups using the same npc were made is when the invisible npcs started appearing. It is also to note that after making two, my client would blackscreen crash upon running the command, and upon entering again, the npcs would be invisible.
  9. Offline


    My host doesn't do MySQL, so my friend is letting me use his. I got the url, port, and username and pass, but I keep getting this error:

    Cannot find MySQL Library!

    I'm not sure exactly what it means. I assume it is able to log into it.
  10. Offline


  11. Offline


    Can someone make a youtube video for this?
  12. Offline


    How do I delete a spawngroup/NPC?
  13. Offline


    You cant' at present, you need to edit them using a mysql editor and restart or wait for the command to be added
  14. Offline


    Could you explain me? :3
    And how do you change the spawn times? And can you make it when npc's spawn they walk around like mobs?
  15. Offline


    I am working on pathfinding at the moment - i will add a variable to spawngroup for spawntime, at the moment its hard coded
  16. Offline


    13:24:29 [INFO] npcx spawngroup list
    13:24:30 [WARNING] npcx: error: null[Ljava.lang.StackTraceElement;@1da7214
    13:24:30 [SEVERE] java.lang.NullPointerException
    13:24:30 [SEVERE]       at net.gamerservices.npcx.npcx.onCommand(
    13:24:30 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginComman
    13:24:30 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    13:24:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    13:24:30 [SEVERE]       at net.minecraft.server.NetServerHandler.c(NetServerHand
    13:24:30 [SEVERE]       at
    13:24:30 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    13:24:30 [SEVERE]       at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    13:24:30 [SEVERE]       at net.minecraft.server.NetworkManager.a(SourceFile:230)
    13:24:30 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    13:24:30 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    13:24:30 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    13:24:30 [SEVERE]       at
    13:24:30 [SEVERE]       at
    It says ingame that "An error occured"
    I am running on recommended craftbukkit build 556jnks

    Did I not set it up right.
  17. Offline


    is there a way to turn off the debugging stuff on pathing?
  18. Offline


    * Pathing changes
  19. Offline



    can you help me with this?
    how to shop. I have it but it would not save.
    and how can you do item.txt or something?
    how do you do that he does not beat somebody and not die?
  20. Offline


    * added pathgroup inspect
  21. Offline


    i dropped the database and am still getting
    17:12:22 [INFO] npcx : load settings begun
    17:12:22 [INFO] jdbc:mysql://localhost:3306/npcx
    17:12:22 [INFO] npcx : loadsettings() ended
    17:12:22 [INFO] npcx : initialising database connection
    17:12:22 [INFO] npcx : registering monitored events
    17:12:22 [SEVERE] java.sql.SQLException: Table 'npcx.faction_list' doesn't exist
    17:12:22 [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(
    17:12:22 [SEVERE] at com.mysql.jdbc.MysqlIO.sendCommand(
    17:12:22 [SEVERE] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
    17:12:22 [SEVERE] at com.mysql.jdbc.Connection.execSQL(
    17:12:22 [SEVERE] at com.mysql.jdbc.Connection.execSQL(
    17:12:22 [SEVERE] at com.mysql.jdbc.Statement.executeQuery(
    17:12:22 [SEVERE] at net.gamerservices.npcx.npcx.onEnable(
    17:12:22 [SEVERE] at
    17:12:22 [SEVERE] at
    17:12:22 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    17:12:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    17:12:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    17:12:22 [SEVERE] at net.minecraft.server.MinecraftServer.e(
    17:12:22 [SEVERE] at net.minecraft.server.MinecraftServer.a(
    17:12:22 [SEVERE] at net.minecraft.server.MinecraftServer.d(
    17:12:22 [SEVERE] at
    17:12:22 [SEVERE] at
    17:12:22 [INFO] npcx version 0.179 enabled.
  22. Offline


    i am getting this error
    running cb 556 jenkins

    2011-03-26 18:56:49 [INFO] npcx : load settings begun
    2011-03-26 18:56:49 [INFO] jdbc:mysql://null:3306/npcx
    2011-03-26 18:56:49 [INFO] npcx : loadsettings() ended
    2011-03-26 18:56:49 [INFO] npcx : initialising database connection
    2011-03-26 18:56:49 [INFO] npcx : registering monitored events
    2011-03-26 18:56:49 [INFO] npcx : DB WIPE
    2011-03-26 18:56:50 [INFO] npcx : finished table configuration
    2011-03-26 18:56:50 [SEVERE] java.lang.NullPointerException
    2011-03-26 18:56:50 [SEVERE]     at java.util.Hashtable.put(Unknown Source)
    2011-03-26 18:56:50 [SEVERE]     at java.util.Properties.setProperty(Unknown Source)
    2011-03-26 18:56:50 [SEVERE]     at net.gamerservices.npcx.npcx.onEnable(
    2011-03-26 18:56:50 [SEVERE]     at
    2011-03-26 18:56:50 [SEVERE]     at
    2011-03-26 18:56:50 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    2011-03-26 18:56:50 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    2011-03-26 18:56:50 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    2011-03-26 18:56:50 [SEVERE]     at net.minecraft.server.MinecraftServer.e(
    2011-03-26 18:56:50 [SEVERE]     at net.minecraft.server.MinecraftServer.a(
    2011-03-26 18:56:50 [SEVERE]     at net.minecraft.server.MinecraftServer.d(
    2011-03-26 18:56:50 [SEVERE]     at
    2011-03-26 18:56:50 [SEVERE]     at
    2011-03-26 18:56:50 [INFO] npcx version 0.171 enabled.
  23. Offline


    Wow, this is actually really cool :D
    It looks pretty complex to install and run though - is it worth it at the moment ? Do they peform a purpose ?
  24. Offline


    [SEVERE] java.sql.SQLException: Incorrect integer value: 'vcguards' for column 'spawngroupid' at row 1

    I am getting a clean start with no errors but soon afterwards, the errors begin.

    Errors are in the txt file attached.

    Attached Files:

  25. Offline


    It's spawngroupID not a name
  26. Offline


    Please make it withou iConomy, I don't like iConomy and dont want it on my server. What about item for item. Please it will be amazing.
  27. Offline


    * Changes to help with questions here

  28. Offline


    npcs aren't walking their paths more than 80% of the time

    2011-03-27 18:24:40 [INFO] npcx : load settings (0.182) begun
    2011-03-27 18:24:40 [INFO] jdbc:mysql://localhost:3306/npcx
    2011-03-27 18:24:40 [INFO] **********************************************
    2011-03-27 18:24:40 [INFO] * Load settings failed to find default world *
    2011-03-27 18:24:40 [INFO] *    Please change it in     *
    2011-03-27 18:24:40 [INFO] **********************************************

    was working a minute ago, did you change the config files?

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


    Check your world entry in matches the world you are spawning your npcs on

    - Line of site checking for npc aggro

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


    Pure fucking awesome.
    Nate204 likes this.
  31. Offline


    Couldn't say it better myself.

    How is this effecting other servers and lag? I thought maybe it was causing mine to, but I wanted to check with everyone else. I'm not looking at just having the NPCs, but having them walk from point to point. I had three NPCs active doing this, and one had over 30 preset points.


Share This Page