Epic Proxies In Yet Another Squad Builder

By TIE Pilot, in X-Wing

Was messing around with Yet Another Squad Builder and I found out that it doesn't validate the permalinks. When you're building a squad in the editor it'll make sure you're building one within the rules, but it'll quite happily let you equip or use whatever you want if you modify the permalink url.

This allows you to move ships between factions for scenario building or using Rebel Epics as proxies when before this prevented you from using squad builders.

Simply create a Rebel squad, load it up with the Epic ships you want, press "Get Permalink", change "Rebel Alliance" to "Galactic Empire," go to that link and there you go: instant Rebel Epics in the Imperial faction, complete with all the Squad Builder's functionality.

http://geordanr.github.io/xwing/?f=Galactic%20Empire&d=v3!e!80:-1,-1,-1,-1,-1,-1:-1:-1:;81:-1,-1,-1,-1:-1:-1:;63:-1,-1,-1,-1,-1:-1:-1:

Edited by TIE Pilot

Ooh, neat.

That's odd, somehow the validation steps are getting skipped there. I'll look into it.

The Permalink button only generates links to valid squads because the squad builder validation works, and nobody in their right mind is going to try and build a squad with the Permalink bar. The only reason you'd do it is to intentionally try to bypass the validation. Is that something you'd want to prevent?

Yes; I don't want someone to try to pass off an invalid list as valid at a tournament, using a printout from my builder as "proof."

They could fake it with a graphics editor fairly easily.

Still, this does demonstrate that your squad builder has the functionality for "faction mixing" (the other squad builder's very coding apparently makes it beyond reasonable difficulty) and it'd be a shame to lose it. Would you consider another validation route other than a straight lockout? Watermarking the printouts for example?

A toggle that allows for cross faction mixing might be something some users would appreciate, though I'm not entirely sure how you should implement the interface.

Could of use that in our last epic game where huge ships were considered faction less.

Still once the raider comes out then we won't need to make huge ships on loan to everyone. Although the S&V will have huge ship envy so maybe they can borrow the GR-75 as a ship. I need to finish work on that.

I wouldn't necessarily call a bug "functionality."

I intend to fix faction correctness on the basis of code integrity; the code was written with the assumption that validations were being run, and arbitrarily loosening those restrictions would introduce potential bugs.