garryslv 0 Posted June 17, 2007 Quote[/b] ][gr@localhost ofp]$ ./server -config="server.cfg" [gr@localhost ofp]$ chmod u+x ofpserver tried them both got nothin in replay Share this post Link to post Share on other sites
HitmanFF 6 Posted June 17, 2007 Quote[/b] ][gr@localhost ofp]$ ./server -config="server.cfg" [gr@localhost ofp]$ chmod u+x ofpserver tried them both got nothin in replay Silly question perhaps, but did you try the <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">sh ofpserver start again after the chmod command? Should work now, since you didn't get an error message from the chmod. Share this post Link to post Share on other sites
garryslv 0 Posted June 18, 2007 well yes i tried and i get this rhyme Quote[/b] ][gr@localhost ~]$ sh ofpserver start ofpserver: line 27: ofpserver: command not found Starting OFP server... [gr@localhost ~]$ nohup: cannot run command `ofpserver': No such file or directory while the mystory line 27 is Quote[/b] ]case "$1" in start) if [ -f ${RUNFILE} ]; then $0 stop <=]LINE27[= fi echo "Starting OFP server..." # file to mark we want server running... echo "go" >${RUNFILE} # launch the background watchdog process to run the server nohup </dev/null >/dev/null $0 watchdog & ;; Share this post Link to post Share on other sites
HitmanFF 6 Posted June 19, 2007 Try starting the script with <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">sh ./ofpserver start Most likely that will resolve your issue. Share this post Link to post Share on other sites
garryslv 0 Posted June 19, 2007 Quote[/b] ][gr@localhost ~]$ sh ./ofpserver startStopping OFP server... Starting OFP server... [gr@localhost ~]$ :-) Thanks Share this post Link to post Share on other sites
garryslv 0 Posted June 19, 2007 ... little prob cant see the server on the multiplayer menu also i noticed i dont get any indication about the server registration Quote[/b] ]WATCHDOG (24405): [Tue Jun 19 22:33:26 IDT 2007] Starting server (port 2308)... WATCHDOG (24405): [Tue Jun 19 22:33:26 IDT 2007] Server died, waiting to restart... WATCHDOG (27863): [Tue Jun 19 22:33:28 IDT 2007] Starting server (port 2308)... WATCHDOG (27863): [Tue Jun 19 22:33:29 IDT 2007] Server died, waiting to restart... WATCHDOG (10346): [Tue Jun 19 22:33:30 IDT 2007] Starting server (port 2308)... WATCHDOG (10346): [Tue Jun 19 22:33:30 IDT 2007] Server died, waiting to restart... WATCHDOG (24405): [Tue Jun 19 22:33:31 IDT 2007] Starting server (port 2308)... WATCHDOG (24405): [Tue Jun 19 22:33:31 IDT 2007] Server died, waiting to restart... Share this post Link to post Share on other sites
SeppSchrot 0 Posted June 19, 2007 You need the line <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> reportingIP="master.gamespy.com"; in the server.cfg file in order to show up in the multiplayer browser. Share this post Link to post Share on other sites
garryslv 0 Posted June 19, 2007 Thanks ill check it but what do i do with my dying server ? Share this post Link to post Share on other sites
SeppSchrot 0 Posted June 19, 2007 That's why I suggested to bypass the ofpserver script. Start the server binary, not the script and he will tell you the reason he aborts. Share this post Link to post Share on other sites
garryslv 0 Posted June 20, 2007 Quote[/b] ][dramboi@localhost ofp]$ ./server [dramboi@localhost ofp]$ ./server check [dramboi@localhost ofp]$ ./server start no output in the shell nor in the log Share this post Link to post Share on other sites
HitmanFF 6 Posted June 20, 2007 Start the server binary, not the script and he will tell you the reason he aborts. Please try and start the server binary directly, to see what's happening:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">cd /home/gr/ofp ./server -config=server.cfg -port=2302and check for any output. The start of this thread has a number of solutions for the ofp server not starting up as it should. glibc version, server's host name and dns resolution issues are the most common causes for servers crashing/dying. Share this post Link to post Share on other sites
garryslv 0 Posted June 20, 2007 As i did before once again i tried to run the "server" binary Quote[/b] ][gr@localhost ofp]$ ./server -config=server.cfg -port=2302 [gr@localhost ofp]$ got squat sorry i also know that port 2302 and 2308 are open thanks anyway Share this post Link to post Share on other sites
SeppSchrot 0 Posted June 20, 2007 Make a uname -a and post it, maybe there is a known issue with your distri. Also, try adding <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> >ofplog.log 2>&1 for logging. Not sure, if this gives more infos than these your shell echos but worth a try. And post a directory listing of /home/gr/ofp with file attribs. Share this post Link to post Share on other sites
garryslv 0 Posted June 20, 2007 Quote[/b] ][gr@localhost ofp]$ >ofplog.log 2>&1 [gr@localhost ofp]$ dir Addons log.2308.txt script bin Missions server bis.url MPMissions server.cfg Campaigns ofplog.log server.cfg~ cm.url ofps SPTemplates Dta ofps~ Templates Flashpoint.cfg ofpserver tolower.c FlashpointPreferences.exe ofpserver~ UnInstall.csv FLASHPOINTRESISTANCE.EXE OperationFlashpoint.exe UnInstall.exe gamespyR.url OpFlashPreferences.exe UnInstall.log ifc22.dll Preferences.csv untitled\ folder is3dfx.dll Products.cfg Users lib Promo Worlds libs readme.txt log.2302.txt Res [gr@localhost ofp]$ Share this post Link to post Share on other sites
HitmanFF 6 Posted June 20, 2007 The ofp server needs all file names (pbo's etc) to be in lower case. Try to compile tolower.c with <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">make tolower, then run <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">./tolowerfrom the ofp directory. Then try running the ofp server again. Good luck Share this post Link to post Share on other sites
garryslv 0 Posted June 22, 2007 Could this be a GCC prob although i had it installed with my mandriva distribution and i saw it in the installed menu Quote[/b] ][gr@localhost ofp]$ make tolower bash: make: command not found [gr@localhost ofp]$ make tolower.c bash: make: command not found [gr@localhost ofp]$ Quote[/b] ][gr@localhost ofp]$ cc tolower.c -o tolower bash: cc: command not found [gr@localhost ofp]$ thanks Share this post Link to post Share on other sites
SeppSchrot 0 Posted June 22, 2007 You can't make when there is no makefile in your directory. Try to compile it directly with <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> cc tolower.c -o tolower Don't forget to make it executable after. Share this post Link to post Share on other sites
Zbanowany 0 Posted July 3, 2007 Hi Pleas can You help me to set up my server ? I have downloaded OFPserver1.96 and run it on my own instalation. It shown on LAN tab but with red X and cant find it on internet server lists. When I connect to it on LAN tab it say Bad version, server rejected connection. I run Windows server. I use this BAT file to run OFP server OFPR_Server.exe -config=server.cfg -netlog -nosound -nomap -port=2302 and the server.cfg passwordAdmin = "123456"; // password to protect admin access hostname="111111"; motd[]= { "Welcome to OFP server.", "Hosted by Flashpoint Webworlds.", }; // Welcome message motdInterval=1; voteThreshold=0.33; // when one third agrees, this is enough to confirm a vote reportingIP=""; // private server - no reporting voteMissionPlayers=3; // start voting when 3 players connect checkfiles[]={"HWTL\dta\data3d.pbo","dta\data3d.pbo"}; //list of files to check for identity kickduplicate=1; // do not allow duplicate id equalModRequired=1; // require equal mod Share this post Link to post Share on other sites
SeppSchrot 0 Posted July 3, 2007 Like in the linux version you have to fill in the proper GameSpy Server Address in the reportingID field. Otherwise your server does not know where it has to check in. I think the proper address is written down somewhere in the readme or this thread. For the red box, well, make sure your OFP is patched to the latest 1.96 patch. EDIT: Oh, and replace the 1 in the EqualModRequired line by a 0. Share this post Link to post Share on other sites
Zbanowany 0 Posted July 3, 2007 okI see server on LAN and can play. #missions dont work. Where I should have maps ? On Missions folder or MPMissions ? This is my routing table. to which IP i should forward port 2302 ? Destination  Netmask        Gateway     Interface 0.0.0.0      0.0.0.0        213.25.2.205   ppp1  10.0.0.0     255.0.0.0       10.0.0.2      br0  127.0.0.1    255.0.0.0       127.0.0.1     lo0  213.25.2.205 255.255.255.255   83.5.63.207   ppp1  Normally for using P2P soft I forvard port to 10.0.0.2 but here it not work maybe becouse I dont see my server on the list. My IP is dynamic 83.5.x.x Or I need to write different address here in server.cfg ? reportingIP="master.gamespy.com"; Share this post Link to post Share on other sites
SeppSchrot 0 Posted July 3, 2007 I have no experience with dedicated servers behind firewalls but the port 2302 has to be forwarded to the machine where the service is running on. Check the settings of the network adapter on this machine, then you know what's it IP is. If I remember correctly, you need also to open&forward +1 port, 2303 in your case as it's the query port. (It delivers infos to the multiplayer game browser.) The multiplayer missions go into the mpmission folder. Share this post Link to post Share on other sites
Dramboi 0 Posted August 28, 2007 Hi has any of you run the server it on mandriva 10 i have a hard time compiling the script and i thought that maybe somebody has it allready compiled another question that intrested me is whats the best distribution for ofpr thanks Share this post Link to post Share on other sites
Overlord 0 Posted June 30, 2008 Hi all I have just set up a server on Ubuntu 7.10, currently testing different configs for best performance. I got a lot of help here and from here http://www.elisanet.fi/fdf/en_server_linux.html My advice is to install all necessary libraries (e.g. gcc/cpp, sharutils and OFP-dir's) files BEFORE you install the server. Also triple-check that your firewall forward the correct ports and last try to run the server without mods until you are sure it works. Tnx EDIT: after a Ubuntu update I also had to install yydecode to get the server running. I couldn't compile tolower without it anymore. I remember I got a message during update that a gcc-version was removed (no longer needed they claimed)... Share this post Link to post Share on other sites