Server Installation BF2 Linux : Error GameServer.cpp

Discussion on Computer Software & Operating Systems
Post Reply
Palermo
Posts: 21
Joined: 2015-06-15 07:51

Server Installation BF2 Linux : Error GameServer.cpp

Post by Palermo »

Hello everyone,

I am trying to install BF2 server to request a Project Reality Server License.
I followed this tutorial for installing a BF2 server : How to Set Up a Dedicated Battlefield2 Server - Tutorials
I use this operating system: Linux Debian 6.0 x32.
During server start, I have this error:

Code: Select all

FATAL ERROR: Debug assertion failed!h
Version: 1.5.3153-802.0 Build date:implement unix date here
Module: GameServer
File: Game/GameServer/GameServer.cpp
Line: 647
Text: 0xbfed6a28
Current confile:
Can anyone help me solve this problem ? I would welcome your help :)

Regards,

Palermo

Note : Sorry for my bad english, I'am a french frog :lol:
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by MaSSive »

You are trying to install BF2 1.41 linux dedicated server so it wont work. It is not your error, EA hasnt added the final version to its public ftp, and they wont do it ever probably. You need version 1.5 I will se if I can get the installer up on ftp to assist you.

The best thing is to start all over with 1.5

Also see this post. Note that link for wget of 1.5 server is fake, you need real adress and I will try to provide one for you.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
Palermo
Posts: 21
Joined: 2015-06-15 07:51

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by Palermo »

Hello MaSSive,

Thank you for giving me an answer so quickly.

I used version 1.5, I forgot to specify. I took the file here : BF2 Dedicated Server 1.50 - Linux (Build 1.5.3153-802.0) Download

It is marked in the error message :

Code: Select all

FATAL ERROR: Debug assertion failed!h
Version: 1.5.3153-802.0 Build date:implement unix date here
I look silly, I wanted to offer a PR server to my team for our 7 years of existence (R?sistance Arm?e Francophone [R.A.F.] - Forum :: Portail).

Anyone has had this error ?

I will still repeat the installation with your link. ;-)
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by MaSSive »

Ah sorry I wasnt reading the error right.

Try to put this
sv.internet 0
in serversettings.con

This is because the heartbeat server is off and GameSpy is down, so it may cause a server to fail at start. Since there is no server browser you wont be able to connect to it to verify if it works trough the server browser but you can use IP to connect to it. Also I am unsure if it will work adding it to Gametracker but try to.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
Palermo
Posts: 21
Joined: 2015-06-15 07:51

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by Palermo »

I LOVE YOU !!!! IT'S WORKS !!!! :-D

sv.internet 0 => this is the solution !

I do not know how to thank you :roll:
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by MaSSive »

Ah the pleasure is mine, dont mention it. I am glad I could help.

PS: I will update my post with server installation binary which is verified and I used it to install my server long time ago. I just had to repack it to .tar.gz because it was in .rar and I dont know which idiot packed a linux binary in rar archive. :D

But if the one you got works there is no need to reinstall again. I will keep the link up until December when my domain expires and I wont be extending it, so the link will cease to work then.


The link as I promised

Code: Select all

$ wget - link expired due to domain suspension
Last edited by MaSSive on 2015-12-07 20:20, edited 6 times in total.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
Palermo
Posts: 21
Joined: 2015-06-15 07:51

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by Palermo »

a BIG THANK YOU, I thought I would have an answer as quickly. I spent two nights on this problem.

It should modify your tutorial. This could help others ;)

At launch, I have this :

Code: Select all

IP: 46.101.196.161 Port: 16567 (LAN)     Map: strike_at_karkand
Game mode: gpm_cq/32                     Mod: bf2
Players: 0/64 (0 r) (0 connecting)       Round: 1/3          Status: [playing]
We should not pay attention to the word LAN, is that right? (first line)
Palermo
Posts: 21
Joined: 2015-06-15 07:51

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by Palermo »

I will redo a clean install with your link. ;-)
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by MaSSive »

It says LAN because we set "sv.internet" to "0" in serversettings.con so that is not odd.

You should probably provide an IP adress for direct connection in your application for PR server, unless there is IP information requested already in the application form. They should know that vBF2 can no longer work with sv.internet 1 so application should pass.

