Windows Vista Errors (?) (Internet Connectivity Bug)

For topics that do not fit in another sub-forum.

Moderator: Oberlus

Post Reply
Message
Author
Sai
Pupating Mass
Posts: 94
Joined: Sat Feb 23, 2008 9:15 pm

Windows Vista Errors (?) (Internet Connectivity Bug)

#1 Post by Sai »

I'm experiencing some odd errors with 1.3.8 (on Vista 32bits), when choosing Single Player, Windows says the program has stopped working (while it hasn't). But, when I try to advance, it will in fact crash.

Reading the log (which by the way is very inaccessible if you don't run it from the command prompt) I'm assuming it <demands> internet access? (Which it doesn't have)

Code: Select all

1203810850 DEBUG  : OpenAL initialized. Version OpenAL version 1.1Renderer SB Au
digy 2 ZS Audio [A000]Vendor Creative Labs Inc.
Extensions: EAX
EAX1.0
EAX2.0
EAX3.0
EAX4.0


1203810850 DEBUG  : SDLInit() complete.
1203810850 DEBUG  : GLInit() complete.
1203810851 DEBUG  : TechCategory::TechCategory(LEARNING_CATEGORY, blah, [93, 155
, 246, 255])
1203810851 DEBUG  : TechCategory::TechCategory(GROWTH_CATEGORY, blah, [116, 225,
 107, 255])
1203810851 DEBUG  : TechCategory::TechCategory(PRODUCTION_CATEGORY, blah, [240,
106, 106, 255])
1203810851 DEBUG  : TechCategory::TechCategory(CONSTRUCTION_CATEGORY, blah, [241
, 233, 87, 255])
1203810851 DEBUG  : TechCategory::TechCategory(ECONOMICS_CATEGORY, blah, [255, 1
12, 247, 255])
1203810851 DEBUG  : TechCategory::TechCategory(SHIPS_CATEGORY, blah, [85, 255, 1
70, 255])
1203810851 DEBUG  : Limited FPS to 60
std::runtime_error exception caught in GUI::Run(): socket_select_interrupter: An
 attempt was made to access a socket in a way forbidden by its access permission
s.1203811002 DEBUG  : Initiating Exit (code 1 - error termination)
1203811002 DEBUG  : SDLQuit() complete.

C:\Program Files\FreeOrion>
Last edited by Sai on Sun Feb 24, 2008 12:05 am, edited 1 time in total.

Sai
Pupating Mass
Posts: 94
Joined: Sat Feb 23, 2008 9:15 pm

Re: Windows Vista Errors (?)

#2 Post by Sai »

The game runs now, after I granted access (Single Player mode).

This seems rather silly to me.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13586
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Windows Vista Errors (?) (Internet Connectivity Bug)

#3 Post by Geoff the Medio »

This is a bug with the firewall, not with freeorion. Single player mode does not use internet connectivity, but it does connect to the server via a similar communications method, which is mistaken for a net access attempt. This issue more commonly crops up with ZoneAlarm on WinXP.

The error message probably says the server stopped working. The client and server (and AIs) are separate processes, and if one crashes, the other doesn't necessarily crash or notice until it attempts to communicate with the other.

Edit: The log is stored in freeorion.log in C:\Documents and Settings\UserName\Application Data\FreeOrion

There are logs for the server and AI clients as well. The latter come in handy when scripting AI in Python, since the AI clients lack a console window in which to display output, regardless of how the human client is started.

Sai
Pupating Mass
Posts: 94
Joined: Sat Feb 23, 2008 9:15 pm

Re: Windows Vista Errors (?) (Internet Connectivity Bug)

#4 Post by Sai »

Was McAfee, not too happy with it anyway.

(The directory is invalid for Vista) (it's C:\Users\[UserName]\AppData\Roaming\FreeOrion for Vista)

Code: Select all

C:\Program Files\FreeOrion>freeorion --fullscreen
1203818627 DEBUG  : OpenAL initialized. Version OpenAL version 1.1Renderer SB Au
digy 2 ZS Audio [A000]Vendor Creative Labs Inc.
Extensions: EAX
EAX1.0
EAX2.0
EAX3.0
EAX4.0


1203818627 ERROR  : Video mode set failed: No video mode large enough for 1650x1
050
1203818627 DEBUG  : Initiating Exit (code 1 - error termination)
1203818627 DEBUG  : SDLQuit() complete.

C:\Program Files\FreeOrion>
(The actual display size is 1680x1050, small typo on my side, but the program won't run at all anymore (in fullscreen) even though it should fit )

But ah well, no real issue.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13586
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Windows Vista Errors (?) (Internet Connectivity Bug)

#5 Post by Geoff the Medio »

Hmm. I guess it's not providing any of the larger resolutions because SDL doesn't detect them for some reason. This is probably a bug with SDL, but is worth reporting on sourceforge for freeOrion. I suspect that tzlaine (lead programmer who deals with such issues) may just not deal with it though...

You should (might?) be able to run custom resolutions up to whatever size you want in windowed mode though. That's generally how I run the game, though I'm usually doing so while developing it.

Sai
Pupating Mass
Posts: 94
Joined: Sat Feb 23, 2008 9:15 pm

Re: Windows Vista Errors (?) (Internet Connectivity Bug)

#6 Post by Sai »

Aye, that is why I found it strange that 1650x1050 made the game not run at all, I'll see if I can parse it to the bugtracker.

Post Reply