VASL Map Online Problem/Suggestion Form

von Marwitz

Forum Guru
Joined
Nov 25, 2010
Messages
14,387
Reaction score
10,291
Location
Kraut Corner
Country
llUkraine
I had a couple of recent problems with the terrain: I could change orchards into crag but I couldn't do the same for woods (ie woods to crag). Additionally I couldn't find a way to eliminate buildings from a map. So if any of you know a way to do these I would appreciate it greatly :)
To eliminate Buildings from the map, try this one: ;)

12699

But seriously:

I think that there has never been a function in ASL to eliminate all buildings from a map. Only to modify them with regard to stone/wooden construction, stairwells and rowhouse bars.

With regard to woods into crag. Similar thing. It has never been possible to change all given terrain types into all other terrain types. The choices/possibilities have always been limited. As Woods are quite common but large areas of Crag are rare, this type of transformation might not have been among those up for selection. I have not verified this particular point, though.

von Marwitz
 

ChappyNS

Senior Member
Joined
Oct 4, 2019
Messages
271
Reaction score
377
Location
Halifax, NS (Canada)
First name
Mark
Country
llCanada
To eliminate Buildings from the map, try this one: ;)

View attachment 12699

But seriously:

I think that there has never been a function in ASL to eliminate all buildings from a map. Only to modify them with regard to stone/wooden construction, stairwells and rowhouse bars.

With regard to woods into crag. Similar thing. It has never been possible to change all given terrain types into all other terrain types. The choices/possibilities have always been limited. As Woods are quite common but large areas of Crag are rare, this type of transformation might not have been among those up for selection. I have not verified this particular point, though.

von Marwitz
Thanks for the clarification....yeah I could use a gun like that!
 

TopT

Elder Member
Joined
May 2, 2004
Messages
2,612
Reaction score
1,407
Location
PA
Country
llUnited States
I had a couple of recent problems with the terrain: I could change orchards into crag but I couldn't do the same for woods (ie woods to crag). Additionally I couldn't find a way to eliminate buildings from a map. So if any of you know a way to do these I would appreciate it greatly :)
to eliminate buildings just cover with a same color terrain overlay
 

bprobst

Elder Member
Joined
Oct 31, 2003
Messages
2,535
Reaction score
1,441
Location
Melbourne, Australia
First name
Bruce
Country
llAustralia
Setting up D20 "Smoke the Kents!" ... the scenario uses 4 boards (d, e, g, h) ... and of those 4 only board e successfully transformed grain into plowed fields.

- Using board(s): g(v6.1) d(v6.2) e(v6.2) h(v6.2)

Am I missing something? There's no grain in the in-play section of board d, but the grain on boards g and h are quite distinctly still grain.
 

von Marwitz

Forum Guru
Joined
Nov 25, 2010
Messages
14,387
Reaction score
10,291
Location
Kraut Corner
Country
llUkraine
Following issue:

If you use draggable overlays with some HTML code that adds a link to an image from an external source in the net, this will be displayed in the VASL file:

12773

In this particular case, the HTML code in the draggable overlay looks like this (as of 17. April 2020 with the aboveshown result):

<HTML>
<TABLE WIDTH=400 BORDER=0 CELLPADDING=2 CELLSPACING=0>
<COL WIDTH=400>
<TR VALIGN=TOP>
<TD WIDTH=400>
<P>
<IMG SRC="https://www.aslscenarioarchive.com/uploads/31.2016/AMD35__2.png" ALIGN=BOTTOM WIDTH=400 HEIGHT=300 BORDER=0>
</P>
</TD>
</TR>
</TABLE>
</HTML>


Problem:

If for some reason there is no access to that link, VASL will crash. This can be due to running VASL offline, the image source being temporarily not reachable, or the image not being available any more at all at the given address.

You can test this by changing the link address in the above code like this for example...

<IMG SRC="https://www.aslscenarioarchive.com/uploads/31.2016/This_Is_A_Test.png" ALIGN=BOTTOM WIDTH=400 HEIGHT=300 BORDER=0>

... save, and then try to reopen the VASL file.

VASL will pop the appropriate error message and crash.

The bad thing about this is that you can effectively 'lock yourself out' of previously accessible VASL files.
Imagine, you have spend hours on a defensive setup for a very large scenario with dozens of squads & vehicles, you will not be able to open the VASL file unless you delete the Draggable Overlay with the code holding the defunct link. You can't delete the defunct link, though, because you cannot open the VASL file.


Proposed solution:

