NoNudity

Gives pants and forces players to wear pants. For those that don't like lower body nudity

Total Downloads: 592 - First Release: Mar 26, 2017 - Last Update: May 24, 2017

5/5, 7 likes
  1. Absolut submitted a new resource:

    NoNudity - Gives pants and forces players to wear pants. For those that don't like lower body nudity

    Read more about this resource...
     
  2. error code dose this mean anything important

    Failed to call hook 'OnItemAction' on plugin 'NoNudity v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
     
  3. It means an error is occurring. Usually just annoying spam but I'd like to eliminate it. See if you can isolate when it it's happening.
     
  4. soon as i loaded the plugin u :) i will do some pokes see if i can find what cause it
     
  5. Thanks again for this plugin Absolut. Great work! Only problem is my status as a poster here at oxide still has me as a "Naked Wanderer" haha... i'll have to work on that myself i guess. Cheers bud!
     
  6. Currently spamming this RCON error as soon as a player logs in:

    Failed to call hook 'CanMoveItem' on plugin 'NoNudity v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
     
  7. I just noticed I am getting the error too, Absolut. Plugin is still working however, when I move a pair of pants from a storage box to my inventory(not to the actual pants clothing slot, just into my inventory from any box) the server console spits that error. Hope that helps.
     
  8. Ya I'll find it, probably missing a null check
     
  9. no worries. haven't had the urge to gouge my eyes out since you released it, haha. Still works.. just the console spews red hehe :) I know you'll nail it down.
     
  10. Absolut updated NoNudity with a new update entry:

    1.0.1

     
  11. It's all good bud. I appreciate everything you've done to bring this plug to the community. The fact that it WORKS is reason enough to run it on my server and I will continue to do so. Cheers!

    EDIT: I think I found the bug you were talking about, maybe? v1.0.1 is now not letting me put anything into my hotbar slot 1. (pickaxe, weapon, anything) except pants. I will use v1.0.0 for now until you can find the time to fix bud. with v1.0.1 only 5 of the 6 hotbar slots work unless we wanna throw pants as weapons hehe. Pant fight! :)
     
    Last edited by a moderator: Mar 29, 2017
  12. found another bug... if you equip wooden armor pants, and de-equip... NUDITY :(
     
  13. Hi Absolut. I took the liberty to scour through the code and simply edited the section to include ALL shortname IDs for clothing items that would be classified as "pants". There were a couple missing. However, this snippet of code is still from v1.0.0 since v1.0.1 broke the hotbar slot 1. I can live with the red text errors that the server is spewing for now. Anyways, here is what I added to v1.0.0 since it was missing a couple. As little of a contribution as this is, I hope it helps. I'm sure I am nowhere near as capable as you to fix the NRE errors or the hotbar slot 1 issue. So all i have done is amend the section below in v1.0.0 to get THAT part of it working properly, hopefully.(about to do a test run) Thx again for this plugin and i'm sure when you find the time and care to, that you will look into it deeper! Cheers!

    private List<string> Pants = new List<string>
    {
    {"pants"},
    {"pants.shorts"},
    {"hazmat.pants"},
    {"burlap.trousers"},
    {"attire.hide.pants"},
    {"attire.hide.skirt"},
    {"roadsign.kilt"},
    {"heavy.plate.pants"},
    {"wood.armor.pants"},
    {"hazmatsuit" },
    };
     
  14. v1.0.1 still broken :(
     
  15. Sorry, email notifications arent working it seems! Let me see what I can do
     
  16. Absolut updated NoNudity with a new update entry:

    1.0.2

     
  17. Been testing it all day. No problems. Working exactly as it should. Thank you!
     
    Last edited by a moderator: Apr 21, 2017
  18. Love this plugin! Would it be possible to add support to this for the Updater plugin?
     
  19. Ya ill post a version with the correct ResourceID.
     
  20. Absolut updated NoNudity with a new update entry:

    1.0.3