TOGs File Cleaner
Description
This plugin allows users to create as many setups as desired for managing servers files. When each setup is run, the plugin searches in the path set and determines if each file within the path matches the criteria set by the user in the .txt file. The .txt file can contain as few or as many setups as desired. For matching files, the specified action is then taken (either delete, move, or copy...there are plans for more in the future). Download Package Github Repository (Source Code) See Github repository for plugin details and instructions. |
Re: File Cleaner (v2.0)
-reserved-
|
Re: File Cleaner (v2.0)
Perhaps an optional key that specifies the starting location of the desired string. For example, the logs start with a capitol L, right?
Code:
"SM Main Logs" To clarify, if the string that StrContains was looking for is found at the VERY beginning of the bigger string, then the function will return 0. If it begins at the second character, it will return 1. Third character will return 2. Etc. |
Re: File Cleaner (v2.0)
Quote:
|
Re: TOGs File Cleaner (v3.0)
Plugin updated to version 3.0.
Now supports searching within root directory. |
Re: TOGs File Cleaner
Updated upon request to version 4.2. See changelog for changes.
|
Re: TOGs File Cleaner
I have an SM error log.
I used the smx attached on your first post. Code:
L 12/17/2015 - 15:42:11: [SM] Displaying call stack trace for plugin "togfilecleaner.smx": |
Re: TOGs File Cleaner
Quote:
Code:
if(DirExists(sRootFilePath) || StrEqual(sRootFilePath, "", false)) |
Re: TOGs File Cleaner
1 Attachment(s)
I use the default one. I just disable what i dont need.
Code:
L 12/17/2015 - 15:42:11: [SM] Native "DirExists" reported: Invalid path. An empty path string is not valid, use "." to refer to the current working directory. https://forums.alliedmods.net/showthread.php?p=2330328 Attachment 150577 |
Re: TOGs File Cleaner
Quote:
EDIT: Have you tried putting a . in for filepath? Perhaps that is a simple fix on the config side that users can do...my worry is that i add the "." when it is detected blank and that that might cause it not to work properly for other games. I dont have much of a way to test from the computer I'm at right now, though I may just end up coding in csgo detection and doing it in that case for the root setups. |
All times are GMT -4. The time now is 12:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.