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

    PsychoNecrosis

    I'm using the database setup as laid out in this plugin's documentation :)

    https://github.com/mixxit/npcx/blob/master/README
     
  3. Offline

    deadadm1n

    Picture:
    http://i51.tinypic.com/24dk904.jpg

    when you type list the buy and sell prices are backwards

    im using build 670, and the current .jar is there anyway to fix these, i tried to edit the source by hand but failed hard.
     
  4. Offline

    darkm3tr01d

    That's actually right, your just thinking in the wrong direction.
    When you list his prices he tells you HE'S selling stone @$100 and buying @$50
    Then you say YOU want to buy it so it charges you $100

    It's all about his perspective vs. yours
    also custom currency plz (coins are lame)
     
  5. Offline

    monkeymii

    so this works with.. 709?
     
  6. Offline

    ShaDooM

    Code:
    2011-04-23 00:45:08 [INFO] shadoom used command "/npcx spawngroup add 2 Welcomer"
    2011-04-23 00:45:08 [WARNING] npcx: error: Incorrect integer value: 'Welcomer' for column 'npcid' at row 1[Ljava.lang.StackTraceElement;@421cdfe1
    2011-04-23 00:45:08 [SEVERE] java.sql.SQLException: Incorrect integer value: 'Welcomer' for column 'npcid' at row 1
    2011-04-23 00:45:08 [SEVERE] 	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    2011-04-23 00:45:08 [SEVERE] 	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2011-04-23 00:45:08 [SEVERE] 	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2011-04-23 00:45:08 [SEVERE] 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2011-04-23 00:45:08 [SEVERE] 	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2011-04-23 00:45:08 [SEVERE] 	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    2011-04-23 00:45:08 [SEVERE] 	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    2011-04-23 00:45:08 [SEVERE] 	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
    2011-04-23 00:45:08 [SEVERE] 	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
    2011-04-23 00:45:08 [SEVERE] 	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
    2011-04-23 00:45:08 [SEVERE] 	at net.gamerservices.npcx.npcx.onCommand(npcx.java:1373)
    2011-04-23 00:45:08 [SEVERE] 	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-04-23 00:45:08 [SEVERE] 	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    2011-04-23 00:45:08 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
    2011-04-23 00:45:08 [SEVERE] 	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
    2011-04-23 00:45:08 [SEVERE] 	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
    2011-04-23 00:45:08 [SEVERE] 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
    2011-04-23 00:45:08 [SEVERE] 	at net.minecraft.server.Packet3Chat.a(SourceFile:36)
    2011-04-23 00:45:08 [SEVERE] 	at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    2011-04-23 00:45:08 [SEVERE] 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
    2011-04-23 00:45:08 [SEVERE] 	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-04-23 00:45:08 [SEVERE] 	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-04-23 00:45:08 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-04-23 00:45:08 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    and when I try /npcx spawngroup add 2 2
    2nd category 2nd bot.. no error appears but:
    [​IMG]
    When i assigned the npc to the spawngroup the npc just doesnt appear.
     
  7. Offline

    Kazeron

    I am having the same problem, everything acts like it is working fine but NPC spawns. I was using NPCTrader but they have failed to update and I know nothing about java so I depend on others to build the plugins I need... While looking for a way to replace NPCTrader I stumbled across this and was like WOW! this is cool. But anyway I do the following:
    /npcx npc create BSName
    /npcx spawngroup create BSName
    /npcx spawngroup add 1 1

    It shows everything as being okay and working but no NPC shows up...
    I am running CB 711 right now I have tried going all the way back to the oldest build that works with the newest MC update and I get the same thing. is it something I am doing wrong or is this an issue that needs to be delt with on the dev end?
     
  8. Offline

    Baff

    Mixxit hasn't update Npcx to work on 1.5. We just have to wait.
     
  9. Offline

    Varderan

    Just to confirm, you can't add custom skins to the NPC's, correct?
     
  10. Offline

    MadcowD

  11. Offline

    Kazeron

    Okay, cool. Thats what I figured, just wanted to make sure. I was excited when I found this plug in looks like it will do everything NPCTrader did and so much more.
     
  12. Offline

    Shay Williams

    Well, it's only broken cause the text encoding of minecraft has changed from UTF-8 -> UTF-2, so it can't load NPC names and such.
     
  13. Offline

    afmiller

  14. Offline

    PsychoNecrosis

  15. Offline

    afmiller

    Code:
    /npcx spawngroup create myfirstgroup <--- creates a spawngroup called myfirst group
    * REMEMBER THE SPAWNGROUP ID THIS GIVES YOU
    Now create an npc called Guard
    Code:
    /npcx npc create Guard <----- creates a guard called Guard
    * REMEMBER THE NPCID THIS GIVES YOU
    Now add guard's id to your spawn group number
    Code:
    /npcx spawngroup add SPAWNGROUPID(NUMBER) NPCID(NUMBER) <--- adds npc ID (number) to spawngroup ID (number)

    Guard should now spawn permanently at the spawngroups location.
     
  16. Offline

    PsychoNecrosis

    Code:
    09:49:02 [WARNING] npcx: error: Incorrect integer value: 'SPAWNGROUPID' for column 'spawngroupid' at row 1[Ljava.lang.StackTraceElement;@5ac791f4
    09:49:02 [SEVERE] java.sql.SQLException: Incorrect integer value: 'SPAWNGROUPID' for column 'spawngroupid' at row 1
    
    Here's where your error occurs

    If you don't have any npcs in your DB, just delete the npcx folder and restart your server. See if that helps.
     
  17. Offline

    afmiller

    Works, I'd like to suggest adding a delete npc command, i know their is the spawngroup
     
  18. Offline

    chrisryan

    Great plugin, thanks
     
  19. Offline

    PsychoNecrosis

    it's possible to delete the npc from the database, but not yet possible to do it ingame without deleting the spawngroup.

    Additionally, deleted spawngroups don't seem to stay deleted unless you do it by hand.
     
  20. Offline

    Damian Mason

    Has anyone tried it with 1.5? When I tried I get no error messages within Minecraft but in the console there is a NullPointerException and a NoSuchFieldError and no NPCs spawn. This could just be a 1.5 error but I hadn't tried it with previous versions so I can't be sure.
     
  21. Offline

    Nate204

    So this plugin isn't working for 1.5 yet? Just wanted to make sure.
     
  22. Offline

    TheSpillmonkey

    Correct. It does not work. Read a page or two of posts. Every question is your question :)
     
  23. Offline

    wigumen

    are the new version for the new build coming soon?
     
  24. Offline

    ghost0001

    for all you ppl who want SQL light support...get XAMPP. it works great and adds Apache, PHP, and MySQL. This way you can have all the functionality you need.
     
  25. Offline

    Redyugi

    Or WAMP like in Samiko's video
     
  26. Offline

    carson330

    How do you set a certain faction friendly to one or two players? I want to make guards for some towns so it can keep their building safe for a little while they are offline. Any way to do that?
     
  27. Offline

    chrisryan

    I know that this plugin only works on build 670, but i have updated minecraft to 1.5_02, any one know any solutions and when this plugin will be updated to a 1.5 version?
     
  28. Offline

    PlanetOfGames

    he used XAMPP in the video
     
  29. Offline

    Senzuri

    I've found an item dupe exploit for this plugin.

    1. Get an NPC to get you to about 1 heart.
    2. Relog, and attack the NPC really fast.

    The result should be your items dropping, but you staying alive and maintaining all your current items.

    Hope you can fix this soon. Thanks.
     
  30. Offline

    PsychoNecrosis

    Sounds like a minecraft or bukkit bug.
     
  31. Offline

    Ozonepheonix

    i downloaded the plugin and did the steps to creating an npc but they won't appear. im using build 714
     

Share This Page