Star Trek Online Wiki
Advertisement

Updates[]

If the new Doff system is close to being complete, then this may be wasted effort on my part, but there are a couple things that should be updated here.

User:Dukedom recently re-uploaded all the images with updated in-game filenames, which I have indexed at User:Dr ishmael/Doff icon index. The filename pattern is now:

 Doffshot [Sf|Ke] <species> [Male|Female] <##> icon.png

Also, the numbers given in getImageCount() are outdated. This should probably also reference faction now, instead of only species/gender, although some species will have to default to a certain faction (e.g. Gorn/Lethean/Nausicaan/Orion only have Ke files, but you can get Sf versions from Lt. Ferra)

Faction Species Gender
Sf Aenar 10
10
Andorian 20
20
Bajoran 10
10
Benzite 10
10
Betazoid 10
10
Bolian 10
10
Caitian 10
10
Cardassian 10
10
Deltan 10
9
El Aurian 10
9
Ferengi 10
10
Human 20
20
Jem'Hadar 0
5
Karemma 10
10
Klingon 10
10
Pakled 10
10
Paradan 5
5
Rigelian 10
10
Saurian 6
6
Tellarite 20
20
Tosk 0
5
Trill1 10
10
Vorta 10
10
Vulcan 20
20
Wadi 10
10
Faction Species Gender
Ke Cardassian 10
10
Dosi 5
5
Ferasan 10
10
Gorn2 0
10
Hunters 0
5
Jem'Hadar 0
5
Klingon 20
20
Lethean2 0
10
Nausicaan2 0
10
Orion 20
20
Trill1 10
10
Vorta 10
10
Wadi 10
10


1 Called "Trillancient" in the filenames, no clue why.
2 There are 10 Male files, but they are all identical.

Dr Ishmael User Dr ishmael Diablo the chicken 15:04, 25 April 2012 (UTC)

When Duke uploaded those, he helpfully included {{dofficoninfo}} in the file summaries. Now using the same kind of hack I used to get the list of common powers, updating counts is no longer needed. Just including {{t|dofficoninfo}} on the file page will do.
Faction keying would be nice, but hopefully it won't be terribly long before we're replacing this with the custom extension, so I'm not sure it's worth the hassle to do so here, given the annoying need to ignore the selected faction for some species. Eyes User-Eyes-Sig 13:00, 25 April 2012 (UTC)
Oh yeah, if another duty officer species is added, we'll need to add it to the list on {{doffformicons}}. Best to make sure that's mentioned. Eyes User-Eyes-Sig 13:02, 25 April 2012 (UTC)
Spiffy. Unfortunately, there are still a few bugs.
  • For Klingon and Trill, there are >20 icons per gender (Klingon has 10 Sf and 20 Ke, Trill has 10 each and also 10 where Dukedom had uploaded them as "Trill"), so SMW returns a "more results" link after the final icon, which borks up the display.
  • Selecting a species/gender combination that doesn't exist (e.g. Tosk/Female) leaves a single broken image link with a partial URL: /images/d/d4/
  • Jem'Hadar and El-Aurian don't work at all because the filenames use "Jemhadar" and "ElAurian". I added translations for them to {{dofficoninfo}}, and now El-Aurian works, but Jem'Hadar still doesn't, probably due to the apostrophe.
  • For species with both Sf and Ke icons, all of them are shown. Not really a bug, and although it might be confusing, it's probably not worth the trouble (would probably require going all the way with the faction-key parsing).
My next step is going to be going through and purging all the old and nonstandard doff icons. I'm a huge proponent of standardization, if you didn't know. :P —Dr Ishmael User Dr ishmael Diablo the chicken 15:04, 25 April 2012 (UTC)
All fixed except for both faction icons showing, and I agree that trying to work faction-keying into this widget (and supporting templates) isn't worth the trouble. We can deal with sorting that out once the custom extension is closer to completion. (Should be able to get a lot of progress on that over the weekend with any luck.) Eyes User-Eyes-Sig 15:41, 25 April 2012 (UTC)
Confirmed, all species work. But now I noticed a more general sort of bug - if you start typing the species but then select an option from the auto-complete, it doesn't update the icons. Subsequently changing the gender will update properly, though. I guess using the auto-complete somehow bypasses the normal update/change events. —Dr Ishmael User Dr ishmael Diablo the chicken 16:17, 25 April 2012 (UTC)
Yeah, I don't know what to do about that, I'm afraid. Eyes User-Eyes-Sig 16:42, 25 April 2012 (UTC)
Advertisement