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

    xupwup

    Your npc's apparently show up in getServer().getOnlinePlayers(), is there any way to distinguish them from normal players?
     
  3. Offline

    dak393

    Having npcx on my server dramatically increases cpu usage like never before makes it unplayable hope it gets fixed (cpu usage goes from around 12% to 109% (multi-core))
     
    Jack Daun likes this.
  4. Offline

    Niles

    I am not sure on windows, only mac and linux. but use a mysql client and create a table called npcx and a user called npcx with the password p4ssw0rd!
     
  5. Offline

    ledhead900

    @mixxit

    I think I know a way to get skinning to work for NPCX

    You know and I know it only works if you name a NPC as a player of that skin

    not hear me out about this method, Using Essentials /Nick Features you could MASK the NCP real name with a fake name to be shown, the real name will still be used but only to grab the skins the fake name will be shown above there head and in the chat.

    I think this could work and with some mucking around I really think you could get this going and allow us to skin yet still have the name we want :)
     
  6. Offline

    dudes34

    Are you sure thats not a hardware issue? My PC is about 2-3% with 3 people on the server. I know my PC is a Hex core with 8GB of RAM but yeah
     
  7. Offline

    Delodien

    Quick question:

    Does the triggerword response have to be a single word? So for example can you put "How are you?" or something like that as a triggerword?
     
  8. Offline

    fullwall

    Yes you can.
     
  9. Offline

    hurtank

    just out of curiosity is there a way to get the NPC's to retrieve a skin from the minecraft.net database? i would love to have my NPC have my skin.
     
  10. Offline

    ledhead900

    Yes Just name your NPC that of the person's name you wish to have the skin from.
    Unfortunately that is the ONLY way right now!
     
  11. Offline

    blindsarcasm

    I get this:

    What am I doing wrong? This is so confusing!!!

    09:10:08 [WARNING] npcx: error: null[Ljava.lang.StackTraceElement;@1399769
    09:10:08 [SEVERE] java.lang.NullPointerException
    09:10:08 [SEVERE] at net.gamerservices.npcx.npcx.onCommand(npcx.java:1236)
    09:10:08 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    09:10:08 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    09:10:08 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
    09:10:08 [SEVERE] at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
    09:10:08 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
    09:10:08 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    09:10:08 [SEVERE] at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    09:10:08 [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    09:10:08 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    09:10:08 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    09:10:08 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    09:10:08 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    09:10:08 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  12. Offline

    Baff

    Hey people !

    I'm getting this error when trying to add items to a merchant list :
    Code:
    [WARNING] npcx: error: Field 'id' doesn't have a defaultvalue[Ljava.lang.StackTraceElement;@bcc8f4
    [SEVERE] java.sql.SQLException: Field 'id' doesn't have a default value
    [SEVERE] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
    [SEVERE] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
    [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
    [SEVERE] at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
    [SEVERE] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
    [SEVERE] at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542)
    [SEVERE] at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734)
    [SEVERE] at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2019)
    [SEVERE] at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1937)
    [SEVERE] at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1922)
    [SEVERE] at net.gamerservices.npcx.npcx.onCommand(npcx.java:2208)
    [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
    [SEVERE] at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
    [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
    [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    [SEVERE] at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Craftbukkit: 670
    Npcx : v.0.464

    *EDIT* I made a fresh install and it now works. Thanks anyway !
     
  13. Offline

    clintfraser

    Dear Mixxit,

    I have a to-do list for you! Get some beers with some friends, enjoy some rest and relaxation!

    Thanks for a fun plugin, I personally found your instructions easy to follow and the plugin does what you say it does.

    Cheers!
     
  14. Offline

    skillinazn

    Just to bump up my request, but I won't expect a reply so soon since you're busy mixxit.
     
  15. Offline

    dak393

    ya I'm sure
    ya it usually hovers around 12% like I said (12% on one core) and only spikes with npcx enabled (around 109%) with 2-3 players on
     
  16. Offline

    blindsarcasm

    Can someone help me? I always get an error occured. Every command
     
  17. Offline

    Juze

    Why is my friend Ziibez in that picture? :eek:
     
  18. Offline

    Phealoon

    I noticed that while installing MySQL I also needed phpMyAdmin, Apache 2.2 and PHP installed on my server. I am having a huge problem trying to install these and get them to all work properly on my x64 bit computer.

    I was wondering, is is possible to use a remote database? I have a web host that has php and msql already installed, so I was hoping that I could just have my Web host, host the database, while my server is installed with the plugin.

    -Phea
     
  19. Offline

    hurtank

    phealoon are you sure you followed the instructions right? i honestly just reccomend to read every single line twice. its boring but it helps! also if you have a web host host the database once its installed head to the config in your plugins folder and change the IP and port to that of your host
     
  20. Offline

    Phealoon

    Yes I have, Apache installed great, but I cant seem to get it to see the php. I have tweaked the httpd config files, then when it looks like there are no errors, I get a few. Anyway, as long as I can still use the webhost database, then that is perfect! It will save me a lot of time and effort. Honestly the only reason I was getting all those programs was for this plugin. It is the entire reason I set up my own server in the first place.

    I have been playing RPGs for many years and have wanted a decent RP server. If there was a way I could help the Dev on this project, I would.

    p.s. Thanks for the help Hurtank,

    -Phea
     
  21. Offline

    Lumithil

    Hey, i´ve a problem.
    If I want to create a spawngroup I use the command /npcx spawngroup create name
    Now he say that´s the spawngroup created, but then follow "an error occured".

    What´s wrong?

    Sorry for my bad english (German looser ;-))
     
  22. Offline

    anon

    The questing system is awsome, very unique once you manage to understand it.
    Is there any way to prevent person from doing same quest over and over again and receiving iten? Like, I make a quest, on the end of it npc2 gives me a password, player goes back to npc1, say password and get a gold. Any way to prevent player saying the password a hundred times and getting infinite gold?
     
  23. Offline

    Draivin

    Really nice mod, but I can't find a proper documentation with all the events the bots respond to, and what they can do in response, like how to give items in response to EVENT_RECEIVEX? Overall, nice mod.
     
  24. Offline

    hurtank

    but why are you installing apache? im running my server no problem. no Apache just SQL workbench...
     
  25. Offline

    dudes34

    Well, this contains everything here:
    https://github.com/mixxit/npcx/blob/master/README

    That is quite strange, I have never heard of something like that. Any other info? Is that just with the server running? Nothing else? That is really strange... Sorry I can't be of more help.
     
  26. Offline

    Phealoon

    Well I did install MySQL with workbench, but I have no idea how to design the DB using model schema. I was told that with phpMyAdmin, creating a DB is as easy as entering the DB name. I read over the workbench tutorials, but I'm not sure I get what they need me to do. Its funny, I understand coding to some extent, but maybe I am just not looking in the right place.

    -Phea
     
  27. Offline

    lucienb

    as of today, this happens it worked fine with every single one of my plugins, but i installed permissions and changed the world name and this happens, it told me to change the npcx config file's word thing and so i did and i thought i was good to go. but allass im soo confuzled as to how to fix it. will u please help me?

    Code:
    2011-04-14 19:57:53 [INFO] Preparing level "atlantis"
    2011-04-14 19:57:53 [INFO] Preparing start region
    2011-04-14 19:57:53 [INFO] 144 recipes
    2011-04-14 19:57:54 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-04-14 19:57:54 [INFO] Loaded ExExplosions version 1.0.0.0
    2011-04-14 19:57:54 [INFO] ExtendedDay version 1.3103252011 enabled.
    2011-04-14 19:57:54 [INFO] [EXTENDED-DAY] Days will last 4 iterations.
    2011-04-14 19:57:54 [INFO] [EXTENDED-DAY] Nights will last 1 iterations.
    2011-04-14 19:57:54 [INFO] [EXTENDED-DAY] Server day starting at 'day'.
    2011-04-14 19:57:54 [INFO] ExtendedDay version 1.3103252011 initialized!
    2011-04-14 19:57:54 [INFO] [kFeatherTeleport] finished loading (v0.7) [featherMaterial: FEATHER, Permissions enabled]
    2011-04-14 19:57:54 [INFO] npcx : load settings (0.464) begun
    2011-04-14 19:57:54 [INFO] jdbc:mysql://localhost:3306/npcx?autoReconnect=true
    2011-04-14 19:57:54 [INFO] npcx : initialising database connection
    2011-04-14 19:57:54 [INFO] npcx : loadsettings() ended
    2011-04-14 19:57:54 [INFO] npcx : registering monitored events
    2011-04-14 19:57:54 [INFO] npcx : Checking for DB Updates from DBVersion:1.10
    2011-04-14 19:57:54 [INFO] npcx : loading player factions
    2011-04-14 19:57:54 [INFO] npcx : Loaded 0 player factions.
    2011-04-14 19:57:54 [INFO] npcx : Loaded 0 research.
    2011-04-14 19:57:54 [INFO] npcx : loading zones
    2011-04-14 19:57:54 [INFO] npcx : Loaded 0 zones with 0 zone_members.
    2011-04-14 19:57:54 [INFO] npcx : loading Merchants
    2011-04-14 19:57:54 [INFO] npcx : Loaded 0 Merchant with (0) entries.
    2011-04-14 19:57:54 [INFO] npcx : loading factions
    2011-04-14 19:57:54 [INFO] npcx : Loaded 0 factions.
    2011-04-14 19:57:54 [INFO] npcx : loading faction entries
    2011-04-14 19:57:54 [INFO] npcx : Loaded 0 faction entries.
    2011-04-14 19:57:55 [INFO] npcx : loading pathgroups
    2011-04-14 19:57:55 [INFO] npcx : Loaded 0 pathgroup.
    2011-04-14 19:57:55 [INFO] npcx : loading loottables
    2011-04-14 19:57:55 [INFO] npcx : Loaded 0 loottables.
    2011-04-14 19:57:55 [INFO] npcx : loading spawngroups
    2011-04-14 19:57:55 [INFO] npcx : Loaded 1 spawngroups.
    2011-04-14 19:57:55 [INFO] npcx : loading players
    2011-04-14 19:57:55 [INFO] npcx : Loaded 2 players.
    2011-04-14 19:57:55 [INFO] npcx: Matching players
    2011-04-14 19:57:55 [INFO] npcx version 0.464 enabled.
    2011-04-14 19:57:55 [INFO] [Permissions] version [2.6] (Phoenix)  loaded
    2011-04-14 19:57:55 [INFO] PlgEssentials version 4.2 is enabled!
    2011-04-14 19:57:55 [INFO] SimpleHome: Loading homelist...
    2011-04-14 19:57:55 [INFO] done.
    2011-04-14 19:57:55 [INFO] SimpleHome version 1.5 is enabled!
    2011-04-14 19:57:55 [INFO] SpawnX enabled
    2011-04-14 19:57:55 [INFO] Stargate v.0.4.0 is enabled.
    2011-04-14 19:57:55 [INFO] [Stargate] Loaded 1 gate layouts
    2011-04-14 19:57:55 [INFO] [Stargate] {atlantis} No stargates for world
    2011-04-14 19:57:55 [INFO] [Stargate] Found Permissions (v2.6)
    2011-04-14 19:57:55 [INFO] SuperPowers v0.4 loaded!
    2011-04-14 19:57:55 [INFO] If you're using CraftBukkit 617 flying WILL NOT work. Please don't post about it to the thread.
    2011-04-14 19:57:55 [INFO] SupplySign loaded 2 config parameters from config.yml.
    2011-04-14 19:57:55 [INFO] SupplySign loaded 1091 items from items.csv.
    2011-04-14 19:57:55 [INFO] SupplySign loaded 13 kits from kits.yml.
    2011-04-14 19:57:55 [INFO] SupplySign version 1.2 is enabled!
    2011-04-14 19:57:55 [INFO] WorldEdit 4.3 enabled.
    2011-04-14 19:57:55 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-14 19:57:55 [INFO] Done (0.168s)! For help, type "help" or "?"
    2011-04-14 20:12:26 [INFO] lucienb [/127.0.0.1:64674] logged in with entity id 143
    2011-04-14 20:12:26 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:26 [SEVERE]     at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
    2011-04-14 20:12:26 [SEVERE]     at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source)
    2011-04-14 20:12:26 [SEVERE]     at java.lang.reflect.Field.get(Unknown Source)
    2011-04-14 20:12:26 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.GetWorldServer(NpcSpawner.java:31)
    2011-04-14 20:12:26 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:67)
    2011-04-14 20:12:26 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:26 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:26 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:26 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:26 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:26 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:26 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:68)
    2011-04-14 20:12:26 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:26 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:26 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:26 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:26 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:26 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:26 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1148)
    2011-04-14 20:12:26 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:26 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:26 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:26 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:27 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:27 [SEVERE]     at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
    2011-04-14 20:12:27 [SEVERE]     at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source)
    2011-04-14 20:12:27 [SEVERE]     at java.lang.reflect.Field.get(Unknown Source)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.GetWorldServer(NpcSpawner.java:31)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:67)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:27 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:27 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:27 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:68)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:27 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:27 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:27 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1148)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:27 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:27 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:27 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:27 [SEVERE]     at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
    2011-04-14 20:12:27 [SEVERE]     at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source)
    2011-04-14 20:12:27 [SEVERE]     at java.lang.reflect.Field.get(Unknown Source)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.GetWorldServer(NpcSpawner.java:31)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:67)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:27 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:27 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:27 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:68)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:27 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:27 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:27 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1148)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:27 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:27 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:27 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:28 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:28 [SEVERE]     at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
    2011-04-14 20:12:28 [SEVERE]     at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source)
    2011-04-14 20:12:28 [SEVERE]     at java.lang.reflect.Field.get(Unknown Source)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.GetWorldServer(NpcSpawner.java:31)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:67)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:28 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:28 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:28 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:68)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:28 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:28 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:28 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1148)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:28 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:28 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:28 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:28 [SEVERE]     at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
    2011-04-14 20:12:28 [SEVERE]     at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source)
    2011-04-14 20:12:28 [SEVERE]     at java.lang.reflect.Field.get(Unknown Source)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.GetWorldServer(NpcSpawner.java:31)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:67)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:28 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:28 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:28 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:68)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:28 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:28 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:28 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1148)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:28 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:28 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:28 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:29 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:29 [SEVERE]     at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
    2011-04-14 20:12:29 [SEVERE]     at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source)
    2011-04-14 20:12:29 [SEVERE]     at java.lang.reflect.Field.get(Unknown Source)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.GetWorldServer(NpcSpawner.java:31)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:67)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:29 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:29 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:29 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:68)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:29 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:29 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:29 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1148)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:29 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:29 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:29 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:29 [SEVERE]     at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
    2011-04-14 20:12:29 [SEVERE]     at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source)
    2011-04-14 20:12:29 [SEVERE]     at java.lang.reflect.Field.get(Unknown Source)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.GetWorldServer(NpcSpawner.java:31)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:67)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:29 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:29 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:29 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:68)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:29 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:29 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:29 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1148)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:29 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:29 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:29 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:30 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:30 [SEVERE]     at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
    2011-04-14 20:12:30 [SEVERE]     at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source)
    2011-04-14 20:12:30 [SEVERE]     at java.lang.reflect.Field.get(Unknown Source)
    2011-04-14 20:12:30 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.GetWorldServer(NpcSpawner.java:31)
    2011-04-14 20:12:30 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:67)
    2011-04-14 20:12:30 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:30 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:30 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:30 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:30 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:30 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:30 [SEVERE]     at net.gamerservices.npclibfork.NpcSpawner.SpawnBasicHumanNpc(NpcSpawner.java:68)
    2011-04-14 20:12:30 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1146)
    2011-04-14 20:12:30 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:30 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:30 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:30 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:30 [SEVERE] java.lang.NullPointerException
    2011-04-14 20:12:30 [SEVERE]     at net.gamerservices.npcx.myNPC.Spawn(myNPC.java:1148)
    2011-04-14 20:12:30 [SEVERE]     at net.gamerservices.npcx.npcx.think(npcx.java:381)
    2011-04-14 20:12:30 [SEVERE]     at net.gamerservices.npcx.Tick.run(Tick.java:16)
    2011-04-14 20:12:30 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-04-14 20:12:30 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    2011-04-14 20:12:30 [INFO] lucienb lost connection: disconnect.quitting
    2011-04-14 20:12:30 [INFO] Connection reset
    also i have a question: how do i give the npc's swords armor etc? because i see in ur plugin banner that there is an npc with a sword.

    your help will be very much so appreciated if you do get around to helping me

    -lucienb
     
  28. Offline

    Haekon

    Here's a question: [HUGE! wall of text incoming]

    Now, I'm the kind of asshat that won't read through 36 pages of thread to find an answer. I'll consider myself self-forwarned I won't get an answer at all...

    But...Is there some way that I can:

    • add players to groups in a way that say, a clan functions as a faction with this mod?
    • is there a mail plugin that I can use that lets me in-game mail only members of a certain faction?
    • if there is a player faction aspect to this mod, do the actions of a player affect standing with their whole faction? (aka: player JohnDoe is a member of GuildX...JohnDoe attacks a member of the SpawnTown Guard. He successfully kills two of them. His rating with the Spawntown Guard goes down, and so does the rating of EVERY MEMBER of GuildX....sound right?)
    • is there a plugin that utilizes GROUP and RANK (...in that group) to access, say...switches, community chests, land purchases. voting on whether or not to join a guild war, taxes, etc...
    • use standing with certain factions to determine if merchants will sell to me at all, or if they will, use adjusted rates (ex: my faction standing with GroupX is crap. They don't like me. They sell to me at inflated prices, if they'll deal with me at all. Or, if we're favored, we get a discount)
    • Random number genreated chat....say...a number of events have the possiblity of generating a line of chat, on....say...EVENT_CLOSE...only one of them fly....possible?
    • faction-level variables....ie: I'm in the Order faction....the response from a Highwayman is to kick my ass....but if I'm in the Chaos faction, the Highwayman whispers encouragement...'Death to the False Emperor', or 'I eat babies' or some such.
    • Can players and NPCs be in the same faction?
    • Can players be defined right off the bat as belonging to a certain faction?
    • Can there be scripting to say that if you join a certain faction, your previous standing with other factions will adjust accordingly? (iDmwl switches alignment from Order to Chaos...he gets an automatic adjustment from being cool with people in town to being hated. "f^ck you, Al Qaos (lol)' (see what I did there...and al queda joke....god, I'm an assclown)
    • Can new logins get default faction standings? is that definable in a config file?
    • Is that girl I hooked up with in South Beach really a dude? If so, my wife's gonna be pissed.
    • Can I have chocolate in my peanut butter, and vice versa?
    I honestly think your approach is the closest I can find to making my ideal world happen.

    My grammar's crap, and I don't expect any of my bullet points to be Yes'd off the bat. I offer them as possible to-do's.

    Also...when (and if) I get my server up and running, I'm building statues to the Creators, aka those that built what made my world possible. Do you have a skin you prefer that I can recreate at 40 meters tall (estimate) in 4 color monotone?

    And grats on a fucken awesome plugin.
     
  29. Offline

    steve m

    Yes.
    No.
     
  30. Offline

    dudes34

    1. Don't think so, everythings in the Readme-: https://github.com/mixxit/npcx/blob/master/README
    2. No.
    3. Yes, I think so.
    4. No idea.
    5. Don't think so.
    6. Not yet.
    7. Not that I know of.
    8. No, not yet.
    9. No..
    10. Not sure.
    11. Not as far as I know.
    12. Yep, sorry..
    13. NO! No you cannot! =)

    Don't quote me on these, me and a couple of others are trying to help Mixxit out. There's a lot of questions and a lot of hard work for Mixxit. Im sure a lot of them are possible in time and I know Mixxit is willing to take on reasonable suggestions. I assume most of the things you suggested/asked have already been planned.
     
  31. Offline

    hurtank

    trust me SQL workbench is 1000 times easier. when you have finishing installing it all. open the NPCX config and change the password becuase it has /! on the end of p4ssw0rd for some reason :p as for that you just create a schema following the tutorial. the actual mod makes the database
     

Share This Page