|
Nibbles Beginner
Joined: 01 Aug 2004 Posts: 15
|
Posted: Sun Aug 01, 2004 8:05 pm
MXP Image T Property |
I'm having a problem with downloads using the T or Type property of the MXP image tag. For instance, if I have an image at http://www.randomwebsite.com/monsters/goblin.gif, when I try something such as this:
<IMAGE FName=goblin.gif T=monsters URL=http://www.randomwebsite.com/>
ZMud will download goblin.gif to the folder Images/monsters/monsters/. For some reason, it creates two folders with the name monsters embedded within each other, and ends up displaying nothing. I CAN however display the image after it's been downloaded with the tag
<IMAGE FName=goblin.gif T=monsters/monsters>
So apparently, ZMud is downloading the file into Images/monsters/monsters/goblin.gif, and then looking for it to display in Images/monsters/goblin.gif.
Am I doing something wrong to cause ZMud to double-stack the folder monsters? Or is this a bug? Help is appreciated as I'm rather stumped, and being able to use the T propery would make things much simpler for me. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Aug 03, 2004 6:49 pm |
Quote: |
T (type)
The class for the image. Same as classes used in MSP. |
Quote: |
T parameter
Specifies type of the sound. This is mud specific. Some example classes might be combat, zone, death, clan. This parameter may be omitted, but if a MUD opts to use it, it's recommended that it be used everywhere. The actual type is a string, and should be case insensitive. It's up to the client to determine whether to use this parameter, and how to use it. This parameter was intended to provide a way to group sounds into subfolders within the main sound directory. Although subdirectories can be specified in the filename itself, the T parameter is another way to accomplish this.
Possible values: any string
Default value: subdirectory of fName
Used in: SOUND, MUSIC |
Apparently the zMUD client has determined that it should use a two-level subdirectory in response to this parameter in the IMAGE tag. If you consider that a bug, report it. |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|