It would be fabulous (and hopefully not much work) to program some code that catches this issue.
I don't know anything about programming, so please excuse the way I am presenting my thoughts:

IF

"A link embedded in HTML within a Draggable Overlay cannot be reached"

THEN

"Ignore/Don't Display that Draggable Overlay for this session."


As a result, the VASL file should open despite defunct links.

von Marwitz
 

BigAl737

Elder Member
Joined
Apr 5, 2011
Messages
1,515
Reaction score
1,278
Location
AK
Country
llUnited States
Thanks for reporting this. I’d hate for anyone to get locked out after hours of work. I’m not a coder either so I don’t know how to fix this issue but I’ll bet Doug has some ideas. Until then, some thoughts...

Do you have the same problem with the HTML placeholder from the Overlays extension?

Always back up your files first and backup often as you go.

Download the online graphic to your local system and have the HTML code reference it locally. You could bundle the graphic with the scenario.vsav file so your opponent could load it locally as well. There’s info in the help file suggesting a way to reference files locally.

Pretty basic I know but maybe the above is helpful.

Allan
 

bprobst

Elder Member
Joined
Oct 31, 2003
Messages
2,535
Reaction score
1,441
Location
Melbourne, Australia
First name
Bruce
Country
llAustralia
Setting up D20 "Smoke the Kents!" ... the scenario uses 4 boards (d, e, g, h) ... and of those 4 only board e successfully transformed grain into plowed fields.

- Using board(s): g(v6.1) d(v6.2) e(v6.2) h(v6.2)

Am I missing something? There's no grain in the in-play section of board d, but the grain on boards g and h are quite distinctly still grain.
This is still an issue in VASL 6.5.0 in case anyone was wondering.
 

bprobst

Elder Member
Joined
Oct 31, 2003
Messages
2,535
Reaction score
1,441
Location
Melbourne, Australia
First name
Bruce
Country
llAustralia
Now that MMP has decided to use the same lettering system for ASLSK boards and DASL boards we are going to run into cases where to set up a scenario you need to select a board with a duplicate ID (e.g., board "k"). In a ftf game there would (probably) be no confusion but for VASL this would be kind of fatal. Is anyone thinking ahead for how to deal with this?

