[FUN/MECH] npcx (v0.0.31) - The NPC eXtender (now for 1.8.1) [1097-1157]

Discussion in 'Inactive/Unsupported Plugins' started by wizjany, May 9, 2011.

  1. Offline

    wizjany

    npcx - The NPC eXtender
    Version: 0.0.31

    UPDATE: mixxit has took the initiative to update the npclib to 1.8, all credit for this update goes to him! it should work on any 1.8 version of craftbukkit

    If you are having trouble, please read the old thread here and the included readme.txt that mixxit left. If you know of any other tutorials, do post and I'll add them.

    Info Update: Well long story short I am beginning to get bored of Minecraft and I don't have as much time as I would like to develop this plugin. This probably means that the rewrite I had planned is just going to die. Besides lack of time and motivation, I find it extremely pointless to write an API for NPCs outside of bukkit/craftbukkit, which makes the rewrite I was working on very frustrating. However, I will continue to update mixxit's code for new versions of minecraft, but don't expect any new features or anything.
    Update 2: As NPCs are being planned natively for 1.8 (the adventure update), I will probably be working on a (separate) plugin or directly with the NPC API if I have time.

    Note: If you have iConomy, make sure you have at least version 5+ or you'll get an error like this.
    Code:
    [SEVERE] Could not pass event WHATEVER_EVENT to npcx
    java.lang.NoClassDefFoundError: com/iConomy/iConomy
    You should also be able to add "use-iConomy=false" in the npcx properties file.

    If you're having trouble installing MySql on windows, here's a nice guide: http://forums.bukkit.org/posts/293544, thanks to Atticus Craft. Basic WAMP/LAMP/MAMP servers should work fine too, just make sure you have the username/password correct and the database with permissions to the right user.

    Features:
    • You can create npcs
    • And they do stuff
    • Everything should work like it did in mixxit's last version
    And by "work like it did" I mean I have no clue if there were bugs from then, but they're probably still around now. Please report any you find so I can take them into consideration.

    For MC 1.8.1 (1097+, no RB yet) Download
    For MC 1.7 (937+, 953, 1k): Download
    For MC 1.6 (807+): Download
    For MC 1.5 (740-803): Download
    Source Code

    Changelog:
    Version 0.0.31
    • Updated to MC 1.8.1 (by Mixxit)
    Version 0.0.3
    • Updated for Grum's internal renaming
    Version 0.0.2
    • Updated for 1.6
    Version 0.0.1
    • Updated for 1.5
    • Began code revamp
    All credits go to mixxit for his work. Special thanks to sk89q and fullwall, even if they don't know they helped.
     
    wassilij, Zoaen, nathanaelps and 2 others like this.
  2. Offline

    Flenix

    I actually love you.
     
    Endign, Pim1234, [qwerty] and 7 others like this.
  3. Offline

    wizjany

    Sorry, my heart is sold to @sk89q
     
    Moo Master, Endign, JWhy and 7 others like this.
  4. Wonderful news :) now i just need to get out of work so i can test my NPCs are doing there jobs :D
     
    Walker Crouse likes this.
  5. Offline

    Brvtvs

    So this works with old mysql libraries?
    Awesome job, I also love you
     
  6. Offline

    PsychoNecrosis

    Brilliant!

    Bug report though:

    Using CB740, I get disconnect endOfStream errors when logging in with this plugin turned on.
     
  7. Offline

    Flenix



    Did you have WorldEdit before you were getting this plugin..?
    There is an error going around that just says "Read Timed Out" when you disconnect and then if you try and connect you get the endOfStream error. There are a group of us working out where it comes from and we narrowed it down to Bukkit, Worldedit and Worldguard.. so if you just installed WorldEdit and this just started happening, that could be the reason ;)

    Anyway, if you think that might be it just kill your screen and start the server again, see if that works.


    Downloading this mod and testing now :)
    do we just go to the old NPCX thread for the commands etc? We got MySQL just as the old one died so we haven't had a chance to use it yet (after fighting to get MySQL purely TO use it...)
     
  8. Offline

    PsychoNecrosis


    I had WorldEdit before I installed the plugin- these errors only began occurring once NPCx was put on my server again, and ceased occurring when it was removed. Errors persisted after restarts.
     
  9. Offline

    Marco Moreira

    how do I create NPC's where are the commands?...
     
  10. Offline

    chrisryan

    buddy your a freaking god, love you so much!!!!
     
    Pim1234 likes this.
  11. Offline

    sansprenom

    I'm searching for a video tutorial about how to install the plugin. I already watched the one mentioned in mixxits Thread, but this does not help me :( A german vid would be perfect, but i would also get along with an english one.

    thx
    Sans
     
  12. Offline

    darkm3tr01d

    10x love & thanks
    does this support the latest iConomy too?
     
  13. if this works, youre my favorite coder.evar!!
     
  14. Offline

    chrisryan

    I accidentally deleted my database for npcx, now im getting tons of errors, how do i fix this
     
  15. do we have a up to date command list? that would be amazingly amazing.
     
  16. Offline

    Flenix

    Wait, is civilizations the Guard part? Is there still a way to make an NPC on this attack without being attacked itself (with defining a friendly vs enemy somehow?)

    I don't fully understand how the whole plugin works really, but I'm reading through the readme and slowly getting a grip on it :)

    Edit, I've tried creating NPC spawngroups and NPCs as well as various other commands. I'm just getting an ingame message saying "An Error Occurred" and a server console error.

    Code:
    2011-05-10 15:47:04 [WARNING] npcx: error: null[Ljava.lang.StackTraceElement;@4ad79cec
    2011-05-10 15:47:04 [SEVERE] java.lang.NullPointerException
    2011-05-10 15:47:04 [SEVERE]     at net.gamerservices.npcx.npcx.onCommand(Unknown Source)
    2011-05-10 15:47:04 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-05-10 15:47:04 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
    2011-05-10 15:47:04 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
    2011-05-10 15:47:04 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:677)
    2011-05-10 15:47:04 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
    2011-05-10 15:47:04 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
    2011-05-10 15:47:04 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    2011-05-10 15:47:04 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    2011-05-10 15:47:04 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    2011-05-10 15:47:04 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-10 15:47:04 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-05-10 15:47:04 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-05-10 15:47:04 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-10 15:47:38 [WARNING] npcx: error: null[Ljava.lang.StackTraceElement;@2d3a3a35
    2011-05-10 15:47:38 [SEVERE] java.lang.NullPointerException
    2011-05-10 15:47:38 [SEVERE]     at net.gamerservices.npcx.npcx.onCommand(Unknown Source)
    2011-05-10 15:47:38 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-05-10 15:47:38 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
    2011-05-10 15:47:38 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
    2011-05-10 15:47:38 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:677)
    2011-05-10 15:47:38 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
    2011-05-10 15:47:38 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
    2011-05-10 15:47:38 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    2011-05-10 15:47:38 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    2011-05-10 15:47:38 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    2011-05-10 15:47:38 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-10 15:47:38 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-05-10 15:47:38 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-05-10 15:47:38 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-10 15:47:51 [INFO] [All Mighty Server] Saving to Save..?
    2011-05-10 15:47:53 [INFO] [All Mighty Server] Saving to save has saved.
    2011-05-10 15:48:01 [WARNING] npcx: error: null[Ljava.lang.StackTraceElement;@16a9c257
    2011-05-10 15:48:01 [SEVERE] java.lang.NullPointerException
    2011-05-10 15:48:01 [SEVERE]     at net.gamerservices.npcx.npcx.onCommand(Unknown Source)
    2011-05-10 15:48:01 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-05-10 15:48:01 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
    2011-05-10 15:48:01 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
    2011-05-10 15:48:01 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:677)
    2011-05-10 15:48:01 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
    2011-05-10 15:48:01 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
    2011-05-10 15:48:01 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    2011-05-10 15:48:01 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    2011-05-10 15:48:01 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    2011-05-10 15:48:01 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-10 15:48:01 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-05-10 15:48:01 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-05-10 15:48:01 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-10 15:48:27 [WARNING] npcx: error: null[Ljava.lang.StackTraceElement;@44f330e0
    2011-05-10 15:48:27 [SEVERE] java.lang.NullPointerException
    2011-05-10 15:48:27 [SEVERE]     at net.gamerservices.npcx.npcx.onCommand(Unknown Source)
    2011-05-10 15:48:27 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-05-10 15:48:27 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
    2011-05-10 15:48:27 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
    2011-05-10 15:48:27 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:677)
    2011-05-10 15:48:27 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
    2011-05-10 15:48:27 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
    2011-05-10 15:48:27 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    2011-05-10 15:48:27 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    2011-05-10 15:48:27 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    2011-05-10 15:48:27 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-10 15:48:27 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-05-10 15:48:27 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-05-10 15:48:27 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  17. Offline

    wizjany

    Yea it's pretty difficult to use, the readme that mixxit wrote is probably the best thing there, oh and there's a video tutorial in his old thread: http://forums.bukkit.org/threads/in...style-bots-paths-aggro-loot-guard-shops.9186/

    Uh, make a new one and start from scratch? if that doesn't help, pastebin errors
    also make sure you have the mysql-connector jar file in the lib folder
    It's compiled on iconomy 5.x, the api had changed so i used the latest. This probably means it's not compatible with 4.x (although i really have no clue, I don't use iconomy)
    Any more information you can give me? Do you get the EoS errors 100% of the time or just frequently? Have you tried with CB 766? etc
    I don't have a clue what civilizations is, which is why i'm cutting support for it. As for guard npcs, you might be looking for /npcx npc category npcid guard (or something like that) which makes them attack hostile mobs. As for being friendly/hostile to players, you can do this either with factions or with by adding the triggerword EVENT_CLOSE and the reponse NPCATTACK as described in the readme
     
  18. Offline

    Taylor179

    I'm having the same problem with a new database... heres the error please help :D
    TIA


    Code:
    21:16:35 [INFO] npcx : load settings (0.0.1) begun
    21:16:35 [INFO] jdbc:mysql://localhost:3306/npcx?autoReconnect=true
    21:16:35 [INFO] npcx : initialising database connection
    21:16:35 [INFO] npcx : loadsettings() ended
    21:16:35 [INFO] npcx : registering monitored events
    21:16:35 [INFO] npcx : Checking for DB Updates from DBVersion:1.10
    21:16:35 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'npcx.player_faction' doesn't exist
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    21:16:35 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    21:16:35 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    21:16:35 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    21:16:35 [SEVERE]     at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadPlayerFactions(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadData(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.npcx.onEnable(Unknown Source)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    21:16:35 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    21:16:35 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    21:16:35 [INFO] npcx : Error loaded research.
    21:16:35 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'npcx.zone' doesn't exist
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    21:16:35 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    21:16:35 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    21:16:35 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    21:16:35 [SEVERE]     at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadZones(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadData(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.npcx.onEnable(Unknown Source)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    21:16:35 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    21:16:35 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    21:16:35 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'npcx.merchant' doesn't exist
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    21:16:35 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    21:16:35 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    21:16:35 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    21:16:35 [SEVERE]     at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadMerchants(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadData(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.npcx.onEnable(Unknown Source)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    21:16:35 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    21:16:35 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    21:16:35 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'npcx.faction_list' doesn't exist
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    21:16:35 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    21:16:35 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    21:16:35 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    21:16:35 [SEVERE]     at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadFactions(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadData(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.npcx.onEnable(Unknown Source)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    21:16:35 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    21:16:35 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    21:16:35 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'npcx.faction_entries' doesn't exist
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    21:16:35 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    21:16:35 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    21:16:35 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    21:16:35 [SEVERE]     at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadFactionEntries(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadData(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.npcx.onEnable(Unknown Source)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    21:16:35 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    21:16:35 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    21:16:35 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'npcx.pathgroup' doesn't exist
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    21:16:35 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    21:16:35 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    21:16:35 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    21:16:35 [SEVERE]     at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadPathgroups(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadData(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.npcx.onEnable(Unknown Source)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    21:16:35 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    21:16:35 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    21:16:35 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'npcx.loottables' doesn't exist
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    21:16:35 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    21:16:35 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    21:16:35 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    21:16:35 [SEVERE]     at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadLoottables(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadData(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.npcx.onEnable(Unknown Source)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    21:16:35 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    21:16:35 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    21:16:35 [INFO] npcx : ERROR - spawngroup loading cancelled!
    21:16:35 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'npcx.spawngroup' doesn't exist
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    21:16:35 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    21:16:35 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    21:16:35 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    21:16:35 [SEVERE]     at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadSpawngroups(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadData(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.npcx.onEnable(Unknown Source)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    21:16:35 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    21:16:35 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    21:16:35 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'npcx.player' doesn't exist
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    21:16:35 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    21:16:35 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    21:16:35 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    21:16:35 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    21:16:35 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    21:16:35 [SEVERE]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    21:16:35 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    21:16:35 [SEVERE]     at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadPlayers(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.myUniverse.loadData(Unknown Source)
    21:16:35 [SEVERE]     at net.gamerservices.npcx.npcx.onEnable(Unknown Source)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    21:16:35 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    21:16:35 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    21:16:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    21:16:35 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    21:16:35 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    21:16:35 [INFO] npcx: Matching players
    21:16:35 [INFO] npcx version 0.0.1 enabled.
    
     
  19. Offline

    wizjany

    You're missing a load of tables. Either your config is pointing to the wrong db or you have a really old version or something.
    If you DO have a database and your problem isn't one of the above, I recommend backing it up, then have npcx delete and recreate the db and then copy whatever data you had back in.
     
  20. Offline

    Taylor179

    how do i have npcx delete and recreate the db?
     
  21. Offline

    wizjany

    there is an option in the config file
     
  22. Offline

    Taylor179

    now i'm getting an error 'Insufficient arguments' whenever i type /npcx
     
  23. Offline

    wizjany

    npcx alone does nothing, you need to use one of the subcommands that should be listed
    eg /npcx npc, spawngroup, loottable, merchant, faction, etc
     
  24. Offline

    Taylor179

    oooooohh... :D sorry for being a little dumb :p but thank you for the plugin update and the speedy responces :) keep it up

    is there any fix for the lag? it's really jumpy.. i have plenty of ram and all.. :/

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

    wizjany

    I don't really get any lag or jumpiness :\ I suspect this will be one of the things that disappear with the rewrite, but if you can narrow it down to something specific in the meantime, I can see what I can do about it.
     
  26. Offline

    Taylor179

    i can't really narrow it down because it does it no matter what :p i turned off all plugins except for permissions npcx and iConomy and still. Could it be because my whole server isn't in mysql? is there a way to make it like that?
     
  27. Offline

    wizjany

    What? I don't think npcx supports flat-file storage...
     
  28. Offline

    PsychoNecrosis

    @Taylor179
    NPCx can cause lag if you have LOTS of npcs in one small area, I found it was causing lag that grew at an exponential rate once I went past about 30 NPCs within a city. I'm guessing it's how it handles the entities; they're written to look like players to the server.

    @wizjany The exact error I'm experiencing is

    Client side
    "Internal exception: java,io.IOExeption: Received string length longer than maximum allowed(18>16)"

    Server Side
    disconnect:endOfStream

    Does this mean one of my NPCs has a name that is too long, or something of the like?

    Edit:
    With help from @Zerco , error was tracked down to NPCs having names too long for MC.

    Server state:
    Previous user of NPCx, have fully working (1.5) database.

    Plugins in use:
    Blastcontrol, BorderGuard, CommandHelper, dynmap, Essentials, EssentialsChat, EssentialsSpawn, FalseBookBlock, FalseBookCart, FalseBookIC, FenceStack, GlowstoneDrop, HookShot, iConomy (not 5.0 - you're going to need to update NPCx to work with this at some point I guess) Locker, MCCRestart, mcMMO, MobRider, MoveCraft, MultiHome, Permissions, Seats, SimpleSave, Stargate, ThunderJoin, WeatherControl, WorldEdit, WorldGuard, WormholeXTreme

    As for WorldEdit and WorldGuard, I was running those alongside the previous incarnation of NPCx without any issues.
     
  29. Offline

    sansprenom

    Does this mean NPCs also take Slots?
     
    thecoolwolf likes this.
  30. Offline

    PsychoNecrosis

    No, they don't, and as they don't move around, (unless you have them patrolling through different chunks) they won't consume as much resources as a player would. How many NPCs are you working with at the moment?
     

Share This Page