Jump to content
Sign in to follow this  
FishGills

1.85 is out... linux soon?

Recommended Posts

Duh... it seems also data.pbo would be needed in missions that use "rus_vlajka.pac" or some other flag texture in the flag poles... Awful waste to upload 100MB of other stuff just for these textures, so I made a data.pbo with just the flag textures. wink.gif

You can get it from here http://koti.mbnet.fi/kegetys/flashpoint/datapbominimal.zip

put it to res/dta

Share this post


Link to post
Share on other sites

Hmm, you don't need \Dta, only \Res\Dta and there you need only those 4 files? Cain.pbo, etc. also sound important.

Anyway you helped me a lot to decrease the size very much, now I can burn it onto a single CD and take it to the server.

It would be nice if BI would allow you to tar/gz your files and make them publicly available, although it would be a big file I think it should be possible to get some mirrors,

Share this post


Link to post
Share on other sites

BIS / CM people - What is the official line on copying the code to a server for people to download as suggested above - I am slighlhy unsure about the legality of it, could I have an official response please.

How would this stop people just downloading and being able to play the game? - I know about the CD requirement, but im sure people may download a no-cd patch or something like that?

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (MarcusJClifford @ Oct. 16 2002,15:04)</td></tr><tr><td id="QUOTE">BIS / CM people - What is the official line on copying the code to a server for people to download as suggested above - I am slighlhy unsure about the legality of it, could I have an official response please.

How would this stop people just downloading and being able to play the game? - I know about the CD requirement, but im sure people may download a no-cd patch or something like that?<span id='postcolor'>

Actually, the standalone server doesn't require the CD in drive. Purely legally taken, you should own another OpFlash license to install on the server anyway. This also answers there's no way we're going to release all required files for free over the internet because they're actually most of whole OpFlash.

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Hellek @ Oct. 16 2002,15:59)</td></tr><tr><td id="QUOTE">Hmm, you don't need \Dta, only \Res\Dta and there you need only those 4 files? Cain.pbo, etc. also sound important.<span id='postcolor'>

Cain.pbo, abel.pbo, etc. only have land textures in them so they arent needed, data.pbo also has only textures which the server doesnt need (except those flag textures)... Neither does it need sounds or musics... not much left wink.gif

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Maruk @ Oct. 16 2002,15:13)</td></tr><tr><td id="QUOTE">wow.gif4--></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (MarcusJClifford @ Oct. 16 2002,15wow.gif4)</td></tr><tr><td id="QUOTE">BIS / CM people - What is the official line on copying the code to a server for people to download as suggested above - I am slighlhy unsure about the legality of it, could I have an official response please.

How would this stop people just downloading and being able to play the game? - I know about the CD requirement, but im sure people may download a no-cd patch or something like that?<span id='postcolor'>

Actually, the standalone server doesn't require the CD in drive. Purely legally taken, you should own another OpFlash license to install on the server anyway. This also answers there's no way we're going to release all required files for free over the internet because they're actually most of whole OpFlash.<span id='postcolor'>

/me hides

Share this post


Link to post
Share on other sites

As I understood I have to buy another copy of OFP and Resistance for luanch dedicated server?

Share this post


Link to post
Share on other sites

I made a batch file that will make it easy to set up the linux server. It will archive the files needed by the server from Resistance installation to a TAR archive, and also GZIP the archive if needed.

You can get it from http://koti.mbnet.fi/kegetys/flashpoint/linuxarch10.zip

Read the readme from the zip!

It also will include the minimal data.pbo to the archive, and it can also include contents of addons and mpmissions directories so you can just take the archive it makes, extract it on a linux server and the install the server executable and you are ready to go smile.gif

So far it has only been tested on Windows 2000, it should work in all windowses but im not 100% sure, feeback is welcome.

Share this post


Link to post
Share on other sites

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 biggrin.gif

Share this post


Link to post
Share on other sites

Couple things I noticed with the linux dedicated server.

1. The linux server doesn't seem to read the hostname="hostname" as it does in the windows version. When connecting to my ded linux server it shows my actual servers hostname.

2. Missions need to be named in lower case only, other wise the missions wouldn't load. (not a big problem just rename)

I'm running on Freebsd with linux emulation, on a 400mhz with 500 megs of ram. works great thanks!

Hoz

Share this post


Link to post
Share on other sites

Okay, I am transfering my OFP (200megs). Made a webserver at home to guarrantee that resuming the upload works.

A little quote from wget:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">

Length: 205,253,655 [application/zip]

2% [>                                                                                        ] 4,456,944      6.00K/s  ETA 9:04:53

<span id='postcolor'>

