We are having problems with MOHAA because of the poor design of its dedicated server software. On Windows, we let GameCreate Client (Windows only function at this time) re-bind ports the server attempts to use so it is usable.
All games listed on our service are supported by Windows (We mostly use Windows ourself).
Some games are Linux supported such as BF2, Half-Life 1 and mods, Half-Life 2 and mods (CSS etc) and CoD2.
During beta we hope to improve our support for Linux, but there are issues we need to resolve first.
MOHAA is a tricky case because unlike other server software, you cant tell it to bind to a specific query port (it always attempts to use the same one on the same IP address).
I can discuss a possible solution with a few other developers early next week.
I have dealt with mohaa servers on both linux and windows and from my experience the command line needs to have the port defined otherwise the software will just try and use the default 12203 port.
We are having problems with MOHAA because of the poor design of its dedicated server software. On Windows, we let GameCreate Client (Windows only function at this time) re-bind ports the server attempts to use so it is usable.
All games listed on our service are supported by Windows (We mostly use Windows ourself).
Some games are Linux supported such as BF2, Half-Life 1 and mods, Half-Life 2 and mods (CSS etc) and CoD2.
During beta we hope to improve our support for Linux, but there are issues we need to resolve first.
MOHAA is a tricky case because unlike other server software, you cant tell it to bind to a specific query port (it always attempts to use the same one on the same IP address).
I can discuss a possible solution with a few other developers early next week.
Andrew, i already have 8 running from linux at the moment, working fine no problmes at all, i think its your command line to be honest, i have them working on 8 different installs,
then in the mlds.sh file there is ---- as this is called by the above
#!/bin/bash
echo mlds.sh: Launching Mohaa
echo mlds.sh: Loop Initialize
while true
do
echo mlds.sh: Loop Start
echo mlds.sh: To Exit Loop Hit CTRL-C While Sleeping
sleep 5
echo mlds.sh: Server Start
./mohaa_lnxded +exec server1.cfg
echo mlds.sh: Server Exit
echo mlds.sh: To Exit Loop Hit CTRL-C While Sleeping
echo mlds.sh: Sleep 30 Seconds
sleep 30
echo mlds.sh: Loop Restart
done
So as you can see my command line is just ./mohaa_lnxded +exec server1.cfg (note the server1.cfg, because in mohaa2 install it will be server2.cfg and so on)
the mload.sh and the mlds.sh are just an echo that will restart the server if a crash.
okay as you can see all i do is exec my config by useing the restart echo script
the config doesnt set any net port or ip or anything, it is as follows
///////////////////////////////////////////////////////////////
// Medal of Honor Server Configuration File //
///////////////////////////////////////////////////////////////
okay the part that makes mine work is this, i have another config in the main called autoexec.cfg, where its called from or how it starts i dont know but its where the remainder of my command line is stored.
// Server default startup variables
// You may override these in your startup config
set dedicated "2"
set sv_Pure "1"
set bot_enable "0"
set sv_maxRate "12000"
set com_hunkMegs "64"
set net_port 12203
in the folder mohaa2/main it would be
// Server default startup variables
// You may override these in your startup config
set dedicated "2"
set sv_Pure "1"
set bot_enable "0"
set sv_maxRate "12000"
set com_hunkMegs "64"
set net_port 12213
in the folder mohaa3/main it would be
// Server default startup variables
// You may override these in your startup config
set dedicated "2"
set sv_Pure "1"
set bot_enable "0"
set sv_maxRate "12000"
set com_hunkMegs "64"
set net_port 12223
okay the only thing that changes is my net_port where it calls the autoconf i dont know but the point is they all work.
mohaa (on linux) does crash when I use gamecreate to launch it. however when I use gamecreates command line to manually launch mohaa it is rock stable. I wonder if the gamecreate client is failing to correctly query the mohaa game server and is restarting it?
mohaa (on linux) does crash when I use gamecreate to launch it. however when I use gamecreates command line to manually launch mohaa it is rock stable. I wonder if the gamecreate client is failing to correctly query the mohaa game server and is restarting it?
Yes its failing to query the servers because of port binding issues (mohaa binds itself to one and only one query port).
We have it on our list of todo's, please be patient.
mohaa (on linux) does crash when I use gamecreate to launch it. however when I use gamecreates command line to manually launch mohaa it is rock stable. I wonder if the gamecreate client is failing to correctly query the mohaa game server and is restarting it?
what are you putting in the command line to manual start it, will the restart button work ? thats all i need really
thanks
hi mate, i dont want to be a pain here and i know its in beta testing but do you know when the MOHAA game on linux will be sorted, i have 8 running at the moment and in need of a CP, its all okay for cod but if its going to be a while i will have to get another CP for that game until your sorted out, like i said i dont want to be a pain as your CP is looking really good and stuff and i really like it
"For example. If your game server port is 12203 then the query port should be 12300. The second MOH server would take the next available query port number of 12301 and the next 12302 etc. If the server admin creates the game server ports incrementally, there is a predicted offset port of 97 port numbers."
From our experience mohaa does not increment the query port, rather, it actually attempts to force the query port to the same port (at least on windows) which is the problem.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum