Jump to content


Sign In or Register to gain full access to our forums.

- - - - -

MUSHclient bundle: issue with plugins_updater (quick & dirty fix)

  • This topic is locked This topic is locked
5 replies to this topic

#1 Ruthgul


    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 31 July 2014 - 08:41 AM

Posting this here since Groups are disabled. :/

Sometime around july 24, Dropbox started enforcing https to access files.

As a result, my plugins_updater stopped working (since it uses luasocket, which can't do https.)

I'm working on a new script, which is capable of doing https (via luasec.) But it's not fully tested yet.

In the meantime, we patched the plugins_updater to use a proxy, to bypass https. This is a "band aid" solution, but it's working for now. It needs to be updated manually, following this:

1- Download this file:

2- Unzip it to your MUSHclient/worlds/plugins/MM folder.

3- In MUSHclient, Ctrl+Shift+P (to access the plugins window), select plugins_updater, and hit Reinstall.

#2 Ithilwen


    [Clan 52] Diversity

  • Members
  • PipPipPip
  • 154 posts
  • LocationRune Estates West

Posted 31 July 2014 - 07:34 PM

Thank you for all of your hard work, Ruthgul! ^_^

Posted Image


Model: Valentina Kallias, Artwork: Ithilwen

#3 Zierk



  • Members
  • Pip
  • 1 posts

Posted 02 August 2014 - 06:05 PM

You have not specified a script file name:

The alias subroutine named "restore_defaults" could not be found.

and this:

Updating plugin 0d02361abda86a9c64488bf3 - capture2mini
-- plugins updater: downloading files --
[WARNING] C:\Users\Owner\Documents\MUD Stuff\Materia Magica\MUSHclient\worlds\plugins\MM\capture2mini.xml
Line  137: Could not find all required script routines (Cannot load)
Run-time error
Plugin: plugins_updater (called from world: Materia Magica GMCP)
Immediate execution
[string "Plugin"]:186: attempt to concatenate a nil value
stack traceback:
        [string "Plugin"]:186: in function 'update_sth'
        [string "Plugin"]:135: in function 'update_plugin'
        [string "Alias: "]:1: in main chunk
Error context in script:
 182 :       if (res == 0) then
 183 :         Note("-- plugins updater: " .. desc .. " " .. id .. " (" .. GetPluginInfo(id, 1) .. ") updated successfully --")
 184 : 
 185 :       else
 186*:         Note("-- plugins updater: I couldn't reload the plugin " .. id .. " (" .. GetPluginInfo(id, 1) .. ") - error: " .. ErrorDesc(res) .. " - code: " .. res .. " --")
 187 : 
 188 :         if (res == 30046) then
 189 :           Tell("(... please try to reload the plugin manually: ")
 190 :           ColourTell("silver", "black", "Ctrl+Shift+P")

Error when updating the capture2mini plugin. Perhaps I have the wrong bundle? I am using the client located here: https://dl.dropboxus...ria_Magica.html

#4 Ruthgul


    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 05 August 2014 - 10:09 AM

The capture2mini plugin uses an auxiliary file, named generic_miniwindow.lua, which should be updated first (by clicking "update aux files"), before updating the plugin itself.

If you're also using events_mini, try updating its aux files, and that should fix capture2mini.

If not, you'll need to download the zip file that includes it, manually, by following the instructions under "download and install" here:

Talk to me in game if you need help fixing that issue.

#5 Ruthgul


    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 16 August 2014 - 04:02 PM

Here's a better fix to the Dropbox/https issue:

Improvements over the previous version:
[li]it supports https, so it doesn't rely on a proxy to retrieve files from Dropbox;[/li]
[li]it auto-detects modified files;[/li]
[li]it auto-updates modified auxiliary files before attempting to reinstall a plugin that requires them.[/li]

If you have time to beta-test, it would be appreciated. I've tested it on Windows XP and 7.

It uses 2 big libraries so it's no longer a standalone plugin. It requires several other files. If you're going to try it, please follow the instructions on the page above to install it properly, or it won't work.

If you find any issues, please contact me in game.

#6 Ruthgul


    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 16 August 2014 - 05:00 PM

It's also working OK on Xubuntu + Wine.