[INACTIVE] iQuest v3.2.0 - Take NPC questing to the next level! [1060]

Discussion in 'Inactive/Unsupported Plugins' started by sddddgjd, Aug 2, 2011.

  1. Offline

    sddddgjd

    iQuest is no longer in active development!


    Yeah,that's right,i quit,you can all go home now...:D
    Jokes aside, i am forced to quit working on iQuest,for a number of reasons,including:​

    • The code was old...very old! Updating the entire thing just isn't possible!
    • I am really busy with 2 other,bigger,projects, so i can't spend that much time on this!
    • I am not as familiar with the code as i could be if i created it!
    • Big parts of the code just plain suck...i was a really bad coder when i starter this project! :D
    That being said,don't panic! I am going to recreate iQuest from SCRATCH, using just a small part of the main code! It will act the same,however some of the important changes will be:

    • Superperms support! It's the future,it's time for people to switch over...
    • More quest types!
    • Parties!
    • Speed improvements!
    • MySQL/SQLite database support!
    • Much easier commands,and interface
    • Spout support!
    • MASSIVE support for RPGWorld, one of the 2 big projects i'm working on...that thing will be INSANE!
    • New configuration support! Should be much harder to mess it up...

    You may be wondering,how am i going to pull this off? Well, first of all, i have @Samkio , @tips48, @r3Fuze , and the rest of our coding team to help me! However, we all have to work on separate parts of the plugin, so i will make yet another coding team, which will work exlusively at the questing part! (it will also work as a stand-alone,don't worry :D)

    So,that was it, i will start actually working on it now!
    If you want to take part in development,just PM me! If you have atleast one plugin,i'll probably know you already! :p

    @cwingrav
    @julietnpn
    @Pandemoneus

    You guys helped me the most during development...interested in joining this?

    For more details on the new plugin, click!


     
    chudy126p, Samkio, powback and 6 others like this.
  2. Offline

    sultyice

    That'd be nice thanks again for the plug-in
     
  3. Offline

    sddddgjd

    No,that's it...are you sure you updated to the latest version? Be carefull,the name changed,you should delete the old uQuest,jar!
    @sultyice ,is it working for you with /qn?
     
  4. Offline

    Dec64

    Nice work, once chain quests are added, and at least "only once" preferably setting how many times u can do each quest, or once per X mins, i shall move to this version of uQuest and ditch npc-quester!
     
  5. Offline

    sddddgjd

    npc-quester has chain quests?? details,please...
     
  6. Offline

    Dec64

    wel im able to define quests 1,2,3,5 to a npc, and he will offer the next one in line, only when the first one is done. Once all have been completed offers you the first one again.
     
  7. Offline

    sultyice

    While playing around i just noticed something that is kinda annoying, Players will right click an NPC to check out what quests are available only to be locked in maybe add a feature that allows a player to manually accept.
     
  8. Offline

    sddddgjd

    ok...this is only the first version, i'll add lots of stuff...
    right now,i have chain quests,and the ability to deny quests!
     
  9. Offline

    grifOndOr

    hmm
    error for me...

    [SEVERE] java.io.FileNotFoundException: plugins\iQuest.bin (Le fichier spécifié est introuvable)
    2011-08-08 21:24:49 [SEVERE] at java.io.FileInputStream.open(Native Method)
    2011-08-08 21:24:49 [SEVERE] at java.io.FileInputStream.<init>(Unknown Source)
    2011-08-08 21:24:49 [SEVERE] at java.io.FileInputStream.<init>(Unknown Source)
    2011-08-08 21:24:49 [SEVERE] at sddddgjd.iquest.SLAPI.load(SLAPI.java:18)
    2011-08-08 21:24:49 [SEVERE] at sddddgjd.iquest.iQuest.onEnable(iQuest.java:164)
    2011-08-08 21:24:49 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-08-08 21:24:49 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    2011-08-08 21:24:49 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    2011-08-08 21:24:49 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    2011-08-08 21:24:49 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    2011-08-08 21:24:49 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-08-08 21:24:49 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-08-08 21:24:49 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-08-08 21:24:49 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-08-08 21:24:49 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-08 21:24:49 [INFO] [iQuest] Loaded with Flatfile!
    2011-08-08 21:24:49 [INFO] iQuest v3.0,created by sddddgjd, enabled! With 53 quests loaded!
     
  10. Offline

    sddddgjd

    yeah,just reload the server,it always does this the first time!
    LE: In case you need some explanations, it gets this because it doesn't have the iQuest.bin file where it stores the NPC data,however it automatically creates it when the plugin is disabled -_-!
    So a reload will do!
     
  11. Offline

    grifOndOr

    hmm ok no error

    but i dont understand how it works.. NPC quester make an error again when i load the plugin. It's not fixed ?
    and if i /qn test 1 , that add a npcquest blabla but there is no NPC !!??
     
  12. Offline

    sddddgjd

    /qn test 1 doesn't do anything...
    Aaah,i see where your problem is!
    NPC quester isn't needed now! It's all integrated inside the plugin! It's normal to give errors! Just delete it!
    Now,you need to create the npc,let's call him Bob...
    You type /npc create Bob!
    Then,you type /qn create Bob [questnumber],and it will give you a message of success! After that,on right click,it will give you the quest automatically! (will add option to deny tomorrow)
     
  13. Offline

    grifOndOr

    ok it's working
    but i'm sad that npcquester is not fixed :(
    I just want one NPC with random quest , and only if i have an item in my hand
    with Iquest , i can only have 1quest/npc and no item needed ...

    please fix the problem with npcquester and i'll give you all my diamonds ^^
     
  14. Offline

    sddddgjd

    I can't just use someone elses code,the owner gave me permissions to look at it,not just plain copy-paste it...sorry!
    BUT i can add a random quest mode,something like /qn create Bob,without a quest id,could make it give quests! ^
    About the item in your hand...i can do that (set a configurable item,and NPC's will only react if you right click em with that item) but why would you want to do that?
     
  15. Offline

    grifOndOr

    Like NPCquester , in the config you can :

    • NPCs give random quests
    • If wanted, make players have a specified item in their hand with a specified amount, and if you want it, take it from them too
    That was why i used npcquester :
    I rightclic a npc with 1 paper , the npc give me the quest , i have now 0 paper , i do my quest , i rightclic the npc and the quest is done


    If you could do that...
    sorry for the req ^^
     
  16. Offline

    sddddgjd

    Download link updated! This is a small update,if you don't specify the quest number,it will give you a random one ^^!^
    So,you want an item requirement to start the quest,right? I can do that...
     
  17. Offline

    grifOndOr

    yes and the item disapear :)
    in the config , could we change the item and the specified amount ? :)
     
  18. Offline

    sddddgjd

    Yep,i'm working on that...is the random quest system working? Also, if it's public, can you give me the ip? :D
     
  19. Offline

    grifOndOr

    its' private until next week ^^

    i test the random now and i bump
     
  20. Offline

    sddddgjd

    alright...i'll probably release a few smaller updates,but tomorrow (in 12 hours :p),the next one will contain item requirement!
     
  21. Offline

    grifOndOr

    an internal error occur
    when i try to create a npc with random quests

    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'qn' in plugin iQuest v3.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
    at sddddgjd.NPC.NPCcmd.onCommand(NPCcmd.java:48)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more


    ps : i delete the iquest.bin and reload , but same error
     
  22. Offline

    pherce

    Code:
    2011-08-08 14:25:44 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to iQuest
    java.lang.NoClassDefFoundError: com/citizens/npcs/NPCManager
        at sddddgjd.NPC.NPCListener2.onPlayerInteractEntity(NPCListener2.java:24)
        at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:845)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    All day long =\
     
  23. Offline

    grifOndOr

    @pherce , disable npcquester
     
  24. Offline

    alfskan

    is npc support Citizens?

    if not, can you?

    cause I love Citizen's skin!:)
     
  25. Offline

    erdrickk

    Getting this like mad....how can I fix it?

    2011-08-08 19:06:06 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to iQuest
    java.lang.NoClassDefFoundError: com/citizens/npcs/NPCManager
    at sddddgjd.NPC.NPCListener2.onPlayerInteractEntity(NPCListener2.java:24)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:845)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    in the config file I noted this option with ' and ' around it while no other options has it.... do I need to delete them to make this option work? I have it set to false and I still get the NPC error...

    'Use NPC based questing ': false

    Edit: also I don't have NPCQuester installed..

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

    sddddgjd

    You need citizens for it to work! I'll need to do a tutorial on how to install it and use it :|
    But i'm sure your problem is because you don't have citizens! (it says noclassdeffounferror,which means it couldn't find,and then citizens/npcs)

    It only works with citizens!

    Same as for the guy before,you need citizens!
    I don't know why it has that,but it works with them!

    What command did you type,exactly?
    LE: Ah,stupid me! As always,the latest change destroyed everything!
    I updated the download, fixed the crash :D
    This one has some new options in the config,to toggle whether you need an item to start a quest,but it haven't even started working on that!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  27. Offline

    grifOndOr

    the random quest works !

    i see the new config ; cant wait that the item works ^^ dont forget to make an option that take the item after you take the quest
    also , to done a quest , only /q done ? or i miss something to done a quest with the npc ?
     
  28. Offline

    sddddgjd

    only /q done right now!
    Also,download link updated! :D
    You can now set a required item by it's minecraft ID,it will automatically take 1 of that item!
     
  29. Offline

    grifOndOr

    it works for me :)
    The npc take me 1paper and give me a random quest

    Also it take me the item if i have already an active quest :(
    maybe could you fix it ?

    and no way to have a /q done and /q drop with the npc ?
    maybe with the npc : rightclic for /q done (without an item) and leftclic for /q drop


    ps : really thank you for all your work and fill my requests ^^
     
  30. Offline

    sddddgjd

    First,i'll fix the npc taking the item even if it doesn't give you a quest!

    Alright,fixed it!
    Now,i'm not sure if there's an event i can use for left clicking an npc...but i THINK there is,in which case i can use /done for that...
    For /drop,i'll just make /qn drop penalty-free withing the 10 seconds of getting the quest,so the players can read it and refuse it they feel like it!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  31. Offline

    undeadmach1ne

    just testing this and it seems to work fine in terms of taking/finishing quests from an npc. i am looking forward to commandless /q done by clicking...will it be any npc or specifically the quest giver? if you can make it specific to the npc who gave you the quest, could you also make it so you can have multiple quests active from different npcs? and possibly a quest log of some kind where you can look up the conditions and quest giver?

    also, i enabled sqlite in the config and got some errors at startup. pretty sure they related to no database...but it wouldnt save my quests either...i set it back to false and the errors stopped and it seems to remember my /q stats when i log back in. maybe ill mess around with it more and try to get some more definitive info for you...

    anyway thanks for this it looks very promising. keep up the good work. [cake]
     

Share This Page