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

    liveoles

    Could you PLEASE make a SQLite!
     
  3. Offline

    dudes34

    Yes the commands are /npcx npc helmet/chest/legs/boots NPCID ArmourID - 0 for no armour
    He said in an early post "no" mySQl works fine its just a pain to figure out.. lol
     
  4. Offline

    mixxit

    Just posting to let you know that i'm taking a break for a little while, kinda burned out last week and the anger was brewing so no further updates - post your issues on the issue tracker etc and i'll take a look when i'm back
     
  5. Offline

    liveoles

    but
    my issue is that i can't even start a MySQL server, i deleted all existing services and uninstalled all MySQL related programs and reinstall all of them, i can't just pass the "Start the service" process, and sometimes even it don't fire up the first step!
     
  6. Offline

    dudes34

    Have you tried removing them from the registry as well? Thats what I had to do..

    NO!! lol fair mate, i'll try and help by replying to a couple of things I know how to do on here like commands questions and stuff... Thanks again
     
  7. Offline

    sheepyowl

    cool, thanks.
    oddly enough, i didnt find the workbench anywhere. if you search in google "how to mysql" then the first things are cPanel and PHPmyadmin, which both need apache(not sure about cpanel). i dont understand how come nobody directs you to the mysql workbench... (actually, cPanel needs something else, nevermind. still, wasting my time with things)

    im not really sure what XAMPP is even tho you just told me(local testing enviroment? testing what?)...
    thanks!

    edit: (removed two edits before)
    i have a database called "npcx", and a user called "npcx". the passwords in the npcx.properties and the user match. the db-name is also npcx. user is also npcx. db-host in the npcx.properties is localhost. if i try to edit the database settings or privileges, it works(the connection AND the database are running and working). the database is set to run on port 3306, and the config file is also set to 3306...
    but it tells me "npcx : ERROR - error during MySQL login. This generally means that you forgot to create a MySQL user and database the same as defined in your npcx.properties file".
    but the database and whats defined in my properties file are the same.
    what did i get wrong?
     
  8. Offline

    hurtank

    just finished installing this to my server, i have very little SQL knowledge but found this very easy. would be more than willing to help other people :)
     
  9. Offline

    habbah

    Code:
    2011-04-12 12:07:14 [SEVERE] Could not pass event PLAYER_CHAT to npcx
    java.lang.NullPointerException
        at net.gamerservices.npcx.myNPC.parseMerchant(myNPC.java:735)
        at net.gamerservices.npcx.myNPC.onPlayerChat(myNPC.java:454)
        at net.gamerservices.npcx.npcxPListener.onPlayerChat(npcxPListener.java:470)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:234)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:565)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
    cb670
     
  10. Offline

    hyoa

    It's possible to delete what a merchant sell or buy?
     
  11. Offline

    Willobe

    yeah, i get into the database and change most of my Bot options, sometimes you will need to restart the server to have some effects on bots too. :)
     
  12. Offline

    hyoa

    how i can acces to my database? ...
     
  13. Offline

    Willobe

    i use HeidiSQL but im not really good with mysql, i just am pokin at it with a stick.. see if it moves.
    I got about 16 bots atm, running good, about 7 merchants, and all are pathing, some less then others for selling sake.
    Im about to dive into the questing and trigger stuff, Wish Me Luck :D
     
  14. Offline

    dudes34

    Do you mean to change values in it manually? Open MySQL Workbench, in the first colum there will be a database file. Right click it and click "Query Database" Then you are presented with all the npcx settings and configuration files. Hope I helped =)
     
  15. Offline

    tom9914

    Ok, i've been trying to get rid of the npc's iron sword (which only seems to show up when they get a helmet) I tried /npcx npc weapon [npcID] 0 , the weapon disappeared but my minecraft crashed a couple of seconds after, now i crash every time i join the server. EDIT: I've had to change the values in the database, But is there anyway this could be fixed/ i could get around it and get him to have an empty hand?
     
  16. Offline

    Niles

    I have a problem, I am using this plugin with my server but the npcs wont respond and all things said to the npcs are broadcasted into chat. I am using bukkit build 670 and I think this is a great plugin.
     
  17. Offline

    Willobe

    Well if you can try just not putting a helmet on them, if you can get away with it for looks etc. then they wont have an item showing. Like you said the item only seems to be when they put the helm on i guess for going to battle.


    if the npcs are not responding then of course its gonna go to chat :p.. can you attack them? They arent moving out of your range are they? have you tried clearing the database (by deleting your npcx folder in plugins and restarting the server then changing the config to match your database info) and try a fresh npc? or at least restart the server?
    How about a fresh no npc and new spawngroup? What if its a merchant?
     
  18. Offline

    tom9914

    That's what I've had to do, looks a bit weird when they have their arm tilted upward like that, but it's better than nothing.
     
  19. Offline

    Niles

    I did restart the server, I can attack them, guards attack me as normal one of them is a merchant and I will try clearing the database now.
     
  20. Offline

    dcj

    By far one of the best NPC mods I have seen in my short time in the Bukkit. I have mastered making and creating, i was curious. I see that I can wipe out the npcs by removing the folder adding back , is there a way for me to remove 1 or 2 npcs with out removing them all. I ran some remove or erase commands in same fashon as the adds but no dice or errors. thanks in advance!
     
  21. Offline

    dragonhippie

    hello i cant download it or go into his Github. just keeps comming up *website is temporarily down or moved* but my internet is working....unless he is doing something to it. i have NO idea but if sumone could possibley add the .jar to the dropbox i would love the help :)
     
  22. Offline

    Niles

    you can delete spawngroups witch removes the npc from the game.
    dragonhippie: not dropbox but here: <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Dec 14, 2016
  23. Offline

    dragonhippie

    thanks man ur the best :D.
    another question: i have MySQL tools for 5.0
    and MySql Workbench. is there a tutorial on how to set this up for this plugin? or a slap across a head with a link from google? lol
     
  24. Offline

    Niles

    it explains it in the readme but I think thats on github....

    EDIT:
    from linux shell:
    mysql -u root -p
    Code:
    CREATE DATABASE npcx;
    CREATE USER 'npcx'@'localhost' IDENTIFIED BY 'p4ssw0rd!';
    GRANT ALL PRIVILEGES ON npcx.* TO 'npcx'@'localhost' WITH GRANT OPTION;
    FLUSH PRIVILEGES;

    and I can get to github just fine...
     
  25. Offline

    dragonhippie

    well i cant still....but thx for the help.. XD

    This web page is not available

    The web page at https://github.com/mixxit/npcx/blob/master/README might be temporarily down or it may have moved permanently to a new web address.
    Error 205 (net::ERR_CERT_UNABLE_TO_CHECK_REVOCATION): Unknown error.


    im sorry but i dont understand the instructions D:
    maybe a noob friendly guide? im very sorry but i dont get how to set it up...
    i do need this help and i know im begging for lots. but it looks like a nice plugin to play with :(

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

    dcj

     
    Last edited by a moderator: Dec 14, 2016
  27. Offline

    Niles

    Dragonhippie: are you using Linux windows or a Mac.
     
  28. Offline

    dragonhippie

    Windows
     
  29. Offline

    Jack Daun

    Sorry if this has already been asked or im missing something but, I cant attack an NPC i made, i made a spawngroup, then made him [Notch] then set a few Triggerwords, but i cant attack him at all, it doesnt show a him going red or anything, PVP is definetly on. Whats going on?
     
  30. Offline

    hyoa

    Thank for your help , it's work perfectly :D
     
  31. Offline

    dudes34

    No problem mate. Glad I could help.

    Do they attack back? My ones don't go red but if I hit them a couple of times with a diamond sword they disappear and say something along the lines of I will be avenged. If hes not attacking back then im not sure but if he is, keep hitting him.
     

Share This Page