These are chat archives for BSData/wh40k

22nd
Apr 2018
WindstormSCR
@WindstormSCR
Apr 22 2018 04:17
I really hope DW is the next codex
my hobbying aside from paint is pretty much parked until I know the details for them
Joe Beddoe
@CrusherJoe
Apr 22 2018 04:46
Knights are next I think
I killed 160+ Orks in 3 turns today
Including 2 dakkajets
WindstormSCR
@WindstormSCR
Apr 22 2018 04:57
that sounds horribly unfun for the ork player
though this FAQ did more or less cement that my RG will be getting axed at some point
since they appear to not understand that playing as melee deepstrike is suck
Joe Beddoe
@CrusherJoe
Apr 22 2018 05:03
Well he's the one that brought a bunch of boys to a gun fight
Honestly it felt bad
Tabling a dude so hard he didn't even get a third turn
New Necrons are no fucking joke, y'all
Dark Eldar are the new kings of the meta
Get ready for it
They are
WindstormSCR
@WindstormSCR
Apr 22 2018 05:06
my head whenever I play vs new necrons: https://youtu.be/XMI5xpdhDaM?t=43
Joe Beddoe
@CrusherJoe
Apr 22 2018 05:07
I did make a kinda neat discovery
You know what cures Wraith infestations?
First Rank, Second Rank lasguns
WindstormSCR
@WindstormSCR
Apr 22 2018 05:07
well, yes
Joe Beddoe
@CrusherJoe
Apr 22 2018 05:07
Followed up by a shield-captain charge
Yes sir, cure what ailes ya
WindstormSCR
@WindstormSCR
Apr 22 2018 05:07
that's what's cured that problem since forever
apply enough bullet and the 3++ fails eventually
Joe Beddoe
@CrusherJoe
Apr 22 2018 05:08
Same way I lose all my shield captains
Vs. big scary anti-tank weapons? NOPE
I can roll 3++ like a BOSS
13 effin' 2+?
NOPE
WindstormSCR
@WindstormSCR
Apr 22 2018 05:09
I had a wraithseer survive the following with one wound left, after starting the turn with 1w left:
Joe Beddoe
@CrusherJoe
Apr 22 2018 05:09
Oh BTW @WindstormSCR I wanted to offer my condolences about Warlocks
They kinda got the ol' shafteroo
WindstormSCR
@WindstormSCR
Apr 22 2018 05:10
2 basilisks, 1 hellhound, 2 autocannon HWSs, 7 krak grenades, and 4 flamers
he finally dropped it with his stygies vanq next to some guardsman as his last shot for the turn
only to remember that it had the phoenix gem
pop go three guardsmen and it's still alive :D
@CrusherJoe eh, i'd rather take a minor points hike on footlocks then every unit take a points increase just because it could be buffed
it doesn't bother me much
Joe Beddoe
@CrusherJoe
Apr 22 2018 05:13
....holy crap that's some baller rolling right there sir
WindstormSCR
@WindstormSCR
Apr 22 2018 05:13
nor does the DR change
Joe Beddoe
@CrusherJoe
Apr 22 2018 05:13
Also I get it
WindstormSCR
@WindstormSCR
Apr 22 2018 05:13
5++ and a 5+++
were all it had for defence
all the warlock change really does is give me less excuses to run bikelocks
Joe Beddoe
@CrusherJoe
Apr 22 2018 05:17
That's what I've heard most folks say
GusHebblewhite
@GusHebblewhite
Apr 22 2018 13:23

Hi all. Hopefully this is the right place for my question.

So I'm a bit of a mathhammer/statistics nerd, and I've been playing around with building an engine in Python for working out the point efficiency of different models and loadouts. Rather than trying to maintain my own database of point costs and weapon stats, I was thinking it might be convenient to try to pull that information from the BS database.

The issue is that I have little knowledge of xml/web stuff and can't seem to find where the information is actually stored. E.g. searching for unit or weapon names in the 40k repository doesn't seem to yield anything that I can parse for information.

I'm a complete noob here so hopefully I'm not wasting anyone's time over something obvious. Any assistance would be appreciated.

TL;DR How can I extract information (e.g. names of all units in the game, legal weapons for a given unit, point costs) from the raw BS 40k database.

Cheers,
Gus

tekton
@tekton
Apr 22 2018 13:25
There’s not really a DB, it’s data in the XMLs that I’m effectively cobbled and compiled at read time when you create a roster in the BattleScribe app
*is effectively
Python has some great XML packages that would actually make your life not too hard to compile that for which you seek
Check out @amis92 's project. It has an XML to JSON converter already built
Earl Bishop
@DrTobogganMD
Apr 22 2018 19:25
Hey @Thairne
Can you do me a solid and convert sicarran ruststalker and infiltratiors to collective choices?
Their so bloated
Earl Bishop
@DrTobogganMD
Apr 22 2018 21:16
And there isn’t much reason to separate the entry choices on them.
Or I can. Just didn’t want to touch you without asking :p