I am fully up to date on Oxide and Rust and this STILL isn't working for me.. I am going to play around with it more tonight but if I set it to Test Mode for 1 day inactivity and it comes back with the usual "Durrr 0 items to purge" I'm gunna start killing kittens!! (just kidding)
EDIT: well.. it sorta works, but I'm not convinced it's working correctly. I can ONLY get it to recognize stuff to purge if I set it to ONE day. I have 349 sleepers on my low pop 60 slot server which is usually half full) and I am pretty dang sure there's a LOT of em that have not been on in the past 5-7 days.. let alone just 1 day, which is the only time setting I can get ANY results on...
Here it is set to 2 days, still 0 entities to purge. I can't believe my players/sleepers are THAT active.. I don't see it. I know I did not assign autopurge.exclude wildly either, so it ain't that.
I dunno...
Code:{ "Exclution": { "excludeGroupModerator": true, "excludeGroupOwner": true, "excludePermission": "autopurge.exclude" }, "Generic": { "killSleepers": false, "logPurgeToFile": true, "purgeOnStart": false, "removeRecordAfterDays": 30, "removeRecordAfterPurge": true, "testMode": true, "useClansIO": false, "useFriendsApi": false }, "Messaging": { "showMessages": false, "showMessagesAdminOnly": true }, "Timing": { "inactiveAfter": 172800, "timerEnabled": false, "timerJob": 21600 } }
AutoPurge
Moved
Total Downloads: 5,820 - First Release: Dec 27, 2015 - Last Update: Sep 18, 2017
- 5/5, 34 likes
-
thats a sort of info, which intends i need to check it, if something maybe did broke during last patches. -
Thanks Fuj.. I see there's another Oxide update that was released today, after I had already rebooted and updated my server to v2274 in the very early morning.. I WAS on the most current version, but only for a few hours apparently. Going to update again tomorrow morning, early.. and try purging again.
-
Updated oxide again this morning... still not having any luck with purge finding my inactive players, as i mentioned above. My server is at 200k ents so I'm very eager to try and get this working!
-
So, to check your current setup, please activate the "TestMode" in the config, and set the "inactiveAfter" to only 1 day = 86400,
save the config and reload AutoPurge. The TestMode will 100% NOT erase anything, but it will show what it would erase, when it would be set up like this. and set "removeRecordAfterPurge" to false for any case. This will prevent overall deletion of the entries in the data file.
Then run "autopurge.remove". The OutPut will be like this:
Code:[Oxide] 17:19 [Info] [AutoPurge] TestMode >> Removed: 75 entities from: 1 inactive players [Oxide] 17:19 [Info] [AutoPurge] TestMode >> Affected IDs: [QBC] Fujikura(76561198175465363)
-
I am guessing you meant autopurge.run, not .remove?
I set it as you described and ran it. Yes, it did find a bunch.. but once I set it to 2 days and reloaded it, then ran it, it finds nothing (and I'm willing to bet my first born this isn't right!).
Results from a 1 day setting, as you described:
[08/17/2016 08:29:20] TestMode >> Removed: 24237 entities from: 65 inactive players
[08/17/2016 08:29:20] TestMode >> Affected IDs: [sK] Se7en(76561197996963755) Troller VN(76561198235246792) Saulty(76561198005851108) a Rock(76561198145574645) [TBH] grif11ster(76561198120390549) RoBo(76561198123834741) Xosite(76561198030269623) TNS101(76561198152888604) deen wispa(76561198152411737) DopeDankster420(76561198246775028) Future(76561197965260897) ManiacFever(76561198127619696) Nalor(76561198041407861) grenadecatcher12(76561198178131819) timetoplayz(76561198239165560) illuminYeti(76561198054636045) [DISR] Professor Finesser(76561198042916687) Widmung(76561197989850910) DragonD(76561198298568404) dewker(76561198211088880) NEMO'Srevenge(76561198143849854) Latrodectus(76561198136350823) [MN] Mr.IncrediblyForcedMemes(76561198057264989) [TNG] make it so(76561198037884731) Soar(76561198141021109) DonaldTramp(76561198213264852) Syke(76561198075384140) shoe(76561198069590543) WRECKARONI(76561198303678504) [KTB] SixLBer(76561198023886474) [MT] Wonderpunch(76561198077173520) CrazyDinosaurGaming(76561198173271115) Akuma Kallifty(76561198042456811) Hi Im Friendly(76561198124937073) G:Hunter47(76561198207789279) [FOST] PappaFost(76561197971400299) Skuhoo(76561198043976491) KinglyQuinn(76561198111400006) MUFC(76561198054338507) (life w/out milk)(76561197960555143) spac3man15(76561198058146949) SenorSalty(76561198034899954) Swaggabator(76561198068908283) Coric(76561198125255729) NinjaReaper(76561198079577747) xXWorstRustPlayerXx(76561198061250530) smell(76561198044564577) [ROCOCO] Smackaroni N' Cheese(76561198077964973) [MT] seanking59(76561198104959364) tiffy.fishy(76561198070667826) › Killjoy(76561197991851782) clever girl(76561198014369652) VnM_BeastlY(76561197996109777) Typical White Boy(76561198133673950) 《N1P》TheMooseWithTheKaboose(76561198206058637) PugMafia(76561198188334642) vesseldesserted(76561198208180155) Hyper Velocity(76561198036805380) CrazyAssGaming(76561198187815142) Ian P(76561198160154450) Gnomestar(76561198070408485) Youtube/Evilbear15(76561198188274189) BabyPiggy(76561198221367748) Butter629(76561198040259153) Baby Horse(76561198124180632) -
I did thought too, output would be give more free space in most cases. But i did err me too in that case....
[DOUBLEPOST=1471451455][/DOUBLEPOST]This shows , that the basic plugin idea can't resist in its actual state. I did plan, but had not much time for, to go on over to building checks, which could maybr bring more effort on removing olf stuff...Since players got raided by time ,they almost move to new bases, and let their old ones behind...But players are still online, to this stuff is'nt removed at all by the current routine... -
Ok I mostly understand your reply. Your English is still much better than my German!
I know players move bases, yes, but I know I have 50-100 'inactive" players who have not logged in for a week or more. That's what I am most wanting to purge.
For what it's worth, I run the AntiOfflineRaid plugin which lets you do "/ao playername" to see when they last logged in.. so I know I have people who have NOT logged in for a week. Just want to purge those, mostly! -
And checked on severals accounts that the stamps are correct...So the only thing, which could be fukked up, the time saving component in addition to the timer checks, is'nt defect... -
(02:21:12) | [Oxide] 02:21 [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.)
(02:21:12) | [Oxide] 02:21 [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 -
-
So I've got this running and set to a little over 24 hours (108000) and it deletes a lot of stuff. The problem is it deletes people bases when they are on the server standing in their base very active. I dunno
-
-
Fujikura updated Auto Purge with a new update entry:
1.3.2
-
Please update purge for this plugin Clans | Oxide
-
To anyone, like me, that was a little confused when the purge didn't seem to find anything to remove when I set it to 5,7 or even 14 days, the plugin only checks from when the plugin itself was installed. I set the inactive duration to half a day on test mode (after it'd been installed a day) and it found plenty of entities to get rid of.
-
http://puu.sh/qOdTh/65ea516a90.png
When trying to add the permission to certain users?
Running the latest version of the plugin with the most recent rust / oxide builds. -
Autopurge is broke atm. Atleast for me it is. Given 15:04 [Error] Error while compiling AutoPurge.cs(435,50): error CS1501: No overload for method `All' takes `1' arguments
-
[Oxide] 21:51 [Error] AutoPurge plugin failed to compile!
[Oxide] 21:51 [Error] AutoPurge.cs(406,50): error CS1501: No overload for method `All' takes `1' arguments -
BaseNetworkable.serverEntities.All() is no longer able to be used @Fujikura, its been changed to private. Nogrod advised that only GetEnumerator is left.