Network socket error..

fugazi

King
Joined
Nov 2, 2005
Messages
957
Location
The Netherlands,
Hi! New to the forums, been playing since the release of Civ2 ..

but, I got problems running a civ4 MP game.

http://img.villagephotos.com/p/2005-2/955192/grr.JPG

I can connect to games but easily before the game has been fully loaded, I'll already be *outside* the game because of this. It's FRUSTRATING as it only started to do this today and I can't play any game at all now, was working just fine yesterday.

edit : I run a win xp box with a cable modem. No firewall and even it was on, I added the civ4 ports to the exception list.

Anybody with a solution?

Desperate Addict
 
Dunno if this will help/work, but have you disabled the "qos packet scheduler" in your network card settings? Usually that is responsible for network dropouts.
 
Hi guys. I just sent this bugreport to the 2kGames support (+dxdiag and msinfo dumps). This info might help you too.


Hi

I'm having trouble setting up a LAN game in Civilization 4. When I click on New Game, a bunch of error messages pop up, saying:

The network socket could not be created.
The network socket encountered an error and was closed. Disconnected.
Unable to start the messaging engine.

Using google, I found that other people have the same problem. One of them was able to work around the problem by changing from a dynamically allocated IP address to a statically allocated one.

I tried changing from my dynamically allocated address:
ip: 82.211.200.206
subnet mask: 255.255.254.0

to an arbitrary new address in the same range, this time statically allocated:
ip: 82.211.200.253
subnet mask: 255.255.254.0

First I checked that noone else was using that address, of course. But to no avail - I started Civ4 again, tried to host a LAN game, but still the same errors. Then I switched to this address:
ip: 192.168.1.206
subnet mask: 255.255.255.0

This time I was actually able to host a LAN game!
Pretty useless since noone else on my network uses this an address in this range.
Also, I was unable to use the internet at the same time, since our gateway etc. _must_ use an 82.211.200.something address.
It is therefore not a suitable workaround for the problem. A real bugfix is needed.
It seems that Civ4 disallows certain combinations of ip addresses/subnet masks.
Accoring to the game itself, I'm using version 1.5.2.1736 (42422) of Civilization 4.

The Civ4 network log dumped when trying the above contains the following:
[4432.406] DBG: HOSTING a MULTIPLAYER, NEW, LAN game!
[4432.421] ERR: Could not find available local IP!!
[4432.421] ERR: SockMgrThread encountered a socket error
[4433.437] ERR: Network socket creation failed!!
[4438.406] WRN: Disconnecting from entire Peer Network!

The init log contains the following:
[4420.593] DBG: CIV Init
[4420.593] VERSION: App: C:\Games\Sid Meier's Civilization 4\Civilization4.exe
[4420.593] VERSION: Build: Thu Dec 22 04:17:25 2005
[4420.593] VERSION: 1.5.2.1736 (42422)
[4420.593] VERSION: Mod Loaded: none
[4420.796] DBG: FILE Cat Init
[4421.078] DBG: NOT Using XML cache, failed to find crc.dat file
[4421.078] DBG: Game Init
[4421.093] DBG: Multiplayer Init BEGIN
[4421.187] DBG: Multiplayer Init END
[4421.187] DBG: Audio Init
[4421.828] DBG: ArtFileMgr Init
[4421.843] DBG: Python Init
[4426.906] VERSION: CIV Version: 0
[4426.906] VERSION: Save Version: 102
[4426.906] DBG: Input Init
[4426.921] DBG: Engine Init
[4426.921] DBG: Checking available screen resolution
[4427.046] DBG: Validating screen resolution
[4427.046] DBG: Creating rendererer
[4428.171] DBG: Engine: renderer Initialized
[4428.187] DBG: Engine: Shaders Initialized
[4428.343] DBG: Engine: Scene Lights Initialized
[4428.359] DBG: Music Start
[4428.359] DBG: Font Init
[4428.390] DBG: Total Frame MS: 7962.0 FPS: 000 Min:000 Max:000 Avg:000 SampleFilter:10.000000
Time : Ave : Min% : Max% : Num : Profile Name
-----------------------------------------------------
--------------------------------------------------
[4428.406] DBG: Begin MenuManager
[4438.109] ERR: CIV Init FAILED, exiting

Sincerely, Martin
 
Back
Top Bottom