maybe-hello-world / 40k-roster-formatter

Custom roster formatter tool for Warhammer 40000 games: https://40001format.xyz
https://40001format.xyz
MIT License
10 stars 2 forks source link

list index out of range #57

Closed Arinok55 closed 1 year ago

Arinok55 commented 2 years ago

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.

maybe-hello-world commented 2 years ago

Thank you, it's definitely a bug. Can you attach please your list?

Arinok55 commented 2 years ago

I don't see a way to directly add it so I have a link to the google drive I put it in: https://drive.google.com/file/d/1pBIbnrjtBh36XAQw10JBZgdGRYmUoe2q/view?usp=sharing

maybe-hello-world commented 2 years ago

Fixed by #58. BattleScribe developers again surprise me :) I believed that there exist models and units of models, but not units of units of models... Anyway, should be fixed now and correctly calculating secondaries. Feel free to reopen the issue if anything. And thanks for efforts and issue reporting :)

WH40K-TTS commented 1 year ago

Leonidas_Orkz.zip Same error with this ork army list. "list index out of range"

maybe-hello-world commented 1 year ago

Fixed by #68. Thank you for reporting, seems like I need to sit down and rewrite this stuff properly... :D Feel free to open a new issue if anything similar occurs.