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. Im getting this problem:
    [Oxide] 18:54 [Error] Failed to call hook 'OnEntityDeath' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 18:54 [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
    Semmy[15015451/76561200701393043] died (Fall)


    I think it happent when some1 dies inside the event

    awesome work
     
  2. if I create a mission where the player has to kill X players, if they get into a Gungame event, will account?
     
  3. I can't answer that BUT try using kill streaks for that particular reward.
    It doesn't count arena kills, as far as I know.
     
  4. Code:
    [06/11/2016 00:39:24] [Oxide] 00:39 [Error] Failed to call hook 'OnDispenserGather' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    [06/11/2016 00:39:36] [Oxide] 00:39 [Error] Failed to call hook 'OnLootEntityEnd' on plugin 'Quests v2.0.1' (InvalidCastException: Cannot cast from source type to destination type.)
    [06/11/2016 00:39:45] [Oxide] 00:39 [Error] Failed to call hook 'cmdChangeElement' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    fix??
     
  5. Code:
    (20:41:55) | [Oxide] 20:41 [Error] Failed to call hook 'OnLootEntityEnd' on plugin 'Quests v2.0.1' (InvalidCastException: Cannot cast from source type to destination type.)(20:41:55) | [Oxide] 20:41 [Debug] at Oxide.Plugins.Quests.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    And When I was deleting quest i got this in console:
    Code:
    (21:12:37) | [Oxide] 21:12 [Error] Failed to call hook 'cmdDeleteQuest' on plugin 'Quests v2.0.1' (InvalidOperationException: out of sync)
    (21:12:37) | [Oxide] 21:12 [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
    Also when you edit Quest name Quest is doubled (one with old name, one with new name)
     
    Last edited by a moderator: Jun 11, 2016
  6. Getting this duplicate thing.
    I know it defeats the purpose of the lovely new GUI but, in the mean time, unload the plug, manually edit data file, then load.
     
  7. suggestion @k1lly0u Can you add daily quests? like in WoW you would have different daily quests to completet them (would be good to respect server time) and you could like make 7 quest daily and choose that 1 quest at time as a dayli, this way you could have 7 quest for whole week happening each day one :) Would be great to have option to choose how many quests can be dayli, or event lightweight, gather,crafting,kill ect will have option to have one dayli quest. I would love this to see and players also so there is idfference each day to do something ;) also for higher rewards ;)
    [DOUBLEPOST=1465675929][/DOUBLEPOST]Also players cannot change pages when hitting next button, currently on Gather tab :(
     
  8. First installation and same problem like everyone els :
    Code:
    (23:48:12) | [Oxide] 22:48 [Error] Failed to call hook 'OnLootEntityEnd' on plugin 'Quests v2.0.1' (InvalidCastException: Cannot cast from source type to destination type.)
    (23:48:12) | [Oxide] 22:48 [Debug]   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
     
  9. Too bad, some NRE errors here, too.
    But else pretty nice.
    Anyone else have the problem that the description isn't shown completely ?
    (Maybe it's a problem UTF problem because I use some special German letters... ? )
     
  10. Code:
    (19:58:45) | [Oxide] 20:04 [Error] Failed to call hook 'OnEntityDeath' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    (19:58:45) | [Oxide] 20:04 [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. WTF??
    Code:
    (09:21:10) | [Oxide] 09:21 [Error] Failed to call hook 'cmdChangeElement' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    (09:21:10) | [Oxide] 09:21 [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
    Code:
    (09:26:44) | [Oxide] 09:26 [Error] Failed to call hook 'OnDispenserGather' on plugin 'Quests v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    (09:26:44) | [Oxide] 09:26 [Debug]   at Oxide.Plugins.Quests.GetQuest (System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.ProcessProgress (.BasePlayer player, QuestType questType, System.String type, Int32 amount) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Quests.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [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      "test": {
            "QuestName": "test",
            "Description": "TEST",
            "Objective": "wood",
            "ObjectiveName": "Wood",
            "AmountRequired": 10000,
            "Reward": {
              "isRP": true,
              "isCoins": false,
              "DisplayName": "RP",
              "ShortName": null,
              "ID": 0,
              "Amount": 20,
              "BP": false,
              "Skin": 0
            }
          }
     
    Last edited by a moderator: Jun 12, 2016
  12. Hey k1lly0u,

    I've noticed that the top left mod placed buttons are overlapping the LustyMap plugin. Because of this they cannot be used unless LustyMap is minimized. Any chance the buttons can be centered more aggressively or that we can be given a chance through the configuration to modify the location and size of the buttons?
     
  13. Reports of players saying the next button isn't working for them.
     
  14. I have already added support for LustyMap locally, it will close the map when opening the menu and reopen it when closing the menu. I will post a update later today.
    Features in the update are;
    NPC Quest vendors (option to use npc's instead of a chat command)
    NPC delivery missions (if I get time to finish it)
    Multiple reward support
    LustyMap support (icons to show vendors, delivery vendors and closing/opening menus/map)
    EventManager support (forgot about that :p)
    Editing menu fixes
    New loot system (which was a total pain in the ass)
    Option to disable item deduction (although imo that defeats the purpose)
    plus other fixes and new config options
     
  15. add please return the collected items if you abandon the quest
     
  16. Too bad i can't hit the like button more then once ;)
     
  17. Hi all is there is any way i can change /q to /quest ?
     
  18. Should work ;)
     

    Attached Files:

  19. it's better
    Code:
    player.Command("bind q \"chat.say /q\"");