AutoPurge

Moved

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

5/5, 34 likes
  1. Error while compiling AutoPurge.cs(324,19): error CS1729: The type `ConsoleSystem.Arg' does not contain a constructor that takes `1' arguments

    with the new update from tonight
     
  2. Fujikura updated Auto Purge with a new update entry:

    1.5.2

     
  3. still getting
    Error while compiling AutoPurge.cs(324,19): error CS1729: The type `ConsoleSystem.Arg' does not contain a constructor that takes `1' arguments

    EDIT*

    Works now.. no clue why...
     
    Last edited by a moderator: Feb 10, 2017
  4. So I have a problem ran the command for auto purge and of course removed loads of buildings of inactive players but it also removed 1 that wasnt supposed to. Am I doing something wrong? Ive set the time to 7.5 and it works fine just there's always this one person who isnt supposed to get purged.
     
  5. I am confused... I run this mod in test mode and get the following results:

    Unloaded plugin AutoPurge v1.5.2 by Fujikura/Norn
    Loaded plugin AutoPurge v1.5.2 by Fujikura/Norn
    [AutoPurge] Purge will be executed every: 6 hours (0D | 6H | 0M | 0S)
    [AutoPurge] Players become inactive after: 0 days (0D | 1H | 0M | 0S)
    [AutoPurge] Plugin 'Clans' found - Clan support activated
    [AutoPurge] Running in TestMode. Nothing will be purged
    [AutoPurge] Included entity count on this run: 58255
    [AutoPurge] Nothing to remove... up to date.

    I have a lot of ppl that have joined and built then left and not been back in 3-4 days YES this mod is saying there is nothing to purge??

    Also one other interesting fact / question is why this entity count is in the 58k range when my server starts I get this:
    (12:39:13) | Spawning 76610 entities


    Any help is appreciated
    [DOUBLEPOST=1486936024][/DOUBLEPOST]OK for some ungodly reason the autopurge is working but NOT purging all inactive players...

    Here is what I got when I ran with the far below attached config:
    Unloaded plugin AutoPurge v1.5.2 by Fujikura/Norn
    Loaded plugin AutoPurge v1.5.2 by Fujikura/Norn
    [AutoPurge] Purge will be executed every: 6 hours (0D | 6H | 0M | 0S)
    [AutoPurge] Players become inactive after: 0 days (0D | 0H | 1M | 0S)
    [AutoPurge] Plugin 'Clans' found - Clan support activated
    [AutoPurge] Running in TestMode. Nothing will be purged
    [AutoPurge] Included entity count on this run: 58243
    [AutoPurge] TestMode >> Removed: 18235 entities from: 2 inactive players
    [AutoPurge] TestMode >> Affected IDs: disguised(<leftout>) disguised2(<leftout>)

    IT JUST DOES NOT SEEM LIKE IT IS WORKING RIGHT.... I have many other inactive players then these two.....

    Help I really need a way to reduce my entity count as I am running out of memory!!!!
     

    Attached Files:

  6. Code:
    {
      "Exclution": {
      "excludeGroupModerator": true,
      "excludeGroupOwner": true,
      "excludePermission": "autopurge.exclude"
      },
      "Generic": {
      "killSleepers": true,
      "logPurgeToFile": true,
      "purgeOnStart": true,
      "removeRecordAfterDays": 30,
      "removeRecordAfterPurge": true,
      "testMode": false,
      "useClansIO": false,
      "useFriendsApi": false
      },
      "Messaging": {
      "showMessages": true,
      "showMessagesAdminOnly": true
      },
      "RealTimer": {
      "enable RealTimer": false,
      "log to console": true,
      "RealTime": [
      "06:00",
      "18:00"
      ]
      },
      "Timing": {
      "inactiveAfter": 115200,
      "timerEnabled": true,
      "timerJob": 21600
      }
    }
    ----------------------------------------------------------
    [02/10/2017 19:07:29] Nothing to remove... up to date.
    [02/11/2017 01:07:29] Nothing to remove... up to date.
    [02/11/2017 07:07:29] Nothing to remove... up to date.
    [02/11/2017 14:15:31] Nothing to remove... up to date.
    [02/11/2017 20:15:31] Nothing to remove... up to date.
    [02/12/2017 02:15:31] Nothing to remove... up to date.
    [02/12/2017 14:15:30] Nothing to remove... up to date.
    [02/12/2017 20:15:31] Nothing to remove... up to date.
    [02/12/2017 21:14:41] Nothing to remove... up to date.
    [02/13/2017 03:14:29] Nothing to remove... up to date.
    [02/13/2017 08:04:27] Nothing to remove... up to date.
    [02/13/2017 08:15:31] Nothing to remove... up to date.
    [02/13/2017 14:15:31] Nothing to remove... up to date.
    [02/13/2017 20:15:31] Nothing to remove... up to date.
    ------------------------------------------------------------
    it's no cool author..
     
    Last edited by a moderator: Feb 13, 2017
  7. ?? Ehm, Sorry? Any problem?
     
  8. Not sure if this has been asked yet but, How does this get data? Does oxide save player data and the last time they connected the whole time or does the plugin do this?
     
  9. > autopurge.run
    [AutoPurge] Included entity count on this run: 115563
    [AutoPurge] Nothing to remove... up to date.

    not work
     
  10. The plugin checks each player on login, logoff and when purge runs. This way all players get updated and their times are saved into data-file.
     
  11. Code:
    > oxide.load AutoPurge
    Unable to find main plugin class: AutoPurge
    No previous version to rollback plugin: AutoPurge
     
  12. Check your oxide version or update it again, maybe you miss some files
     
  13. Wulf

    Wulf Community Admin

    That can happen if the plugin was uploaded to your server using certain methods. Check which transfer method you have your FTP client set to.
     
  14. I restarted my server and it works. thank you for your work.

    If I type the command "autopurge.run", It will delete the entities of the duration recorded (2 days)?
     
  15. correct
     
  16. What am I doing wrong?
    [AutoPurge] Running RealTimer purge (04:58)
    Failed to call hook 'OnTick' on plugin 'AutoPurge v1.5.2' (NullReferenceException: Object reference not set to an instance of an object)
     
  17. You're not doing anything wrong, plugin needs updating. :)
     
  18. Fujikura updated Auto Purge with a new update entry:

    1.5.3

     
  19. I can not figure out how to change it)
    Nothing to remove... up to date.
    Nothing to remove... up to date.
     
  20. Also not that?


    How this it work/act when running the job:
    1. It catches all admins if whitelisted
    2. It catches all moderators if whitelisted
    3. It catches all online players
    4. It collects all entities which have a given ownerid
    5. Then it checks against the steamid's if they are in one of those lists and will exclude those entities
    6. Then it checks, if a player is offline above the given timelimit
    7. It will check then if this entity's owner is a clanmember and will exclude those entities if any other clanmember is/was active below the given timelimit and will exclude those entities if this is true
    8. And last if will then remove the entity from the map when all checks are done