AutoPurge

Moved

Total Downloads: 5,820 - First Release: Dec 27, 2015 - Last Update: Sep 18, 2017

5/5, 34 likes
  1. Code:
    [Oxide] 20:10 [Debug]   at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.AutoPurge+PlayerInfo].get_Item (UInt64 key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoPurge.OnClanCreate (System.String tag) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoPurge.OnClanUpdate (System.String tag) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoPurge.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  2. after today update rust:
    Code:
    [Oxide] 23:07 [Error] Failed to call hook 'OnClanUpdate' on plugin 'AutoPurge v1.3.0' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 23:07 [Debug]   at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.AutoPurge+PlayerInfo].get_Item (UInt64 key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoPurge.OnClanCreate (System.String tag) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoPurge.OnClanUpdate (System.String tag) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoPurge.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  3. Fujikura updated Auto Purge with a new update entry:

    1.3.1

     
  4. the plugin is with the following error after update of the day 04/08


    [Oxide] 22:12 [Error] Failed to call hook 'ccmdRunPurge' on plugin 'AutoPurge v1.3.1' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    [Oxide] 22:12 [Debug] at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
    at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
    at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.AutoPurge.MainTimer (Boolean freshStart) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.AutoPurge.ccmdRunPurge (.Arg arg) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.AutoPurge.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  5. This comes from an update 3 or 4 before this ;)
    Simply delete the language file in the lang-folder and reload the plugin...fixed :p
     
  6. ignore me old version
     
  7. We have players whos base gets Purged even though they're not on the purgelist. The whole house falls a part during the clean up but nothing in logs about that specific user.

    Player(s). I have had couple reports here and there but it's only been one that have reported it to fall a part two wipes in a row.

    They have made sure they're in a clan and only people that built the base has been in the same clan.

    What I find weird is that it's not shown in the AutoPurge log file.
     
    Last edited by a moderator: Aug 8, 2016
  8. When its not in the logfile or the serverlog itself, then it was'nt AutoPurge...
     
  9. Last edited by a moderator: Aug 10, 2016
  10. Plz...what?
    If you would like to have a new feature, you would need to describe it more by what you want to reach by/with that function, permision, etc.
    Regards, Fuji
     
  11. group Premium players permision no decay at home
    [Premium]Player

    oxide.grant group Premium autopurge(no decay)
     
  12. And again it was no complete sentence, only kewords and phrases ;)
    So atm, i can't check your request, because i can't identify whats your approach.
     
  13. Salut ! Je viens poster une traduction Française pour le plugin AutoPurge !
    Hi ! I come for post a french translate for the plugin AutoPurge !
     

    Attached Files:

  14. the owner of the house in the premium group disable rotting(no auto purge) houses
    oxide.grant group Premium no autopurge
     
  15. This sounds better now ;)
    The plugin has "actually" no building checks. This means, it checks only each blocks or deployables.
    Such a function could only work, when i had time to improve the plugin functions to check complete buildings.
     
  16. EDIT .. I see now my oxide is one version behind... will update and try it again..

    Can anyone confirm this is currently working? I just installed it for the FIRST time today and ran a test mode purge, set to 7 days inactive (my server wiped on Aug 4th) and it found ZERO entities to purge.. so I set it to ONE day inactive, set clans and friends to false, then ran a test again, still found ZERO entities to purge..?!

    Oxide version 2.0.2268 for Rust 974.96 (1488)
    AutoPurge version 1.3.1
    No errors, just "0 items" purged..

    My test config file, which reports 0 entities purged ("[08/15/2016 08:59:57] Nothing to remove... up to date.)"
    Code:
    {
      "Exclution": {
      "excludeGroupModerator": true,
      "excludeGroupOwner": true,
      "excludePermission": "autopurge.exclude"
      },
      "Generic": {
      "killSleepers": false,
      "logPurgeToFile": true,
      "purgeOnStart": true,
      "removeRecordAfterDays": 30,
      "removeRecordAfterPurge": true,
      "testMode": true,
      "useClansIO": false,
      "useFriendsApi": false
      },
      "Messaging": {
      "showMessages": false,
      "showMessagesAdminOnly": false
      },
      "Timing": {
      "inactiveAfter": 86400,
      "timerEnabled": false,
      "timerJob": 21600
      }
    }
    
     
    Last edited by a moderator: Aug 15, 2016
  17. Yeah I have the same issue...

    (12:39:59) | [Oxide] 13:41 [Info] [AutoPurge] Included entity count on this run: 221743
    (12:39:59) | [Oxide] 13:41 [Info] [AutoPurge] Nothing to remove... up to date.


    and we have 300k entities...
    [DOUBLEPOST=1471369661][/DOUBLEPOST]
    Your "testMode": true - that might have something to do with your not purging, but mine is "testMode": false and still nothing. :(
     
  18. Poiting on your count of "221743"the plugin seems to work right. It does count only those which are owned by a player.
    If there NO removal, then your players are maybe networked to strong to each other, so that clan-memberships are active friends are preventing the remove. Thats the only thing which can cause this.
     
  19. So should I turn those off?

    "useClansIO": true,
    "useFriendsApi": true

    Thanks,
    TheDoc
    [DOUBLEPOST=1471384769][/DOUBLEPOST]
    Turned off Clans:

    (16:58:08) | [Oxide] 17:59 [Info] [AutoPurge] Purge will be executed every: 6 hours, players become inactive after: 3 days.
    (16:58:08) | [Oxide] 17:59 [Info] [AutoPurge] Plugin 'Friends' found - Friends support activated

    (16:58:15) | [RCON][73.75.222.79:58918] autopurge.run
    (16:58:15) | [Oxide] 18:00 [Info] [AutoPurge] Included entity count on this run: 222247
    (16:58:16) | [Oxide] 18:00 [Info] [AutoPurge] Nothing to remove... up to date.


    Still nothing
     
  20. Then you've got maybe a really active playerbase :p
    Good for you, but bad for servers-performance ;)