[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

    PsychoNecrosis

    Working out the ins and outs of a plugin like this when the code isn't your own takes time.

    For the users, patience is required :p
     
  3. Offline

    bothersome

    I've been trying to get npcx to work on my server, but I can't seem to get past the same error. I've looked thru this forum and the old npcx forum and haven't been able to resolve the it.

    http://pastebin.com/5YwKd2hn
     
  4. Offline

    telmo


    reset your npcx db
     
  5. Offline

    bothersome

    Same errors.
     
  6. Offline

    Neils

    Is it working with Bukkit [818] ?
     
  7. Offline

    wizjany

    Busy with school and keeping my own (custom) server up to date. I'll work on it whenever I feel like it and update mixxit's whenever it needs it.
    Make sure that the config file has the right database version.
    Don't think anything changed. Let me go test.
    Yep, everything seems to be working. Just post if you get any weird error messages.
    am I the only one who doesn't get this behavior?
     
  8. Offline

    MrDare360

    hi could someone help me with making this work on wampserver as MySQL does not work for me when i follow the instructions in this post

    Nevermind i did it with wampserver, if you wanna know message me

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

    wizjany

    Protip: The 'm' in 'wamp' stands for MySQL
     
  10. Offline

    ixpack

    Gr8 job man! I'm not using the plug-in yet but a huge potential is in it. I'm waiting for your version of this plug-in (framework like).
    I've few questions (hope somebody will be able to give me correct answers):
    *Is it possible to make NPC to follow it's owner?
    *Is it possible to assign an NPCs' owner(s)? //group or player, few players
    *Is it possible to make NPC attack everyone except it's owner(s)?

    Currently I'm planning my server and I wish to add a feature:
    Player, king, mayor, town owner etc. can buy a mercenary (npc), owner(s) now can set-up a patrol route.
    Owner(s) can send their NPCs for a war beside it's comrades (humans - NPCs could follow owner/general) :)

    God I wish to know java (started to learn), or if I could write plug-ins in php lol :D
     
  11. Offline

    rareshutzu

    Do I really need iConomy? I mean I have essentials :Z
     
  12. Offline

    bothersome

    There is an iconomy/essentials economy bridge plugin that works nicely.
     
  13. Offline

    rareshutzu

    Can you PM me a link? Not sure if it's ok to post it here...
     
  14. Offline

    bothersome

    How to i find the database version? This is a fresh install of npcx.
     
  15. Offline

    wizjany

    In that case it should fill in correctly automatically. Did you read the instructions about setting up the database in the readme?
     
  16. Offline

    sfxworks

    ...ok
    so..
    When the npc is made a merchant, he turns upsidown. Along with everything. Including the waterfalls. And on my screen when I right click him, its like im moving him but then my friend says he turns upsidown.....its....this is wierd...whats going on..
     
  17. Offline

    wizjany

    upsidedown? elaborate/screenshots/etc?
     
  18. Offline

    darkm3tr01d

    yes plz show us these upside down ppl & waterfalls
     
  19. Offline

    sfxworks

    Build 818
    I make an npc. Give him a spawn group, success!

    Make him a merchant..........his name...it flys everywhere across the screen... his name above his skin appears upside down, my friend says his entire body appears upside down. Along with that, once every few seconds the water fall he is standing next to does a random 180 but then instantly fixes itself.
     
  20. Offline

    GardenGnomer

    Some hints for (mostly) OSX users:

    I just installed this and got it working with 818.
    I installed mysql from the standard dmg file.
    I used MAMP to get a mysql server running and followed the UNIX commands in the readme to create the database.
    Had some problems since I used the wrong password at first.
    NPCs wouldn't listen to commands, and gave me an error in the console, until I installed iConomy.

    I edit the database from the MAMP web page.
     
  21. Offline

    xlilcasper

    Anyone else having an issue where NPCs disappear after a short amount of time? Reloading the plugin brings them back but they keep disappearing on me? Both in 818 and 819.
     
  22. Offline

    sfxworks

    Yes but mines going EVERYWHERE across the screen as well.
     
  23. Offline

    wizjany

    Hm...wonder if a client side mod or another plugin is interfering.
    Is it consistent/reproducible? Does relogging make them appear again? Have you recently been teleporting a lot? (teleporting can cause entities to become invisible)
     
  24. Offline

    Jeffrey Morelos

    Does this need mysql? Can I just run a hamachi server with it?
     
  25. Offline

    sfxworks

    Me and my friend are using zombes. However, one of the other admins saw this too and she isn't using any client side mods at all.
     
  26. Offline

    wizjany

  27. Offline

    sfxworks

  28. Offline

    wizjany

    I wouldn't know what to fix.
    You're not exactly giving me much to work with either.
     
  29. Offline

    mrgreaper

    will this plugin be continued? we just set up a shop and i like the way you can talk to the keeper but the path finding seems bugged and there doesnt seem to be a way to give an npc a sword (makes creating guards ..interesting)
     
  30. Offline

    wizjany

    /npcx npc weapon <npc id> <item id>
     
  31. Offline

    mrgreaper

    ah ah thnx
     

Share This Page