Inactive [FUN/ECON/DEV] uQuest v1.50 - Overly customizable quest system [793 - 602]

Discussion in 'Inactive/Unsupported Plugins' started by Hawox, Mar 4, 2011.

  1. Offline

    Hawox

    As most of you can guess I have not worked on this plugin in a long time. I'm working full time at a grocery store as well as going to college. I literally have no time for sleep let alone Minecraft. Recently someone has contacted me saying they are working on my plugin. I appreciate his work and effort while I am away. This is a link to his topic. His download can be found at hawox.no-ip.info
    uQuest - Overly customizable quest system!
    German Questlist 5/16/11
    [​IMG]
    Coming Soon!
    Gui Questmaker (Heres a beta build!)
    Upload/download area for quests!
    mcMMO extension!


    Team:
    Hawox
    Laxlux - New German quest list maintainer
    HiMyNameIsAJ - Creating a uQuest website
    Looking for:
    • Someone to make a nice looking website for uquest (Not my cup of java).
    • Someone to add MySql support.
    • Plugin attachment devs!
    • Someone with ideas on different quest types!
    • People to write some random quests to be thrown in the defaults!

    -----------------------Plugin summery below this point-----------------------
    ~Comes preloaded with 53 quests!~

    Support for: (You don't NEED any of these for the plugin to work.)
    Code:
    Permissions (but not needed!)
      -"uQuest.CanQuest.*" - Allows all these sub permissions
        -"uQuest.CanQuest.done"
        -"uQuest.CanQuest.amount"
        -"uQuest.CanQuest.stats'
        -"uQuest.CanQuest.info"
        -"uQuest.CanQuest.give"
        -"uQuest.CanDropQuest"
    
      -"uQuest.CanReloadQuests" - Allows the use of /reloadquests
      -"uQuest.CanReloadQuestConfig" - Allows the use of /reloadquestconfig
    
     iConomy (but not needed!)
     BOSEconomy (Again, not needed!)
     Essentials! (Again, not needed!)
    Alright here goes, theres a lot to cover so I may miss something on this first go threw! Want a better way to get money into your server economy that selling items to the server or random lottery's? Do you like QUESTS?!?! Do you want your users to compete to see who is a better quester? Then uQuest might be for you!


    uQuest offers your users a simple way to quest! No need to walk miles and miles to a random NPC or click on some block at spawn. All they need to do is type '/uquest give' and uQuest will give them a random quest from it's database! A yml file is provided where you type out each quest for your users. That's right. YOU can decide how many quests there are, what they are, and how you want your users to do them (creating and editing this file are explained on the wiki). You can broadcast every x quests someone finishes to the server as well as give out rewards for x amount of quests. I'll leave the rest for the features section, just thought I'd get you hooked with that :3 If you grab the .zip (which you need to if you want to store your users in a SQLite database!) I have included 53 quests inside!

    All of that not enough? Well theres an API! Other plugin authors can use this as a base for their own plugins!

    Here's a quick screenshot of what the text looks like:
    [​IMG]


    ~Features~
    (I may miss a few, there's quite a bit)




    ~Quest Types~
    All of these can have specific locations set to them! (Can only do in this area etc)
    (More to come I promise!!)



    ~Commands~
    (More to come I promise!!)



    ~Watch out~
    With great power (of customization)... Come's great responsibility.... There is a lot that can go wrong if you don't pay attention when your changing files. Thankfully, I've tried to have the plugin spew out as many warnings as it could on the servers start. Always give it a check to make sure the plugin loaded all of your work!!!

    ~Plugin Attachments~
    (These plugins add new features to the basic uQuest system)
    _________________________________________
    uQuest-MoreModCommands
    Just started this as an example of what people can do. All it currently has is /qadmin givequest
    OP's and people with the permissions (not required for this either) node 'uQuest.MoreModCommands' can use it.
    _________________________________________
    uQuest-ShowTracker
    Simply shows someones progress on a quest everytime they do something for it. IE. I punch a log as part of my quest (grey text)Log Punches 7/10.
    Just put the jar into your plugins folder and it will work on it's own!
    Updates needed: Move quests | Picking up items. | Support for uQuest levels
    _________________________________________
    uQuest-AutoComplete
    Completes quests automagicly! Works with the same methods as showtracker so it has the same flaws. There is this weird bug when running both at the same time that spams some weird extra text. Try to ignore it for now.
    Just put the jar into your plugins folder and it will work on it's own!
    Updates needed: Move quests | Picking up items. | Unknown status on working with quest levels. | Odd text bug with showtracker/this mix.
    _________________________________________


    ~Plugins using the API~
    (These plugins use the uQuest API to shape their own plugin)
    PuzzleQuest




    Since people don't read the above, I'll post this again here so I don't have to write the reply back to this anymore.
     
  2. Offline

    trevorhenrich

    I either found an error/bug/or i suck and need to be slapped.
    After updating the RealShop plugin to its latest version, uquest stopped working. I'm not sure if theres a correlation between the two, but thats just the only thing i can think of.
    here is what my server log said when i typed /q

    and while in game, i get the "An internal error occured while attempting to perform this command."

    did i goof? or did i find something that doesnt work? :p
     
  3. Offline

    tom

    It would be great if someone could make a web stats page for the top questers.
     
  4. Offline

    Lanuk

    This plugin looks pretty awesome... Does it prevent players from pulling items out of their chests to complete a gather task?
     
  5. Offline

    trevorhenrich

    @Lanuk it does not. you can have the items in your inventory prior to the quest being given and still be able to finish the quest without doing anything. lol
     
  6. Offline

    Khalysto

    I'm also running into the same issue as Trevorhenrich when users type /quest


    Code:
    2011-05-22 21:57:43 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'q' in plugin uQuest v1.5
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:677)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
            at hawox.uquest.commands.Cmd_uquest.onCommand(Cmd_uquest.java:33)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    Also, is it possible to tie the /quest command or an individual quest to a block type or sign?

    =Khalysto=
     
  7. Offline

    Nikc-Nack

    If still needed I would be more than happy to make the website.

    A few examples:
    http://minecraftis.indieis.me/ - Minecraft is.ME site. (please ignore current warning, makes homepage look funny)
    http://nikc-nack.com/pengine/ - A small site for a old project of mine.

    Please note I'm an artist, not a insanely awesome programmer, but I've been making websites with simple HTML, CSS, and JS for 8 years. As well as about 5 years of PHP, MySQL, ect.

    I would probably do it for free unless you would want to give me a little pay,
    PM me if you want me to make it,
    Nikc-Nack
     
  8. Offline

    Missnostalgia

    IS there any reason why cookies, squid and cake doesn't seem to work when adding them to the quest list?
     
  9. Offline

    Hawox

    @Missnostalgia I have no idea why. I think there was a problem with squid before. THe cake a cookies may have to do with their damage value. I'm not sure.

    @Nikc-Nack I have someone else working on one but you could work with him on it if you'd like. I'm entirely open to any website ideas. I would just like to have one at all xD Here is what they are working on last I checked: http://himynameisaj.me/live/Hawox/autoplant.html

    @Khalysto and @trevorhenrich Thats a problem with permissions that I still don't understand the cause of. It should be fixed in the next update though.

    I finially have some time to work on uQuest. Sorry it's been awhile but my scheduled has been crazy. I'm off to go split uQuest up!

    @Tal-N Not at all. You will have the base uQUest plugin that does nothing on it's own. Just an API. Then you add in other attachments to make it do what you want. Like "Random quests" or "Quest leveling" etc. All will be side plugins which you place into your folder and they automagicly work!

    EDIT: Oh! @Nikc-Nack If you want to make a php area where people paste a quest, put their author name, etc. and have it upload to a database that would be awesome. Have it check it for errors if you could. If not just make it so people could flag quests as they looked threw them. Like "Broken. Too long. Great quest! Thumbs up!" etc. This would be amazing and I would love you.

    I don't have anything to give sadly... Though I'd happily share any donations with you if I ever get any. xD
     
  10. Offline

    Nitnelave

    Could you add a possibility for chained quests? For example, gather this and that, and when you're done, go to there and gather that, and when you're done, kill a pig as an offering for Hawox... Basically, either a quest with several parts or a quest that starts another on complete.
     
  11. Offline

    Lanuk

    Ah drat, my players and I were looking forward to this.
     
  12. Offline

    Tal-N

    We're trying to get a quest to give multiple rewards, such as a suit of armor, but the server reports an error and the quest cannot be loaded. Does uQuest support multiple item based rewards or do we have the quest config file set up wrong?

    Code:
    Rewards: 
        Item:
          Item_ID: 262
          Display_Name: Arrows
          Amount: 96
          Durability: 0
        Item:
          Item_ID: 315
          Display_Name: Golden Chestplate
          Amount: 1
          Durability: 0
        Item:
          Item_ID: 317
          Display_Name: Golden Boots
          Amount: 1
          Durability: 0
      Objectives: 
        0:
          Type: Kill
          Display_Name: Zombies
          Objective_ID: zombie
          Amount: 80
    
    Oh and btw. If you're splitting up the plug into a plug-n-play API then might I suggest that you add some more /qadmin commands? We'd like to produce dedicated questing hubs where people go for all quest features, but without a /qadmin done command or /qadmin info or /qadmin drop they can run those commands anywhere they want. Sure they can collect quests only from the commandsigns but we'd like complete control over it.

    One other thing. Is it possible to set up Uquest to require you to kill a specific enemy with a specific item? Like requiring someone to shoot chickens with a bow and arrow, any other weapons or items wouldn't count.

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

    the_antigamer

    Hey, great job with uQuest so far! The server I frequent's been running it smoothly for a while now. I have a couple of questions for you:

    1)How exactly does location-based questing work? Say I want a quest to be solve a maze, so the quest is completed when the user reaches the end location of the maze. Your example on the wiki makes me think this can't be done, that location only specifies the area the user must perform one of the 5 objectives in. I see your example as saying "Punch a log ten times in the area X:22-42 Y: 62-68 Z: 32-68, and gather the other items, though you can be anywhere." I believe I could do a workaround by having a gather 1 dirt at the location I want, but I want to see if there's a better way.
    Edit: Answer found here: http://forums.bukkit.org/threads/fu...quest-system-793-602.7092/page-18#post-253952


    2)I'd like to make a quest to kill a Ghast, and some zombie pig-men. What are their objective-ids for the Kill task?
    Edit: Found Here: https://github.com/Hawox/uQuest/blob/master/src/hawox/uquest/UQuestEntityListener.java#L173


    3)Would you like more quests? I'll freely donate the 30 or so I've created, plus the fixes to the 5000 punches quest.


    @Tal-N: I'm about to try a multi-item quest reward as well, Tal-N. I believe your problem may be fixed by having only one "Item:", with all the Item_IDs and details under it. Don't quote me though, I haven't yet tried it.
     
  14. Offline

    Erlandys

    Hello, great job! For my server this plugin is really useful.. But I have couple questions.

    1. Is there are any chance to pick not randomly quest. Something like this: /uquest give Starter Quest; /uquest give 2
    .
    2. Can you make, that if you finish quest, you can add new permissions to user, or just new group. Something like this: I've created char and I can only walk and chat. I wanna do something more. I write: /uquest give 1. And I have first quest. I complete it and then I complete, I have couple new permissions: Do damage, Build, Destroy. Or just jump from Default group to Builder. It can be make in config something like this:

    Rewards:
    Money: 150
    Group: Default (You jump from yours group to this group)
    or
    Rewards:
    Money: 150
    Permissions: uQuest.CanQuest.done, uQuest.CanQuest.amount
    It's just examples. So, what do you think ;)?
     
  15. Offline

    Nitnelave

    I think these suggestions have been voiced so many times he isn't going to answer to them... He's going to split the plugin up into APIs, and then people will develop plugins that CAN do what you suggest. But for now, you would have to code the plugin yourself.
     
  16. Offline

    erdrickk

    I am getting this error after adding some quests to the quest.yml

    Can you tell me what is causing this off the top of your head?

    2011-05-25 09:26:57 [SEVERE] null loading uQuest v1.5 (Is it up to date?)
    java.lang.NullPointerException
    at hawox.uquest.questclasses.QuestLoader.getYamlQuestFromHashMap(QuestLoader.java:290)
    at hawox.uquest.questclasses.QuestLoader.loadAllQuests(QuestLoader.java:125)
    at hawox.uquest.UQuest.theQuestsLoadAllIntoArray(UQuest.java:360)
    at hawox.uquest.UQuest.onEnable(UQuest.java:160)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  17. Offline

    Nitnelave

    If it doesn't throw the error when you remove the quests, then it's your quests syntax that's wrong. Try to remove them, and if it works, then post the quest so we can have a look at them.
     
  18. Offline

    erdrickk

    ok it works when I load the stock quest file back up........so it must be something to do with the syntax as you mentioned......

    I will attach the file - it adds over 30+ quests so its kinda long......

    We would really appreciate it if someone could take a look and let us know what the problem is...

    BTW the credit goes to The_Antigamer (he made a post few above) he did all the extra quest work....
     

    Attached Files:

  19. Offline

    Nitnelave

  20. Offline

    erdrickk

    sorry to sound like such a noob but how is theyll illegal? sorry, new to this stuff...thanks
     
  21. Offline

    murdrums

    I have exactly the same problem as the above poster, same error code and everything, totally matches what they posted. I checked for illegal characters and used the online parser checker. No problems picked up by that, what could my problem be?
     
  22. Offline

    the_antigamer

    I see what you're saying Nitnelave, I copied the quote from online, it probably had the wrong character encoding. Hopefully that will fix it!
     
  23. Offline

    murdrums

    Took a few quests from the post above, (I hope he doesn't mind :O!) Edited a few of the precreated quests, and made a few of my own, and I get this:

    Code:
    21:15:32 [SEVERE] null loading uQuest v1.5 (Is it up to date?)
    java.lang.NullPointerException
            at hawox.uquest.questclasses.QuestLoader.getYamlQuestFromHashMap(QuestLo
    ader.java:290)
            at hawox.uquest.questclasses.QuestLoader.loadAllQuests(QuestLoader.java:
    125)
            at hawox.uquest.UQuest.theQuestsLoadAllIntoArray(UQuest.java:360)
            at hawox.uquest.UQuest.onEnable(UQuest.java:160)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:676)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:249)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Attached my file.
     

    Attached Files:

  24. Offline

    the_antigamer

    lol, I don't mind, go ahead. If you have the time/inclination, maybe try adding a new quest and reloading the quest file one at a time, and see where it breaks? I can't do it myself as it's not my server, and a 24/7 one at that. I know there is a multiple-item reward quest in there, and I'm not sure if that works properly.
     
  25. Offline

    murdrums

    I removed the multiple item reward and it still caused the error so it isn't that, going to try your idea of adding one at a time. I can just do /reload in the console window on these quests cant I? Or do I have to fully reload the server.
     
  26. Offline

    Jeyge

    @murdrums & @erdrickk
    The initial error you are seeing is because you don't have a quest #57 but that will only get you past that one error. Once you fix that, you are going to find a lot of other errors. More than what I want to spend time trying to find but I'll try to hit on some of the key points.
    • From quest 76-80, the spacing is off by 2 spaces after the Item: tag under Rewards. Item_ID needs to be 2 spaces over, ...
    • Quest 78 and on (not sure how far), your Gather type quests don't have an ITEM: in your Objectives and you have an Objective_ID instead of an Item_ID
    That should give you a good start.
     
  27. Offline

    the_antigamer

    I think I remember seeing previously in this thread that it requires a full restart.

    /facepalm
    Fixing now.

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

    murdrums

    Fixed everything you said, including the numbers and spacing, just to see what it would spit out at me now, and I think it's made it worse! Can't seem to copy it here, console window is being annoying and wont copy out, but i'll try and spend a few hours fixing and post here. Thanks for the heads up @Jeyge & @the_antigamer

    Okay, fixed what it spat out, was to do with certain quests having the wrong "Gather" layout, 57, 58 and 63. Instead of what it is, it should be this:

    Code:
        0:
          Type: Gather
          Item:
            Item_ID: 318
            Display_Name: Flint
            Amount: 15
            Durability: 0
    But now its spitting this out at me.
    Code:
    22:46:41 [SEVERE] null loading uQuest v1.5 (Is it up to date?)
    java.lang.NullPointerException
            at hawox.uquest.questclasses.QuestLoader.getymlRewardsFromHashMap(QuestL
    oader.java:306)
            at hawox.uquest.questclasses.QuestLoader.getYamlQuestFromHashMap(QuestLo
    ader.java:291)
            at hawox.uquest.questclasses.QuestLoader.loadAllQuests(QuestLoader.java:
    125)
            at hawox.uquest.UQuest.theQuestsLoadAllIntoArray(UQuest.java:360)
            at hawox.uquest.UQuest.onEnable(UQuest.java:160)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:676)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:249)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  29. Offline

    the_antigamer

    I just went through and fixed Jeyge's points, and also some other copy/paste errors. I think there was one or two earlier than 76 where the Rewards: Item: spacing is off, you could check that.
     
  30. Offline

    Hawox

    @murdrums Guys really. There are 53 quests you can look at. Compare your gather quests to one of mine one line at a time and see whats wrong. Your missing half of the required text to make the quest. I know the wiki is outdated but the info is there. I am desperately in need of someone fixing the wiki and helping me update everything. I can't find time for uQuest currently. I am trying to do what I can but I only have an hour or two every few days.

    If someone that knows what they are doing wants to help update the wiki that would be awesome. It's daunting and I'm struggling to find time to keep uQuest running as it is.
    Thank you.
     
  31. Offline

    the_antigamer

    That was my bad, I should have ground-up made quests rather than copy-pasting while tired. One mistake snowballed as I copied old quests for formatting to make new ones. Hopefully it will work now. Don't get too stressed, you're doing a swell job right now. What do you need updating on the wiki? How can someone help?

    There is one quest question that has no example though: How do multi-item rewards work?
     

Share This Page