zarqon
Well-known member
As I've been making increasing use of monster images for various relay scripts, I've come across several issues.
Incorrect Values
First, some of the existing monster image names are incorrect. I've listed them here with the correct image name.
Missing Values
The following monsters contain empty strings in their image field. Perhaps not all of them should have image information, but here is a complete list regardless.
Blank files in mafia's image cache
This leads me to the final issue. In testing all of this, I got quite a lot of blank image files in my relay folder (and sometimes empty folders, as with Mother Slime and Your Shadow, since they include directory structure in their image name). If mafia's information is incorrect, a blank file with the incorrect name is still saved. Once I forgot to put a closing quote at the end of the img src tag and suddenly there were over a thousand blank files in my images/adventureimages directory, with names like "question.gif%20height=40%20width=40" and so forth. It seems like some kind of failsafe to ensure that only actual, existing files are cached would be handy.
I've attached the tiny little relay script I used to test this information. If you run the script, you'll notice a good number of monster images don't display (most of them Dread monsters), and then if you check your images folder, you'll also find various blank files due to the incorrect info (and due to not making special cases for directory information in the image name).
Incorrect Values
First, some of the existing monster image names are incorrect. I've listed them here with the correct image name.
- Tricksy pixie => trixiepixie.gif
- Mob penguin entrepreneur => peng_ent.gif
- Moonshriner => moonshriner.gif
- Naughty Sorceress (3) => bigsaus.gif
- Pygmy Janitor/Orderlies/Shaman/Witch Accountant/Witch Lawyer/Witch Nurse/Witch Surgeon => all missing final ".gif"
- Mother Slime => ./otherimages/slimetube/stboss.gif (directory structure chosen to be consistent with Your Shadow)
- Dreadsylvania non-bosses => Though these image names appear to be correct, for some reason the images fail to load.
Missing Values
The following monsters contain empty strings in their image field. Perhaps not all of them should have image information, but here is a complete list regardless.
- Killer Festive Arc-Welding Elfbot
- Killer Festive Decal-Applying Elfbot
- Killer Festive Laser-Calibrating Elfbot
- Killer Festive Weapons-Assembly Elfbot
- 7-Foot Dwarf
- Amateur Elf
- Arc-welding Elfborg
- Auteur Elf
- Bow-making Mummy
- CDMoyer's Butt
- Chatty Coworker
- Cookie-baking Thing from Beyond Time
- Crys-Rock
- Cyrus the Virus
- Dad Sea Monkee
- Deadwood Tree
- Decal-applying Elfborg
- Disorganized Files
- Don Crimbo
- Ed the Undying (2)
- Ed the Undying (3)
- Ed the Undying (4)
- Ed the Undying (5)
- Ed the Undying (6)
- Ed the Undying (7)
- Edwing Abbidriel
- Endless Conference Call
- Flint-Scraping Cave Elf
- four skeleton invaders
- fudge monkey
- fudge oyster
- fudge vulture
- Fur Tree
- Giant Pair of Tweezers
- Gift-wrapping Vampire
- Gnollish Bodybuilder
- Gnollish Sorceress
- Hammered Yam Golem
- Hangman's Tree
- Hideous Slide Show
- Hotstuff's Butt
- Hunter-Gatherer Cave Elf
- Inebriated Tofurkey
- Jick's Butt
- Mob Penguin Caporegime
- Mob Penguin Enforcer
- Mob Penguin Goon
- Mob Penguin Hitpenguin
- Mob Penguin Kneecapper
- Mob Penguin Psychopath
- Mob Penguin Racketeer
- Mob Penguin Smasher
- Mob Penguin Smith
- Mob Penguin Supervisor
- Mr. Skullhead's Butt
- Multi Czar's Butt
- Mutant Circuit-Soldering Elf
- Mutant Cookie-Baking Elf
- Mutant Doll-Dressing Elf
- Mutant Gift-Wrapping Elf
- Mutant Whistle-Carving Elf
- Plastered Can of Cranberry Sauce
- Provocateur Elf
- Pumpkin Tree
- Raconteur Elf
- Ribbon-cutting Elfborg
- Riff's Butt
- rock homunculus
- rock snake
- Rock-Banging Cave Elf
- Rudolphus of Crimborg
- Saboteur Elf
- Servant Of Lord Flameface
- Sinew-Stretching Cave Elf
- skeletal reindeer
- skeleton invader
- slime1
- slime2
- slime3
- slime4
- slime5
- Soused Stuffing Golem
- Stocking-stuffing Zombie
- Striking Factory-Worker Elf
- Striking Gift-Wrapper Elf
- Striking Middle-Management Elf
- Striking Pencil-Pusher Elf
- Striking Stocking-Stuffer Elf
- Tedious Spreadsheet
- The Abominable Fudgeman
- The Best Game Ever
- The Book Of Faces
- The Colollilossus
- The Darkness (blind)
- The Fudge Wizard
- The Tome Of Tropes
- The Water Cooler
- The Whole Kingdom
- three skeleton invaders
- Totally Malicious 'Zine
- Toy-making creature from the Gray Lagoon
- Trollipop
- two skeleton invaders
- Uncle Hobo
- Underworld Tree
- Unoptimized Database
- Weapons-assembly Elfborg
- Wire-Crossin' Elf
- Your Overflowing Inbox
Blank files in mafia's image cache
This leads me to the final issue. In testing all of this, I got quite a lot of blank image files in my relay folder (and sometimes empty folders, as with Mother Slime and Your Shadow, since they include directory structure in their image name). If mafia's information is incorrect, a blank file with the incorrect name is still saved. Once I forgot to put a closing quote at the end of the img src tag and suddenly there were over a thousand blank files in my images/adventureimages directory, with names like "question.gif%20height=40%20width=40" and so forth. It seems like some kind of failsafe to ensure that only actual, existing files are cached would be handy.
I've attached the tiny little relay script I used to test this information. If you run the script, you'll notice a good number of monster images don't display (most of them Dread monsters), and then if you check your images folder, you'll also find various blank files due to the incorrect info (and due to not making special cases for directory information in the image name).