My plugin displays an avatar of your current opponent. The problem is I only have a few avatars so far - I plan to add more, but it's going to be an ongoing project. Rather than asking the players to redownload the latest avatar pack every few days, I'd like to have it done automatically.
Now what I could do is have a "missing avatar" image that provides a clickable link to the new avatar, so that if the mud tells the plugin to display an avatar that hasn't yet been downloaded, the player can just click on the "missing avatar" image to open a browser directed to the appropriate webpage, and then click "save as".
However that's quite a bit of a hassle for the player, particularly if they have to keep doing it for each monster they encounter...is there any way that it can be automated? Perhaps some way that I can just pass the plugin a URL and local destination, and let it handle the download automatically?
The only other option I can think of is to send the avatar directly from the mud using a binary protocol, and write it out to a file at the client end. But presumably that's going to require people to modify their sandbox settings?
I'm trying to keep this as simple for the players as possible. Any advice or suggestions would be appreciated.
Now what I could do is have a "missing avatar" image that provides a clickable link to the new avatar, so that if the mud tells the plugin to display an avatar that hasn't yet been downloaded, the player can just click on the "missing avatar" image to open a browser directed to the appropriate webpage, and then click "save as".
However that's quite a bit of a hassle for the player, particularly if they have to keep doing it for each monster they encounter...is there any way that it can be automated? Perhaps some way that I can just pass the plugin a URL and local destination, and let it handle the download automatically?
The only other option I can think of is to send the avatar directly from the mud using a binary protocol, and write it out to a file at the client end. But presumably that's going to require people to modify their sandbox settings?
I'm trying to keep this as simple for the players as possible. Any advice or suggestions would be appreciated.