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

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
-
this plugin is spamming my console. is this normal?? screenshot
-
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 -
-
Strange thing with the colors:
-
Most likely you have changed the color in the config incorrectly. Post your config
-
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);
-
And maybe add lang file?
-
-
It's works without economics & server reward ?
-
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
-
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? -
I've got quest: craft 100 lowgrade, but it taking an item from the player inventory
-
@k1lly0u Youre the best dude! Btw building today La grande Case de la K1lly0u house (remember hobo
) Again thanx man!
Btw suggestion: Can you add quest type kill admin?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
-
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
}
} -
Can this be implemented with clans? Would be great to set quests against certain clans and boost PVP
-
[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 -
Quest type Loot as pickup resource?
UPD: I understoodLast edited by a moderator: Jun 11, 2016 -
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