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 27th November, 2004, 09:53 PM
LittleHorn's Avatar
LittleHorn LittleHorn is offline
Holy Shit!!
 
Join Date: May 2004
Posts: 500
Default two servers on one machine

i would like to host two dedicated servers on a single machine. one server is to be used for LAN games, the other for internet games. Is it as simple as just setting the server to different ports? (ie one runs on 7777 with the webadmin on 7778 and the second server runs on 8888 with the webadmin on 8889) - or is there a trick to it?
Reply With Quote
  #2  
Unread 27th November, 2004, 10:02 PM
LittleHorn's Avatar
LittleHorn LittleHorn is offline
Holy Shit!!
 
Join Date: May 2004
Posts: 500
Default

hmm - i just tryed this exact step out. if i open location on my UT from this machine to the other (connected on LAN) 192.168.1.53 (which is the internal ip of the machine running the servers) it will send me by default to the server set on 192.168.1.53:7777. if i then open location 192.168.1.53:8888 it will not connect.

is there something im doing wrong? do i perhaps need the UT dedicated server rather than run a dedicated server from within UT itself?... or maybe two installs of UT on the machine.

any ideas
Reply With Quote
  #3  
Unread 28th November, 2004, 09:00 AM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

Windows example using two .bat files:

TDM.bat:

Quote:
:top
D:\UnrealTournament\System\ucc server DM-Deck16][.unr?game=Botpack.TeamGamePlus?mutator=AntiLamer.A ntiLamer,BDBMapVote304.BDBMapVote,ZPPure7E.ZP_Snip erArena port=7777 ini=unrealTDM.ini log=serverTDM.log
goto top
DM.bat:

Quote:
:top
D:\UnrealTournament\System\ucc server DM-Deck16][.unr?game=Botpack.DeathMatchPlus?mutator=BotPack.N oPowerups,BDBMapVote304.BDBMapVote,ZPPure7E.ZP_Sni perArena port=7788 ini=unrealDM.ini log=serverDM.log
goto top
Reply With Quote
  #4  
Unread 28th November, 2004, 11:02 AM
LittleHorn's Avatar
LittleHorn LittleHorn is offline
Holy Shit!!
 
Join Date: May 2004
Posts: 500
Default

can you explain to me how to do that !

also how would that work when using mapvote for gametypes
Reply With Quote
  #5  
Unread 28th November, 2004, 12:44 PM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

Just put that stuff (change it to suit your needs) in two text files named something.bat and somethingelse.bat. Start the servers by clicking those files, run them from the scheduler or what ever.

You also need two ini files, one for each server. The bat files point to the right ini. Use different ports for webadmin too. Mapvote will work like normal, but Im not sure about those that use a separate ini, like x3dfx, if you need to have different map vote settings for each server you might have a problem.

Last edited by PizzaMan : 28th November, 2004 at 12:48 PM.
Reply With Quote
  #6  
Unread 28th November, 2004, 01:25 PM
LittleHorn's Avatar
LittleHorn LittleHorn is offline
Holy Shit!!
 
Join Date: May 2004
Posts: 500
Default

ok its worked, but your right about the mapvote.

does anyone know how i can have different configurations of mapvote for servers run on the same pc? perhaps i can use all versions of mapvote and load a different one per server
Reply With Quote
  #7  
Unread 28th November, 2004, 01:56 PM
LittleHorn's Avatar
LittleHorn LittleHorn is offline
Holy Shit!!
 
Join Date: May 2004
Posts: 500
Default

also is there any way to make it so that if the computer crashes - or the server does, it will reset itself?
Reply With Quote
  #8  
Unread 28th November, 2004, 04:07 PM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

Those two bat files will also restart the UT server if it crashes. Use the Windows scheduler to run it at system startup, that way it will restart if the computer crashes/restarts.

You can use this bat and the Windows scheduler to restart the server every night or so:

Quote:
tskill ucc
tskill ucc
tskill ucc
this will kill 3 servers, and then the first bat files will bring them back up.

I dont think there is a way to change the ini name for x3dfx mapvote. Maybe there is a way to have one of the mapvote ini's outside the system folder? I think Fearless has done something similar.

If you dont have to vote for mutators and stuff then just use BDBmapvote304, all the settings for that one is in the server.ini.

Last edited by PizzaMan : 28th November, 2004 at 04:11 PM.
Reply With Quote
  #9  
Unread 28th November, 2004, 04:49 PM
LittleHorn's Avatar
LittleHorn LittleHorn is offline
Holy Shit!!
 
Join Date: May 2004
Posts: 500
Default

aha 304 it is then ty
Reply With Quote
  #10  
Unread 28th November, 2004, 04:53 PM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

np
Reply With Quote
  #11  
Unread 29th November, 2004, 12:15 AM
LittleHorn's Avatar
LittleHorn LittleHorn is offline
Holy Shit!!
 
Join Date: May 2004
Posts: 500
Default

i have servers on ports 7000 7005 7050 7055 7060 but i cannot connect to the webadmin on 7001 7006 7051 7056 7061 although i have set that as the ListenPort= in the ini. is there something im missing? how can i set to advertise the server using the ini and configure the webadmin
Reply With Quote
  #12  
Unread 29th November, 2004, 06:30 AM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

You cannot use server port + 1 for the web admin. Server port + 1 is allways the query port.
Reply With Quote
  #13  
Unread 29th November, 2004, 08:31 AM
LittleHorn's Avatar
LittleHorn LittleHorn is offline
Holy Shit!!
 
Join Date: May 2004
Posts: 500
Default

that makes more sense, i must have been tired. ty again .

i ended up copying the system folder so i can use x3dfx mapvote more than once. one system folder for the clanserver, one for team games, one for ffa and 1v1s etc
Reply With Quote
  #14  
Unread 29th November, 2004, 09:23 AM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

So you have something like this then?

unrealtournament\system1
unrealtournament\system2
unrealtournament\system3
Reply With Quote
  #15  
Unread 29th November, 2004, 04:55 PM
LittleHorn's Avatar
LittleHorn LittleHorn is offline
Holy Shit!!
 
Join Date: May 2004
Posts: 500
Default

unrealtournament/system
unrealtournament/systemFFA
unrealtournament/systemTG

also, the webadmin still isnt working - i opened the ini files and changed it to two ports after the game server ie port 7000 is the server 7001 is the query port and 7002 is the ListenPort= part of the ini files (is this not for the webadmin)... what am i doing wrong

how can i set to advertise the server using the ini and configure the webadmin to work
Reply With Quote
  #16  
Unread 29th November, 2004, 05:02 PM
LittleHorn's Avatar
LittleHorn LittleHorn is offline
Holy Shit!!
 
Join Date: May 2004
Posts: 500
Default

aha got it
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 06:37 AM.


 

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