benu
Member-
Content Count
1623 -
Joined
-
Last visited
-
Medals
Everything posted by benu
-
We played for SOME hours yesterday and it seems the server runs faster with 1.88. I had very strange console output (error/status messages?) at least two times, i noiced it the first time when the server crashed one time and i switched to console. That did not happen before, but all in all i'd say the new version is a big improvement. Squad logos did not show up but i noticed a w3chttp.out file in the server dir which contains squad.xmls of all players who played on the serverl?!? Also, many lines in those error/status messages contained URLs and Emails from squad pages, so maybe they are just status messages from the squadinfo routines of the server?!? I have a dual boot machine, so maybe i can check on performance differences, but don't rely on it. Ports are described in the readme, you should accept incoming udp to ports 2302 and 2303, and generelly incoming udp from 2304. Outgoing udp from 2302 and 2303 should be allowed too. I'm not sure about the command line parameters, i got some with strings, but don't which of them actually work. You can use -config=server.cfg for sure.
-
Tolower now seems to be a C file instead of a C++ file and compiles with gcc3.2. Gameplay is good (but 1.85 for linux was good too). I think the new one is even better Some minor points: Squad logos and #init command do not seem to work. All in all good work BIS
-
So what is the undisputable best sound mod addon?
benu replied to syco's topic in ADDONS & MODS: COMPLETE
Battlesounds 1.1S. Maybe Dynamic Range sounds better (it sure got more sounds) but i don't like getting a "cheater warning" everytime i join a server. Haven't tried the Battlefield Insane Soundpack yet. D/L it, but didn't really have the time for a comparison... -
I'm using a custom face (face.jpg in my users dir) and have no problems. But what i noticed when the server crashed on time is that linux makes a directory tmp2302 where it stores the custom faces (and sounds). Maybe that helps?!? Also from strace i know that there must be another dir called tmp. If you "mkdir tmp" in your ofp dir, start the server and stop it the tmp dir will be gone...
-
Ok, next problem: I installed the linux server on 4 boxes, 2x on gentoo 1.4, 2x on redhat 7.3, all ran fine. Now i installed the server on the box of my gamehoster and it doesn't work. Disabling firewall doesn't help. Running the server as root doesn't work. Cfgs are all there. Pathname is ok. I can't even recount what settings i tested in the last hours... OS on that server is also redhat 7.3 and i used the same tar.bz2 as for all the working servers. Error message is: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> ./server 0:45:30 Dedicated server created Server creation failed : 2302 <span id='postcolor'> I have tried many different things and really don't know what could be different on that system. Diff'ing a strace from a working server and the non working server yields: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> sendto(-1, "\\heartbeat\\0\\gamename\\\\statechan"..., 37, 0, {sin_family=AF_UNSPEC, {sa_family=0, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = -1 EBADF (Bad file descriptor) <span id='postcolor'> sendto seems to come from /usr/include/sys/socket.h which seems to be the same on all systems... and i don't really know which file descriptor he is talking about Seems to be at least one other guy with this problem but no one with a solution so far. Don't know where to look next, i've spent hours with this one... any ideas anyone? Update: I've checked for all files that are opened by a working server and they are all there on the machine where the server doesn't start. I don't really know where to look next as: 1) all needed files seem to be there 2) it's seems not to be something about privileges (doesn't run as root) 3) doesn't seem to be a network problem (direct connection to the internet with internet ip, all other networking works and server didn't run even when firewall was turned off).
-
I guess i'll do that. I posted it here cause placebo seemed to be the only besides me having this problem and it wanted to let him know what i did so we can maybe work together on this. But then again, a bigger "audience" may help better
-
Lol, on 4 linux boxes it works, on a fifth it doesn't. Error message is the "Server creation failed : 2302". Using strace it seems that sendto doesn't work </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> sendto(-1, "\\heartbeat\\0\\gamename\\\\statechan"..., 37, 0, {sin_family=AF_UNSPEC, {sa_family=0, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = -1 EBADF (Bad file descriptor) <span id='postcolor'> Don't know why, though. The headers are there and the same as on all the boxes where it works... don't really know WHAT the "bad filedescriptor" is. If anyone has an idea how to fix this or where to look...
-
Ok, been testing the linux server for a few days now... time for the criticism: 1) Logos don't seem to show in games. 2) Is there a way to write missing addons into the logfile? Right now the server just jumps back to the #missions screen. 3) tolower doesn't seem to compile on many boxes. An uuencoded binary (maybe statically linked) would be easier to set up (or at least some hints in the Readme regarding compiler version). 4) flashpoint.cfg is missing. If you do a fresh windows installation and copy it to the linux box there is no flashpoint.cfg. Server crashes without diagnostic output. I found that out using strace. Putting that into the readme would help. 5) Making a complete linux server available for download would be great. It should contain all the files Kegetys (thanks again) put into his list. This archive can not be used to run the client, all exe and most of the client pbo are missing, actually it's not even a quarter of the game in size. In doing so one would not need an windows box to install and would not have to upload the whole installation from home. 6) We had some problems with missions not working or even crashing the server. Don't know if this is linux or 1.85 related. I will keep testing that. 7) Server performance is really great 8) Luckily, most of the problems other player seem to be experiencing with 1.85 did not appear for us. No massive desync, regardless of whether we were playing on a linux or on a windows dedi. No sound stutter. Game runs better than ever with 1.85. Thanks BIS.
-
In your windows game, go to your user folder and look there. That may not be ALL commands there are, but a lot more than in the server users config... For example: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> diffArmor[]={1,0}; diffFriendlyTag[]={1,0}; diffEnemyTag[]={0,0}; diffHUD[]={1,0}; diffAutoSpot[]={0,0}; diffMap[]={1,0}; diffWeaponCursor[]={0,0}; diffAutoGuideAT[]={0,0}; diffClockIndicator[]={1,0}; diff3rdPersonView[]={1,0}; diffTracers[]={0,0}; diffUltraAI[]={0,0}; cadetMode=0; cadetModeMP=0; <span id='postcolor'> I don't know whether the CadetMode stuff actually works for a dedicated server...
-
kabukiman: You don't have to "recompile" the server, you just have to ensure that the new mission is in lowercase. You can do this by simply running tolower again (change to server folder and type ./tolower). I have to log out and back in to see the newly uploaded mission, but you don't have to restart the server. Regarding tolower: Yeah, there are shelltools for doing this, if changing the letters to lowercase is all it does (seems so, but i'm not sure)?!? But what i really don't understand is why they didn't put a statically compiled (seems tolower is dynamically linked, which is ok if you compile on the box you will be using it on) and uuencoded binary into the shar... Ok, it would have been bigger that way, but it would run on ANY system...
-
It's the same as with the win server. Go to your users folder and edit users/player/userinfo.cfg. Insert: diffUltraAI[]={1,1};
-
Hmm, actually that thread you refer to (and the one TheBrain refers to from that one) deal with windows servers and have no real solution as far as i could see... OK, port seems to be in use, use netstat to check, reinstall network driver, reinstall windows.... most stuff there is not much help for linux (except maybe the netstat hint).
-
Check your logfiles or try running the server with strace and post the last lines here. Maybe the user running the server can't create sockets or some network stuff is not installed?!?
-
As it says: cc1plus is not there, it's part of the compiler. I guess the easiest would be to delete the line "gcc -o tolower tolower.cpp" from the shar and get the compiled from somewhere else. If i had a homepage i would put it there for you, it's only 70kb...
-
Kabukiman: My server uses the hostname setting, my players found my server by filtering the gamebrowser list for my servername. Don't know why it doesn't work for you. The Squad logos did not work, though, but that can be caused by incorrect firewall settings as my testbox is running thru a router using nat. All in all, the linux server is great once you have installed. I just wish BIS had made a tar.bz2 package just containing the files Kegetys listed available for download... This package would not need windows for installation and need not be upload via slow lines from home and could not be used for playing the game cause it's lacking all the essential client files...
-
It's there and it's called tolower. Just run ./tolower and your missions should work.
-
Your error means that tolower didn't compile, i had the same error. I guess it is caused by using a newer version of gcc (in gcc3.2 c++ is incompatible to older versions). Just compile tolower on another box (with gcc2.96 it worked for me) and delete the "gcc -o tolower tolower.cpp" line from the shar and it should work ok.
-
My Firewall showed the following entries for the linux server: Outgoing: UDP 2303 -> 27900 (Gamespy?) Outgoing: UDP 2302 -> 2304 (to Client) Incoming: UDP 2304 -> 2302 (from Client) Worked ok, played with some external players with no hassle. Although i must have one outgoing port nat'ed (i guess the 2303-27900 thingie which goes out once every 5 minutes) cause my players told me that my server appeared like 15 times in their gamebrowser, each one with higher than the one before
-
Kegetys: Your file list has been a great help, i was able to put the whole server into a .tar.bz2 roughly smaller than 200mb. This will shorten my upload time somewhat. Thanks for the info
-
Actually, in both postings i said i really LIKE there being a linux server at last. I just wanted to point out why a linux server which doesn't need windows for installation would be a BETTER thing. Just making a tar wih all the files for setting up a linux server but without all the UNNECESSARY files (sp, campaigns, the graphic parts the server doesn't need) would IMPROVE the linux server (like in constructive criticism). It's not that it's all bad, but uploading 1.2GB to a gamehoster takes about how long? Like 20 hours with my 128kbit upload? And if i can't upload it then my gamehoster has install it, which means he must buy the original game, buy a windows os, a computer to run windows on, etc, ie he won't do it. My gamehoster is linux-only, as are most gamehosters i know of. Actually, i only know of one gamehoster using windows machines here... It's great that we have a linux server, i guess i just have to get through uploading it for 20h, but a nice linux-only server which i could download directly from the web to my gamehoster (via his line, not my slow one at home) would have been better...
-
I just compiled it on another box. Seems the setup script really doesn't work with gcc3.2. Would be a nice warning for the readme i think. Also, copying a fresh windows install to linux won't work as the server needs a flashpoint.cfg (lowercase ) which isn't created automatically by the installer. Apart from that my lofp linux server at home is up and running, now i have to think how i get it to my gamehoster...
-
Had that problem, too, at first. Try running strace. My server was missing the flashpoint.cfg...
-
And i'm too stupd to post too This section just got cut out of my posting, don't know why... Judging from the tolower.cpp and the temp.o linking a cpp program seems to fail?!? Maybe something to do with me using gcc3.2? If so, why don't the use a statically linked binary instead of letting it compile on the server? I just browsed through the server-185b.shar, all it does afterwards is checking whether tolower.cpp is correct and compile it. I just extracted it by hand and tried to compile it, that is where the error message is from...
-
Lol, i can't even get the server installed Error msg is: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> sh server-1.85b.shar Operation Flashpoint Resistance dedicated server 1.85b x - creating lock directory x - extracting server (binary) x - extracting tolower.cpp (binary) Converting OFP directory: /tmp/cciqHbLI.o(.eh_frame+0x11): undefined reference to `gxx_personality_v0' collect2: ld returned 1 exit status <span id='postcolor'> Doesn't seem to work with Gcc3.2. The only part of the script i need to do is: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> ./tolower chmod +w * rm -f *.exe *.chm *.dll tolower.cpp exit 0 <span id='postcolor'> Can anyone put that file on a website or something?