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

    dudes34

    Thanks mate =) I love this mod its amazing, thanks for all the work and effort thats gone into it. Somehow the NPCs are completely void of the god mode mod? They can still kill me lol! That surprised my brother lol.... Thanks again mate. Suggestions (If I may) i don't know if this is planned but maybe like a group of for example Bandits spawn in an area (If you can do this I am sorry lol). Probably very complicated but further down the line maybe a GUI for Merchants (I know fairly annoying) . I wish I could help but I know nothing about SQL or Java... =/ Thanks mate

    Edit: I removed the armour, but when I restart the server the armour is back any ideas mate? Thanks.
     
  3. Offline

    gurugamers

    Hey. I'm in need of a bit of help. When I try to use any command, it just says "An error occurred"

    Code:
    [INFO] GuruGamers used command "/npcx spawngroup create Test"
    2011-04-08 18:37:57 [WARNING] npcx: error: null[Ljava.lang.StackTraceElement;@5ad557c2
    2011-04-08 18:37:57 [SEVERE] java.lang.NullPointerException
    2011-04-08 18:37:57 [SEVERE]     at net.gamerservices.npcx.npcx.onCommand(npcx.java:1206)
    2011-04-08 18:37:57 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-04-08 18:37:57 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    2011-04-08 18:37:57 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:233)
    2011-04-08 18:37:57 [SEVERE]     at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:594)
    2011-04-08 18:37:57 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:557)
    2011-04-08 18:37:57 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
    2011-04-08 18:37:57 [SEVERE]     at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    2011-04-08 18:37:57 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    2011-04-08 18:37:57 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    2011-04-08 18:37:57 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-04-08 18:37:57 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    2011-04-08 18:37:57 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    2011-04-08 18:37:57 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  4. Offline

    mixxit

    The errors above this would be more helpful - why not paste the whole server.log?
     
  5. Offline

    skylabz0rz

    Hey great mod. I was wondering if there is any future support for Multiverse? Right now I can only spawn NPCs in the default world as I don't think a world setting is incorporated into the XYZ setting? This would enable me to spawn NPCs in the neather as well as my other worlds that we use. Thanks.
     
  6. Offline

    mixxit

    The three most popular questions are MultiWorld Support, Permissions Support and /Reload support

    All of those are planned :)
     
    skylabz0rz likes this.
  7. Offline

    skylabz0rz

    Thanks, the search feature on here is a little, uh, complex? Either way, can't wait for that release!
     
  8. Offline

    anon

    How to change NPC armor and weapon? When I spawn a npc he comes with iron armor, is there any way to change it?
     
  9. Offline

    mixxit

    see the '/npcx npc' menu
     
  10. Offline

    anon

    Thanks :D
     
  11. Offline

    alta189

    I keep removing the armor of the NPC and when the server restarts it puts it back on them
     
  12. Offline

    Mannimal0916

    is there an easy way to do this on a mac
     
  13. Offline

    mixxit

    For those wondering, i added /reload support to the latest development build - if you want to test it:

    Build 0.455
    http://world.gamerservices.net:8080/job/npcx/9/artifact/dist/npcx.jar

    Note this is not a recommended build yet until people give me some feedback

    Also added multiworld support to dev build 0.457

    http://world.gamerservices.net:8080/job/npcx/12/artifact/dist/npcx.jar
    This is not the recommended build (which is 454)

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

    Guenael

    CB670 : i have that when i try to sell ID amount

    Code:
    03:08:52 [SEVERE] Could not pass event PLAYER_CHAT to npcx
    java.lang.NullPointerException
        at net.gamerservices.npcx.myNPC.parseMerchant(myNPC.java:606)
        at net.gamerservices.npcx.myNPC.onPlayerChat(myNPC.java:436)
        at net.gamerservices.npcx.npcxPListener.onPlayerChat(npcxPListener.java:445)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:234)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:565)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    

    and if i downgrnde CB617 : all work
     
  15. Offline

    mixxit

    Promoted 0.458
    -----------------------------
    Permissions support added - node : 'npcx.fulladmin'
    http://world.gamerservices.net:8080/job/npcx/14/artifact/dist/npcx.jar

    fixed, they changed it so players have null items in their inventory

    here is 0.459 with the fix in it - http://world.gamerservices.net:8080/job/npcx/15/artifact/dist/npcx.jar

    0.459
    Minimum version for support: 0.459

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

    alta189

    I am running 0.459 and CB670 and every time I shut the server down and start it back up the armor on all of my NPC is added even though MySQL is set to 0 for every armor for the npc. Help would be appreciated. Thanks.

    BTW. I love this plugin. Probably my favorite.
     
  17. Offline

    mixxit

    You need at least 459 to fix that, chances are you arent running that version at all

    Minimum version for support 0.462
    http://world.gamerservices.net:8080/job/npcx/promotion/latest/npcx-promotion/artifact/dist/npcx.jar

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

    Mannimal0916

    Can you please explain how to do this on a mac?
     
  19. Offline

    Luong

    btw, mind setting up your own /getpos command as well? and fix the yaw on it as well by adding +90 to it =p

    I'm no longer using essentials plugin because I kept getting memory heap, and I'm not in any rush to upgrading the ram anytime soon for just developing the map before I open it. I don't use or require all the features within essentials plugin anyways.
     
  20. Offline

    mixxit

    I don't use macs sorry but it's probably very similar to linux - you will no doubt have more trouble installing mysql than anything

    press F3 and use that?

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

    Luong

    oh, did not know about that, thx XD
     
  22. Offline

    Mannimal0916

    yes mysql is the problem i am having
     
  23. Offline

    skillinazn

    I have a problem with mcmmo conflicting with the plugin npcx. When attacking npcs, the console gets a:

    [SEVERE] Could not pass on event ENTITY_DAMAGE to mcMMO

    error. I'm not sure if it is something wrong with your plugin or mcMMO itself, but I made a post for this at the thread too. If you need the full error just ask me and I'll provide it. Thanks!
     
  24. Offline

    mixxit

    i'm not cancelling the event
     
  25. Offline

    byzantinian

    So I noticed that everytime I download a new version it does
    Code:
    [INFO] DB WIPE
    And I also noticed that you set the default config to Update:True.

    So am I going to turn on my server one day and it's going to wipe out the MySQL database everytime there's an update? Granted this happened when auto-patching from 1.03 to 1.04 so this might not be an issue anymore, but I just downloaded the latest and it cleared the DB and went through update checks from 1.01 to 1.09. Leaving me to believe it will happen again, or is this just initial setup?
     
  26. Offline

    mixxit

    Yes default is true for a first install, it gets turned off after it updates the db

    1.03 is really old you should wipe anyway, i think there was an error in 1.04 or 1.03 where the initial schema was incorrect on creation of tables - If you fly back through the thread you will see where i told people they need to wipe (and more importantly backup the tables)
     
  27. Offline

    GooMan

    sorry but not work^^

    Code:
    00:57:00 [SEVERE] null loading npcx v0.461 (Is it up to date?)
    java.lang.NullPointerException
            at java.util.Hashtable.put(Unknown Source)
            at java.util.Properties.setProperty(Unknown Source)
            at net.gamerservices.npcx.myUniverse.loadSetup(myUniverse.java:228)
            at net.gamerservices.npcx.npcx.onEnable(npcx.java:692)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:514)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  28. Offline

    byzantinian

    Well, 1.09 on 670 and a clean DB so no errors and i'll see how it goes from there =) thanks for the fast answer i know i've asked a lot of questions heh.
     
  29. Offline

    JDD

    CraftBukkit version: 670
    NPCX version: 0.462
    Attempt at using command: /npcx pathgroup create SpawnPath

    Code:
    01:02:26 [WARNING] npcx: error: Unknown column 'world' in 'field list'[Ljava.lan[/I]
    [I]g.StackTraceElement;@57d62a85[/I]
    [I]01:02:26 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unk[/I]
    [I]nown column 'world' in 'field list'[/I]
    [I]01:02:26 [SEVERE]       at sun.reflect.NativeConstructorAccessorImpl.newInstance[/I]
    [I]0(Native Method)[/I]
    [I]01:02:26 [SEVERE]       at sun.reflect.NativeConstructorAccessorImpl.newInstance[/I]
    [I](Unknown Source)[/I]
    [I]01:02:26 [SEVERE]       at sun.reflect.DelegatingConstructorAccessorImpl.newInst[/I]
    [I]ance(Unknown Source)[/I]
    [I]01:02:26 [SEVERE]       at java.lang.reflect.Constructor.newInstance(Unknown Sou[/I]
    [I]rce)[/I]
    [I]01:02:26 [SEVERE]       at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)[/I]
    [I]01:02:26 [SEVERE]       at com.mysql.jdbc.Util.getInstance(Util.java:382)[/I]
    [I]01:02:26 [SEVERE]       at com.mysql.jdbc.SQLError.createSQLException(SQLError.j[/I]
    [I]ava:1052)[/I]
    [I]01:02:26 [SEVERE]       at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:[/I]
    [I]3593)[/I]
    [I]01:02:26 [SEVERE]       at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:[/I]
    [I]3525)[/I]
    [I]01:02:26 [SEVERE]       at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)[/I]
    
    [I]01:02:26 [SEVERE]       at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:21[/I]
    [I]40)[/I]
    [I]01:02:26 [SEVERE]       at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.[/I]
    [I]java:2626)[/I]
    [I]01:02:26 [SEVERE]       at com.mysql.jdbc.PreparedStatement.executeInternal(Prep[/I]
    [I]aredStatement.java:2111)[/I]
    [I]01:02:26 [SEVERE]       at com.mysql.jdbc.PreparedStatement.executeUpdate(Prepar[/I]
    [I]edStatement.java:2407)[/I]
    [I]01:02:26 [SEVERE]       at com.mysql.jdbc.PreparedStatement.executeUpdate(Prepar[/I]
    [I]edStatement.java:2325)[/I]
    [I]01:02:26 [SEVERE]       at com.mysql.jdbc.PreparedStatement.executeUpdate(Prepar[/I]
    [I]edStatement.java:2310)[/I]
    [I]01:02:26 [SEVERE]       at net.gamerservices.npcx.npcx.onCommand(npcx.java:2039)[/I]
    
    [I]01:02:26 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginComman[/I]
    [I]d.java:35)[/I]
    [I]01:02:26 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo[/I]
    [I]mmandMap.java:80)[/I]
    [I]01:02:26 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr[/I]
    [I]aftServer.java:254)[/I]
    [I]01:02:26 [SEVERE]       at net.minecraft.server.NetServerHandler.c(NetServerHand[/I]
    [I]ler.java:596)[/I]
    [I]01:02:26 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerH[/I]
    [I]andler.java:559)[/I]
    [I]01:02:26 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand[/I]
    [I]ler.java:553)[/I]
    [I]01:02:26 [SEVERE]       at net.minecraft.server.Packet3Chat.a(SourceFile:24)[/I]
    [I]01:02:26 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.[/I]
    [I]java:198)[/I]
    [I]01:02:26 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand[/I]
    [I]ler.java:72)[/I]
    [I]01:02:26 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile[/I]
    [I]:100)[/I]
    [I]01:02:26 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe[/I]
    [I]r.java:368)[/I]
    [I]01:02:26 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer[/I]
    [I]ver.java:283)[/I]
    [I]01:02:26 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour[/I]
    [I]ceFile:375)
    [/CODE][/I]
     
  30. Offline

    mixxit

    fixed, issue with return; in the 1.9 update - delete your npcx folder to fix this since you did a fresh install

    Minimum version for support: 0.463
    http://world.gamerservices.net:8080/job/npcx/npcx-promotion/artifact/dist/npcx.jar

    you upgraded from which version of npx?

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

    JDD

Share This Page