Quests

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

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

5/5, 53 likes
  1. Hm so the Quest Vendor should give ppl quests?
    So they don't have to type /q ?
    Because i set him up and some delivery vendors also but it seem not to work
    Code:
    {
      "QuestVendors": {
        "141415272": {
          "x": -179.281113,
          "z": 757.4336,
          "ID": "141415272",
          "Name": "Lieferrantin Emma"
        }
      },
      "DeliveryVendors": {
        "770028394": {
          "Description": "Liefer die Waren ab",
          "Info": {
            "x": -225.1392,
            "z": 732.9711,
            "ID": "770028394",
            "Name": "Delivery_1"
          },
          "Reward": {
            "isRP": false,
            "isCoins": true,
            "DisplayName": "Rusties",
            "ShortName": null,
            "ID": 0,
            "Amount": 0.0,
            "BP": false,
            "Skin": 0
          },
          "Multiplier": 100.0
        },
        "1044889690": {
          "Description": "Liefere die Waren",
          "Info": {
            "x": -243.3391,
            "z": 764.7843,
            "ID": "1044889690",
            "Name": "Delivery_2"
          },
          "Reward": {
            "isRP": false,
            "isCoins": true,
            "DisplayName": "Rusties",
            "ShortName": null,
            "ID": 0,
            "Amount": 0.0,
            "BP": false,
            "Skin": 0
          },
          "Multiplier": 100.0
        }
      }
    }
    If I go there and press "e" it does nothing :/
     
  2. You need to enable it in the config, which will also disable the chat command (admins exempt)
     
  3. Ahhhh ok, guess I missed that in the overview.
    Thank you very much :D
     
  4. Comrade is not working well , evil. When you click on the NPC Delivery_1 error.
    {
    "QuestVendors": {
    "86087075": {
    "x": 209.978577,
    "z": 227.400421,
    "ID": "86087075",
    "Name": "QuestVendor_1"
    },
    "4774268": {
    "x": -1027.82214,
    "z": 409.6593,
    "ID": "4774268",
    "Name": "QuestVendor_2"
    }
    },
    "DeliveryVendors": {
    "1267738576": {
    "Description": "Дойди до точки",
    "Info": {
    "x": 114.493492,
    "z": -1615.45337,
    "ID": "1267738576",
    "Name": "Delivery_1"
    },
    "Reward": {
    "isRP": false,
    "isCoins": true,
    "DisplayName": "Coins",
    "ShortName": null,
    "ID": 0,
    "Amount": 0.0,
    "BP": false,
    "Skin": 0
    },
    "Multiplier": 0.2
    }
    }
    }

    {
    "Icon_Delivery": "deliveryicon",
    "Icon_Vendor": "vendoricon",
    "MSG_Color": "<color=#939393>",
    "MSG_MainColor": "<color=orange>",
    "Quest_Cooldown": 1440,
    "UseItemDeduction": true,
    "UseNPCVendors": true
    }
    18:29 [Error] Failed to call hook 'OnUseNPC' on plugin 'Quests v2.1.2' (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)
    18:29 [Debug] at System.Collections.Generic.List`1[System.String].get_Item (Int32 index) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Quests.GetRandomNPC (System.String ID) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Quests.AcceptDelivery (.BasePlayer player, System.String npcID, Int32 page) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Quests.OnUseNPC (.BasePlayer npc, .BasePlayer player) [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
    18:29 [Error] Failed to call hook 'OnUseNPC' on plugin 'Quests v2.1.2' (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)
     
  5. I didn't think about checking for that, Ill add it in the next update. The problem is you need to setup at least 2 delivery NPC's for it to work.
     
  6. I have two NPC delivery and all exactly is not working
    [DOUBLEPOST=1466509824][/DOUBLEPOST]You need two people DeliveryVendors ? Or two QuestVendors?
     
  7. Delivery, your data file you posted only has 1
     
  8. But then why do we need QuestVendors ?
     
  9. You don't need them, they are there as a option to allow you to start quests through NPC's instead of using the chat command
     
  10. Thank you!
     
  11. For Russian servers, full translation of the menu. Download this file and replace it in the folder lang. Don't forget to register in the console reload Quests ! Yes you will be happy!
     

    Attached Files:

  12. Блин только сегодня перевел ахаха) но все равно качаю! респект!
    [DOUBLEPOST=1466527654][/DOUBLEPOST]
    Bro, can I grant permission to create quests only for me?
     
  13. any way to add NPC kill quest through npc-id?
     
  14. Edit Quests:
    [Oxide] 01:39 [Error] Failed to call hook 'cmdRewardType' on plugin 'Quests v2.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 01:39 [Debug] at Oxide.Plugins.Quests.cmdRewardType (.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] 01:39 [Error] Failed to call hook 'cmdRewardType' on plugin 'Quests v2.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 01:39 [Debug] at Oxide.Plugins.Quests.cmdRewardType (.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] 01:39 [Error] Failed to call hook 'cmdRewardType' on plugin 'Quests v2.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 01:39 [Debug] at Oxide.Plugins.Quests.cmdRewardType (.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] 01:39 [Error] Failed to call hook 'cmdRewardType' on plugin 'Quests v2.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 01:39 [Debug] at Oxide.Plugins.Quests.cmdRewardType (.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
     
  15. No,but could set it to quest vendors only in config and not set any vendors
    Not atm, I'll look at custom missions at a later date
    Post your data files
     
  16. ------
     
    Last edited by a moderator: Jun 22, 2016
  17. Hi, you can change there what you want. For example, when I just laid out, laughing, that the word "collection" I have written as "picking", but it's the little things)) Respect you
     
  18. @k1lly0u if you add the possibility to kill npc it would be awesome if you could also add zonemanager ID's to specify where they have to kill them and maybe a the "use" hook so you can make it possible to just talk to an npc... I know, your plugin would get damn big and it wouldn't be easy to lead through the quest creating part but it would be nice to have this :D
    Maybe you add a "large quest" button?
    So there could be chains of things you would have to do...
    Go to zone 1 (ID 21345435), talk to npc 1 (npc id 2133254), go to the next zone 2, kill an npc 3 / mine some stone ... or whatever ;)
     
  19. All right bro) I say in post - just I finished translating and you posted a translated version:) -
    (Блин только сегодня перевел ахаха) но все равно качаю! респект!) - Rus lng)