Quests

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

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

5/5, 53 likes
  1. Did you remove both old quest data files?
     
  2. Code:
    (19:22:04) | [Oxide] 19:22 [Error] Failed to call hook 'OnEntityDeath' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    (19:22:04) | [Oxide] 19:22 [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
     
  3. Any chance of chain quests and do you have a repo for this script would like to help with some of the development.
     
  4. i did yes and it seems to be no working......... any more just after update. ( thanks for quick respond. )
     
  5. Also rather than creating a modified version of LustyMap, you could just call
    1. player.Command("LustyMap close");
    2. player.Command("LustyMap open");
    as the plugin already supports those commands.
    You can see those commands @ lines
    1. Original LustyMap.cs
      • 1692
      • 1703
    2. Your LustyMap.cs
      • 1717
      • 1728
     
    Last edited by a moderator: Jun 12, 2016
  6. problem is i cant remove plugin now ....
     
    Last edited by a moderator: Jun 12, 2016
  7. I only get spammed with this, not sure if it's a problem or not:

    (12:15:20) | [Oxide] 12:15 [Info] [Quests] lootendcont

    (12:15:22) | [Oxide] 12:15 [Info] [Quests] lootent

    (12:15:25) | [Oxide] 12:15 [Info] [Quests] lootendcont

    (12:15:26) | [Oxide] 12:15 [Info] [Quests] lootent
     
  8. Looks like debug info. Most likely nothing wrong, unless you are experiencing issues with receiving your loot.
     
  9. Code:
    (22:57:58) | [Oxide] 22:57 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,ItemDefinition].TryGetValue (System.String key, .ItemDefinition& value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.FindItemDefinition (System.String shortname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.GiveReward (.BasePlayer player, System.Collections.Generic.List`1 rewards) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.cmdClaimReward (.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
    (22:57:59) | [Oxide] 22:57 [Error] Failed to call hook 'cmdClaimReward' on plugin 'Quests v2.0.1' (ArgumentNullException: Argument cannot be null.
    Parameter name: key)
    (22:57:59) | [Oxide] 22:57 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,ItemDefinition].TryGetValue (System.String key, .ItemDefinition& value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.FindItemDefinition (System.String shortname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.GiveReward (.BasePlayer player, System.Collections.Generic.List`1 rewards) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.cmdClaimReward (.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
    (22:57:59) | [Oxide] 22:57 [Error] Failed to call hook 'cmdClaimReward' on plugin 'Quests v2.0.1' (ArgumentNullException: Argument cannot be null.
    Parameter name: key)
    (22:57:59) | [Oxide] 22:57 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,ItemDefinition].TryGetValue (System.String key, .ItemDefinition& value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.FindItemDefinition (System.String shortname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.GiveReward (.BasePlayer player, System.Collections.Generic.List`1 rewards) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.cmdClaimReward (.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
    (22:57:59) | [Oxide] 22:57 [Error] Failed to call hook 'cmdClaimReward' on plugin 'Quests v2.0.1' (ArgumentNullException: Argument cannot be null.
    Parameter name: key)
    (22:57:59) | [Oxide] 22:57 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,ItemDefinition].TryGetValue (System.String key, .ItemDefinition& value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.FindItemDefinition (System.String shortname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.GiveReward (.BasePlayer player, System.Collections.Generic.List`1 rewards) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.cmdClaimReward (.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
    (22:57:59) | [Oxide] 22:57 [Error] Failed to call hook 'cmdClaimReward' on plugin 'Quests v2.0.1' (ArgumentNullException: Argument cannot be null.
    Parameter name: key)
    (22:57:59) | [Oxide] 22:57 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,ItemDefinition].TryGetValue (System.String key, .ItemDefinition& value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.FindItemDefinition (System.String shortname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.GiveReward (.BasePlayer player, System.Collections.Generic.List`1 rewards) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.cmdClaimReward (.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
    Getting this error and people cannot claim rewards from completed quests (this error is happening when ever they click on claim reward button
     
  10. getting the same error after a first install of plugin

    [Oxide] 15:16 [Error] Failed to call hook 'OnEntityDeath' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 15:16 [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
     
  11. Installed latest update but no quests show (existing quests) unless I go in edit quest where I can see them. Tried editing them with no luck. Rolled back the plugin for now.
     
  12. The update post said.

     
  13. Plugins working great. Still have some players reporting that the 'next' button on quest menu isn't working for them. Works for me personally so i'm not sure.

    Couple errors pop up after completed quests.

    [Error] Failed to call hook 'OnEntityDeath' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 13:19 [Debug] at Oxide.Plugins.Quests.isPlaying (.BasePlayer player) [0x00000] in <filename unknown>:0
    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
    [Oxide] 13:20 [Info] [BetterLoot] BetterLoot: Refreshed 3 containers (0 destroyed)
     
  14. What I mesure with the next button, almost 99% of Players (default group or if oyu want authlvl 0 people) haves problem with next button, but whenever authlvl1 or authlvl2 (moderator or Admin/server owner)tryes to hit next button, it works. Was also confused when people cryed out loud cause of this :/
     
  15. Oxide] 08:19 [Error] Failed to call hook 'cmdConfirmCancel' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 08:19 [Debug] at Oxide.Plugins.Quests.GetQuest (System.String name) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Quests.PlayerStats (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Quests.cmdConfirmCancel (.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
    [Oxide] 08:20 [Error] Failed to call hook 'cmdChangeElement' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 08:20 [Debug] at Oxide.Plugins.Quests.GetQuest (System.String name) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Quests.PlayerStats (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Quests.cmdChangeElement (.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
    [TMI]krayn[20442740/76561198105983431] fired invalid projectile: Line of sight (riflebullet_explosive on loot-barrel-2)
     
  16. Did you find a fix for it by chance?
     
  17. I didn't use it because it still leaves the button in the corner of the screen. I asked the author to add some hooks, I posted a modified version as a temporary solution until he gets a chance to do so

    You should keep track of updates, the version your using is from 2 updates ago

    Post your data file. Did you modify it manually at all?

    As for the page button, I accidentally made it admin only :p. Ill post a update shortly
     
  18. k1lly0u updated Quests with a new update entry:

    2.0.11

     
  19. please make a separate configuration file of language translation
     
  20. Thanks for the button fix k1lly0u. I'm not sure if kills are registering. Tried out some animal kill quests and they don't count towards your total.