Thread: GUI snippet
View Single Post
Old 01-26-2013, 08:51 AM   #34
KaVir
Legend
 
KaVir's Avatar
 
Join Date: Apr 2002
Name: Richard
Home MUD: God Wars II
Posts: 2,052
KaVir will become famous soon enoughKaVir will become famous soon enough
Re: GUI snippet

The snippet is a module that needs to be integrated into the mud, and it offers a number of powerful features, with MSDP being the primary one.

The generic plugin is a simple example to showcase the advantages of MSDP, although you can also use it as a starting point for designing your own GUI. You can in theory use the plugin for muds that don't use the snippet, but if they don't support MSDP (or a similar protocol) you'll have to use regular expressions to capture the data. This will require additional work, limit your options, require you to have a specific prompt pattern for data you wish to capture, and the display will only update when new text is sent to the screen - in other words, it'll suffer from the very limitations the snippet was designed to overcome.
KaVir is offline   Reply With Quote