project reality header
Go Back   Project Reality Forums > Project Reality Support > PR:BF2 Support
24 Jan 2020, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Support Help and support regarding PR:BF2 installation and in-game issues

Closed Thread
 
Thread Tools Display Modes
Old 2018-02-25, 19:34   #1
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member

Mats391's Avatar
Default Invalid GameSpy URL

Edit:

As of 1.5.3.3 this should never happen anymore. Let us know if it does.






If you are getting this error


This means that PR/BF2 finds an entry in your hosts file it does not like. For PR 1.5.3+ this would be any line that does not start with a '#' and contains "localhost". From 1.5.3.1+ only the first line should matter. This check was done by DICE, not us. We just made hack to only check first line
You can find the hosts file at
Code:
C:\Windows\System32\drivers\etc\hosts
You can open it using Notepad. To edit it you will need to run Notepad as admin. You can find the default content of the hosts file here: https://support.microsoft.com/en-us/...to-the-default

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline
Last edited by [R-DEV]AlonTavor; 2018-03-05 at 10:26..
Old 2018-02-26, 01:12   #2
acekiss
Default Re: Invalid GameSpy URL

thank you so much. I was already going crazy ...
acekiss is offline
Old 2018-02-26, 06:46   #3
solidfire93

solidfire93's Avatar
Smile Re: Invalid GameSpy URL

this worked for me, thnx for the help Mats.
solidfire93 is offline
Old 2018-02-27, 15:20   #4
[R-DEV]​AlonTavor
PR:BF2 Developer
PR Server License Administrator
Default Re: Invalid GameSpy URL

To make it clear:
All you need to do is insert a new empty line as the first line.

(Or stop messing with system files, you don't need a localhost entry in windows 7+)
AlonTavor is offline
Old 2018-02-28, 08:23   #5
SixBreaker

SixBreaker's Avatar
Default Re: Invalid GameSpy URL

Got mine to work.

WINDOWS 7

Basically go to:

C:\Windows\System32\drivers\etc

Hosts will be hidden; you have to go to Organize Folder, Folder and Search Options, View, and make sure that "hide protected o/s files" disabled. You'll see the host file. Right click it, and under security, allow "full control"

You will see some random number 127.0.0.1 or something, simply add # in front.
SixBreaker is offline
Old 2018-03-14, 00:47   #6
UncleSmek

UncleSmek's Avatar
Default Re: Invalid GameSpy URL

I am currently having this problem since I switched to windowed mode. I have added the empty space and now I do not get the error message; but I do stilll crash.

Do you know what might be the problem?
UncleSmek is offline
Old 2018-03-14, 08:58   #7
[R-DEV]​AlonTavor
PR:BF2 Developer
PR Server License Administrator
Default Re: Invalid GameSpy URL

Quote:
Originally Posted by UncleSmek View Post
I am currently having this problem since I switched to windowed mode. I have added the empty space and now I do not get the error message; but I do stilll crash.

Do you know what might be the problem?
If you do not get this error message then it's not the problem. It can't happen anymore. Make a new thread and show exactly where you crash.
AlonTavor is offline
Old 2018-05-20, 16:11   #8
00SoldierofFortune00

00SoldierofFortune00's Avatar
Default Re: Invalid GameSpy URL

Just got this error. It was saying something about "not optimal resolution" until I tried it in windowed view and got this. Any help?

Attached Images
File Type: png Error.png (12.2 KB, 2 views)

"Push the Envelope, Watch It Bend"

Tool ~ Lateralus
00SoldierofFortune00 is offline
Old 2018-05-20, 17:43   #9
[R-DEV]​AlonTavor
PR:BF2 Developer
PR Server License Administrator
Default Re: Invalid GameSpy URL

Quote:
Originally Posted by 00SoldierofFortune00 View Post
Just got this error. It was saying something about "not optimal resolution" until I tried it in windowed view and got this. Any help?

This isn't related. Make a new thread.
AlonTavor is offline
Closed Thread


Tags
gamespy, invalid, url
Thread Tools
Display Modes

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 12:17.