Pets

Do you want a pet? This plugin is for you!

Total Downloads: 12,249 - First Release: Mar 22, 2015 - Last Update: Jun 11, 2018

4.63636/5, 44 likes
  1. Wulf

    Wulf Community Admin

  2. Code:
    [Oxide] 10:07 PM [Error] Pets plugin failed to compile!
    [Oxide] 10:07 PM [Error] Pets.cs(173,89): error CS1061: Type `BaseNPC' does not contain a definition for `modelPrefab' and no extension method `modelPrefab' of type `BaseNPC' could be found. Are you missing an assembly reference?
     
  3. yes you need the build plugin Build for Rust Experimental | Oxide
    haha just kidding, just ignore this...my laptop sucks..
     
  4. Error after todays update
    Code:
    2:51 PM [Error] Unable to load Pets. System.TypeInitializationException: An exception was thrown by the type initializer for Oxide.Plugins.Pets ---> System.NullReferenceException: Object reference not set to an instance of an object
      at Oxide.Plugins.Pets..cctor () [0x00000] in <filename unknown>:0
      --- End of inner exception stack trace ---
      at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    2:51 PM [Info] No previous version to rollback plugin: Pets
     
  5. Try the attached file.
     

    Attached Files:

    • Pets.cs
      File size:
      26.4 KB
      Views:
      35
  6. Code:
    Error] Unable to load Pets. System.TypeInitializationException: An exception was thrown by the type initializer for Oxide.Plugins.Pets ---> System.NullReferenceException: Object reference not set to an instance of an object
      at Oxide.Plugins.Pets..cctor () [0x00000] in <filename unknown>:0
      --- End of inner exception stack trace ---
      at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder,
    System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    no better with this one ...
     
    Last edited by a moderator: Aug 28, 2015
  7. Did you try the file attached to the post above yours? (The changes in that one worked for me)
     
  8. used your file mughisi
    Code:
    [Oxide] 8:33 PM [Info] Pets was compiled successfully in 463ms
    [Oxide] 8:33 PM [Error] Unable to load Pets. System.TypeInitializationException: An exception was thrown by the type initializer for Oxide.Plugins.Pets ---> System.NullReferenceException: Object reference not set to an instance of an object
      at Oxide.Plugins.Pets..cctor () [0x00000] in <filename unknown>:0
      --- End of inner exception stack trace ---
      at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 8:33 PM [Info] No previous version to rollback plugin: Pets
     
    Last edited by a moderator: Aug 28, 2015
  9. Getting the same error with the latest attachment.
     
  10. hi im late yes ! of course i do i'm not write that if i not test your new file :)
     
  11. Same with the latest attachement version :/
     
  12. pets dont work! fixing soon?
     
  13. I will check when i'll have time to, i'm in the configuration of a new server for the moment ^^
     
  14. ok :/ ty
     
  15. Try this version:
     

    Attached Files:

    • Pets.cs
      File size:
      26.3 KB
      Views:
      24
  16. it says
    NullReferenceException: Object reference not set to an instance of an object
    when other owner tries to tame a pet.
    [DOUBLEPOST=1440795669][/DOUBLEPOST]he can activate pet mode but when he goes to claim a pet, say a wolf, it gives the error above.
    it worked fine for him a few days ago.
     
  17. Works perfectly for me, thanks.
     
  18. It let ur players tame a pet?
     
  19. Yeap works with Hunt perfectly ! Thank's !