jwhite0126 Posted November 11, 2008 Report Posted November 11, 2008 Hello, I'm developing some utilities using Widefs and Wideclient. When I use FSX, no problem. It's perfect. but when use FS2004, FSUIPC_Open returns error "FSUIPC_ERR_RUNNING". titlebar of fs2004 and wideclient says they're connected, but I can't open. logs are following. ********* WideClient Log [version 6.75] Class=FS98MAIN ********* Date (dmy): 11/11/08, Time 21:32:43.625: Client name is EMIRI 110 Attempting to connect now 110 Trying TCP/IP addr 192.168.0.2, port 8002 ... 125 Connection made okay! 8375 New Client Application: "UIPC_SDK_CSHARP" (Id=1120) --- ********* WideServer.DLL Log [version 6.75] ********* Blocksize guide = 4096 (double allowed) Date (dmy): 11/11/08, Time 21:31:32.406: Server name is WINXP 63203 Initialising TCP/IP server 63203 Initialising IPX/SPX server 63219 IPX/SPX socket() failed [Error=10047] Address family not supported by protocol family 63219 Failed to start IPX/SPX Server 63219 Initialising UDP/IP server 64078 Broadcasting service every 1000 mSecs 67766 Incoming connection Accepted ok (skt=3384) TCP 68047 Connected to computer "EMIRI" running WideClient version 6.750 (skt=3384) TCP
Pete Dowson Posted November 11, 2008 Report Posted November 11, 2008 I'm developing some utilities using Widefs and Wideclient. Best really to develop and test locally, on the FS PC. All WideFS is doing it extending that interface to another PC, but debugging and so on is usually much easier on the same PC as FS. When I use FSX, no problem. It's perfect.but when use FS2004, FSUIPC_Open returns error "FSUIPC_ERR_RUNNING". This is unlikely to be anything to do with WideFS. What does it do on the FS PC? It sounds like you have something wrong in the program. Show me the FSUIPC_Open statement you are using. You may have it set to only connect to FSX, so it refuses to connect to FS2004, which of course is a different version. Regards Pete
jwhite0126 Posted November 11, 2008 Author Report Posted November 11, 2008 I'm developing some utilities using Widefs and Wideclient. Best really to develop and test locally, on the FS PC. All WideFS is doing it extending that interface to another PC, but debugging and so on is usually much easier on the same PC as FS. I'm developing utility like project magenta's pmInstructor. I programmed and tested on the same PC, and now testing on other PC but can't connect when server is fs2004. When I use FSX, no problem. It's perfect.but when use FS2004, FSUIPC_Open returns error "FSUIPC_ERR_RUNNING". This is unlikely to be anything to do with WideFS. What does it do on the FS PC? It sounds like you have something wrong in the program. Show me the FSUIPC_Open statement you are using. You may have it set to only connect to FSX, so it refuses to connect to FS2004, which of course is a different version. Sample in SDK also failed to open. here is my own code written in C# : bool result; fsuipc.FSUIPC_Initialization(); result = fsuipc.FSUIPC_Open(0, ref Result); regards.
Pete Dowson Posted November 11, 2008 Report Posted November 11, 2008 I'm developing utility like project magenta's pmInstructor. I programmed and tested on the same PC, and now testing on other PC but can't connect when server is fs2004. Your program is running okay on both FSX and FS2004 when on the same PC as FS? Sample in SDK also failed to open. Which example, the C# one? Can you try one of the utilities I provide, like FSInterrogate, TrafficLook or WeatherSet please? Also, the two log fragments you showed originally are not enough. Both WideServer and WideClient show performance details when they terminate. Can you run FS2004 and WideClient and, when you are sure they are "connected" or appear to be, and your program (or any other) still fails, close WideClient and FS and show me both the logs. Please also confirm you are running the same WideClient, from the same folder on the client PC, for both FSX and FS2004, so I know it is indeed being set up the same. Finally, you should also try the current version of WideClient, 6.78. It was released last week but unfortunately Mr. Schiratti is unavailable at present, so the main download site isn't getting updated. You can get updates for many of my programs from the Announcements above, however. Regards Pete
jwhite0126 Posted November 11, 2008 Author Report Posted November 11, 2008 Your program is running okay on both FSX and FS2004 when on the same PC as FS? 1) FSX and program in the same PC : OK 2) FS2004 and program in the same PC : OK 3) FSX in the server, program in the client : OK 4) FS2004 in the server, program in the client : Doesn't work. FSX and FS2004 also installed on same PC, programs and wideclient excuted on same client. Which example, the C# one? Can you try one of the utilities I provide, like FSInterrogate, TrafficLook or WeatherSet please? TrafficLook and WeatherSet doesn't work with FS2004 too. Also, the two log fragments you showed originally are not enough. Both WideServer and WideClient show performance details when they terminate. Can you run FS2004 and WideClient and, when you are sure they are "connected" or appear to be, and your program (or any other) still fails, close WideClient and FS and show me both the logs. Please also confirm you are running the same WideClient, from the same folder on the client PC, for both FSX and FS2004, so I know it is indeed being set up the same. I used same wideclient.exe in same folder for connect fsx and fs2004 both. there are logs when I tried to connect to FS2004 ********* WideServer.DLL Log [version 6.78] ********* Blocksize guide = 4096 (double allowed) Date (dmy): 11/11/08, Time 23:20:04.890: Server name is WINXP 145875 Initialising TCP/IP server 145891 Initialising IPX/SPX server 145891 IPX/SPX socket() failed [Error=10047] Address family not supported by protocol family 145891 Failed to start IPX/SPX Server 145891 Initialising UDP/IP server 146157 Broadcasting service every 1000 mSecs 146641 Incoming connection Accepted ok (skt=3304) TCP 146641 Connected to computer "EMIRI" running WideClient version 6.780 (skt=3304) TCP 333610 Error 10054: client socket disconnected at Client: removing (skt=3304) TCP 347469 Incoming connection Accepted ok (skt=3148) TCP 347782 Connected to computer "EMIRI" running WideClient version 6.780 (skt=3148) TCP 467954 Error 10053: client socket disconnected at Client: removing (skt=3148) TCP 520266 Close signalled to clients 521360 Closing down now ... Memory managed: Offset records: 250 alloc, 250 free Read buffer usage: 143 alloc, 143 free, max in session: 1 Write buffer usage: 3961 alloc, 3961 free, max in session: 1 Throughput maximum achieved: 16 frames/sec, 5602 bytes/sec Throughput average achieved for complete session: 3 frames/sec, 678 bytes/sec Average receive rate from "EMIRI": 0 frames/sec, 13 bytes/sec ********* Log file closed ********* ********* WideClient Log [version 6.78] Class=FS98MAIN ********* Date (dmy): 11/11/08, Time 23:25:56.484: Client name is EMIRI 109 Attempting to connect now 109 Trying TCP/IP addr 192.168.0.2, port 8002 ... 125 Connection made okay! 96468 New Client Application: "UIPC_SDK_CSHARP" (Id=1680) 120531 ****** End of session performance summary ****** 120531 Total time connected = 120 seconds 120531 Reception maximum: 14 frames/sec, 3653 bytes/sec 120531 Reception average whilst connected: 10 frames/sec, 1715 bytes/sec 120531 Transmission maximum: 1 frames/sec, 94 bytes/sec 120531 Transmission average whilst connected: 0 frames/sec, 20 bytes/sec 120531 Max receive buffer = 450, Max send depth = 1, Send frames lost = 0 120531 **************** Individual client application activity **************** 120531 Client 1680 requests: 5 (Ave 0/sec), Data: 216 bytes (1/sec), Average 43 bytes/Process 120531 ********* Log file closed (Buffers: MaxUsed 2, Alloc 1360 Freed 1360 Refused 0) ********* --- and here is successed log at FSX, same fsclient.exe, same folder and same client PC with no rebooted between two logs. ********* WideServer.DLL Log [version 7.26] ********* Blocksize guide = 4096 (double allowed) Date (dmy): 11/11/08, Time 23:57:56.265: Server name is WINXP 15203 Initialising TCP/IP server 15218 Initialising IPX/SPX server 15234 IPX/SPX socket() failed [Error=10047] Address family not supported by protocol family 15250 Failed to start IPX/SPX Server 15250 Initialising UDP/IP server 15609 Incoming connection Accepted ok (skt=8332) TCP 15859 Connected to computer "EMIRI" running WideClient version 6.780 (skt=8332) TCP 16172 Broadcasting service every 1000 mSecs 96875 Error 10054: client socket disconnected at Client: removing (skt=8332) TCP 110203 Close signalled to clients 111312 Closing down now ... Memory managed: Offset records: 58 alloc, 57 free Read buffer usage: 38 alloc, 38 free, max in session: 1 Write buffer usage: 1149 alloc, 1149 free, max in session: 1 Throughput maximum achieved: 19 frames/sec, 571 bytes/sec Throughput average achieved for complete session: 5 frames/sec, 151 bytes/sec Average receive rate from "EMIRI": 0 frames/sec, 16 bytes/sec ********* Log file closed ********* ********* WideClient Log [version 6.78] Class=FS98MAIN ********* Date (dmy): 11/11/08, Time 23:56:08.656: Client name is EMIRI 109 Attempting to connect now 109 Trying TCP/IP addr 192.168.0.2, port 8002 ... 1141 Error on client pre-Connection Select() [Error=10061] Connection refused 1141 Ready to try connection again 2172 Attempting to connect now 60672 Trying TCP/IP addr 192.168.0.2, port 8002 ... 127297 Connection made okay! 132641 New Client Application: "UIPC_SDK_CSHARP" (Id=208) 208547 ****** End of session performance summary ****** 208547 Total time connected = 79 seconds 208547 Reception maximum: 19 frames/sec, 556 bytes/sec 208547 Reception average whilst connected: 14 frames/sec, 420 bytes/sec 208547 Transmission maximum: 0 frames/sec, 32 bytes/sec 208547 Transmission average whilst connected: 0 frames/sec, 21 bytes/sec 208547 Max receive buffer = 393, Max send depth = 1, Send frames lost = 0 208547 **************** Individual client application activity **************** 208547 Client 208 requests: 1 (Ave 0/sec), Data: 56 bytes (0/sec), Average 56 bytes/Process 208547 ********* Log file closed (Buffers: MaxUsed 2, Alloc 1180 Freed 1180 Refused 0) ********* Regards.
Pete Dowson Posted November 11, 2008 Report Posted November 11, 2008 1) FSX and program in the same PC : OK 2) FS2004 and program in the same PC : OK 3) FSX in the server, program in the client : OK 4) FS2004 in the server, program in the client : Doesn't work. FSX and FS2004 also installed on same PC, programs and wideclient excuted on same client.[ That's really weird. The logs show it is all communicating okay. One more thing, the last straw as it were. Make sure FS2004 is closed and show me the complete FSUIPC.LOG file please. Regards Pete
jwhite0126 Posted November 11, 2008 Author Report Posted November 11, 2008 That's really weird. The logs show it is all communicating okay. One more thing, the last straw as it were. Make sure FS2004 is closed and show me the complete FSUIPC.LOG file please. Turn on FS2004, connect the wideclient, run program, send request(FSUIPC_Open), close program, close wideclient, then turn off fs2004. ********* FSUIPC, Version 3.849 by Pete Dowson ********* Running on Windows Version 5.1 Build 2600 Service Pack 2 Verifying Certificate for "C:\Program Files\Microsoft Games\Flight Simulator 9\MODULES\FSUIPC.dll" now ... SUCCESS! Signature verifies okay! Running inside FS2004 (FS9.1 CONTROLS.DLL, FS9.1 WEATHER.DLL) User Name="kong sun choi" User Addr="choi@nuriaero.com" FSUIPC Key is provided WideFS Key is provided Module base=61000000 ClassOptions: UIPCMAIN=FF7F, FS98MAIN=FF7F, FS2KMAIN=FF5E WeatherOptions(Orig)=40003605[40003605] InitDelay: 0 seconds WeatherReadInterval=4 LogOptions=00000001 DebugStatus=255 11609 System time = 00:57:13 11609 C:\Program Files\Microsoft Games\Flight Simulator 9\ 11609 System time = 00:57:13, FS2004 time = 12:00:00 (00:00Z) 47813 FLIGHTS\OTHER\FLTSIM.flt 48016 AIRCRAFT\c172\Cessna172SP.air 48234 Aircraft="Cessna Skyhawk 172SP" 61453 C:\Documents and Settings\별자리점\My Documents\Flight Simulator Files\UI generated flight.flt 61859 Clear All Weather requested: external weather discarded 66703 Advanced Weather Interface Enabled 154375 System time = 00:59:36, FS2004 time = 16:58:31 (07:58Z) 154375 *** FSUIPC log file being closed Memory managed: 0 Allocs, 558 Freed ********* FSUIPC Log file closed *** ******* regards.
Pete Dowson Posted November 11, 2008 Report Posted November 11, 2008 User Name="kong sun choi" User Addr="choi@nuriaero.com" FSUIPC Key is provided WideFS Key is provided How is your name here (J White?) related to the name of your registration (Kong Sun Choi)? Licenses are not transferable. Anyway, it is now clear what is going on. The log tells me that you have an incorrect, probably pirated, Key for either FSUIPC or WideFS, or both. I think WideFS, hence the problem. According to records you, if you are Mr. Kong, only purchased an FSUIPC Key, no WideFS key. And there's no record of any FSUIPC4 or WideFS7 purchases in that name, which is even more suspicious. Have you changed your name, or registered using a different one? If you think your keys are legitimate, please ZIP the FSUIPC.KEY file from the Modules folder and send it to me at petedowson@btconnect.com for further checking along with your receipts from SimMarket. Otherwise I'd strongly advise you to purchase legal key(s) immediately. If I don't hear from you by this time tomorrow I will report this to SimMarket. Regards Pete
jwhite0126 Posted November 12, 2008 Author Report Posted November 12, 2008 How is your name here (J White?) related to the name of your registration (Kong Sun Choi)? Licenses are not transferable. Mr. Choi is my boss, and I'm working in his office last nignt and today afternoon. (server is owned by Mr.Choi) Anyway, it is now clear what is going on. The log tells me that you have an incorrect, probably pirated, Key for either FSUIPC or WideFS, or both. I think WideFS, hence the problem. According to records you, if you are Mr. Kong, only purchased an FSUIPC Key, no WideFS key. And there's no record of any FSUIPC4 or WideFS7 purchases in that name, which is even more suspicious. Have you changed your name, or registered using a different one? FSUIPC 3's license is Mr.Choi's and FSUIPC4's one was purchased by another person. (He is also choi:) ) If you think your keys are legitimate, please ZIP the FSUIPC.KEY file from the Modules folder and send it to me at petedowson@btconnect.com for further checking along with your receipts from SimMarket. Otherwise I'd strongly advise you to purchase legal key(s) immediately. If I don't hear from you by this time tomorrow I will report this to SimMarket. I tried re-register FSUIPC and Widefs both, and now working perfectly. Thank you for answer.
Pete Dowson Posted November 12, 2008 Report Posted November 12, 2008 Mr. Choi is my boss, and I'm working in his office last nignt and today afternoon. (server is owned by Mr.Choi) Okay, that's fair enough then. I tried re-register FSUIPC and Widefs both, and now working perfectly. In the .KEY file you sent, the FSUIPC was good (purchased in 2006), but the WideFS key was one made by an old and illegal hacked key generator. If you are still using the bad WideFS you will continue to have intermittent troubles. You should delete it and purchase a legal one. Regards Pete
jwhite0126 Posted November 12, 2008 Author Report Posted November 12, 2008 In the .KEY file you sent, the FSUIPC was good (purchased in 2006), but the WideFS key was one made by an old and illegal hacked key generator. If you are still using the bad WideFS you will continue to have intermittent troubles. You should delete it and purchase a legal one. I''ll tell my boss to buy widefs license. Thanks again to your help.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now