Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Rutseg
Beginner


Joined: 26 Dec 2002
Posts: 20
Location: Spain

PostPosted: Sun Jan 23, 2005 8:43 pm   

MXP and Image View (or #IMAGE command)
 
I'm a coder of Reinos de Leyenda MUD, we implemented MXP and MXP inline images a year ago, but now we wan't images to display on an diferent window and stay there.
We have tried with MXP <SEND> and <FRAME> tags but you have to readjust the window manually ever you open zmud and also you don't see the window if you don't know is there, and you have to click on the button of ever on top (that seems to be disable ever you open zmud).
We have seen the #IMAGE command of zmud that opens the image in the Image View, and also can show animations.
We wan't to use this Image View, and we don't know how can the server suggest zMUD client to show the MXP <IMAGE> tag on the Image View window. We don't want to say all our players to make a trigger to implement that, we want this to be automatic and independent of the player knowlege of the client.
Any idea? Smile
_________________
Atentamente,

Rutseg Martillo de Piedra
http://pusa.uv.es/rl/
telnet://pusa.uv.es:5001
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Fri Jan 28, 2005 7:03 pm   
 
The only way would probably be to suggest improvements to the MXP protocol. You should subscribe to the development forum if you are interested in the future of MXP as it is usually there it's discussed.
Reply with quote
Rutseg
Beginner


Joined: 26 Dec 2002
Posts: 20
Location: Spain

PostPosted: Fri Jan 28, 2005 8:26 pm   
 
OKs, so there's no way actually, isn't it?
Actually I can't access the developers forums, it says to me that I have no user granted access. What do I need? I'm actually registered user of zMUD.

Thanks for the reply Wink .
_________________
Atentamente,

Rutseg Martillo de Piedra
http://pusa.uv.es/rl/
telnet://pusa.uv.es:5001
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Jan 28, 2005 9:58 pm   
 
There used to be something in the MXP spec that allowed commands to sent and preformed in the client. I believe this was abandonded because local commands are not uniform between clients and such commands could pose a security risk within some clients. As it stands now you would have to use a non-standard MXP tag and have clients specifically capture, convert, and preform the command you want. In zMud this would be done by having your users add a single trigger. This trigger would detect your tag, preform the #IMAGE command and #GAG the line. I believe gagging would be required since MXP was designed to not interfere with normal text usage of <>. However it might not be required when properly preceeded by a secure mode indicator. It has been a while since I read the spec. I would suggest playing around with this method.

To access the Developer's forum you need to apply and have your application approved. I believe there is an apply link on the main forums page directly below the listing for the Developer's forum.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Jan 28, 2005 10:12 pm   
 
You need to look at more of the options of the tag and tell us what you already tried. Using the OPEN action you can specify the FLOATING option to force the window to be marked as "stay on top". You can also use the LEFT, TOP, WIDTH, and HEIGHT to control the position and size.

Once you have used the OPEN action to create the window, then future images can be displayed with the REDIRECT option. This was all tested on a MUD with Pueblo support that opened a map in an external window and it seemed to work fine there. And the Peublo commands just translate into zMUD FRAME commands.

So, play around with it and post more details on *exactly* what you are doing. It should be possible to get it to work.
Reply with quote
Rutseg
Beginner


Joined: 26 Dec 2002
Posts: 20
Location: Spain

PostPosted: Sat Jan 29, 2005 5:41 am   
 
Actually I'm using:

<FRAME name=Web title=\"Visor de imágenes\" action=open left=-54c top=0c width=40c height=25c FLOATING>

To open de window.
Also I have tested:

<FRAME name=Web title=\"Visor de imágenes\" action=open INTERNAL align=right width=10c height=30c>

But this is not so good because people that plays in a floating window doesn't see correctly the frame, it rellays more in the display configuration of the user, while the first one seems to feed well on all cases.

Then I send the images by doing:

<DEST Web>CLS<IMG src=path></DEST>

I'm using this instead of FRAME REDIRECT, because with FRAME REDIRECT all text continues to flow to that frame until we say to close the frame or to redirect it to other window (for example the MUD output window).
I use a CLS control code to delete all on the destination window, so the new image is correctly placed on the window. I do it that way because I want the window to remain open all the time.
The idea it's to perform a window similar to the web window of RoaClient for people that plays with zMUD (and other clients using full compliant MXP).

Actually we have solved the large part of the problems, and know it only remains the problem that animated images can't be shown with animation on that window, they remain static. Also images are not centered on the window, but this is a lesser problem.

Thanks for the idea of using FRAME tag!
If you have any idea to improve, say it! Very Happy

PD: Also we would be very pleased if you add Reinos de Leyenda on the MXP mudlist as the first spanish mud to fully implement MXP Wink
_________________
Atentamente,

Rutseg Martillo de Piedra
http://pusa.uv.es/rl/
telnet://pusa.uv.es:5001
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net