This is a good idea, except... It creates the same potential hazard that some older ODBC applications had, where if they change to lua51.dll, or lua60.dll (I assume this 'is' a version number), then you get stuck either a) changing the client to 'fix' it so the new version works, b) renaming the dll, which could break something in Lua itself, or c) rendering Lua unusable.
This is ironically why some, though as usual, not the ones released by MS, ODBC interfaces for databases use a registry key that includes:
Blah...
|--Name: mydb5.3
|--Global Name: mydb
Well, sort of. I don't remember the keys exactly, but all the ones from MS are missing them, which is why we have to specify a version number, even though the DBs are backward compatible, when linking to them in a script. For those that have the correct global name, it normally connects you to the highest version, which is pointed to by that name. The point was to avoid this kind of version dependency glitch. This 'seems' to be a potential hazard for Mushclient as well. Maybe the lua dll should not be hard coded into the client, but in the global settings (but with the ability of the client to default to the current one, if the setting is missing), in case they do come out with lua51.dll, lua60.dll or some other highly inconvenient change?
This is ironically why some, though as usual, not the ones released by MS, ODBC interfaces for databases use a registry key that includes:
Blah...
|--Name: mydb5.3
|--Global Name: mydb
Well, sort of. I don't remember the keys exactly, but all the ones from MS are missing them, which is why we have to specify a version number, even though the DBs are backward compatible, when linking to them in a script. For those that have the correct global name, it normally connects you to the highest version, which is pointed to by that name. The point was to avoid this kind of version dependency glitch. This 'seems' to be a potential hazard for Mushclient as well. Maybe the lua dll should not be hard coded into the client, but in the global settings (but with the ability of the client to default to the current one, if the setting is missing), in case they do come out with lua51.dll, lua60.dll or some other highly inconvenient change?