Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ Changing the default "send to"
Changing the default "send to"
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #15 on Sat 17 Jul 2010 08:52 AM (UTC) |
Message
| Probably a deeper question is, when is "everything set up"?
On the one hand, you could say the world file should be loaded first so that plugins know things like the world file font, on the other hand you might argue that plugins are setting up the world parameters, and that the "everything is set up" once the plugins are loaded.
Imagine for a moment that Plugin A changes the world font. Then plugin B makes a decision based on what the font size is. The overall result will change depending on whether Plugin A or Plugin B is loaded first. And who is to say which should be first. Alphabetic order?
In fact I think what happens is that loading the world is like this:
- Load main world file
- Load plugins
- Create output window based on what is now the established font, font size, width etc.
Thus a plugin loaded during startup can't write to the output window because it doesn't exist yet.
You may argue that you don't like that design, but it isn't necessarily "wrong", and an alternative design may have other flaws. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| WillFa
USA (525 posts) Bio
|
Date
| Reply #16 on Sat 17 Jul 2010 07:21 PM (UTC) Amended on Sat 17 Jul 2010 07:22 PM (UTC) by WillFa
|
Message
| Even if plugin A specifies a font and output, those parameters aren't removed from the world file's attributes. Plugins are still plugins, and not required libraries, right? Firefox can run and function if AdBlock's not loaded... It's not like Adblock becomes a required DLL...
I don't think there's anything that a plugin can do that will require you to close the world and reopen it fresh when it is installed. They can be installed at any point in the session. If you're playing for an hour, and then get plugin A, you don't have to close and reopen the world... the font just changes. You may need to click the reinstall button for plugin B, but plugin A is not a core dependency. Even an ATCP/Telnet 102 plugin may require you to disconnect and reconnect, at most; not destroy the MDI window.
And I won't argue the principle about putting user preferences (the font) into a plugin - a modular piece of code intended for easy distribution.
I'd posit that the one fringe case... "a plugin may change the font and cause a flicker" is not enough to have a custom error handling routine that overrides the user's preference that errors get Noted to the world window.
So, I'm not saying this design is wrong. I'm just saying that it is counter to the rest of the plugin and general UI experience.
| Top |
|
Posted by
| Caelen
(81 posts) Bio
|
Date
| Reply #17 on Sun 18 Jul 2010 10:28 AM (UTC) |
Message
| Actually, I'd really like to have an option to -not- load some, or even all, plugins at startup, and let me open the world first then hit one button or something to load them before connecting. My client hangs up on me every time I open my Achaea worlds, because of the map plugin I use (Nitro's map that grabs the actual IRE maps that nexus and the flash client use). It hangs up because of the plugin, because of how it caches the maps, so it'd be nice to tell it not to load on opening the world. It's a bit annoying to try and open all three of my Achaea worlds to copy triggers when each one hangs up the client XD I like the map too much to give it up though.
Maybe there could be an option for each plugin on the list that flags it for not loading right away, and then a new button added in somewhere up top (or a new command-line script?) that loads all those flagged plugins? | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #18 on Sun 18 Jul 2010 10:42 AM (UTC) |
Message
| Some of my plugins remember if you had them disabled and automatically disable themselves next time they are loaded.
And I think there is a key you can hit which disables loading plugins. Can't remember what it is right now. If there isn't, there should be. ;) |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
55,619 views.
This is page 2, subject is 2 pages long:
1
2
It is now over 60 days since the last post. This thread is closed.
Refresh page
top