It's possible children's questions ..
I want to run two servers, one server with bots, the second server without bots on my Windows 7 computer, my computer has 4Gb of memory ...
I cannot use default.cfg (it is in zUrT43_020.pk3)
I also cannot use autoexec.cfg, because this is one common file for two servers ...
What should I do?
I think so:
1. For the first server with bots, I create a copy of the server.cfg file, and change its name to server01.cfg, then I create a copy of the mapcycle.txt file, and change its name to mapcycle01.txt
Then I open the server01.cfg file and in the VISUAL IDENTIFIERS, SERVER LOGGING SETTINGS, OTHER SERVER SETTINGS, EXEC CONFIRMATION sections I make these changes:
// ...........................
// VISUAL IDENTIFIERS
set sv_hostname "Server01" // name of the first server
// ...........................
// SERVER LOGGING SETTINGS
set g_log "games01.log" // first server statistics in the games01.log file
// ...........................
// OTHER SERVER SETTINGS
set g_mapcycle "mapcycle01.txt" // cycle of maps of the first server in the mapcycle01.txt
bot_enable 1 // allow bots on the first server
// ..........................
// EXEC CONFIRMATION
map ut4_casa // start of the map “ut4_casa” on the first server
exec bot01.cfg // start bots on the first server
// ………………
2. For the second server without bots, I am similarly creating copies of the server02.cfg, mapcycle02.txt files.
Then I open the server02.cfg file and make these changes:
// ...........................
// VISUAL IDENTIFIERS
set sv_hostname "Server02" // name of the second server
// ...........................
// SERVER LOGGING SETTINGS
set g_log "games02.log" // second server statistics in the games02.log
// ...........................
// OTHER SERVER SETTINGS
set g_mapcycle "mapcycle02.txt" // cycle of maps of the second server in the mapcycle02.txt
// ..........................
// EXEC CONFIRMATION
map ut4_austria // start the map of the second server ut4_austria
// ………………….
…
4. Each server must first receive at least 256 Mb of backup memory and its own port (27960 or 27962). Then the server must start its own server.cfg file.
Therefore, I create the first shortcut for the dedicated Quake3-UrT-Ded.exe server, it name is “Server01” and write this commands in the properties of the shortcut (here the server receives 512Mb of memory)
+set com_hunkmegs 512 +set net_port 27960 +exec server01.cfg
5. Similarly, for the second server, I create a “Server02” shortcut and write in the shortcut properties
+set com_hunkmegs 512 +set net_port 27962 +exec server02.cfg
I tried it, it works ...
Is this correct or are there errors and the servers will be unstable?
This post has been edited by Jackkyjack: 28 March 2019 - 02:57 PM