project reality header
Go Back   Project Reality Forums > Project Reality Support > PR:BF2 Support
29 Sep 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links
PR:BF2 Support Help and support regarding PR:BF2 installation and in-game issues

Reply
 
Thread Tools Display Modes
Old 2014-07-11, 08:38   #1
the silver one
Smile Help setting up a server

Hi

I run a VPS server for my business and I allow a clan [MOG] Mature Old Gamers (I am 54) to run a few games on it..well..6 actually, I do this absolutely free of charge, as, all I want to do is game without being hounded/hassled by kids..no probs..each to their own.

My problem is this..it says.....

IMPORTANT: You must have a BF2 dedicated server running on the IP/port in your application. If no server is detected, the application cannot be processed and will be deleted.


BUT HOW....you cannot install the server files without a license, yet you need a running server to get a license?????

Please tell me HOW?
the silver one is offline
Last edited by the silver one; 2014-07-11 at 08:47..
Reply With Quote
Old 2014-07-11, 09:07   #2
AfterDune
Retired PR Developer
Supporting Member

AfterDune's Avatar
Default Re: catch 22 ?

You need to have a BF2 server running, running vanilla BF2, not PR .

AfterDune is offline Reply With Quote
Old 2014-07-11, 09:11   #3
the silver one
Default Re: catch 22 ?

When installing BF2 vanilla on my VPS..I can not get beyond this point..any help?

login as: xxxxxxx
[email protected]'s password:
chmod +x bf2-linuxded-1.5.3153.0-installer.sh
./bf2-linuxded-1.5.3153.0-installer.sh
Attempting to create directory /home/xxxxxx/perl5
xxxxxx@639560 [~]# chmod +x bf2-linuxded-1.5.3153.0-installer.sh
xxxxxx@639560 [~]# ./bf2-linuxded-1.5.3153.0-installer.sh
Verifying archive integrity... All good.
Uncompressing Battlefield 2 Dedicated Linux Server 1.5.3153.0........................................ .................................................. .................................................. .................................................. .................................................. .................................................. .........................
./bf2-linuxded-1.5.3153.0-installer.sh: line 365: ./license.sh: Permission denied
xxxxxx@639560 [~]#
the silver one is offline
Last edited by the silver one; 2014-07-11 at 10:31..
Reply With Quote
Old 2014-08-04, 01:36   #4
Skillz
Default Re: Help setting up a server

You need to use --target to the install line followed by a location owned by your user.

So if your user is bf2 and his home directory is /home/bf2 then you need to do this.

./bf2-linuxded-1.5.3153.0-installer.sh --target /home/bf2/tmp

This will extract the files to that tmp directory and install for you.
Skillz is offline
Last edited by Skillz; 2014-08-04 at 02:02..
Reply With Quote
Old 2014-08-05, 10:22   #5
MaSSive
Default Re: Help setting up a server

Start all over.

Code:
$ sudo useradd bf2
Code:
$ mkdir /home/bf2
Code:
$ chown -R bf2 /home/bf2
Code:
$ passwd bf2
Code:
$ su bf2
Code:
$ cd /home/bf2
Code:
$ wget http://sitewhereyouget.it/bf2-linuxded-1.5.3153.0-installer.sh
Code:
$ chmod u+x bf2-linuxded-1.5.3153.0-installer.sh
Code:
$ ./bf2-linuxded-1.5.3153.0-installer.sh
Accept the EULA for server and punkbuster!

Code:
nano -w mods/bf2/settings/serversettings.con
Serversettings.con part - the important bits...for now

Code:
sv.serverName "Old Farts With Gunz"
sv.password ""
sv.internet 1 // dont forget to set that to 1
sv.serverIP "123.456.789.012"  // your server IP adress
sv.serverPort 16567
sv.welcomeMessage "Welcome| We drink beer'n fart a lot // | is used for a line break
sv.punkBuster 1 // but for private server Id use 0
sv.maxPlayers 32 // the maxplayer count
sv.numPlayersNeededToStart 1
Optionally edit maplist to suit your needs

Code:
nano -w mods/bf2/settings/maplist.con
Fire it up!

Code:
$ ./start.sh
It should show the server console window, now try to connect to it.

You can detach console by CTRL+A or CTRL+D and reconnect to it with screen -r

If you can connect to it and play congratulations you got it set. For the more in depth info see here.

Note that linked tutorial is for 1.41 version and some settings do not match. Leave it for later. You will be granted server admin section access where you can see complete guide to installing and configuring PR server including BF2 and whatnot.

Also you must add your server to gametracker for the application to pass.

Parts of this post contain material from BD linux server tutorial. I hope he wont be too mad
MaSSive is offline
Last edited by MaSSive; 2014-08-05 at 10:31..
Reply With Quote
Reply


Tags
catch, server, setting

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 01:22.