Give

Moved

Total Downloads: 21,436 - First Release: Oct 21, 2014 - Last Update: Mar 9, 2017

5/5, 35 likes
  1. when i try to load the plugin:
    Code:
    [Oxide] 10:39 AM [Debug] ExType: NullReferenceException
    [Oxide] 10:39 AM [Error] Failed to call hook 'OnServerInitialized' on plugin 'Give' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 10:39 AM [Debug]   at Oxide.Plugins.Give.OnServerInitialized () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
    i did not restart the server but I've deleted the plugin before loading this one.
     
    Last edited by a moderator: Mar 9, 2015
  2. You might want to give restarting a try, I had the same issue you are describing before changing the plugin earlier today and even when I made changes this error kept popping up, until I restarted my server... I was hoping though unloading & loading would be enough but it might not be by the looks of it. If it still throws the error after a restart let me know and I'll try and find the issue.
     
  3. works fine for me
    although I did not put the latest update Oxide
    1. delete old plugin
    2. upload new
    3. PROFIT :)
    server is not restarted
     
  4. this plugin no compile with last version of Oxide :S
    regards
     
  5. Wulf

    Wulf Community Admin

    Please post your logs and Oxide version from the "version" command.
     
  6. Wulf

    Wulf Community Admin

  7. I'm sure I had the latest version, I really confused :( sorry.
    It works perfectly.
     
  8. Wulf

    Wulf Community Admin

    No problem. :)
     
  9. i have an Error in /Release/server/my_server_identity/Log.Error.txt

    Code:
    [3/10/2015 6:13:56 AM] [Oxide] 6:13 AM [Error] Failed to call hook 'OnServerInitialized' on plugin 'Give' (NullReferenceException: Object reference not set to an instance of an object)
    and in Log.Log.txt
    Code:
    [3/10/2015 6:13:56 AM] [Oxide] 6:13 AM [Debug]   at Oxide.Plugins.Give.OnServerInitialized () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
     
  10. Hm... My Give plugin works fine, BUT it doesn't works with kits plugin... Why - I don't know... Any fix for that? The error was only 1, while plugin loaded:

    Code:
    [Oxide] 1:41 PM [Info] Loaded plugin Give v2.1.0 by Reneb
    [Oxide] 1:41 PM [Debug] ExType: NullReferenceException
    [Oxide] 1:41 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'Give' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 1:41 PM [Debug]   at Oxide.Plugins.Give.OnServerInitialized () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 1:41 PM [Info] You must have the Kits plugin to use this command
     
  11. The Version Number of give is wrong in history 2.0.6 in Log 2.0.0 !
     
  12. Code:
    6:02 AM [Info] Loaded plugin Give v2.0.0 by Reneb
    6:03 AM [Debug] ExType: NullReferenceException
    6:03 AM [Error] Failed to call hook 'OnServerInitialized' on plugin 'Give' (NullReferenceException: Object reference not set to an instance of an object)
    6:03 AM [Debug]   at Oxide.Plugins.Give.OnServerInitialized () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1426041242][/DOUBLEPOST]Oxide Version 2.0.424
    [DOUBLEPOST=1426076746,1426039408][/DOUBLEPOST]the old version "give.lua" working 100%
    tested on Oxide Version 2.0.424
     

    Attached Files:

  13. Here is a fix from Mug ;)
     

    Attached Files:

    • Give.cs
      File size:
      19.8 KB
      Views:
      20
    Last edited by a moderator: Apr 12, 2015
  14. Mughisi updated Give with a new update entry:

    Minor change/fix

     
  15. Looks like this one is a victim of the current patch update 03/26/2015, can anyone confirm its not just me.
     
  16. I've used the command inv.give succesfully. Are you getting any errors? Also make sure you're using Oxide version 588 as there was a bug in 586 that wouldn't load most C# plugins.
     
  17. Hi.
    I was introduced plugin give ,build , and location

    B is no problem

    However , using the give and build plugins

    "You are not allowed to use this command " error will occur.

    I have used a rusty.
    I can call also airdrop without problems
    [DOUBLEPOST=1427956220][/DOUBLEPOST]sorry
    In the "B is no problem" without "location plugin is no problem"
     
    Last edited by a moderator: Apr 12, 2015
  18. Couldnt quite understand much of that but i think i have a similar issue, it just tells me i dont have permission
     
    Last edited by a moderator: Apr 12, 2015
  19. Need to add the Granade :((