VASL6.6.7-beta2.vmod released

ScottRomanowski

Forum Guru
Joined
Jul 31, 2010
Messages
1,895
Reaction score
2,501
Location
Massachusetts
First name
Scott
Country
llUnited States
Our friends at VASSAL advise me that the problem is most likely caused by sending an incorrect html string to the code that parses it for display.
That explains why I have to close and restart VASSAL, not just VASL, to restore normal operation when the problem occurs.
Thank you @DougRim !
 

Hutch

Curator of the ASL Armory
Joined
Feb 16, 2004
Messages
2,822
Reaction score
2,537
Location
FL
First name
Hutch
Country
llUnited States
I do not use VASL, I know (groan.) But I do enter scenarios on the ASL Scenario Archive.
My question is: Is there a way to get a list or files of the Armor/Gun counter names that VASL uses to properly insert these names into the Archive?
 

PresterJohn

Elder Member
Joined
Feb 13, 2022
Messages
1,404
Reaction score
884
Location
The Orient
Country
llAustralia
I have absolutely no clue if this is related but I found that using the scroll wheel on my Logitech mouse would generate unknown those characters in the chat window when it was active. I use separate windows for map, chat and server status.
 

DougRim

Forum Guru
Joined
Apr 23, 2012
Messages
2,209
Reaction score
2,678
Location
Ottawa
Country
llCanada
I do not use VASL, I know (groan.) But I do enter scenarios on the ASL Scenario Archive.
My question is: Is there a way to get a list or files of the Armor/Gun counter names that VASL uses to properly insert these names into the Archive?
Scott Romanowski has given you the right way to get a counter list for an open scenario. Your use of the word "proper" concerns me. In no way are the names used in VASL correct, authoritative or even consistent. They are simply the names that VASL, built up over many years with counters created by many different people, uses. Use at your own risk. There is not at this point any joint integration between VASL and ASL Scenario Archive (which is an excellent site).
 

DougRim

Forum Guru
Joined
Apr 23, 2012
Messages
2,209
Reaction score
2,678
Location
Ottawa
Country
llCanada
I have absolutely no clue if this is related but I found that using the scroll wheel on my Logitech mouse would generate unknown those characters in the chat window when it was active. I use separate windows for map, chat and server status.
I will test for that on my system but have not seen it before. What I did find just yesterday is that if I was moving some labels that contained html code (often used to add info to a scenario in the area around the map), when I moved the label its contents were also pasted to the chat window - a similar issue to yours. Anybody else seen that?
 

Jeff Leslie

Member
Joined
Jan 29, 2003
Messages
347
Reaction score
49
Location
Akron, Ohio
Country
llUnited States
I will test for that on my system but have not seen it before. What I did find just yesterday is that if I was moving some labels that contained html code (often used to add info to a scenario in the area around the map), when I moved the label its contents were also pasted to the chat window - a similar issue to yours. Anybody else seen that?
Yes, I get the same thing.
 

Michael R

Minor Hero
Staff member
Moderator
Joined
Feb 4, 2003
Messages
5,014
Reaction score
4,846
Location
La Belle Province
First name
Michael
Country
llCanada
I will test for that on my system but have not seen it before. What I did find just yesterday is that if I was moving some labels that contained html code (often used to add info to a scenario in the area around the map), when I moved the label its contents were also pasted to the chat window - a similar issue to yours. Anybody else seen that?
Yes, I have seen that behaviour for a long time, but I can't say how long.
 

DougRim

Forum Guru
Joined
Apr 23, 2012
Messages
2,209
Reaction score
2,678
Location
Ottawa
Country
llCanada
Yes, I have seen that behaviour for a long time, but I can't say how long.
I think I have fixed the "moving a label counter" issue.

@PresterJohn I have not been able to replicate the problem with mouse-wheel-scrolling-putting-characters-into-chat. If you have a .vsav file where that happened, could you send it to me. If not, next time it happens, please do so.
 

PresterJohn

Elder Member
Joined
Feb 13, 2022
Messages
1,404
Reaction score
884
Location
The Orient
Country
llAustralia
I think I have fixed the "moving a label counter" issue.

@PresterJohn I have not been able to replicate the problem with mouse-wheel-scrolling-putting-characters-into-chat. If you have a .vsav file where that happened, could you send it to me. If not, next time it happens, please do so.
Right now I can't force it to happen with my mouse but I am forcing it to happen with my (yes) Logitech headset scroll wheel for the volume. I suspect it must be some sort of bleed-through from Logitech G Hub software.
 

Attachments

