Board Thread:Dark Assembly/@comment-653063-20150318192940/@comment-653063-20150319232654

''isn't too hard to fill out and implement, yeah? '' -- ummmm.... it's gonna have to go into named parameters... like HCSC, not like DMAC. so it's either maaaaaassive copy-pasting, or, i need to learn more regex. i mean, the data is already in table format... ughh i wish i could go to the community forums somewhere and be like 'willing to hire someone with good regex brains'... haha. I'll keep poking this b^_^.

Edit: oh yeahhhhhhhhh I figured out the regex! At least, enough to get the weapon tables done. However, I am not regex-smart enough to copy the flavor text from the weapon-only pages into the 'list of D# weapons' page... so that will have to done by hand.
 * Fist - there's no D3 data on 'Fist' page at all, so there's nothing (flavortext-wise) to copy into List of D3 Weaps.
 * Swords - I got the Swords > D3 Swords; except why are there swords listed on the 'swords' page that aren't in the 'list of d3 weaps' page? Sun Flower-Joke; Primal Meat-Joke; Vato Sword-Special; Baal Horn-Special ... and there's a 'stardust sword' on 'list of d3' that isn't on the 'swords' page. note to self or somebody, figure out what's going on there.
 * Spears - all the D3 flavor text is there, and can be copied (sounds like a job for a Printern)
 * Bow - no flavor text on Bow page
 * Gun - no flavor text on Gun page
 * Axe - no flavor text on Axe page (item disparity - something on Axe that's not on D3)
 * Staff - no flavor text on Staff page
 * Monster - no D3 data on the Monster page at all

oh crap i had another half a thought but i just ran out of irl time for the moment so AFK BBL. (^ Fri mar 20, circa noon EST)

Ok, here's my other half of a thought. Each instance of DXWeapStats calls around 40 #switches (to show/hide the Crit cell, depending on disver; plus a switch to show the right number, 'Disgaea 1, 2, 3' etc, plus a switch to show the right weapon name - sword, spear, etc). I vaguely have stored in my brain that, while pages can run many #switches... perhaps running, lets estimate high and say 45 switches times 10 weap types means 450 switches on a single page. That's not counting the template I want to write for weapon skills.

I'm gonna go to the forums and be like "uh, am I coding the server to blow up or something?" Because either the answer is "ouch, but in the end that's... ok..." or the answer is going to be "yeah.... divide that up on separate pages." (I give it a 10% chance of someone saying "that's kind of a bad way to code that, here's a better way." Actually, that chance should probably be way higher X D haha, I'm sure I don't know half the things that would make me a really great code-writer, lol). But just in case.... if we were to need to divide the list to prevent server strain, what's a good dividing line? 'Melee' vs 'Ranged/Monster'? Fist, Sword, Spear, Axe - vs - Gun, Bow, Staff, Monster Atk/Int, Book? That gives 4 vs 5-or-6...

hmm. well, I'll see if someone gives me a code solution that will leave them all on one page, even if it's a stinkin huge page. But just in case, what sort of divide makes sense.... (^Fri Mar 20, ~4pm est)

Sat Mar 21, Morning. List of Disgaea 3 Weapons contains 9 transclusions of Template:DXWeapStats. Except for Spear, which needs flavor text copied over, I'm psure can go delete the charts on the other pages.

I ran into an issue. I'm not sure 'hit' and 'speed' columns are properly labeled, and by 'columns' i mean 'parameters'. I ran on the assumption that in the original tables, all the data was in the correct location, except I got to Axe, and it said "speed had -20" and stuff. I was like yeah, that should be hit. So I made it be correct for Axes, but now I'm not sure about all the other charts. You've said you have a D3 guidebook (gamefaqs doesn't have an 'item/weap data' faq for d3), does it contain a chart with weap stats? Can you pick like 5 weaps from each chart and doublecheck?

If anything is wrong, don't change it by hand. I can regex it much more quickly than moving the data around by hand. Just, if you have a moment (and it doesn't have to be now, just don't forget X D) and the book you have does this, can you check? Otherwise, I can... start paying attn as I go thru D3. But that's the long way... (wahh wahh, I stand on the shoulders of those who come before... someone had to do it the long way at some point X D I shouldn't whine about putting my feet on the ground, haha.)

JOKE'S ON ME. The Axe returns in Disgaea 3 as a weapon type but instead of lowering HIT, it lowers Speed. I will fix it. That's what I get for assuming I know how Disgaea works X DD

Mar 22, PM: Okayyyyy it looks like my options are "learn lua" (*cries*) (I don't think I have space in my brain for that) or "just make game-specific weapon template" which... is only 6 new pages, right? : x. Well, I gave it my best stab at 'unified templaty bits' here... but I guess even good plans have their limit. The limit here is "#switch and a lack of real foreach." Oh well.

I am AFK Monday-Tuesday-most-of-Wednesday. I mayyy pop in just a smidge here and there buuuut... assume for now that I am gone for most of the next 72 hours. BBL \o/ SannaSK (talk) 03:31, March 23, 2015 (UTC)