My thoughts would be to go ahead and rename (for VASL purposes) all of the DASL boards or all of the ASLSK boards (or maybe both sets, God knows what MMP's plans are when they reach board "a" in ASLSK). DASL boards "bda", "bdb", etc. could be renamed "bdda", "bddb", etc. ASLSK boards "bdz", "bdy", etc. could be renamed "bdskz", "bdsky", etc. (You have to use the extra letter because of the existence of HASL boards like "bdSG" and "bdSH".)

There would be the added minor advantage of such a rename in that in an alphabetical sort (as it appears in the board picker) all of the DASL boards (and all of the SK boards, if they're renamed) would end up grouped together.
 

von Marwitz

Forum Guru
Joined
Nov 25, 2010
Messages
14,387
Reaction score
10,291
Location
Kraut Corner
Country
llUkraine
Thanks for reporting this. I’d hate for anyone to get locked out after hours of work. I’m not a coder either so I don’t know how to fix this issue but I’ll bet Doug has some ideas. Until then, some thoughts...
Luckily, this issue rarely comes up shortly after creation of the VASL files. But if you get back to some of them after some years, you might be in for a surprise.

Do you have the same problem with the HTML placeholder from the Overlays extension?
I don't know. I have always placed the overlays the "traditional" way, i.e. by giving coords.

Always back up your files first and backup often as you go.
I have plenty of backups. But all with the links to the pictures in them...

However, many of the complete setup files have made their way to the download section of vasl.info, where the pictures/VC/SSR have been previously removed for copyright reasons.

Actually, this is how I realized the problem. Someone asked me on how to configure boards for a particular scenario. I told them not to worry and sent them my complete VASL file which they couldn't open. But they downloaded the same scenario from vasl.info (which was my setup sans picture/VC/SSR) and that worked.

It is quickly done to restore VC/SSRs because I have textfiles for these. Pictures would require a new search of the net to find them. Redoing defensive setups can be a lot of work because these will have to be made from scrap or dim memory.

Download the online graphic to your local system and have the HTML code reference it locally. You could bundle the graphic with the scenario.vsav file so your opponent could load it locally as well. There’s info in the help file suggesting a way to reference files locally.
Ah! I have indeed thought about that more than once but I did not realize bundling in the picture was possible.
What helpfiel exactly do you mean?

Pretty basic I know but maybe the above is helpful.

Allan
Surely appreciated, thank you, Allen.

von Marwitz
 

Rindis

Wargamer
Joined
May 21, 2004
Messages
928
Reaction score
225
Location
Sunnyvale, CA
Country
llUnited States
The only thing is that he cannot delete the OB given concealment counters.
It is very possible that this feature has existed for a long time already.
Check your preferences in VASL. That sounds like "Let opponent unconceal my units" is unchecked. (Which is the highly annoying default.)
 

Robin Reeve

The Swiss Moron
Staff member
Moderator
Joined
Jul 26, 2003
Messages
19,648
Reaction score
5,631
Location
St-Légier
First name
Robin
Country
llSwitzerland
Check your preferences in VASL. That sounds like "Let opponent unconceal my units" is unchecked. (Which is the highly annoying default.)
Thanks.
But does that mean that I can see his concealed units, or is it a different thing?
 

BigAl737

Elder Member
Joined
Apr 5, 2011
Messages
1,515
Reaction score
1,278
Location
AK
Country
llUnited States
...

What helpfiel exactly do you mean?

...

von Marwitz

This one:

12811

edit: And when I say bundling in the picture with the vsav file, I mean to add it to the vsav file. Since the vsav file is essentially a zip file, you could add the picture to the zip using 7zip or some other program. I haven't tried it yet but I think it would work. The goal is to keep all your VASL scenario and associated picture files in one neat and tidy package. When you're ready to play that scenario, unzip the picture from the vsav file, save the picture to your local system, then follow the instructions in Help to access the picture locally.
 
Last edited:

Rindis

Wargamer
Joined
May 21, 2004
Messages
928
Reaction score
225
Location
Sunnyvale, CA
Country
llUnited States
Thanks.
But does that mean that I can see his concealed units, or is it a different thing?
All the preference does is let someone else fiddle with your "?". If they're actual "?" markers, they can be deleted. If they're other counters, they can be unconcealed. If you don't check that, no one else can unconceal or delete your "?".

For you to do the same to someone else's "?" he has to check his preference box.
 

Eagle4ty

Forum Guru
Joined
Nov 7, 2007
Messages
6,918
Reaction score
5,103
Location
Eau Claire, Wi
Country
llUnited States
Note: In 6.5.0 the PIAT in the British counters does not have the "flip" option listed for an action to see the TH#s & Range on the reverse of the counter but the "Control>F" function does continue to work and shows the correct info in the back of the counter.
 

JAGgamer

Member
Joined
Aug 10, 2017
Messages
109
Reaction score
103
Location
Indiana
Country
llUnited States
When sending logs or .vsav's to folks with 6.4.4 they are unable to see any of the counters or information counters or, well, anything except the actual maps. Is this news?

I have 6.5.0.

Is there a fix?
 

von Marwitz

Forum Guru
Joined
Nov 25, 2010
Messages
14,387
Reaction score
10,291
Location
Kraut Corner
Country
llUkraine
When sending logs or .vsav's to folks with 6.4.4 they are unable to see any of the counters or information counters or, well, anything except the actual maps. Is this news?

I have 6.5.0.

Is there a fix?
The point is the following:

All the unit counters in VASL v6.5 have a new attribute which is a prerequisite for a new functionality of v6.5 - the casualty bin, that allows for (more or less) automatic Casualty Point calculation.

Any pre 6.5 version unit counter does not have that attribute and consequently pre 6.5 versions of VASL does not "know"/recognize it. Version 6.4.4 cannot display anything it has not been programmed to do. Therefore, all v6.5 unit counters (i.e. that have been pulled with v6.5) will appear 'invisible' for previous versions of VASL.

At the same time, v6.5 is compatible to earlier versions of VASL, i.e. a v6.5 player CAN see and use unit counters pulled with v6.4.4. In this case, for these old counters merely the new v6.5 function of the Casualty bin cannot be used for the v6.4.4. counters.

There is naturally no fix for this per se. But of course, your opponent can upgrade to v6.5, which will solve your problem.

von Marwitz
 

JAGgamer

Member
Joined
Aug 10, 2017
Messages
109
Reaction score
103
Location
Indiana
Country
llUnited States
Thank you for the quick response! I will pass that along to my other opponents.
 

Yarlis

Member
Joined
Dec 19, 2003
Messages
124
Reaction score
18
Location
Spain
Country
llSpain
Hi,

just to report that IP Carrier AOV from KoreaFW shows a +1 size, while the counter in VASL shows a +2 size.
 
Top