Quests

Creates quests for players to go on to earn rewards, complete with a GUI menu

Total Downloads: 9,367 - First Release: May 31, 2015 - Last Update: Jun 11, 2018

5/5, 53 likes
  1. Code:
    (16:14:01) | [Oxide] 16:13 [Error] Failed to call hook 'OnEntityDeath' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    (16:14:01) | [Oxide] 16:13 [Debug]   at Oxide.Plugins.Quests.OnEntityDeath (.BaseCombatEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  2. this plugin is spamming my console. is this normal?? screenshot
     
  3. Extremely well put together. Very smooth and simplistic design and code. Big fan, keep up the great work.

    P.S. - People love this quest system in my server:)
     
  4. I will have to do further testing unless you can tell me what died when it happened
    Update
    Thank you and I'm glad people like it
     
  5. Strange thing with the colors:
    c3cf3-clip-755kb.jpg
     
  6. Most likely you have changed the color in the config incorrectly. Post your config
     
  7. It's clean install.
    Here some source code from the last version:
    Code:
    QUI.CreateButton(ref questEntry, panelName, buttonColor, buttonText, 18, $"0.75 0.83", $"0.97 0.97", buttonCommand);            QUI.CreateLabel(ref questEntry, panelName, "", $"{entry.QuestName}", 25, $"0.1 0.8", "0.7 0.95", TextAnchor.MiddleLeft);
                QUI.CreateLabel(ref questEntry, panelName, buttonColor, $"{configData.MSG_MainColor}Status:</color> {status}", 14, $"0.1 0.65", "0.7 0.75", TextAnchor.MiddleLeft);
                QUI.CreateLabel(ref questEntry, panelName, "", $"{configData.MSG_MainColor}Description: </color>{configData.MSG_Color}{entry.Description}</color>", 14, "0.1 0.53", "0.9 0.63", TextAnchor.MiddleLeft);
                QUI.CreateLabel(ref questEntry, panelName, "", $"{configData.MSG_MainColor}Objective: </color>{configData.MSG_Color}{entry.ObjectiveName}</color>", 14, "0.1 0.41", "0.9 0.51", TextAnchor.MiddleLeft);
                QUI.CreateLabel(ref questEntry, panelName, "", $"{configData.MSG_MainColor}Amount: </color>{configData.MSG_Color}{entry.AmountRequired}</color>", 14, "0.1 0.29", "0.9 0.39", TextAnchor.MiddleLeft);
                QUI.CreateLabel(ref questEntry, panelName, "", $"{configData.MSG_MainColor}Reward: </color>{configData.MSG_Color}{entry.Reward.Amount}x {entry.Reward.DisplayName}</color>", 14, "0.1 0.17", "0.9 0.27", TextAnchor.MiddleLeft);
     
  8. And maybe add lang file?
     
  9. It looks to me like the color strings are empty in your config. I'm not having the issue and no one else has mentioned it.
    Like I said in the patch notes, I will get to it eventually. It takes time and there is alot of strings I need to add
     
  10. It's works without economics & server reward ?
     
  11. Edit quest: Item doesn't work at all. Nothing happend when you type 'quest item'.
    [DOUBLEPOST=1465643545][/DOUBLEPOST]
    Code:
    [Oxide] 14:11 [Error] Failed to call hook 'cmdDeleteQuest' on plugin 'Quests v2.0.1' (InvalidOperationException: out of sync)
    [Oxide] 14:11 [Debug]   at System.Collections.Generic.Dictionary`2+Enumerator[System.String,Oxide.Plugins.Quests+PlayerQuestInfo].VerifyState () [0x00000] in <filename unknown>:0
      at System.Collections.Generic.Dictionary`2+Enumerator[System.String,Oxide.Plugins.Quests+PlayerQuestInfo].MoveNext () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.RemoveQuest (System.String questName) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.cmdDeleteQuest (.Arg arg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  12. Is there a way to disable quests taking an item from the player inventory? Like the crafting one is taking it as they craft.
    [DOUBLEPOST=1465645200][/DOUBLEPOST]Ok after a bit more testing It seems can make a quest using low grade to craft 100 and it didnt take the lowgrade, but making a quest to craft 5 milion seems to be taking the lowgrade? I dont want quests to take items from players. Is there a way to turn that off?
     
  13. I've got quest: craft 100 lowgrade, but it taking an item from the player inventory
     
  14. @k1lly0u Youre the best dude! Btw building today La grande Case de la K1lly0u house (remember hobo :D ) Again thanx man!

    Btw suggestion: Can you add quest type kill admin? :D I want to make like HC quest to fgind and kill Admin ;) Would be good if you could add this option/quest type - just to look for Authlevels 2. It would make again much more fun ;)
     
  15. Is it possible to have more then 1 reward? I want to have the reward and basically a refund of the gathered/crafted supplies? I tried this: (code below) and Rcon didnt come back with any errors but when I get ingame it only showed the lowgrade as the reward...

    "Dig Deeper!": {
    "QuestName": "Dig Deeper!",
    "Description": "I need more fuel, go get me some so I can continue digging!",
    "Objective": "lowgradefuel",
    "ObjectiveName": "Low Grade Fuel",
    "AmountRequired": 5000000,
    "Reward": {
    "isRP": false,
    "isCoins": false,
    "DisplayName": "Supply Signal",
    "ShortName": "supply.signal",
    "ID": -1625468793,
    "Amount": 5,
    "BP": false,
    "Skin": 0
    },
    "Reward": {
    "isRP": false,
    "isCoins": false,
    "DisplayName": "Low Grade Fuel",
    "ShortName": "lowgradefuel",
    "ID": 28178745,
    "Amount": 5000000,
    "BP": false,
    "Skin": 0
    }
    }


    So when I came back and looked in the config file I only showed: (code below) effectively erasing the 1st reward.


    "Dig Deeper!": {
    "QuestName": "Dig Deeper!",
    "Description": "I need more fuel, go get me some so I can continue digging!",
    "Objective": "lowgradefuel",
    "ObjectiveName": "Low Grade Fuel",
    "AmountRequired": 5000000,
    "Reward": {
    "isRP": false,
    "isCoins": false,
    "DisplayName": "Low Grade Fuel",
    "ShortName": "lowgradefuel",
    "ID": 28178745,
    "Amount": 5000000,
    "BP": false,
    "Skin": 0
    }
    }
     
  16. Can this be implemented with clans? Would be great to set quests against certain clans and boost PVP
     
  17. [Oxide] 09:32 [Error] Failed to call hook 'OnEntityDeath' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 09:32 [Debug] at Oxide.Plugins.Quests.OnEntityDeath (.BaseCombatEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Quests.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in
     
  18. Quest type Loot as pickup resource?

    UPD: I understood :)
     
    Last edited by a moderator: Jun 11, 2016
  19. I had the same issue with the colour code thing.
    Need to delete your old config file.

    Absolutely loving this new plug man! Thank you. :)
     
    Last edited by a moderator: Jun 11, 2016