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
➜ Miniwindows
➜ Miniwindow goes black
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1 2
3
4
5
Posted by
| Rooklion
(9 posts) Bio
|
Date
| Thu 25 Aug 2011 05:52 AM (UTC) |
Message
| I'm using a set of plugins that display various information about a MUD to miniwindows. Each plugin is using a .lua snippet file which takes care of all of the functions of the miniwindows. Periodically, these miniwindows will go completely black. All of the hotspots are still there and can be clicked on, but the foreground colors are all black. The only fix seems to be a full restart of the client. As the plugins are not mine, it's necessary to try and "recreate" the issue but I cannot determine any pattern to when they go black. Examining the code it seems each time the information changes the window is just recreated. I don't understand when/how the client is getting confused so I don't know where to begin troubleshooting. Any ideas? | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 25 Aug 2011 07:54 AM (UTC) |
Message
| There's not really enough information to go on with there. What plugins? What snippets?
Some authors, like Fiendish and Twisol, have written quite complex plugins using miniwindows. I haven't had any complaints about them going black and needing to restart the client. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Fiendish
USA (2,535 posts) Bio
Global Moderator |
Date
| Reply #2 on Thu 25 Aug 2011 03:55 PM (UTC) |
Message
| I've gotten a number of reports of this from people using Bast's plugins (https://code.google.com/p/bastmush/) on top of my Aardwolf package (https://code.google.com/p/aardwolfclientpackage/). My guess is that the combination has the ability to peak at a *lot* of plugin processing at random times. It did happen to me *once*, but I've never been able to reproduce it, and I don't like reporting problems before I can reproduce them because I know how difficult that is to track down and try to fix.
The one thing that stuck out to me though was that simply disabling/removing/reloading the plugins doesn't help. You actually have to shut down MUSHclient. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Bast
(78 posts) Bio
|
Date
| Reply #3 on Thu 25 Aug 2011 03:56 PM (UTC) |
Message
| I have had reports of it as well. But I had one user say it wasn't just my plugins. I also cannot reproduce it.
Bast |
Bast
Scripts: http://github.com/endavis | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #4 on Thu 25 Aug 2011 07:08 PM (UTC) |
Message
| For what it's worth, I haven't seen or heard this happen yet. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| Rooklion
(9 posts) Bio
|
Date
| Reply #5 on Thu 25 Aug 2011 08:43 PM (UTC) |
Message
| Apologies, I suppose I was trying to avoid the traditional "post your bugs to the authors" response. The plugins that go black are, in fact, the ones based on Bast's miniwin.lua file. The closest I can come to a "reproduction" is anytime I'm moving rapidly along in Aardwolf from one mob to another. One miniwindow is showing the names and descriptions of the mobs in the room and another is displaying Campaign targets. They only seem to go black after many rapid changes to the contents. | Top |
|
Posted by
| Bast
(78 posts) Bio
|
Date
| Reply #6 on Thu 25 Aug 2011 09:09 PM (UTC) |
Message
|
Rooklion said:
One miniwindow is showing the names and descriptions of the mobs in the room and another is displaying Campaign targets. They only seem to go black after many rapid changes to the contents.
What plugin shows descriptions of mobs in the room? I don't have a plugin that does that.
Bast |
Bast
Scripts: http://github.com/endavis | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #7 on Thu 25 Aug 2011 11:59 PM (UTC) |
Message
| It's possible some Windows resource is not being freed properly. A while ago I had a small program that, after a while, stopped drawing properly because I had used a Windows "brush" and not freed it. Eventually it ran out of brushes.
However it would help if you could reproduce with some sort of small test case. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Fiendish
USA (2,535 posts) Bio
Global Moderator |
Date
| Reply #8 on Fri 26 Aug 2011 12:32 AM (UTC) |
Message
|
Nick Gammon said: However it would help if you could reproduce with some sort of small test case.
If only. I've been getting complaints for a while. Every time I ask how to reproduce the problem, the answer is always
Quote: *shrug* :\ |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Rooklion
(9 posts) Bio
|
Date
| Reply #9 on Sat 27 Aug 2011 07:45 PM (UTC) |
Message
| I have created a mob database plugin based on Bast's miniwin.lua script. This one as well as the other Bastmush plugins I use go black. These include miniwin_spellup, miniwin_events.
As far as reproduction, it's extremely unpredictable when it will occur. During fast-moving CP-levelling is the only time it reliably happens.
Most recent: my mob database plugin shows the contents of the {roomchars} tag in conjunction with a "consider all" to get the mob's shortname. After checking both lists contain the same number of records, the database is searched to receive the mob's database ID #. These 3 are then written into a miniwindow. During a visit to one of the mobs in my CP it seems that the attempt to write to the miniwindow caused it to go black.
My guess is that many frequent redraws of the miniwindow is causing the blackout. Could a difference in the way Bast's miniwindows are refreshed be causing the bug? | Top |
|
Posted by
| Fiendish
USA (2,535 posts) Bio
Global Moderator |
Date
| Reply #10 on Sat 27 Aug 2011 07:52 PM (UTC) |
Message
|
Quote: Could a difference in the way Bast's miniwindows are refreshed be The one time I saw it happen was not on one of Bast's plugins. I think the only thing we have is that there's a whole bunch of processing and drawing going on. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #11 on Sat 27 Aug 2011 09:23 PM (UTC) |
Message
| Could you confirm whether or not this problem tends to occur after a lengthy period of time? If some resource is eventually being consumed, then a lot of activity would consume it faster. However I would still expect this sort of problem to manifest itself later, rather than sooner.
Next time it happens:
 |
Please provide a summary of your world configuration:
- Either use the scripting Immediate window (Ctrl+I) to execute: Debug ("summary")
or
- Install the Summary plugin (see
"Summary" feature) and type "summary"
Then copy the resulting information from the output window, and paste into a Forum message.
You need version 4.55 onwards of MUSHclient to do this.
|
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Fiendish
USA (2,535 posts) Bio
Global Moderator |
Date
| Reply #12 on Sat 27 Aug 2011 09:51 PM (UTC) |
Message
| I got this from a friend.
Summary:
http://pastebin.com/raw.php?i=8PYs8yuU
Screenshot:
http://i.imgur.com/qPw5z.png |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #13 on Sat 27 Aug 2011 10:00 PM (UTC) |
Message
| So which plugin is that black window? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #14 on Sat 27 Aug 2011 10:03 PM (UTC) |
Message
| Well that's confusing. Version 4.78 is "in the wild" whereas I haven't released it yet.
In fact, remind me what change was made in that? My release notes don't show anything. |
- 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.
176,167 views.
This is page 1, subject is 5 pages long: 1 2
3
4
5
It is now over 60 days since the last post. This thread is closed.
Refresh page
top