AutoPurge

Moved

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

5/5, 34 likes
  1. Not sure what to do. Removed older AutoPurge completely, and config file, then installed the newer version - still having issues, it won't complete a purge.

    > autopurge.run
    [Oxide] 18:29 [Error] Failed to run a 15.00 timer in 'AutoPurge v1.1.0' (NullReferenceException: )
    [Oxide] 18:29 [Debug] at (wrapper managed-to-native) UnityEngine.Component:get_gameObject ()
    at Oxide.Plugins.AutoPurge.<MainTimer>m__3 (.BaseNetworkable p) [0x00000] in <filename unknown>:0
    at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[BaseNetworkable].MoveNext () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.AutoPurge.MainTimer (Boolean freshStart) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.AutoPurge.<initMainTimer>m__2 () [0x00000] in <filename unknown>:0
    at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
     
  2. Ans which problem do you have? I can only see in your config, that you've got a really short inactivityTimer under 60 seconds, this would call the job every 45 seconds and would purge anyone who got loged out nearly instant.
    [DOUBLEPOST=1467591412][/DOUBLEPOST]
    Could you try it with the 15 sec timer set to 0 instead and thell me the result?
     
  3. [Oxide] 07:47 [Error] Failed to run a 0.00 timer in 'AutoPurge v1.0.1' (NullRefe
    renceException: )
    [Oxide] 07:47 [Debug] at (wrapper managed-to-native) UnityEngine.Component:get
    _gameObject ()
    at Oxide.Plugins.AutoPurge.<MainTimer>m__3 (.BaseNetworkable p) [0x00000] in <
    filename unknown>:0
    at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[BaseNetworkable
    ].MoveNext () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.AutoPurge.MainTimer () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.AutoPurge.<initMainTimer>m__2 () [0x00000] in <filename unkno
    wn>:0
    at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <file
     
  4. He beat me to it ¯\_(ツ)_/¯
    Goin' to bed for now, good luck Fuji - we love/need/adore/can't-live-without this plugin! You help entity count drop for later wipes.
     
  5. Really strange....plz try the appended one and let me know:
     

    Attached Files:

  6. Code:
    [Oxide] 10:52 [Error] Failed to run a 0.00 timer in 'AutoPurge v1.1.0' (NullRefe
    renceException: )
    [Oxide] 10:52 [Debug]   at (wrapper managed-to-native) UnityEngine.Component:get
    _gameObject ()
      at Oxide.Plugins.AutoPurge.<MainTimer>m__3 (.BaseNetworkable p) [0x00000] in <
    filename unknown>:0
      at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[BaseNetworkable
    ].MoveNext () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoPurge.MainTimer (Boolean freshStart) [0x00000] in <filena
    me unknown>:0
      at Oxide.Plugins.AutoPurge.<initMainTimer>m__2 () [0x00000] in <filename unkno
    wn>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <file
     
  7. Did you try the appended version above?
     
  8. yes, maybe I have too many timers executed =|
    [DOUBLEPOST=1467619830][/DOUBLEPOST]
    Code:
    [SERVER v1.0.23] Console: AutoPurge.cs(24,9): warning CS0414: The private field `Oxide.Plugins.AutoPurge.mainTimer' is assigned but its value is never used
    in compiller log file
     
  9. Okay, next try...hope this one is it...
     

    Attached Files:

  10. nothing =(

    Failed to run a 0.00 timer
     
  11. please paste your oxide version by cmd 'oxide.version'. thx
    [DOUBLEPOST=1467625570][/DOUBLEPOST]
    plz post your oxide.version by cmd 'oxide.version' from console. thx
     
  12. [Oxide] 13:12 [Info] Oxide 2.0.2099 for Rust 925.64 (1381)
     
  13. So this is actually the 4th version i see...One them was able to fix it, and the 3 others not...
    Mine live-server is another version too, 2081, and on the prerelease version it does run too.

    So actually i must say, i can't provide a stable fix for all until thursday, which gives hopefully a clean state for all, and then i can look forward.
     
  14. Built friends removed
     
  15. Really good demonstration!
    All is set correct. And all is working correct. So let me explain :)

    The plugin logs your time on two events: when you log-in and when you log-out. Others are not really possible/would increase cpu-times alot.
    The system does not purge you, when you are online, as a kind of protection against something gone wrong in the settings or anything else.

    You did set the inactitivy timer to 60 seconds, your friend logged out some seconds before, so technically YOU are longer OFFLINE then him ;)
    The plugin runs then the purge, and checks on his entitys, if he has a friend who's not offline longer then the limit itself.
    It checked you, and has calculated, that you are logner offline then the limit, and no other friends were found.
    So he was marked to finally to be purged, and your entitys were protected by your online state....

    Once you set then the timer higher then your server restart times, it will ALWAYS work like expected, because of then all times will be logged correct and no one can be longer online then the inactivity timer.

    To say it again, really good demonstration, would be really nice if all people would make this so easy to answer for me :p
    Thx a lot.
     
  16. thanks for the answer)
     
  17. Fujikura updated Auto Purge with a new update entry:

    1.1.1

     
  18. Fujikura updated Auto Purge with a new update entry:

    1.1.2

     
  19. Thanks man, keep up the good work.
     
  20. Could you make a version that removes inactive clans?