1. Reneb submitted a new resource:

    R-Remover - Remover with possible refund/ admin remove/ all remove

    Read more about this resource...
     
  2. I'll just cut/paste the content of bushyprod into the Remover tool plugin and get what you have here. gg.
     
  3. Could you make it so that people are not able to make floating bases? Eg. make it check for connected structures so that they will have to remove from the top and down?
     
  4. Does not work on my server. Use other "removers" before. Try to test this one.
    Deinstalled other remove tool. Installed this. Unknown command.

    EDIT: I used "Rust Essentials" as Admin Tool. Changed to Oxmin and now the Plugin work :)
     
    Last edited by a moderator: Apr 7, 2014
  5. can ppl make floating stuff whit this tool ?
     
  6. Yes they can, i don't see how you can block this from happening when you use a remover tool.
    Probably possible, but i've tried to work on a Structure limitation (max 500 pillars for example), but had no luck. But if i had been able to do that, making none floating buildings could be possible.
    Maybe later on if i find a way :)
    @Dhextrose: i dont have the bushyprod ^^, but yes prod is very easy to make, so probably everybody would have the same ^^[DOUBLEPOST=1396885622][/DOUBLEPOST]
    Remover Tool is known for causing huge lags,
    i used to have it
    50+ players made the server unplayable
    So i had to remove it and make my own. Now i don't have anymore problems (or at least not cause of the remover tool)
     
    Last edited by a moderator: Apr 7, 2014
  7. Reneb, how can i make it so people can remove barricades and stuff.?
     
  8. dont work with doors /remove / remove admin
     
  9. next version i'll make it for doors/barricades and the rest :) tomorrow probably
    and thanks Nebby, i'll look into it :)
     
  10. You do realise don't you, that the main reason those other removal plugins lag is *because* they have features (which require more code, and more checks)? There are 2-3 made by very smart coders, and they still get lag sometimes - I know I couldn't do better, and if you're still new to this code I highly doubt you can either.

    There are about 3 popular remover plugins and about 4-6 like this one - made by people who don't realise that a (full-featured) remover plugin isn't a good choice for a 'beginner' project.

    Why not try making something new? :)
     
  11. my config file has this but players can still prod houses without admin powers

    {"refund":true,"onlyadminprod":true}
     
  12. Nynh i have to Check but i think i reversed the onlyadminprod, false is for admins only and true for players :X

    Glktch, that is true, more Check is more lag, and i made this cause simple plugins like mine didnt have all the features i wanted, and complex plugins had too much lag.
    But adding doors, barricades, etc to the plugin won't make it lag ^^ but the other checks probably would, Got to see.
    But what i think is kinda new with my plugin is that checks to see if remove is enabled is at beginning of each function, and there is à timer that always Will disable remove for everyplayers after 30secs, so less checks, less lag, éven if i make the plugin à little more complex.
    I know it's not à huge and complex coding, but it's practical ^^
     
  13. Sounds good Reneb - best of luck with your progress :) I'll give this one a try on my test server and see how it goes.
     
  14. Reneb updated R-Remover with a new update entry:

    Destroyable Objects

    [DOUBLEPOST=1396958833][/DOUBLEPOST]Gliktch, i looked at the code needed to block flying buildings / small staches under pillars / etc ...
    It was as i feared, it searchs of ALL structures in the world, gets there position one by one and compares it with current new pillar (for small staches)
    kinda same principle for the flying buildings ...)
    any way ... this for sure makes the server lag ...
    so i won't implement that in my script
    i just wanted something simple, and most features possible while staying lag free.
     
  15. Hmm, that's odd... It shouldn't need to do that - you could instead code it to get the structure master of the building the pillar's being added to (for a height restriction) or removed from (for an anti-float check), then GetConnectedComponents, and check the coords of each of those. See http://oxidemod.org/threads/structurecomponent-gameobject-master-child-list.826/#post-9138 - that should be a lot less lag than checking every component on the server :)
     
  16. yes sorry i didn't think before writing:
    For the anti stash in pillars it gets the pillar new position then searchs for ALL small stashes, boxes, etc to see if one has the same position

    and for the remove it does like you said, but still if you have a huge base, looking for all connected stuff on every remove made must make the server lag :x (imagine you use M4 to remove couple parts of a building :x)
     
  17. Tried it with both true and false and non-admins can still prod
     
  18. So require non-admins to use melee weapons for removal, and admins skip the float check. ;)

    Is the stash thing really a big problem?
     
  19. Hmm ok strange, i'll look into it and fix it asap[DOUBLEPOST=1397014182][/DOUBLEPOST]
    good idea for the melee weapon!! will solve fast fire on walls making lots of checks everytime!!

    about the stash, imagine you are building your base quickly, has to check all small stashes everytime, i think it could generate lag, but ...
    i guess i could still give it a go!

    thanks for your ideas gliktch :p[DOUBLEPOST=1397018201][/DOUBLEPOST]well as i feared it was a huge fail ...
    it made the pillar spawn after 3 seconds ... making the server lag like shit for those 3 seconds ... so imagine building couple pillars at same time XD

    So that i'm sure, not going to implement anti floating buildings and anti stash
    ... trying to fix the onlyadmin config for prod, and unless someone else has a request for it, i will be done with this plugin ^^
     
    Last edited by a moderator: Apr 9, 2014