Donations
|
If you wish to make a donation you can by clicking the image below.
|
|
|
|
22nd September, 2005, 12:05 AM
|
|
Holy Shit!!
|
|
Join Date: Apr 2004
Location: Houston, TX
Posts: 1,566
|
|
The Ultimate Bat File
Hey Guys!
Dingus, a member of the SDA Clan, is a professional programmer, and has made this very awesome bat file, and gave me permission to share it.
This Bat File will save every single Bat File into a Directory of YOUR Choosing. So, you can now save all your Server Logs!
This also acts as a Crash Log, and an Automatic Server Restart in the Event of a Crash.
First of all, this is Ours Currently.
Code:
:top
d:
cd\UTServers\UnrealTournament\System
ucc server CTF-2Pyramids][?Mutator=MapVoteLA12.BDBMapVote multihome=67.19.181.52 ini=SERVER.INI log=ucc.log
for /f "tokens=1,2" %%u in ('date /t') do set d=%%v
for /f "tokens=1" %%u in ('time /t') do set t=%%u
if "%t:~1,1%"==":" set t=0%t%
set timestr=%d:~6,4%%d:~3,2%%d:~0,2%%t:~0,2%%t:~3,2%
copy ucc.log C:\ServerCrashLogs\main\ucccrash%timestr%.log
copy ucc.log ucccrash.log
goto top
Now there are some Variables you need to change. Most of which is Obvious, but I will stay it for the sake of everyone.
d: <== Drive in Which the Server is on.
cd\UTServers\UnrealTournament\System <== Folder Directory of the Server
ucc server CTF-2Pyramids][?Mutator=MapVoteLA12.BDBMapVote multihome=67.19.181.52 ini=SERVER.INI log=ucc.log <== Server Command Line
for /f "tokens=1,2" %%u in ('date /t') do set d=%%v
for /f "tokens=1" %%u in ('time /t') do set t=%%u
if "%t:~1,1%"==":" set t=0%t%
set timestr=%d:~6,4%%d:~3,2%%d:~0,2%%t:~0,2%%t:~3,2%
copy ucc.log C:\ServerCrashLogs\main\ucccrash%timestr%.log <== Directory in which you want the Logs to Go.
copy ucc.log ucccrash.log
goto top
Be sure to post any comments or Suggestions!
Enjoy!
Dingus and Baiter
www.clansda.com
|
22nd September, 2005, 02:37 AM
|
Holy Shit!!
|
|
Join Date: Mar 2004
Posts: 740
|
|
Quote:
Originally Posted by Baiter
Hey Guys!
Dingus, a member of the SDA Clan, is a professional programmer, and has made this very awesome bat file, and gave me permission to share it.
This Bat File will save every single Bat File into a Directory of YOUR Choosing. So, you can now save all your Server Logs!
This also acts as a Crash Log, and an Automatic Server Restart in the Event of a Crash.
First of all, this is Ours Currently.
Code:
:top
d:
cd\UTServers\UnrealTournament\System
ucc server CTF-2Pyramids][?Mutator=MapVoteLA12.BDBMapVote multihome=67.19.181.52 ini=SERVER.INI log=ucc.log
for /f "tokens=1,2" %%u in ('date /t') do set d=%%v
for /f "tokens=1" %%u in ('time /t') do set t=%%u
if "%t:~1,1%"==":" set t=0%t%
set timestr=%d:~6,4%%d:~3,2%%d:~0,2%%t:~0,2%%t:~3,2%
copy ucc.log C:\ServerCrashLogs\main\ucccrash%timestr%.log
copy ucc.log ucccrash.log
goto top
Now there are some Variables you need to change. Most of which is Obvious, but I will stay it for the sake of everyone.
d: <== Drive in Which the Server is on.
cd\UTServers\UnrealTournament\System <== Folder Directory of the Server
ucc server CTF-2Pyramids][?Mutator=MapVoteLA12.BDBMapVote multihome=67.19.181.52 ini=SERVER.INI log=ucc.log <== Server Command Line
for /f "tokens=1,2" %%u in ('date /t') do set d=%%v
for /f "tokens=1" %%u in ('time /t') do set t=%%u
if "%t:~1,1%"==":" set t=0%t%
set timestr=%d:~6,4%%d:~3,2%%d:~0,2%%t:~0,2%%t:~3,2%
copy ucc.log C:\ServerCrashLogs\main\ucccrash%timestr%.log <== Directory in which you want the Logs to Go.
copy ucc.log ucccrash.log
goto top
Be sure to post any comments or Suggestions!
Enjoy!
Dingus and Baiter
www.clansda.com
|
I use something similer when using firedeamon.
Only differance is I seperated out the set time strings to make it easier to customize.
http://www.unrealadmin.org/forums/sh...83&postcount=4
|
22nd September, 2005, 08:43 PM
|
Banned
|
|
Join Date: Sep 2005
Posts: 7
|
|
Cool thanks for the tip SSquirell
|
22nd September, 2005, 08:58 PM
|
|
Holy Shit!!
|
|
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
|
|
Tell me, how did you get the amazing idea of using a blank forum name? And why is that even possible?
|
22nd September, 2005, 10:24 PM
|
Holy Shit!!
|
|
Join Date: Mar 2004
Posts: 740
|
|
Quote:
Originally Posted by PizzaMan
Tell me, how did you get the amazing idea of using a blank forum name? And why is that even possible?
|
He's using a unicode reverse text code.
It's an old trick but some still think it's funny. Using the same code you can make all of your typing appear backwards.
* this is an example, pretty lame but some people think it's fun to popst in forums this way.
|
22nd September, 2005, 11:08 PM
|
|
Holy Shit!!
|
|
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
|
|
Lame indeed.
|
9th February, 2006, 11:02 PM
|
|
Godlike
|
|
Join Date: May 2005
Location: UK NorthWest
Posts: 252
|
|
On Windows XP Pro
This is a super .bat file Thanks Dingus and Baiter
Just incase anyone else has the same problem as me ill post my experience.
I use WindowsXP Pro on my server so I dont know if thats why I struggled but, I was getting syntax error and the date wasnt working time was ok.
After a lot of guessing and trial and error I had to change the line
from
Code:
for /f "tokens=1,2" %%u in ('date /t') do set d=%%v
to
Code:
for /f "tokens=1,2" %%u in ('date /t') do set d=%%u
I just changed "v" to "u" and the error log works fine for me now.
|
11th February, 2006, 07:06 AM
|
Forum Newcomer
|
|
Join Date: Feb 2006
Posts: 2
|
|
It took a professional programmer to make a bat file? sad.. nethertheless, cool bat
|
13th February, 2006, 06:57 PM
|
|
Godlike
|
|
Join Date: May 2005
Location: UK NorthWest
Posts: 252
|
|
Just a bit of info ive found for me it will log from turning the server on to whenever it does go off/crash instead of restarting at each map change.
So after a couple of days my log was 200mb.
|
14th February, 2006, 01:18 AM
|
|
Holy Shit!!
|
|
Join Date: Apr 2004
Location: Houston, TX
Posts: 1,566
|
|
Quote:
Originally Posted by Adrian[ADIES]
Just a bit of info ive found for me it will log from turning the server on to whenever it does go off/crash instead of restarting at each map change.
So after a couple of days my log was 200mb.
|
Your log will continue to grow until your server crashes or you reset it.
And to my advice to suppress logs like this:
Suppress=DevLoad
Suppress=DevSave
Suppress=DevNetTraffic
Suppress=DevGarbage
Suppress=DevKill
Suppress=DevReplace
Suppress=DevSound
Suppress=DevCompile
Suppress=DevBind
Suppress=DevBsp
Suppress=DevNet
Suppress=ScriptWarning
Suppress=NetComeGo
And if you use AKA, use the No log Version.
And if you use Eavy Spawn Protection, use the No log Version.
And I have a VERY FULL 30 man server, and it only logs about 7-10 MB a day.
|
26th February, 2007, 06:05 PM
|
Holy Shit!!
|
|
Join Date: May 2004
Posts: 1,004
|
|
Okay, there's an aka no log version? Where?!!!?
and pardon my eeg-nurnce, but is there anything like this bat file for linux servers? We need to be saving crash logs, but our provider has nothing to do that with from what I hear.
|
26th February, 2007, 06:41 PM
|
|
Holy Shit!!
|
|
Join Date: Apr 2004
Location: Houston, TX
Posts: 1,566
|
|
Quote:
Originally Posted by BLTicklemonster
Okay, there's an aka no log version? Where?!!!?
and pardon my eeg-nurnce, but is there anything like this bat file for linux servers? We need to be saving crash logs, but our provider has nothing to do that with from what I hear.
|
-={SDA}=-Dingus made this, so thank him....I didnt do it
The 6K version:
http://www.ut-files.com/Admin/AKA/AKAv6KLog.zip
The 20K Version:
http://www.ut-files.com/Admin/AKA/AKAv20K.zip
As far as a Linux Version without having access to the actual PC, I dont know, but maybe someone else here does.
|
26th February, 2007, 09:43 PM
|
Holy Shit!!
|
|
Join Date: May 2004
Posts: 1,004
|
|
Thanks B! Since I installe eavyspawn no log, suddenly aka has begun logging, lmao. I wonder what will begin logging next?
|
26th February, 2007, 10:53 PM
|
Holy Shit!!
|
|
Join Date: May 2004
Posts: 1,004
|
|
Oo it has the exact same name as what we use at present. Just overwrite it, I suppose, seeing as how there's no client downloads, huh?
|
27th February, 2007, 01:59 AM
|
|
Holy Shit!!
|
|
Join Date: Apr 2004
Location: Houston, TX
Posts: 1,566
|
|
Quote:
Originally Posted by BLTicklemonster
Oo it has the exact same name as what we use at present. Just overwrite it, I suppose, seeing as how there's no client downloads, huh?
|
yep. Just as long as you dont have it in your server packages (which you shouldnt)
|
27th February, 2007, 05:23 AM
|
Holy Shit!!
|
|
Join Date: May 2004
Posts: 1,004
|
|
We're still logging aka stuff. Sure that's the right one?
|
27th February, 2007, 07:53 AM
|
|
Holy Shit!!
|
|
Join Date: Apr 2004
Location: Houston, TX
Posts: 1,566
|
|
Quote:
Originally Posted by BLTicklemonster
We're still logging aka stuff. Sure that's the right one?
|
Make sure these settings match:
[AKAv6L.AKAv6L]
NameCheckDelaySeconds=300
bAutoAddIPToNameEntries=True
bChangeNames=False
KeepNameHistory=3
bListCommand=True
bChangeCommand=False
bLog=False
|
27th February, 2007, 12:16 PM
|
Holy Shit!!
|
|
Join Date: May 2004
Posts: 1,004
|
|
Jeez, there was a readme file in there wasn't there?
Sorry.
|
28th February, 2007, 06:24 AM
|
Rampage
|
|
Join Date: May 2006
Posts: 59
|
|
Actually, I think I can get our provider to look at it, since it would be a function of the startup script.
If not, I'll dig out my trusty-rusty coders' guide for *NIX and see what I can pull from me bum.
I'll keep you posted.
|
26th September, 2010, 06:03 AM
|
|
Holy Shit!!
|
|
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
|
|
bump this one back up , was looking for this for a while now.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|