Difference between revisions of "Manual:ATCP Extensions"
m (moved Mudlet:ATCP Extensions to Manual:ATCP Extensions: revert) |
|||
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
Client.GUI <package version>\n<url> | Client.GUI <package version>\n<url> | ||
− | And Mudlet will make it happen - if the user does not have a package, it will be downloaded and installed from the ''<url>'', and if they do, but of an older version - it'll be upgraded. | + | And Mudlet will make it happen - if the user does not have a package, it will be downloaded and installed from the ''<url>'', and if they do, but of an older version - it'll be upgraded. If they're already on the latest, nothing happens. |
+ | |||
+ | Sample string sent by GodWars 2: | ||
+ | |||
+ | "Client.GUI 1\nhttp://www.godwars2.org/download/mudlet/GW2_GUI.mpackage" | ||
+ | |||
+ | [[Category:Mudlet Manual]] |
Latest revision as of 06:54, 17 May 2020
Automatic package installation
Mudlet supports automatic download and setup of Mudlet packages should the MUD server offer it. These packages could consist of graphical additions to your game or anything else you'd like your players to have loaded on their Mudlet profiles by default. This setup is automatic and carefree on part of the user, and handles package updates in a transparent manner as well.
As a demonstration, connecting to godwars2.org on port 3000 via Mudlet will download the GW2 interface and set it up automatically.
setup
After ATCP is negotiated, the server should send a string in the format of:
Client.GUI <package version>\n<url>
And Mudlet will make it happen - if the user does not have a package, it will be downloaded and installed from the <url>, and if they do, but of an older version - it'll be upgraded. If they're already on the latest, nothing happens.
Sample string sent by GodWars 2:
"Client.GUI 1\nhttp://www.godwars2.org/download/mudlet/GW2_GUI.mpackage"