You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > Unreal Tournament > UT Server - Windows Specific

Reply
Thread Tools Display Modes
  #1  
Unread 15th January, 2011, 07:53 AM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Cool server loading time delay batch

well probably nothing , but here's a scenario and a fix that may be of use.

scenario , server crashes and restarts ... you have all your game server's shortcuts to batch files listed in the startup directory and as soon as the server has regained conscientiousness she starts loading up all your servers right!.

problem;

because they all start at once you may find that this causes a bottle neck in the works (highly modded servers) and well maybe none of them will actually load. Downtime = loss of clients , loss of clients = dead servers, dead servers = waste of money.


solution;

set little timers on your servers that wait for xxx period of time before loading

this is so simple you'll wonder why you never found it before. Windows servers basically start via .bat (batch) files. if you insert this line @ the top of your batch file just beneath the @echo off line then your server will be delayed (processor dependent) for any length of time that you specify.

Code:
for /l %%a in (1,1,51200) do title %%a
to adjust the timer simply modify the red numerals above

hopefully helps someone.

Cheers.

Reply With Quote
  #2  
Unread 15th January, 2011, 06:53 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

ahh yes , I did look into that one as well. Good stuff thanks.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:09 AM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.