New 8.2.5 version of the vassal X-Wing module.

By Mu0n729, in X-Wing

Autospawn with squad URL + say "set" button + launch time reduced from minutes to mere seconds https://xwvassal.wordpress.com/2018/11/28/x-wing-vassal-module-8-2-5-quick-launch-and-fixes/

Complete list of changes:

@Mu0n:

New features:

  • ‘Say “set”’ button in the player window that outputs “set” to chat with a timestamp, player name and player number
  • add reported text for when hull, shield, force and charge are changed on a ship. Concerns about even more slowdowns here.
  • 3rd autospawn method: interpret shared URLs from the official FFG builder and YASB2 url work

Cleanup and Optimizations:

  • Launching the module could take anything between 30 seconds to 5 minutes, since every element (pilot and upgrade card, ships, dials, etc) were verified against the online depots I have set up online. It would stop the scan whenever the first missing element in the list was found. Therefore, a player having everything was punished by having the scan run the whole length. A massive overhaul of this system was remade and local files are kept on hand whenever feasible and a simple version number is compared online to a local copy. The launching time is cut down to mere seconds instead. This was pretty hard to do with the vassal engine limitations and OS write permissions. 2 local files will be created in the same folder as your module. Make sure you have writing permissions in that folder (it should be automatic, since you did put your module in that place…)
  • The Pieces window no longer carries 1.0 ships. Those pieces were not used directly by the 1.0 Squad Spawn anyway, they were deprecated relics.
  • All epic 1.0 ships have been regrouped in the Pieces/Epic 1.0 tab
  • Clicking on another player’s ‘2.0 Spawn’ button will no longer cause a delay (related to fetching the remote data) before telling you you can’t spawn for another player.

Autospawn Bugs Squashed:

  • Dial Mask images are back. A new type of dial will arrive in the module at some point, but for now, old school dials will be used. When hidden, the dials (for most ships) will no longer disappear and only display the dial text tag. This is just a quick, hackjob patch and wave 2-3 ships won’t have proper dials if we ever get to being able to play with them without the next dial type in place.
  • A ship type can now make tokens appear during autospawn (e.g. quadrijet transfer spacetug all requiring a tractor token)
  • Obstacles (asteroids and debris) now spawn with your list if your XWS has them listed (not available with the official builder, but YASB2.0 supports it)
  • The text appearing on upgrade cards (the card title) only shows up if it’s a placeholder card
  • Locks (from squad spawn 2.0) now carry the pilot’s name again in their tags
  • Charge tokens no longer spawn in stacks of n tokens deep, where n = up to the number of pilots used in your squad.
  • Squad Spawn 2.0 didn’t know what to do with a hardpoint upgrade (it only specifies one of three upgrade slots that’s made available on the ship but isn’t an upgrade itself) since it expected cards of that new type. This is now ignored by the module while it fetches the pieces for your list.
  • Shortened name tags are now used (as they were in 1.0) on small ship bases, as well as on their corresponding lock tokens
  • The first upgrade card is no longer weirdly under the pilot card, too far to the left

Ship Pieces Bugs Squashed:

  • The bank barrel rolls are now visible right click menu options (they worked nevertheless in the last 8.2.0 version, but they just weren’t visible).
  • The hull value is now able to go up to 13 (deci + hull upg) for Ahri Kim
  • Ship tokens are now hull and shield adjusted in case there’s the +1 hull or +1 shield upgrade card
  • Cargo Drop functionality is back for small, medium and large (CTRL-ALT-SHIFT-C)
  • Barrel rolls and decloaks now report “This *pilot name* has repositioned” in the chat window

Misc Bugs Squashed:

  • Structural damage is not supposed to be repairable. The card is now fixed (new version provided by Ablazoned, who made the 2.0 deck art images)
  • Both Loose Stabilizer critical cards used the Hull Breach art instead. This has been rectified.
  • Autorange bug uncovered by evcameron: front or back autorange could sometimes miss a better shortest line depending on a specific combination of attacker and defender size. The problem was the criterium which was used to determine the “closest attacker arc edges” and the “closest defender corners”. More lines were added to the pool of lines up for consideration and the function which calculates the best (shortest) distance now picks the correct choice.

@MrMurph:

Tool:

  • Made a standalone tool for adjusting the file images used for pilots and upgrades and destined for the over-the-air content auto-updater; this tool also detects missing files, mismatched entries between the community’s xwing-data2 data repo (managed by Guido Kessels), the module and the over-the-air repo, etc. Really useful for adding new content to the module and making the auto-updater shine even more than ever as well as reduce the stress of making mistakes while processing new content.

Bug Squash Help:

  • Helped locate the bug about missing the pilot tag on the target lock tokens.

@Mu0n729

You do amazing work, and Vassal is fantastic!

This is a really minor thing because it's not hard to work around, but I wonder if you've given any thought to returning the functionality of placing the barrel roll template as an alternative to auto-rolling? Sometimes when spaces are tight I'd prefer to see the options.

Thanks for everything you do!!!!

Edited by nexttwelveexits
Just now, nexttwelveexits said:

@Mu0n729

This is a really minor thing because it's not hard to work around, but I wonder if you've given any thought to returning the functional of placing the barrel roll template as an alternative to auto-rolling? Sometimes when spaces are tight I'd prefer to see the options.

Shortcuts are getting tight all around. I'm still on the path of doing a mouse interface, so any work refining and adding shortcuts will be lost anyway soon.

I suggest you copy the ship in its initial position two times and just do the as fwd as possible and as backed as possible brs from there

Loading times VASTLY improved.

Good work 👍

Mu0n the god

Yes Mu0n! Can't wait to get on it again.

Take note: the community repo already had the data about wave 2 cards added in last week. The vassal players already played plenty of wave2 cards and the Scum and Villainy Aces League even enjoyed using some of them. They simply spawned with a proxy work-in-progress image with a generic art file. Whenever this happens, you can broadcast the card text with CTRL-Q a(or right click the card and select query text) into the chat window for all players and observers to read.

This post is just to inform that the real card images are now added. To get them, simply launch the module (8.2.5 is the latest version which was released weeks ago which you may already have), click on the flashing content Checker button and proceed to scan and download the new content.
There might be some glitches still, the community is still finding errors every other day in the community data repo. If you find an error and want to help make this as perfect as possible, raise an issue over at: https://github.com/guidokessels/xwing-data2/issues

w2.jpg

Mighty good!

I found one bug with spawning from YASB (hopefully fixed soon):

Han Solo Scavenged YT1300 won't spawn bc of wrong xws code.

Just replace "hansoloresistance" in the xws export with "hansolo-scavengedyt1300" and then spawn.

I'm guessing this bug will soon be sorted out :)

I know you have plans for the menu system... but it would still be a good temporary fix to just group all the firing arc shortcuts into the same Sub-Menu.

Right now it's a little disorganized: most is in Arcs. But Turret is in Show Firing Arcs. And then you've got 3 commands on root.

3c875724ae270bbf1a102849e725c594.png

something discouraged me to go all the way to fix it when I checked it out last time. I don't remember what exactly though.

53 minutes ago, Green Knight said:

Mighty good!

I found one bug with spawning from YASB (hopefully fixed soon):

Han Solo Scavenged YT1300 won't spawn bc of wrong xws code.

Just replace "hansoloresistance" in the xws export with "hansolo-scavengedyt1300" and then spawn.

I'm guessing this bug will soon be sorted out :)

TFW when the pitiful internal squad builder does it right before YASB :D

2018-12-14_1025

btw your fix request works right away for silencers and lock tokens

2018-12-14_1034