maybe-hello-world / 40k-roster-formatter Goto Github PK
View Code? Open in Web Editor NEWCustom roster formatter tool for Warhammer 40000 games: https://40001format.xyz
Home Page: https://40001format.xyz
License: MIT License
Custom roster formatter tool for Warhammer 40000 games: https://40001format.xyz
Home Page: https://40001format.xyz
License: MIT License
I'm pretty sure the bring it down calculation for this list is incorrect, it shows as 15 but it should be 18
8 ballistari - 8
6 dragoons - 6
2 duneriders - 4
Total is 18
As a user, sometimes I want to know how easy it's to score the secondary and I'd like to see the total points for it (even if it's more than 15).
Probably, better to implement it as a flag.
If to take assassin in an elite slot (like in separate detachment) it's shown twice
I'd like to add the checkbox (turned on by default) on whether to display unit costs or not (pts, PL).
Getting an error when I try to put list through formatter using my android phone and my lists are on my Dropbox. The location seems to get changed once I select my roster file (rosz) and I can't seem to correct it. The app doesn't seem to recognize it. Get some kind of "inbound" location that doesn't seem to be correct
I've seen lists where the secondary points the list gives up is printed at the top, and it makes pre-game discussions much quicker/easier. Something like:
No prisioners: 9
Assasination: 6
Bring it down: 10
...
Every roster I upload miscalculates the value for No Prisoners, I think by including infantry characters in the calculation.
Here are a few examples of lists I've been uploading.
The Necrons list should be 3 points where the program gives 5 points.
Blood Angels should be 10 points where it's listed as 13 points.
Dark Angels are 6/7.
Drukhari/Harlequins are 5/6.
As a user, I want UI to be simplified and expanded:
Some ork bosses are forgotten
When I upload my roster that Battlescribe saved, I get an error:
no such child: {http://www.battlescribe.net/schema/rosterSchema}profiles
Now:
Crisis battlesuits: Crisis Shas'vre (...), ...
Proposed:
(4) Crisis battlesuits: Crisis Shas'vre(...), ...
As a developer, I want to decouple roster parsing and processing (such as wargear removal or secondary counting) from representation (formatting to text output). This would allow specifying different output formats and easily expand the formatter.
When submitting a list with 2 Archeopter Fusilave for the Adeptus Mechanicus, the "Bring It Down" scoring section at the top of the sheet shows 4 fewer points than it should. (In my case, 5x Kastelan Robots, 5x Ironstrider Ballistarii, and 2x Archaeopter Fusilaves)
When the planes are not included, the other vehicles all show correctly.
There are a few required wargear selections missing due to renames, etc in the new codex:
Possessed:
- Horrifying Mutations
+ - Hideous mutations
+ Master of Possession:
+ - Staff of Possession
+
+ Venomcrawler:
+ - Soulflayer tendrils and claws
I would be happy to help out keeping that up to date and adding others I spot if you give me access to file a PR.
I tried to upload my Eldar list and it came back with that message. It's a legal list just has a bunch of units.
It seems that the calculation of Abhor the Witch secondary working incorrectly on Dark Angels Ezekiel as it returning 2 points instead 3.
ABHOR THE WITCH
End Game ObjectiveThe presence of enemy psykers in this theatre of war can no longer be tolerated - hunt them down.
You cannot select this secondary objective if your army includes any PSYKER units. Score 3 victory points at the end of the battle for each enemy PSYKER CHARACTER unit that is destroyed, and 2 victory points for every other enemy PSYKER unit that is destroyed.
Ezekiel
KEYWORDS: CHARACTER, INFANTRY, DEATHWING, INNER CIRCLE, PSYKER, LIBRARIAN, CHIEF LIBRARIAN, EZEKIEL
invalid literal for int() with base 10: 'detachment'
I grabbed the files from BSData/wh40k repo for BS and noticed the formatter isn't coping with the new detachment when uploaded.
Thanks
Refactor output minimization and provide a full path to the selection (like "rostername/forcename/tankbustaz/nob boss"), so you can remove selections only from some units
Hi! Thanks for cool tool, it really helps
But working with my guard rosters I found that it skips some wargear like hunter-killer missiles on some units, like Sentinnels and Manticores.
Here is my roster
2k-2-2-3DornLRManty.zip
Here is output
Army name: New Roster
Factions used: Imperium - Astra Militarum
Total cost: 2000 pts
Number of Units: 15
Character Units (Models): 4 (4)
Vehicle/Monster Models (Max Points): 9 (27)
++++++++++++++++++++++++++++++++++++++++++++++++++
== Combined Regiment Army Roster 2000 pts ==
EH1: Gaunt’s Ghosts: Ibram Gaunt, Tanith Ghost w/ Bragg's autocannon, Tanith Ghost w/ Corbec's Hot-shot Lascarbine, Tanith Ghost w/ Larkin's Long-las, Tanith Ghost w/ Mkoll's Straight Silver Knife, Tanith Ghost w/ Rawne's Lascarbine [100 pts]
EH2: Lord Solar Leontus: Warlord [125 pts]
CH1: Platoon Command Squad: Platoon Commander (Laspistol), Veteran Guardsman w/ Master Vox, Veteran Guardsman w/ Medi-pack, Veteran Heavy Weapons Team (Mortar) [60 pts]
CH2: Tank Commander: Demolisher Battle Cannon, Heavy Stubber, Hunter-killer Missile, Lascannon, Two Multi-meltas [205 pts]
BL1: Catachan Jungle Fighters: 1 Jungle Fighter Sergeant and 9 Jungle Fighters (6xJungle Fighter, Jungle Fighter Sergeant, 2xJungle Fighter w/ Flamer, Jungle Fighter w/ Vox-caster) [55 pts]
IN1: Tempestus Scions: Tempestor (Plasma Pistol, Power Fist), 4xTempestus Scion, 2xTempestus Scion w/ Special Weapon (Plasma Gun), 2xTempestus Scion w/ Special Weapon (Meltagun), Tempestus Scion w/ Vox-caster [110 pts]
IN2: Tempestus Scions: Tempestor (Plasma Pistol, Power Fist), Tempestus Scion, Tempestus Scion w/ Special Weapon (Plasma Gun), Tempestus Scion w/ Special Weapon (Meltagun), Tempestus Scion w/ Vox-caster [55 pts]
VE1: Leman Russ Demolisher: 2 Multi-meltas, Armoured Tracks, Heavy Stubber, Hunter-killer Missile, Lascannon [200 pts]
VE2: Manticore: Heavy Bolter [150 pts]
VE3: Manticore: Heavy Bolter [150 pts]
VE4: Manticore: Heavy Bolter [150 pts]
VE5: Rogal Dorn Battle Tank: 2 Additional Heavy Stubbers, 2 Multi-meltas, Oppressor Cannon and Co-axial Autocannon, Pulveriser Cannon [260 pts]
VE6: Rogal Dorn Battle Tank: 2 Additional Heavy Stubbers, 2 Multi-meltas, Oppressor Cannon and Co-axial Autocannon, Pulveriser Cannon [260 pts]
VE7: Scout Sentinels: Scout Sentinel (Lascannon) [60 pts]
VE8: Scout Sentinels: Scout Sentinel (Lascannon) [60 pts]
Both these units have type 'unit' and have additional sub-models (drones). The problem is, that for type unit current parsing logic is , and this models themselves are not descendants of the unit, so the function incorrectly counts models (X-1 from real) in the unit.
Currently, in Tau codex Riptide + drones are posted as models, so for type 'model' with descendants parsing logic works well.
Resolution:
Uploading an Imperial Knights list throws this error:
'<=' not supported between instances of 'str' and 'int'
Terminus Est is not shown for Death Guard in the output.
Possibly other non-standard are also not shown, like armies of renown
Problem: during copying to Reddit post \n symbols are being removed and the result looks bad. I need to investigate the reason and fix line endings.
Add cabal points output for 1000 sons
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.