Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   CoD Multiplayer (http://forum.fulqrumpublishing.com/forumdisplay.php?f=192)
-   -   IL2ClodCommander Server Manager (http://forum.fulqrumpublishing.com/showthread.php?t=29043)

_79_dev 02-14-2012 09:44 AM

Anyone knows why I`am getting this error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.IOException: The operation is not allowed on non-connected sockets.
at System.Net.Sockets.NetworkStream.InitNetworkStream (Socket socket, FileAccess Access)
at System.Net.Sockets.NetworkStream..ctor(Socket socket)
at IL2CloDCommander.ServerConsoleConnection.SendConso leMessage(String msg)
at IL2CloDCommander.Form1.buttonBattleStart_Click(Obj ect sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

wildwillie 02-14-2012 10:22 AM

Looks like you clicked on the Battle Start button before IL2ClodCommander was connected to the server. There was no Socket connection setup yet so the command failed.

WildWillie

_79_dev 02-14-2012 10:39 AM

server is running no prob, i can load any miision I want on plain server , when i go to Il2 stats commander set ports connect database, connect server and start mission everything looks good until I press Start battle...also when I try Send Console button I got message No Stats Socet Connection...strange all the files looks configurated properly...?


this is from .cs file

private static string serverName = "Cliffs of Dover";
private static string serverIP = "127.0.0.1";

// Password is not used currently
private static string serverPassword = "password";
private static Int32 serverPort = 27016;

this from confs.ini

serverName=Dedicated Server
serverDescription=IL-2 Sturmovik: Cliffs of Dover
speed=100000
localPort=27016
maxPlayers=4
serverInfo1=
serverInfo2=
serverInfo3=
serverInfo4=
VAC=1
tryDirectConnect=1

[Console]
IP=20016
IPS=127.0.0.1, localhost, 89.101.25.220
LOG=1
LOGTIME=0

wildwillie 02-15-2012 12:33 AM

79_dev -

I see the problem. When you start IL2 Clod Commander, once you click "Database", "Server", "Start Mission" it will automatically start the battle. Those buttons were left over from initial testing, and should not be used. I have removed them from my next release (Which I have done, just need to put into a package to distribute)

WildWillie

_79_dev 02-15-2012 10:01 AM

I have noticed that server is running just that error is a bit curious thing. Now how about "Send Console" button, why will ports not match or be in use? I am trying to send anything to Console even when mission is not running yet and got that" No Stats Socet connection" error...curious again

wildwillie 02-15-2012 11:39 AM

The release you are using has a lot of testing stuff build in(That will be removed or worked into functional stuff later). The send console button being one of them.

_79_dev 02-15-2012 01:52 PM

I understand now thank You for quick reply, if You need any help with testing or scripting send me p.m

_79_dev 02-24-2012 11:19 PM

~S~
I kind of worked out my socket problem. I can't get it to work only under win xp sp3 for some reason. I have created virtual win7 under Oracle Virtual Box and it's working fine with the same settings on the same computer. I am using XAMPP and maybe it has some problem with ports throug firewall or something...

P.S Any chance for update Willy? I can Imagine You are busy man but I can't wait until next release ...

salmo 02-28-2012 01:41 PM

Willie,
I can get a green DB connectuion, green Server connection, & green Start missions. First mission in cycle runs OK. After time expires, I get 4 consecutive error dialogs saying "No Stats Socket Connection" with just the OK button, which seem to coincide with the 'Chat: Server: Next mission start in 30 seconds' console call. Clicking through these steps to the next mission in the cycle which starts OK, then same error dialogs at the end of the second mission in cycle.

I don't see any in-game pilots in the commander pilot list or in the stats webpage, but mission coundown, mission name etc appear OK in commander & on webpage. Any ideas?

_79_dev 02-28-2012 09:47 PM

For me missions runs ok in the cycle with no errors. Don't know what may cause error message. I had that problem with sockets ealier on but I was running it under win xp, upgrading to win 7 cleared this issue. Still working on it anyway. About web page, if You are using .php files attached by Will You have to edit few files like config.php, header.inc, footer.Inc from web page folder ...


All times are GMT. The time now is 06:03 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.