Also I am unsure if you can add server to gametracker, cause I think it asks for "sv.internet" to be at "1", but try and see what you get. If they still require that in application form and its not possible then we should notify them of the need to change the form. I will handle it and you just see the requirements and let me know.

I already told you there is no need to redo the installation if the server works. You just need to basic server set now, cause once you get access to server admin section there will be tutorials there and possibly additional setup steps since the gamespy change, and I am not up to date with this information.

PS: additional steps there for adding a specific user and setting up server t work with that user is security measure. You should know that already running a linux dedi. No third party process should run as root ever.
Last edited by MaSSive on 2015-10-21 23:52, edited 1 time in total.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
Palermo
Posts: 21
Joined: 2015-06-15 07:51

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by Palermo »

Thank you for all these explanations !

I make the request tomorrow for Project Reality Server License and I will keep you informed :razz:
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by MaSSive »

Ah also one more important note. Once you apply for license keep the vBF2 server up and running, because they will be checking if it exists and if it works.

Good luck.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
Palermo
Posts: 21
Joined: 2015-06-15 07:51

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by Palermo »

MaSSive,

I have just had the answer : You have been issued a Project Reality User Server License!

Thank you very much :m1helmet:
Kanaris
Posts: 3
Joined: 2015-10-22 11:13

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by Kanaris »

I got the same exact problem and it seems that sv.internet 0 is not the solution.
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by MaSSive »

Palermo wrote:MaSSive,

I have just had the answer : You have been issued a Project Reality User Server License!

Thank you very much :m1helmet:
Cheers!
Kanaris wrote:I got the same exact problem and it seems that sv.internet 0 is not the solution.
Um, have you followed all the steps, as described in tutorial plus my additional steps? Do you run Debian nix or some other?

Post your serversettings.con here in code tags please.

Additionaly try to set the following

Code: Select all

sv.internet 0                  // 0 = LAN server, 1 = internet server / set to 0 for now
sv.serverIP "192.168.1.1"      // IP of your server / set this to you LAN IP for now
sv.serverPort 16567            // Port of your server
sv.punkBuster 0                // 0 = disable Punkbuster, 1 = enable Punkbuster / set to 0 if sv.internet 0
Last edited by MaSSive on 2015-10-23 17:26, edited 3 times in total.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
Kanaris
Posts: 3
Joined: 2015-10-22 11:13

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by Kanaris »

Massive thanks for the fast reply. I just found out about daemon from battlelog.co and i can see that for now.
I am completely noob!

Imgur: The most awesome images on the Internet
Palermo
Posts: 21
Joined: 2015-06-15 07:51

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by Palermo »

Look at the title "Server Installation BF2 Linux : Error GameServer.cpp"

You are under Windows and it isn't the same problem :o ops:
Kanaris
Posts: 3
Joined: 2015-10-22 11:13

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by Kanaris »

Indeed! FFS so noobish. Didnt see the title earlier, i just googled the problem and came up to this. Bad reading.
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by MaSSive »

Oh well we were all "noobs" once.

So do you need help setting up Windows dedicated server for PR mod or are you setting up vanilla BF2 server to work with BF2 revive project such as battlelog.co ? If you are not setting up server for PR ( or if you do ) I can help but you may get specific details and meet the requirement better if you ask for help on battlelog.co forum or lookup their tutorials.

Battlelog.co - Downloads

Battlelog.co - Wiki
Last edited by MaSSive on 2015-10-24 21:50, edited 1 time in total.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
oksa
Posts: 10
Joined: 2008-09-17 14:40

Re: Server Installation BF2 Linux : Error GameServer.cpp

Post by oksa »

MaSSive wrote:Ah sorry I wasnt reading the error right.

Try to put this



in serversettings.con

This is because the heartbeat server is off and GameSpy is down, so it may cause a server to fail at start. Since there is no server browser you wont be able to connect to it to verify if it works trough the server browser but you can use IP to connect to it. Also I am unsure if it will work adding it to Gametracker but try to.
Thank you from me as well... jesus i been knocking my head in the wall trying to figure out what i did wrong, but ofc this....
Post Reply

Return to “Software”