Not too much fun to upload it via isdn-64k :-(

Update: Yehaw, 37% done - about 6 hours more and I have 100%.

Share this post


Link to post
Share on other sites

what sort of spec machine would be needed to host say 10 people in a normal team deathmatch game?

Looking at setting up (what I believe to be) the first Irish OpFlash server.

Share this post


Link to post
Share on other sites

I know nothing about linux, but i'm thinking in move our OFP win server to linux and i would like to know what version of linux is the best for this.

We have a Compaq Proliant 5500 (4 CPUs x 400Mghz, 1Gb cache and 980 Mb RAM)

Thanx for reading.

Share this post


Link to post
Share on other sites

Hmm, I tried it on 3 different systems, always got errors (uudecode, gcc, gunzip and md5sum are installed on all of them)

1. Sytem:

[david@host1 ~/ofp]$ 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/ccsKIQG9.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'

collect2: ld returned 1 exit status

server-1.85b.shar: line 147979: ./tolower: No such file or directory

2./3. System:

[david@host2/3 ~/ofp]$ 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/ccH7ATwF.o: In function `stat':

/tmp/ccH7ATwF.o(.gnu.linkonce.t.stat+0x81): undefined reference to `terminate(void)'

collect2: ld returned 1 exit status

server-1.85b.shar: ./tolower: No such file or directory

They are all x86 with Red Hat, two with 2.4.18 and one 2.4.9 kernel.

It took me 9 hours to upload the OFP stuff and now it is not working :-(

PS: I did it as the readme said:

1st step: copied it to the dir where my ofp is (/home/david/ofp)

2nd step: gunzip gunzip server-1.85b.shar.gz

3rd step: sh server-1.85b.shar (there the error occurs)

Share this post


Link to post
Share on other sites

hmm, big lol. just tried it on my alpha, running with debian and there it works. the only problem is, that my tolower is now a 64-bit binary. is it just needed for the installation to convert the paths or is it also used later?

If it was just used for the installation this should not matter I suppose but else it matters a lot.

It would be cool if BI would compile the server-binary for alphas.

Share this post


Link to post
Share on other sites

Is there any official Linux-Dedi-Buglist??

- Hostname in server.cfg ignored

- Join-Password in server.cfg ignored (NOT the Admin, that one IS taken!wink.gif

Share this post


Link to post
Share on other sites

Cool, my server is working. Thanks for the help, especially BI for making the linux server and Kegetys for the file-list and his script.

Unfortunately I can only run the server on weekends, I would be able to run it 24/7 if there was a binary for Alphas but I am 99% sure that BI won't make one and I understand them. It would not be very much work but I think the number of people who really need this is verly low sad.gif

Share this post


Link to post
Share on other sites

as said before, finp tested the linux beta on an amd k6-2 400 with 256mb mem, and it worked reasonably well.

so last night i installed linux on the xp 2000+ with 768mb mem, and put it to play. it has been received very well, has considerably cut down lag, they say.

|edit, removed the TOP output, didn't make any sense|                                              

the CPU usage is in big games closer to 96% but that is what the CPU was bought to do.

and it utilises more memory than the windows-server was ever using, even when it was configured to 768mb.

but one thing "they" have been complaining about is the lag that occurs when someone join the server after the game has begun, i've witnessed it too. Since at least v1.75, there were no problems with this on a windows server.

And umm, squad XML's and most custom faces don't work, but that's acceptable for a beta server.

What can I say? .. Thank you much BIS for doing this, the administration of the server just became 10x faster and easier. No more VNC. :)

--fd

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

Linux is running pretty well for me (bi-PIII 1.4GHz, 2G RAM, 100Mb/s connection).

While monitoring with "top", I saw that both processors are running some instance of the server process (there are 6 server processes launched...).

We saw some lag when some1 is joining the server, as reported before. Otherwise, there is no lag at all (perhaps due to the large bandwith available).

settings :

MaxMsgSend=256;

MinBandwidth=768000;

hostname parameter works fine for me.

Benu, Kegetys has made a script which extracts the files needed for Linux server and pack them to a tar.gz file. 190Mo, sweet for uploading. He posted a link in some post talking about Linux server here (don't remember where sad.gif ).

One strange thing : some mission do not launch : I select the mission, clic OK, and after half a second, the server send me back to the mission list. I don't know what can cause that, it's perhaps a well known issue on dedicated, I'm not used to dedicated server administration.

Whis'

Share this post


Link to post
Share on other sites

whisper, sounds like missing addons to me, at least that's about the only reason i've encountered on a dedi for that to happen.

--fd

Share this post


Link to post
Share on other sites

RE: Kegety's script,

{edit}ran it on an NT4 box (SP1 I think - Dx3 anyways - in college)

and got some hassle over it.

It couldn't find a few addons(which werent' there after installing Flashpoint on the machine in college and directly installing resistance ontop of v1.00).

I'm assuming the addons are in the 1.2-1.46 patches.{/edit}

Tis working now.

Will post up IP of server when it's running (box going to be changed from BSD to Linux).

Afaik it's a dual 1gig.

Share this post


Link to post
Share on other sites

Question : Does this server take real advantage of SMP boxes ??

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (LAW Soldier fd @ Oct. 18 2002,18:30)</td></tr><tr><td id="QUOTE">whisper, sounds like missing addons to me, at least that's about the only reason i've encountered on a dedi for that to happen.

--fd<span id='postcolor'>

wow.gif

I'm soooooo stupid!

that's right, everything works fine now.

Thanks.

Whis'

Share this post


Link to post
Share on other sites

Got it working now, too!

In order to let it use the config.cfg, I had to start it using

./server -config=config.cfg

D'oh! biggrin.gif

But I have some Problems with User-made Missions... some rumors say that everytime someone uploads a user-made mission, the whole Linux-Dedicated has to be recompiled again? Is that true?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×