1. Dezito submitted a new resource:

    Airdrop Arrow - Draws an arrow on airdrops

    Read more about this resource...
     
  2. Wulf

    Wulf Community Admin

    I've gone ahead and conditionally approved the plugin, but I would recommend using the changes provided below. There is a lot of unnecessary code in your original submission, such as the timer destroying, the unused variables, wrong resource ID variable and ID, etc.
     
  3. could you show a screenshot of it? it sounds very interesting :)
     
  4. Code:
    Oxide] 2:25 AM [Error] Failed to run a 1.00 timer in airdrop_arrow
    File: airdrop_arrow.lua Line: 37 attempt to perform arithmetic on field 'ArrowLength' (a nil value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
      at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:
    whats this mean ? D:
     
  5. Wulf

    Wulf Community Admin

    What does your config file look like?
     
  6. Code:
    {
      "AirdropArrow": {
        "ArrowEnabled": true,
        "ArrowLength": 15,
        "ArrowSize": 4,
        "ArrowTime": 60
      },
      "PluginSettings": {
        "Title": "Airdrop Arrow",
        "Version": "1.0.0"
      }
    }

    EDIT: delete and reload plugin?
     
  7. Wulf

    Wulf Community Admin

    Yup, though it should update it automatically.
     
  8. x2! Can someone take a picture of the efect that the plugin as? :D
     
  9. so no screenshot? what a shame, it sounded interesting tho
     
  10. Heres a picture of it
     

    Attached Files:

  11. Thanks or should i say "Tak" ;)
    diddent knew you where danish or norwegian :p
     
  12. Hehe Danish
     
  13. samme her ;)
     
  14. can u add permissions like only vip can view the arrow
     
  15. Arrow not working, error in code below!
    Code:
    [Oxide] 10:46 PM [Error] Failed to run a 1.00 timer in 'airdrop_arrow v1.0.1'
    File: airdrop_arrow.lua Line: 37 attempt to perform arithmetic on field 'ArrowLength' (a nil value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
      at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0 
     
    Last edited by a moderator: Oct 3, 2015
  16. Did you edit line 37 in the script
    StartPos.y = SupplyDrop.transform.position.y + 5 + self.Config.ArrowLength
     
    Last edited by a moderator: Oct 3, 2015
  17. yes mate :)
    [DOUBLEPOST=1441807081][/DOUBLEPOST]didnt work :(
     
  18. Wulf

    Wulf Community Admin

    I'd recommend making sure your plugins are updated. It sounds like you have one plugin that is messing up the config for others.
     
  19. Don't edit the script delete the script, config and anything in the data folder to do with this script then upload a fresh unedited script