Jump to content
The simFlight Network Forums

ACSoft

Members
  • Posts

    12
  • Joined

  • Last visited

About ACSoft

  • Birthday 01/01/1970

Contact Methods

  • Website URL
    http://

Profile Information

  • Location
    Switzerland

ACSoft's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Pete, Just to clarify things, this "OOM warning" feature just concern the FSX version of FSUIPC, NOT the FS2004 version, right ? Thanks in forward for your reply. ACS
  2. Is it possible for you to imagine that somebody which is not speaking English as is mother language may have more difficulties to understand some kind of redaction ? Is it possible for you to imagine that to say "How did you ever learn to program if you don't notice details?" is almost equally insultant than my remark about the "salad" ? And, of course, we are supposed to know that "it is all handled in FSUIPC", even if this is not mentionned in the doc. I am not ashmed of nothing. Public will judge. Public will judge who is always disparaging other. Public will judge who tryed to bring peace by writing kind words about your father birthday and wish to you a nice week-end. Public will judge who simply do not say the smallest thanks for these wishes nor returned them. Public will judge who started first to be disagreeable for nothing in this thread. Now you can continue alone to give lesson to me or to others, if you want, apparently you seem to found that delightful. But note that I will never come back in this forum. So if you do it, everybody will understand you need to justify yourself. All this effort, to make this gauge auto-registrable, I do it exclusively for the simmer community, not for me. I don't need it. In the bible it is written: "You see the straw which is in the eye of your neighbour, but you don't see the beam which is in yours". Thanks anyway to have respected your engagement by building a key for my gauge and may God bless you. Alain Capt ACSoft Productions leaving this forum and this thread for ever.
  3. Shall I say now "yes Sir yes" my Colonel and clap my heels ? No, because now I have definitively ENOUGH OF YOU. There is nothing insulting in that expression. I don't care about when you look at your problems. I simply recommend you a bit more humility, because if your documentation was a bit more precise, we would know if the zero character should be included or not. Your text is very ambigous on that point. What about special characters ? Shall we omit them like it is the case into the file FSUIPC.key ? Simply not one word on that matter. What do you think, your are the only clever man on this planet ? Of course, I have tested with or without the zero terminator and this make no difference at all. Moreover, I tell you that it work in two cases WITHOUT, tell me why in this case ? Alain Capt
  4. Mr Dowson, I am terribly sorry, but you still have a problem on you side. I prove it: With your last version 3.22 I have build my gauge using the name "A320.gau" everywhere and used the key "VSB54OK5UVWNA320.gau" in the code of my gauge (code as printed in previous messages). Result: auto registration work perfectly Here is the log with read/write enabled: ********* FSUIPC, Version 3.22 by Pete Dowson ********* User Name="" User Addr="" FSUIPC not user registered WIDEFS not user registered, or expired Module base=61000000 ClassOptions: UIPCMAIN=FF7F, FS98MAIN=FF7F, FS2KMAIN=FF5E WeatherOptions(Orig)=0000B027[0000B027] InitDelay: 0 seconds WeatherReadInterval=4 LogOptions=0000000D DebugStatus=0 1454 System time = 21:16:53 1454 \\PC-ALAIN\F\FS2004\ 1469 System time = 21:16:53, FS2004 time = 12:00:00 (00:00Z) 2454 D:\Documents\Flight Simulator Files\ACS MD11 - default flight.flt 2485 AIRCRAFT\iFDG_MD11-PW-PAX-3C\MD-11_acs.air 2485 Aircraft="iFDG MD11 Swissair" 6610 Advanced Weather Interface Enabled 7375 D:\Documents\Flight Simulator Files\UI generated flight.flt 7672 Clear All Weather requested: external weather discarded 8172 Module identified = "A320.GAU" 8172 READ0 3304, 4 bytes: 00 00 20 32 8172 READ0 3308, 4 bytes: 07 00 DE FA 8172 WRITE0 (failed, read-only!) 330A, 2 bytes: 4C 04 8172 WRITE0 8001, 20 bytes: 56 53 42 35 34 4F 4B 35 55 56 57 4E 41 33 32 30 8172 2E 67 61 75 8172 ModuleOK="A320.gau" 8172 READ0 0240, 2 bytes: D4 07 8172 READ0 F000, 2 bytes: 00 00 8172 READ0 F002, 2 bytes: 00 00 20610 Traffic File #14 = "scenery\world\scenery\traffic030528" 20625 READ0 3304, 4 bytes: 00 00 20 32 20625 READ0 3308, 4 bytes: 07 00 DE FA 20625 WRITE0 (failed, read-only!) 330A, 2 bytes: 4C 04 20625 WRITE0 8001, 20 bytes: 56 53 42 35 34 4F 4B 35 55 56 57 4E 41 33 32 30 20625 2E 67 61 75 20625 READ0 0240, 2 bytes: D4 07 20625 READ0 F000, 2 bytes: 28 00 20625 READ0 F002, 2 bytes: 60 00 21485 READ0 F006, 2 bytes: 03 00 21485 READ0 F004, 2 bytes: 03 00 ... and here dialog with FSUIPC start and work normally. But using my "official" gauge name and EXACLTY the same code, it does not work. Here is the log with read/write enabled: ********* FSUIPC, Version 3.22 by Pete Dowson ********* User Name="" User Addr="" FSUIPC not user registered WIDEFS not user registered, or expired Module base=61000000 ClassOptions: UIPCMAIN=FF7F, FS98MAIN=FF7F, FS2KMAIN=FF5E WeatherOptions(Orig)=0000B027[0000B027] InitDelay: 0 seconds WeatherReadInterval=4 LogOptions=0000000D DebugStatus=0 1453 System time = 21:24:59 1453 \\PC-ALAIN\F\FS2004\ 1469 System time = 21:24:59, FS2004 time = 12:00:00 (00:00Z) 2453 D:\Documents\Flight Simulator Files\ACS MD11 - default flight.flt 2484 AIRCRAFT\iFDG_MD11-PW-PAX-3C\MD-11_acs.air 2484 Aircraft="iFDG MD11 Swissair" 6609 Advanced Weather Interface Enabled 7781 D:\Documents\Flight Simulator Files\UI generated flight.flt 8063 Clear All Weather requested: external weather discarded 8391 Module identified = "ACS.zulu-MD11.GAU" 8391 READ0 3304, 4 bytes: 00 00 20 32 8391 READ0 3308, 4 bytes: 07 00 DE FA 8391 WRITE0 (failed, read-only!) 330A, 2 bytes: 4C 04 8391 WRITE0 8001, 27 bytes: 45 48 54 4D 4F 42 59 45 58 57 58 49 41 43 53 5A 8391 75 6C 75 4D 44 31 31 2E 67 61 75 8391 Illegal read attempt: offset 0240, size 2 8391Program or module not accredited for use with this unregistered FSUIPC 9703 ### IPC Message processed in 1312mSecs ### 18906 Traffic File #14 = "scenery\world\scenery\traffic030528" 18922 Module identified = "ACS.zulu-MD11.GAU" 18922 READ0 3304, 4 bytes: 00 00 20 32 18922 READ0 3308, 4 bytes: 07 00 DE FA 18922 WRITE0 (failed, read-only!) 330A, 2 bytes: 4C 04 18922 WRITE0 8001, 27 bytes: 45 48 54 4D 4F 42 59 45 58 57 58 49 41 43 53 5A 18922 75 6C 75 4D 44 31 31 2E 67 61 75 18922 Illegal read attempt: offset 0240, size 2 18922Program or module not accredited for use with this unregistered FSUIPC 18922 READ0 3304, 4 bytes: 00 00 20 32 18922 READ0 3308, 4 bytes: 07 00 DE FA 18922 WRITE0 (failed, read-only!) 330A, 2 bytes: 4C 04 18922 WRITE0 8001, 27 bytes: 45 48 54 4D 4F 42 59 45 58 57 58 49 41 43 53 5A 18922 75 6C 75 4D 44 31 31 2E 67 61 75 18922 Illegal read attempt: offset 0240, size 2 18922 READ0 3304, 4 bytes: 00 00 20 32 18922 READ0 3308, 4 bytes: 07 00 DE FA 18922 WRITE0 (failed, read-only!) 330A, 2 bytes: 4C 04 18922 WRITE0 8001, 27 bytes: 45 48 54 4D 4F 42 59 45 58 57 58 49 41 43 53 5A 18922 75 6C 75 4D 44 31 31 2E 67 61 75 18922 Illegal read attempt: offset 0240, size 2 etc..., until all 18 attempts are done. For your information and help, I have also tryed with my key, but with different gauge name: With: "ACS.ZuluMD11.gau" it does not work With: "ACSZulu-MD11.gau" it does not work With: "ACSZuluMD11.gau" IT WORK You obviously still have some "salad" in the way you handle spécial characters. So, I am waiting you correct the problem on your side. By the way: Switzerland: 1 point. Regards, Alain Capt
  5. Mr Dowson, I have modified the code mentionned in a previous message this way and tested with you brand new version 3.22: static char chMyKey[]="EHTMOBYEXWXIACSZuluMD11.gau"; if (FSUIPC_Write(0x8001,strlen(chMyKey),chMyKey,&dwResult)) FSUIPC_Process(&dwResult); But it does not work. Just to see, I tryed also to rename the gauge, but also without success. Please give me advises, because now, I positively don't know what to do. Regards, Alain
  6. I just got the 3.22 and tested. Nice, now the manual registration method work perfectly with the "official" name of my gauge. What a beautiful age ! Please, transmit my very warm and sincere "happy birthday wishes" to your father, from the Swiss developper who is always "fighting" with you ! :wink: One point for England ! But like I said, I tested that quickly by curiosity, with the straight forward natural developper reflex, to refer to the sample code you give. May I suggest that you add into this basic sample code: "Attention, the method is different for gauge or dll, please refer to..." But thank anyway to have pointed out the problem, this has probably saved me from some fastidious documentation readings & researches. I will now make the code correct and test again and I am sure it will work. I wish to you a nice week-end and fest with your family. Regards, Alain Capt
  7. Mr Dowson, Hoops, we crossed our messages ! Can you give me the key, I am not in contact actually with the user. I will redo the test with your 3.22 which I suppose is already downloadable. Thanks in forward, Alain
  8. Mr Dowson, I redo all the test with your very last version 3.212, with my gauge renamed in "ACS-Zulu-MD11.gau" instead of "ACS.Zulu-MD11.gau". here are the results: Auto-registration method: the code used: if(FSUIPC_INIT && !FSUIPC) { DWORD dwResult; FSUIPC_INIT--; if(FSUIPC=FSUIPC_Open2(SIM_ANY,&dwResult,FSUIPC_buf,sizeof(FSUIPC_buf))==TRUE) { WORD FS_year; static char chMyKey[]="EHTMOBYEXWXI"; // As obtained from Pete Dowson if (FSUIPC_Write(0x8001,12,chMyKey,&dwResult)) // register my key FSUIPC_Process(&dwResult); // read FS year offset, to check if FSUIPC is really operational if (!FSUIPC_Read(0x0240,2,&FS_year,&dwResult) || !FSUIPC_Process(&dwResult)) FSUIPC=FALSE; else { This code is located into the "update()" part of the gauge and executed a maximum of 18 times in 1 second (FSUIPC_INIT counter) to insure your module has the time to be operational (this feature is required). Result of the test: failure, no registration. Manual registration method: Content of your file FSUIPC.key: [Programs] ACSZuluMD11.gau=EHTMOBYEXWXI Content of your file FSUIPC.log: ********* FSUIPC, Version 3.212 by Pete Dowson ********* User Name="" User Addr="" FSUIPC not user registered WIDEFS not user registered, or expired Module base=61000000 ClassOptions: UIPCMAIN=FF7F, FS98MAIN=FF7F, FS2KMAIN=FF5E WeatherOptions(Orig)=0000B027[0000B027] InitDelay: 0 seconds WeatherReadInterval=4 LogOptions=00000001 DebugStatus=0 1485 System time = 15:08:58 1485 \\PC-ALAIN\F\FS2004\ 1485 System time = 15:08:58, FS2004 time = 12:00:00 (00:00Z) 2485 D:\Documents\Flight Simulator Files\ACS MD11 - default flight.flt 2516 AIRCRAFT\iFDG_MD11-PW-PAX-3C\MD-11_acs.air 2516 Aircraft="iFDG MD11 Swissair" 6610 Advanced Weather Interface Enabled 32516 D:\Documents\Flight Simulator Files\UI generated flight.flt 32813 Clear All Weather requested: external weather discarded 33125 Module identified = "ACS-zulu-MD11.GAU" 33125 ModuleOK="ACS-zulu-MD11.GAU" 43500 Traffic File #14 = "scenery\world\scenery\traffic030528" 59828 System time = 15:09:57, FS2004 time = 15:09:16 (13:09Z) 59828 *** FSUIPC log file being closed Memory managed: 2 Allocs, 1124 Freed ********* FSUIPC Log file closed **** Result of the test: success of registration With the hope this might help you. Regards, Alain Capt ACSoft Productions
  9. Sorry Mr. Dowson, for this misspelling of your name. Yes, I used this option, along with gauge rename, with the Key the user sent to me, to investigate the case. But you should know that with this key, NONE of the manual correction into the KEY file was working, unless I rename my gauge. For your information, even with a renamed gauge which work with the manual registration method, I was not able to make working the auto-registration method which I also tryed by curiosity. The code into gauge is EXACTLY like into your sample, except, of course it use Open2() instead of Open(). Is it that the auto-registration use an other key ? I don't know. This user missunderstand me. I simply told to him that I was able to make it work, but for that, I had to make an abnormal modification on my side. I would greatly prefer to implement the auto-registration method, to avoid installation, documentation, support complications. If you are on the way to issue a new version with correction in the aera, please use me to check all that. If you send me your beta, along with the key which is supposed to work with auto-registration method, I will test all this asap (this afternoon already) and report here. Regards, Alain
  10. Mister Dawson, Very recently, you have added into your published list of freeware key code, a key for my gauge "ACS.Zulu-MD11.GAU", on the request of an user. Then you have removed this key, soon after, because this user told you that this key wasn't working. Where I recognize you perfectly, it is in the fact that you immediately said to this user that it was my fault, that probably, I was not acceeding your module in a clean way. Sorry, Mr Dawson, but I am not the guilty. It is your module which do not support all possible legal file names. In this particular case, your system actually do not support executable file name which contain several dots characters. So now, we will see if you are respecting your engagements (freeware users must not be obliged to pay a licence), by correcting this obvious fault in your module and publish again a new key which will work. It is quite clear here, that it not to me to change the name structure for my gauges, a structure which I use for many years now and moreover, which I am not the only developper to use. Regards, Alain Capt ACSoft Productions
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.