IRRE_Golgoth21 Posted August 1, 2015 Posted August 1, 2015 We have a dserver for our team but we would like a dev server running at the same time. Is this possible and how do i have to configure that ? Thanks in advance. G21
Jupp Posted August 1, 2015 Posted August 1, 2015 (edited) ~S~ Golgoth, From what I roughly understand, you'd have to make a copy of the Dserver.exe to another location on your computer (to C: for example). Then you'd have to select (forward) new ports on your router for that Dserver which, I'm sure is feasible, however, BoS has three of them. The standard ports for BoS (as you must know) are UDP 28000, TCP 28000, and the "Mission Downloading" one, which is 28100. In practice, it's recommended to go "a step of 10" from the stock ones, so that would mean using UDP 28010, TCP 28010, and 28110 respectively (in theory). The thing is, unless this is a case of "it Must be on the same computer", I highly doubt that any computer could acceptably manage Multiple Dservers under load. Especially considering the new "Multiplayer Server Overload" message that the Devs introduced in v1.101, which, is not able to be "turned off" at this time. I honestly believe that such a set up would be way more trouble than it's worth to manage, and, even if possible, it's just not practical given MP performance of BoS. I'm sure someone will come along with more info about this or claim it works on an overclocked i7 9999k w/ T1 connection, but most of us struggle to manage just one. Just some things to consider, hope it helps. Good Hunting! !S -Jupp- Edited August 1, 2015 by Jupp 1
-NW-FourSpeed Posted August 3, 2015 Posted August 3, 2015 As Jupp mentions, basically, you need to run two instances of DServer.exe with each one loading a different .sds file and a different startup.cfg (because they each need a different game account, and different ports). How you structure that on your physical server is up to you (there are a couple ways to go about it). For us at New Wings, we simply made two separate game installations -- C:\BoS\Server1 and C:\BoS\Server2 and installed the game in both places. That makes it really easy to keep the two completely separate, and manageable. Regarding actually running servers on the same machine -- that is very simply dependant upon the robustness of your server machine, and how much network bandwidth you have available. We rent our physical server, and we run 3 RoF servers, 2 BoS servers, and our Teamspeak server on the same machine. When all that stuff is running on our box, we're at roughly 25-35% CPU utilization and 35-55% memory utilization, and the performance is quite good. Our bandwidth usage is about 500GB-900GB / month which is about 30-50% of our capacity. Obviously, that setup is quite a bit more robust than the avg PC hooked up to a typical home user's ISP, so depending on what your server specs and bandwidth actually are, you'll need to scale expectations accordingly. Regards, 4 <salute> 1
WWSitttingDuck Posted May 7, 2018 Posted May 7, 2018 (edited) Damn, have done everything mentioned, and still won't work Copied my game from c: to d: edited the startup cfg on d:/ to have different ports, and forwarded the ports. sds on c:/ uses different login credentials from the sds on d:/ But when I start the second dserver and load a mission, everyone in the first dserver shows up in the second dserver too, and vica versa Edited May 7, 2018 by WWSitttingDuck
DeadMeat0383 Posted May 18, 2018 Posted May 18, 2018 Did you edit your dserver sds file as well as the startup.cfg?
WWSitttingDuck Posted February 9, 2020 Posted February 9, 2020 ok,,,only took me 2 years to pick this up again... Got problem one resolved. turned out i did not have different ports. Now I have a different problem. There are a couple other posts about this, but with no solution. I can put up a mission on server two, and can join, but to actually get into a plane I have to: pick the airfield and plane, hit start. I hear the plane drop, and after a while "start" appears. I hit start, but nothing happens, all I end up is another start button. (if I hit a second time I am going to end up with a "already spawned" error) I have to hit escape, and reply Cancel to leaver server. Now I am back on the map, but the start button has become a spectate button. If I hit spectate, I am in my plane, and can fly. any solutions to this?
WWSitttingDuck Posted February 11, 2020 Posted February 11, 2020 unreal.....portforward has to be a range, not a single address....
Cynic_Al Posted February 11, 2020 Posted February 11, 2020 On 8/1/2015 at 10:33 AM, -IRRE-golgoth21 said: We have a dserver for our team but we would like a dev server running at the same time. Is this possible and how do i have to configure that ? I think we should start again here. I'm not sure if the following has always been the case in IL2, however currently the .sds file provides override parameters, meaning there's no need for multiple installations nor multiple .cfg files. Example extract shown below; I am not the author of the comments: // Those settings override options specified in startup.cfg, this allow you to run several DServers on one game copy under different accounts ServerIP="742.067.1.403" // overrides client_ip - network address to bind server DownloadLimit=100000 // overrides server_download_traflimit - sets server income bandwidth UploadLimit=100000 // overrides server_upload_traflimit - sets server outcome bandwidth DownloaderPort=28100 // overrides downloader_port - sets port used to download mission's data files TCPPort=28000 // overrides tcp_port - sets TCP port used by server UDPPort=28000 // overrides udp_port - sets UDP port used by server 2 hours ago, WWSitttingDuck said: unreal.....portforward has to be a range, not a single address.. That's a very ambiguous statement. If you forward the default ports you would specify two "ranges" : 28000-28000 and 28100-28100 If you're setting-up two servers, the easiest forwarding solution may be: 28000-28001 and 28100-28101
WWSitttingDuck Posted February 11, 2020 Posted February 11, 2020 yeah, i was pretty hot when I wrote that...after spending 4 days banging my head. I suppose it could be a problem specific with my router...but that does not seem logical. sds called for 25000 in tcp/udp and 25100 in tcp. port forward was any > 25000 in tcp any > 25000 in udp any > 25100 in tcp Mission would load, could join game, but would get "already spawned" error when i tried to pick my plane. fix was to change port forward rules to this any > 24900 - 25010 tcp any > 24900 - 25010 udp any > 25100 tcp
Cynic_Al Posted February 12, 2020 Posted February 12, 2020 18 hours ago, WWSitttingDuck said: fix was to change port forward rules to this any > 24900 - 25010 tcp any > 24900 - 25010 udp any > 25100 tcp The default ports are 28000 and 28100, so it's likely your original problem was simply a typo. Forwarding an unrelated range of ports is neither neccessary nor advisable.
WWSitttingDuck Posted February 12, 2020 Posted February 12, 2020 not a typo. I seldom use the default ports for anything I run........ server 1 runs off 25000/25000 25100 server 2 runs off 35000/35000 35100
WWSitttingDuck Posted February 12, 2020 Posted February 12, 2020 On 2/10/2020 at 11:07 PM, Cynic_Al said: // Those settings override options specified in startup.cfg, this allow you to run several DServers on one game copy under different accounts might add that does not imply "at the same time" Unless I have done something wrong, I have yet to get 2 dservers up on the same installation with different sds files at the same time.
-NW-FourSpeed Posted March 24, 2020 Posted March 24, 2020 (edited) Hi Guys. I recently got a PM from some folks that are trying to run 2 servers on the same machine, asking for more detail and clarification, so I reviewed our set-up and I'll detail it here. Some "changes" were made for security purposes, but the concept should, hopefully, be clear. First, we rent a VM from a hosting company with adequate storage and bandwidth to run all our stuff (as mentioned in my earlier post). YMMV if you're doing this on a marginal PC. OK... that disclaimer out of the way, we have two separate, full installations of BoS on our C : drive. Obviously, each has its own Dserver.exe, startup.cfg and .sds files (which we give a different name so they can't get clobbered by an update (call em Bos-1.sds and Bos-2.sds for sake of discussion). I'll cover the basic parts in the key files below: C :\BOS-1 C:\BOS-2 ======== ======== \data\startup.cfg: These are basic config files. As a poster mentioned above -- the .sds files will *over-ride* info in here (specifically ID / PW / Port Settings), SO, we just leave these vanilla in both cases. If an update overwrites them, nbd (unless they add something new that is also critical). login = "" password = "" tcp_port=28000 (iirc - these first two need to be the same port number) udp_port=28000 downloader_port=28100 SDS files: These are the ones that actually control your server set-up, so they must differ for each server instance you're going to run. \data\Bos-1.sds \data\Bos-2.sds -------------------------- -------------------------- login="email-1" login="email-2" (You need a unique email address for each server account) password="pw-1" password="pw-2" (NOTE: These are NOT the same pw you'd use to actually login/read email - they're just for your server...) tcp_port=28010 tcp_port=28050 (These must be a different Set of ports for each server) udp_port=28010 udp_port=28050 ... again, same as the respective tcp_port downloader_port=28110 downloader_port=28150 RconStart=1 If you plan to use Rcon to adminster your server in real time this must be set to 1 in each server instance RconIP=Your IP Host Number (New Wings, for instance is 70.42.74.44). This should also be the same in each server instance (assuming same machine is hosting) RconPort=8910 RconPort=8950 (These must differ for each server instance) RconLogin="email-1" RconLogin="email-2" (These credentials should match the above ones for each server) RconPassword="pw-1" RconPassword="pw-2" That covers the basic setups for each server. Obviously, the .sds files also contain other info about your server and missions, and obviously those will differ, and the missions should be put in the appropriate server's folders (hence the two separate installations). We did not, and do not do *any* port forwarding stuff at all. The only reason you would need to do that is if your hosting PC is on a local network (with multiple machines on a subnet tied to the same router ie. your gaming Play PC and your gaming Host PC). If so, you would need to forward the ports mentioned above to the Host PC using router settings. Quick Example: www/ISP (Say your address is 65.48.34.112 for example) | ------ Router ----- | | Play PC Host PC 192.168.0.14 192.168.0.20 In this case, your router would need to forward ports: TCP: 28010, 28110, 28050, 28150, 8910, 8950 and UDP: 28010, 28050 to your Host PC (192.168.0.20 in this case). Finally, if you're using Rcon (in the \bin\console area), you need to create an _rconClient.cfg file (it can be named differently) for each server you want to administer on YOUR PC (192.168.0.14 in the above example). In those files (one for each server, say Rcon-1.cfg and Rcon-2.cfg) you'd have the following info: Rcon-1.cfg Rcon-2.cfg ----------------- ----------------- server="65.48.34.112" server="65.48.34.112" (the external host ip) port="8910" port="8950" user="email-1" email="email-2" password="pw-1" password="pw-2" When you start Rcon on your Play PC, you'd simply load the cfg file of the server you wish to administer and you're off to the races. OK. That's a crapton of detail information, so take it slowly. Once you wrap your head around it, it isn't too complicated, but it IS picky - everything has to be correct and match up perfectly for things to work properly. In any case, I hope that helps. Regards, 4 ~S!~ Edited March 24, 2020 by -NW-FourSpeed 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now