Ok iv been working on this for awhile and was waylaid by moving back into town from the middle of the woods but I think I have finaly got this working to a point where Im hoping people can make use of it.
It transfers files without establishing any extra connections. I made it first for midi or wav files so a mud could stream and play music and sounds to players without the player having to spend extra time downloading files.
I relised pretty quick it can be used for many differnt files including graphics and pluggins. A mud can now update its plugins and distribute them to its players without the players having to do much of anything.
https://github.com/Vessarr/Lama-protocols
It is currently only built for use with a lama mud server
https://github.com/milkmanjack/lama
but it could easily be reworked for any server that can use lua. It could even be rewritten in c for use with non lua servers.
Anywho here is a basic overview of the protocol. I tryed to go over it step by step as much as I could.
https://github.com/Vessarr/Lama-protocols/blob/master/LFTP%20overview
Just the LFTP without my color code stuff
https://github.com/Vessarr/Lama-protocols/blob/master/ProtocolsNC.lua
And the all important mushclient pluggin
https://github.com/Vessarr/Lama-protocols/blob/master/lama_file_protocol.xml
It transfers files without establishing any extra connections. I made it first for midi or wav files so a mud could stream and play music and sounds to players without the player having to spend extra time downloading files.
I relised pretty quick it can be used for many differnt files including graphics and pluggins. A mud can now update its plugins and distribute them to its players without the players having to do much of anything.
https://github.com/Vessarr/Lama-protocols
It is currently only built for use with a lama mud server
https://github.com/milkmanjack/lama
but it could easily be reworked for any server that can use lua. It could even be rewritten in c for use with non lua servers.
Anywho here is a basic overview of the protocol. I tryed to go over it step by step as much as I could.
https://github.com/Vessarr/Lama-protocols/blob/master/LFTP%20overview
Just the LFTP without my color code stuff
https://github.com/Vessarr/Lama-protocols/blob/master/ProtocolsNC.lua
And the all important mushclient pluggin
https://github.com/Vessarr/Lama-protocols/blob/master/lama_file_protocol.xml