View previous topic :: View next topic |
Author |
Message |
Reality Guest
|
Posted: Tue Sep 26, 2006 4:30 pm Post subject: |
|
|
Current Games Working under Linux that i have Tested :
Counter-Strike
Counter-Strike : Source
Other HL MODS
Day of Defeat : Source
Call of Duty 2
Quake 4
Current Games NOT Working under Linux that i have Tested :
Battlefield 2
Quake 3 |
|
Back to top |
|
|
adbot
|
Posted: Thu Mar 31, 2011 3:57 am |
|
|
|
|
|
Andrew Mammoth
|
Posted: Tue Sep 26, 2006 4:33 pm Post subject: |
|
|
Ah, the thing thats happening here is, start.sh does transfer/use the same pid of the bf2 process which gets launched.
If you update start.sh with:
exec bin/.../bf2
As opposed to just
bin/.../bf2
The problem wont occur. Can you do that and check if this fixes the problem? |
|
Back to top |
|
|
Guest
|
Posted: Tue Sep 26, 2006 4:37 pm Post subject: |
|
|
you mean just put that in the GameCreate Command line ?
start.sh exec bin/.../bf2 +config "configs/16567/serversettings.con" +mapList "configs/16567/maplist.con" +pbPath "configs/16567/pb" ?? |
|
Back to top |
|
|
Andrew Mammoth
|
Posted: Tue Sep 26, 2006 4:42 pm Post subject: |
|
|
Nope, actually open up start.sh in your text editor and update it.
I will look into having our end updated, but its usually undone when a patch is released. |
|
Back to top |
|
|
Reality Guest
|
Posted: Tue Sep 26, 2006 4:42 pm Post subject: |
|
|
the above what i posted did not work, so i guess you didnt mean me to do that
explain if you can im a little confused |
|
Back to top |
|
|
Reality Guest
|
Posted: Tue Sep 26, 2006 4:43 pm Post subject: |
|
|
oop hold on |
|
Back to top |
|
|
Reality Guest
|
Posted: Tue Sep 26, 2006 4:44 pm Post subject: |
|
|
#! /bin/sh
MACH=""
case `uname -m` in
i[3456]86) MACH="ia-32"
;;
x86_64) MACH="amd-64"
;;
esac
if ! [ -d pb ]
then
ln -s pb_$MACH pb
fi
BINARY_DIR="$(pwd)/bin"
if [ -d "$BINARY_DIR/$MACH" ]
then
BINARY_DIR="$BINARY_DIR/$MACH"
fi
# Make the OS give us .core-dumps if the server crashes
ulimit -c unlimited
export LD_LIBRARY_PATH=$BINARY_DIR
exec $BINARY_DIR/bf2 "$@"
Which bit do i edit there? |
|
Back to top |
|
|
Andrew Mammoth
|
Posted: Tue Sep 26, 2006 4:50 pm Post subject: |
|
|
Hmm seems like its already there (exec $BINARY_DIR/bf2 "$@" )
When the servers launched, see if its queryable/connectable via BF2 and just disregard the 'check failed' error for a moment - see if the process has indeed crashed. |
|
Back to top |
|
|
Reality Guest
|
Posted: Tue Sep 26, 2006 4:53 pm Post subject: |
|
|
i am using HLSW to check if the servers are running or not: with the 29900 extention it needs to see the server e.g. 81.19.219.142:16567:29900
It works if i type it in manually, but if GameCreate tries to do it it does not ping and GC also reports failures of the following:
Stop GameCreate stopped Battlefield 2 Server. 9/26/2006 5:52:15 AM
Fail Process failure (Server crashed?) 9/26/2006 5:52:14 AM
Fail Query Failure 9/26/2006 5:52:13 AM
Start GameCreate attempted to start Battlefield 2 Server. 9/26/2006 5:51:20 AM
|
|
Back to top |
|
|
Andrew Mammoth
|
Posted: Tue Sep 26, 2006 4:54 pm Post subject: |
|
|
Run the server manually from the command line that GameCreate uses, and then attempt to see if the server is queryable. |
|
Back to top |
|
|
Reality Guest
|
Posted: Tue Sep 26, 2006 4:56 pm Post subject: |
|
|
Thats what makes me so confused. I have done so and it is queryable. I have used the exact same commandline that GameCreate uses and the server starts |
|
Back to top |
|
|
Andrew Mammoth
|
Posted: Tue Sep 26, 2006 4:57 pm Post subject: |
|
|
The process ID must be changing.
Is this for a BF2 or BF2 Demo server? |
|
Back to top |
|
|
Reality Guest
|
Posted: Tue Sep 26, 2006 4:57 pm Post subject: |
|
|
[root@server bf2]# ./start.sh exec bin/.../bf2 +config "configs/16567/serversettings.con" +mapList "configs/16567/maplist.con" +pbPath "configs/16567/pb"
Battlefield II Dedicated Server v1.1.2963-795.0(IA-32)
"Battlefield 2 Server" Average FPS: 33 [d:0, o:18]
IP: 81.19.219.142 Port: 16567 (PB) Map: wake_island_2007
Game mode: gpm_cq/64 Mod: bf2
Players: 0/16 (0 r) (0 connecting) Round: 1/2 Status: [playing]
-------------------------------------------------------------------------------
PunkBuster Server: pb_sv_LogSync = 0 (0=No, 1=Yes)
PunkBuster Server: pb_sv_LogCeiling = 100 (10 to 999999)
PunkBuster Server: pb_sv_SsFloor = 1 (1 to 999999)
PunkBuster Server: pb_sv_SsCeiling = 100 (1 to 999999)
PunkBuster Server: pb_sv_SsCmd = pbscreens.bat
PunkBuster Server: Setting pb_sv_sscmd value override [pb/creens.bat]
PunkBuster Server: pb_sv_SsWidth = 800 (10 to 4096)
PunkBuster Server: pb_sv_SsHeight = 600 (10 to 4096)
PunkBuster Server: pb_sv_SsXpct = 85 (-1 to 100)
PunkBuster Server: pb_sv_SsYpct = 25 (-1 to 100)
PunkBuster Server: pb_sv_SsSrate = 2 (0 to 4)
PunkBuster Server: pb_sv_SsDelay = 0 (0 to 60)
PunkBuster Server: pb_sv_SsPath = /root/gamecreate/bf2\pbscreens\Battlefield_2_Server
PunkBuster Server: pb_sv_AutoSsFrom = 60 (30 to 300)
PunkBuster Server: pb_sv_AutoSsTo = 1200 (300 to 1500)
PunkBuster Server: pb_sv_AutoSs = 0 (0=No, 1=Yes)
PunkBuster Server: pb_sv_Sleep = 60 (20 to 100)
PunkBuster Server: pb_sv_PowerMin = 10 (1 to 1000)
PunkBuster Server: pb_sv_PowerDef = 1 (0 to 10)
PunkBuster Server: pb_sv_PowerKickLen = 5 (0 to 60)
PunkBuster Server: pb_sv_HttpPort = 16579 (0 to 65535)
PunkBuster Server: pb_sv_HttpAddr = 81.19.219.142
PunkBuster Server: pb_sv_HttpRefresh = 30 (10 to 999)
PunkBuster Server: pb_sv_HttpKey = *****
PunkBuster Server: pb_sv_HttpMaps =
PunkBuster Server: pb_sv_ChangePeriod = 999 (1 to 999)
PunkBuster Server: pb_sv_ChangeMax = 1 (1 to 50)
PunkBuster Server: pb_sv_DupNameGrace = 30 (0 to 90)
PunkBuster Server: pb_sv_ExtChar = 1 (0 to 1)
PunkBuster Server: pb_sv_GuidRelax = 2 (0 to 7)
PunkBuster Server: File Not Found: pbsvlog.cfg
PunkBuster Server: Cvar List (in Memory) has been Emptied
PunkBuster Server: Attempting to resolve master7.evenbalance.com
PunkBuster Server: Resolved to [216.240.146.139]
PunkBuster Server: Listening for HTTP
PunkBuster Server: PunkBuster Server (v1.241 | A1310 C1.110) Enabled
PunkBuster Server: Game Version [1.1.2963-795.0]
It is queryable @ 81.19.219.142:16567:29900 Battlefield 2 Server |
|
Back to top |
|
|
Reality Guest
|
Posted: Tue Sep 26, 2006 4:58 pm Post subject: |
|
|
bf2 server |
|
Back to top |
|
|
Andrew Mammoth
|
Posted: Tue Sep 26, 2006 5:01 pm Post subject: |
|
|
Your command line says exec bin../// dont do that.
Revert the command line to what it was before (just starting with start.sh) and run it. |
|
Back to top |
|
|
|