DougRim

Forum Guru
Joined
Apr 23, 2012
Messages
2,209
Reaction score
2,678
Location
Ottawa
Country
llCanada
The one that still remains involves the delay in displaying user messages entered into the chat text box. Enter a message, it doesn't show. Enter a second message (or just hit enter a second time and the first message is pushed to Chat along with the second one. I can only trigger that error if (1) the Show Dice Stats after Dice Rolls preference is checked and (2) one of the three dr buttons has been clicked. I have not yet determined what is blocking the first message from being displayed. Any further testing and confirmation of results would be appreciated.
I have spent more time than I can afford looking for this bug. The VASSAL folks are pretty certain it is an html parsing error. I agree with them but I can't find it.

We are just going to have to live with it until someone can find the bug. It is beyond my capability.

Remember that if you can't see the message, simply hit enter a second time and it will show. Not a fix, but a workaround.
 

ScottRomanowski

Forum Guru
Joined
Jul 31, 2010
Messages
1,895
Reaction score
2,501
Location
Massachusetts
First name
Scott
Country
llUnited States
Another workaround: I've found you can also click in the message part of the window, scroll up and down (with my mouse wheel) and the text appears.
 

DougRim

Forum Guru
Joined
Apr 23, 2012
Messages
2,209
Reaction score
2,678
Location
Ottawa
Country
llCanada
Another bug I noticed today. I went to type "<virtual handshake>" at the start of a PBEM game, and found that nothing in angle brackets appears. If you type "This is <not> a test" ENTER, you see "This is a test". Methinks your HTML parsing may be a little too aggressive. Perhaps you need to sanitize your user input. :-D https://xkcd.com/327/
VASSAL uses several symbols as part of its management of chat messages, such as *, <, >, and ~. Using these at the start and end of messages is likely prone to error. Given the "delayed" messages bug, which remains unfound and unresolved, I am disinclined to be making any further changes at this time.
 

TopT

Elder Member
Joined
May 2, 2004
Messages
2,664
Reaction score
1,514
Location
PA
Country
llUnited States
What is the current pairing of VASSAL/ VASL that works best.
 

DougRim

Forum Guru
Joined
Apr 23, 2012
Messages
2,209
Reaction score
2,678
Location
Ottawa
Country
llCanada
Earlier in this thread there was discussion about:

1. The size of the dice images. We are gonna go with the smaller version and 6.6.7-beta5 (out shortly) and 6.6.7 official in November will have all chat die/dice in the smaller size.

2. The new VBM counter. Which people like but found the keystrokes I picked to be awkward or unavailable on their devices. I have changed them to easier key combos (alt+ctrl+letter) which will appear in the popup menu and will also be added to the Keystroke listing under Help. This change will be in 6.6.7-beta5 and the official release.
 

uckelman

Senior Member
Joined
Sep 12, 2011
Messages
759
Reaction score
481
Location
Durham
Country
llUnited Kingdom
VASSAL uses several symbols as part of its management of chat messages, such as *, <, >, and ~. Using these at the start and end of messages is likely prone to error. Given the "delayed" messages bug, which remains unfound and unresolved, I am disinclined to be making any further changes at this time.
I might be able to assist here, but I need to know how to reproduce the problem.
 

DougRim

Forum Guru
Joined
Apr 23, 2012
Messages
2,209
Reaction score
2,678
Location
Ottawa
Country
llCanada
I might be able to assist here, but I need to know how to reproduce the problem.
Your expertise would be much appreciated.

There are two separate things going on. Not sure which you want to help with.

Firstly, we are having problems with text messages not appearing in the chat window.

To replicate the the problem:

  1. Start a new game in VASL 6.6.6 or one of the 667betas. Use any board.
  2. In preferences, Chat Window, ensure that "Show Dice Stats after each dice rolls" option is checked.
  3. Click on one of the 3 dr buttons: dr, SA, RS
  4. Then enter a message in the text box and hit enter. No message will appear in the Chat window
  5. Click Enter again. The first message will appear along with the second, blank, message.
There are other situations that produce the problem, but in my experience, the above ALWAYS produces the problem. This is a significant issue and a number of users have remarked on it.

Secondly, I believe from Scott's message that <handshake> in a html environment should produce the handshake emoji.

Entering <handshake> in the VASL chat text message box produces no output in the chat window (regardless of whether or not the first issue above is in play or not).

I suspect this is due to VASSAL's particular use of the "<" character, but I am guessing.

This is a much more limited problem and only Scott has remarked on it.

Thanks.
 
Top