Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, 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.
 Entire forum ➜ MUSHclient ➜ General ➜ Abnormal time to open World Properties

Abnormal time to open World Properties

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1 2  3  

Posted by Zeno   USA  (2,871 posts)  Bio
Date Sun 29 Jul 2007 05:06 PM (UTC)
Message
I'm not sure why, but it takes an abnormal amount of time to open World Properties.

It takes about 7 seconds to open World Properties. I just closed MUSHclient and re-opened it, and it still takes that long. My computer isn't slow or anything. It has a gig of RAM, 2.66 GHz, etc. I don't think it should take this long to open. Any world will take this long to open. Any ideas why?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,072 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 29 Jul 2007 08:44 PM (UTC)

Amended on Sun 29 Jul 2007 08:45 PM (UTC) by Nick Gammon

Message
This has just started happening I presume?

Which version are you using?

Which properties window is it opening first? The one with the IP address on it or something else?

Do you have lots of triggers/aliases etc?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #2 on Sun 29 Jul 2007 08:48 PM (UTC)

Amended on Sun 29 Jul 2007 08:56 PM (UTC) by Zeno

Message
This has actually been happening for a while.

I was using 4.12 and then I updated to 4.16 today. The problem still exists.

Any properties window will do this. Triggers, IP, etc.

I have no triggers or anything. Maybe just one to save every 5min.

The problem is that MUSHclient freezes during this time. I have multiple windows open, and sometimes 7 seconds can easily mean life or death.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,072 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 29 Jul 2007 10:23 PM (UTC)
Message
This sounds a bit like this that I reported:

http://www.gammon.com.au/forum/?id=7750

However that was closing, not opening.

Most of the world property windows use "lazy opening" - that is, the particular page doesn't load all its stuff until you switch to it. For example, the triggers list, I think, doesn't load up until you view triggers.

I will take a look at what gets loaded up anyway (before the window displays) to see if I can spot something. About the only thing I can think of offhand that might take a few seconds is IP address resolution, which I don't think it even attempts to do.

Failing that I will try to make a version that shows on the status line which page it is loading (the values for), so you can try to see where the problem is.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #4 on Sun 29 Jul 2007 10:37 PM (UTC)
Message
Hm, well for the world I use an IP and not a domain if that matters.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,072 posts)  Bio   Forum Administrator
Date Reply #5 on Sun 29 Jul 2007 11:17 PM (UTC)
Message
Do you have heaps of lines in your output buffers when this happens? Maybe it is a paging issue?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #6 on Sun 29 Jul 2007 11:22 PM (UTC)
Message
Nope, like I said I tried it right when I re-opened MUSHclient. I had a total of maybe 500 output lines in all worlds.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,072 posts)  Bio   Forum Administrator
Date Reply #7 on Mon 30 Jul 2007 12:03 AM (UTC)
Message
OK, then. Please download this version:

http://www.gammon.com.au/files/mushclient/mushclient417.exe

Then using Lua set the config debug on:


utils.showdebugstatus ()


You could put that line into the Lua sandbox, or just execute it from the command line.

Then try opening the config. A whole heap of messages should flash by on the status line (too fast to read in my case). However if one sits there for a few seconds, please tell me what it is.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #8 on Mon 30 Jul 2007 12:07 AM (UTC)
Message
All I see in the status line after doing that is:
World config - showing dialog
Ready

But after Ready appears, it's still about 5 seconds before World Properties even appears.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,072 posts)  Bio   Forum Administrator
Date Reply #9 on Mon 30 Jul 2007 12:09 AM (UTC)
Message
Sigh. At least I know what it *isn't* now.

Let me take another look.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,072 posts)  Bio   Forum Administrator
Date Reply #10 on Mon 30 Jul 2007 12:35 AM (UTC)

Amended on Mon 30 Jul 2007 12:36 AM (UTC) by Nick Gammon

Message
Do you have a script that runs on getting/losing the focus?

And, does it happen if scripting is disabled?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #11 on Mon 30 Jul 2007 12:39 AM (UTC)
Message
I don't have any scripts in any worlds.

Turning off scripting does not fix it either. But it does change the status bar, I think.

It now says "World config - showing dialog" the entire time, instead of showing Ready most of the time.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,072 posts)  Bio   Forum Administrator
Date Reply #12 on Mon 30 Jul 2007 12:47 AM (UTC)
Message
So it says "World config - showing dialog", and then there is a lengthy delay before the dialog appears?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #13 on Mon 30 Jul 2007 12:51 AM (UTC)
Message
Right. While that text is being shown, the World Properties is not yet loaded. Then once it loads about 7 seconds later, the status bar changes to Ready.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,072 posts)  Bio   Forum Administrator
Date Reply #14 on Mon 30 Jul 2007 12:54 AM (UTC)
Message
During that 7 seconds is the CPU usage of MUSHclient maxed out?

- 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.


69,637 views.

This is page 1, subject is 3 pages long: 1 2  3  [Next page]

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.