Visbility error?

Post new scenarios and mods here to share with other gamers.

Moderator: Campaign Series Matrix Edition Development Group

Post Reply
User avatar
carll11
Posts: 955
Joined: Thu Nov 26, 2009 2:07 pm

Visbility error?

Post by carll11 »

Using Dak To to edit>create my own scn., based on it...anyway, when I enter the new day visibility stats, I get the error and it wont let me move on....I dont see the error in numbering etc., is it spacing?

1-30[d],31-45[n],46-75[d],76-90[n],91-129[d]

1-12[6],13-22[5],23-25[4],26-27[3],28-30[2],31-42[1],43-45[2],46-46[3],47-49[4],50-58[5],59-65[6],66-75[7],76-90[1],91-129[5]

"Error id 1000 forces cpp line 2119 parse visibilities specification (final turn incorrect)"
User avatar
carll11
Posts: 955
Joined: Thu Nov 26, 2009 2:07 pm

Re: Visbility error?

Post by carll11 »

well, I typed it into the scn. file via notepad and it seems to have stopped erroring out and it saved , when I open the scn and look at the header the days and visibility data is there as I typed it.


NEW issue however, I am getting n error when I type 60 into the air box,

the error reads;

"error ID 4 line 993
airsupport value specified 60 exceeds OB aircraft available 0, value remains unchanged."

The OB I am using is Jasons for Dak To scn ...there are 60 Aircraft in the OB and in the original scn. vn_671104-Hill_1338 he created...so I cant figure out this issue...
User avatar
Jason Petho
Posts: 17764
Joined: Tue Jun 22, 2004 10:31 am
Location: Terrace, BC, Canada
Contact:

Re: Visbility error?

Post by Jason Petho »

You'll have to zip up and load all your files in order to see what's going on.

Thank you!
User avatar
carll11
Posts: 955
Joined: Thu Nov 26, 2009 2:07 pm

Re: Visbility error?

Post by carll11 »

Hi J...theres really nothing to post, all I did was choose edit scn. ( your hill 1338 scn.)
-then chose 'new' ,
-picked hill 1338 map and ob,
-then tried to create the the header.
when I enter anything into aircraft 1 or 5 or 60 I get the aircraft error....if I leave it at zero all is well.....
User avatar
carll11
Posts: 955
Joined: Thu Nov 26, 2009 2:07 pm

Re: Visbility error?

Post by carll11 »

Just tried it on the long binh sc., same error.....the scn calls for 84 aircraft, but from some reason the header doesnt see or read the OB's aircraft list?
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

Re: Visbility error?

Post by berto »

carll11 wrote: Fri Apr 15, 2022 5:21 pm Using Dak To to edit>create my own scn., based on it...anyway, when I enter the new day visibility stats, I get the error and it wont let me move on....I dont see the error in numbering etc., is it spacing?

1-30[d],31-45[n],46-75[d],76-90[n],91-129[d]

1-12[6],13-22[5],23-25[4],26-27[3],28-30[2],31-42[1],43-45[2],46-46[3],47-49[4],50-58[5],59-65[6],66-75[7],76-90[1],91-129[5]

"Error id 1000 forces cpp line 2119 parse visibilities specification (final turn incorrect)"
Please refer to Section 8.4.1 of the Manual, How to Create a Scenario, paying close attention to the examples. You are using commas in the above specifications, when they are in no way called for, and will in fact cause a parsing error.
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

Re: Visbility error?

Post by berto »

carll11 wrote: Fri Apr 15, 2022 5:47 pm well, I typed it into the scn. file via notepad and it seems to have stopped erroring out and it saved , when I open the scn and look at the header the days and visibility data is there as I typed it.


NEW issue however, I am getting n error when I type 60 into the air box,

the error reads;

"error ID 4 line 993
airsupport value specified 60 exceeds OB aircraft available 0, value remains unchanged."

The OB I am using is Jasons for Dak To scn ...there are 60 Aircraft in the OB and in the original scn. vn_671104-Hill_1338 he created...so I cant figure out this issue...
This is most likely an artifact resulting from the mistaken Turns and Visibility specs (where you mistakenly included commas).
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
carll11
Posts: 955
Joined: Thu Nov 26, 2009 2:07 pm

Re: Visbility error?

Post by carll11 »

HI Berto, I solved that....the days and visibility is set and I get no error, yes, I did discover that theres no commas etc. required.....my bad.


re; the aircraft issue, I have tried it on several other scn.s that have aircraft, I keep getting the same no aircraft in OB error... :|

I just tried it on the na son scn. edit scn, open, choose map, choose org......header opens, days and visibility fine, enter any number of aircraft up to 12 and I get the error.
User avatar
carll11
Posts: 955
Joined: Thu Nov 26, 2009 2:07 pm

Re: Visbility error?

Post by carll11 »

Cease fire...cease fire...I 'figured' it out...you have to place the aircraft one at a time ON the map, THEN command it to move off map? wow....okay then but it appears to work...holy smoke 60 times..... :evil: :lol:
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

Re: Visbility error?

Post by berto »

I opened the Hill 1338 scenario in the scen editor. It indicated 60 aircraft. I re-entered that figure, and there was no complaint.

If you are getting the 0 aircraft error, it suggests to me that at some earlier point in the .scn file, a config error is breaking data parsing thereafter.

With the scenario file, I tried the following experiments:
  • In the scen editor, lowered the default 60 Air value down to 55 (no complaint), saved the .scn file, and exited the editor.
  • Relaunched the scen editor, successfully loaded the test scenario. Restored the original 60 Air value, saved the file, and exited the editor.
  • Successfully loaded the test .scn file in the game engine. The indicated aircraft showed in the CAS dialog.
Moral of the story: You have to get everything just right, else it won't work!
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

Re: Visbility error?

Post by berto »

carll11 wrote: Fri Apr 15, 2022 11:02 pm Cease fire...cease fire...I 'figured' it out...you have to place the aircraft one at a time ON the map, THEN command it to move off map? wow....okay then but it appears to work...holy smoke 60 times..... :evil: :lol:
Yup, that's the way it works!
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

Re: Visbility error?

Post by berto »

In my ongoing "How to use CSlint tools" series

https://www.matrixgames.com/forums/view ... 9#p4951329

I will soon be documenting use of the CSlint data QA check utilities, such as csscnchk.pl etc. If you are creating and modifying game data files, you will want to bring yourself up to speed with that.
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
Post Reply

Return to “Scenario Design and Modding”