Dedicated Server on Linux MOH Spearhead
Hello all
I'm having a problem as it seems dificult to understand it! I have installed recently on a Linux Box Medal Of Honor Spearhead 2.15 Beta5 source! I can launch a server everything is fine it even shows on the gamespy etc. Now i need to launch a second server so i created a second directory under /home/servers/ named MOHAA2 Problems is the last server is being launched it shows on the ingame browser over the old one even though port is different! In details: Server1 under /home/servers/MOHAA/ is on ip 1.1.1.1 and port 12203 Server2 under /home/servers/MOHAA2/ is on ip 1.1.1.1 and port 12204 (the ip is the same) when server1 is launched it shows on the ingamebrowser but when i launch server2 then i loose server1 and i see only server2 and versus! Its like every server i launch last takes priority for some reason! I tested it Win32 and it works fine dont know why dont work on linux! P.S. I tried running servers with different users, tried some variables etc. All i need to know is if someone manage to do it so i will know it can be done if not might impossible for some reason!! Thank You |
there is a port option in the .cfg file that must be changed and you should start the server with a similar reference to the required port because MOHSH sets up the port before it reads your config file which is kinda dumb although it should pick teh next free port after 12203 unless you force it otherwise in the .cfg
Change the DoM tags, add your own password file and you're good to go.... look Code:
//----------------------------------------------------------------------- Gueswho was a MOHSH admin? :cool: |
Thanks for your reply and for posting your config!
I assume you say to use command line parameters to set the port as well except from the config? Question: Do you have been able to host 2 servers on the same linux box using one ip and different port? If yes then which version of linux source you are using? (Spearhead_lndexBeta4 or Beta5) Regards Quote:
|
yep..had 3 servers running on teh same box and same ip.
start server at comnad line and terminate it with the port commnad. I had each server with its own cfg files each with a different port number built in so 12204 ran 12204 cfg and 12205 ran 12205 cfg was beta4 from memory |
So you think might be the beta5 which causing the problems?
Do you have a working link of beta4 ! Thanks m8 for all your help!!! |
All times are GMT -5. The time now is 03:57 AM. |