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

    mixxit

    npcx!
    Version: See thread title for bukkit compatibility (usually RB)
    Test Server: world.soliniaonline.com:25565

    [​IMG]

    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 http://soliniaonlinemc.wordpress.com/2011/09/24/npcx/

    Addendum

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

    dak393

    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

    _andy

    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

    swedish2011

    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?

    Code:
    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://db4free.net:3306/test9999999
    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.
    shop

    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

    Goliathe

    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

    SoTD

     
  7. Offline

    Zaddion

    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

    doubleobond

    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

    Liger_XT5

    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

    sithoius

    YES. WIN OMG I LOVE YOU. YES YES YES YES!!!!! HECK YEA!!!!
     
  11. Offline

    godgodgodgo

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

    Jochum

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

    mixxit

    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

    Jochum

    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

    mixxit

    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

    kahlilnc

    Code:
    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(npcx.java:1319)
    
    13:24:30 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginComman
    d.java:35)
    13:24:30 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:80)
    13:24:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:229)
    13:24:30 [SEVERE]       at net.minecraft.server.NetServerHandler.c(NetServerHand
    ler.java:645)
    13:24:30 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerH
    andler.java:608)
    13:24:30 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:602)
    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
    ler.java:76)
    13:24:30 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :100)
    13:24:30 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:357)
    13:24:30 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:272)
    13:24:30 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    >
    
    
    It says ingame that "An error occured"
    I am running on recommended craftbukkit build 556jnks

    Did I not set it up right.
     
  17. Offline

    fugue2005

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

    mixxit

    0.174
    * Pathing changes
     
  19. Offline

    swedish2011

    mixxit@

    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

    mixxit

    0.179
    * added pathgroup inspect
     
  21. Offline

    fugue2005

    i dropped the database and am still getting
    Code:
    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(MysqlIO.java:2975)
    17:12:22 [SEVERE] at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1600)
    17:12:22 [SEVERE] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1695)
    17:12:22 [SEVERE] at com.mysql.jdbc.Connection.execSQL(Connection.java:3020)
    17:12:22 [SEVERE] at com.mysql.jdbc.Connection.execSQL(Connection.java:2949)
    17:12:22 [SEVERE] at com.mysql.jdbc.Statement.executeQuery(Statement.java:959)
    17:12:22 [SEVERE] at net.gamerservices.npcx.npcx.onEnable(npcx.java:808)
    17:12:22 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    17:12:22 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    17:12:22 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    17:12:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    17:12:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    17:12:22 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    17:12:22 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    17:12:22 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    17:12:22 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    17:12:22 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    17:12:22 [INFO] npcx version 0.179 enabled.
     
  22. Offline

    WingedBuffalo

    i am getting this error
    running cb 556 jenkins

    Code:
    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(npcx.java:785)
    2011-03-26 18:56:50 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    2011-03-26 18:56:50 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    2011-03-26 18:56:50 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    2011-03-26 18:56:50 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    2011-03-26 18:56:50 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    2011-03-26 18:56:50 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    2011-03-26 18:56:50 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    2011-03-26 18:56:50 [SEVERE]     at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    2011-03-26 18:56:50 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    2011-03-26 18:56:50 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-26 18:56:50 [INFO] npcx version 0.171 enabled.
     
  23. Offline

    Arcaian

    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

    u83rju1c3

    [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

    mixxit

    It's spawngroupID not a name
     
  26. Offline

    eRko16

    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

    mixxit

    0.182
    * Changes to help with questions here

     
  28. Offline

    fugue2005

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

    Code:
    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 ncpx.properties     *
    2011-03-27 18:24:40 [INFO] **********************************************
    0.182

    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

    mixxit

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

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

    Kainzo

    Pure fucking awesome.
     
    Nate204 likes this.
  31. Offline

    Nate204

    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.

    Thanks.
     

Share This Page