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
➜ Bug reports
➜ Scripting colors crash MUSHClient
|
Scripting colors crash MUSHClient
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Poromenos
Greece (1,037 posts) Bio
|
| Date
| Mon 20 Jan 2003 08:29 PM (UTC) |
| Message
| Nick, I've been having this problem forever... MUSHClient doesn't appear to be crashing on my friend's PC, but sometimes, when i use color, it crashes. Not only that, but when I reopen it, it crashes again, or it uses some random background color when i haven't assigned one in world.colourtell. The random background thing happens after it crashes once. I.e.:
I use color normally
Suddenly, crash
I open it up, and suddenly colourtell uses a background color!
Please look into it, it is really annoying... I can send you the windows XP memory dump if you want... |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Mon 20 Jan 2003 09:16 PM (UTC) |
| Message
| Don't bother sending me the memory dump, I never use them these days.
When you say it crashes when you "use colour" can you give me the script line that you are referring to, including the colour name it uses? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Poromenos
Greece (1,037 posts) Bio
|
| Date
| Reply #2 on Tue 21 Jan 2003 09:32 AM (UTC) |
| Message
| Sure. actually, it crashes when i use any color, be it chartreuse, orange, red, anything... haven't tried to use the MXP/HTML/RGB code though, to see if that crashes MUSHClient as well... the code is simply
world.colourtell "chartreuse", "", <some variable>
hmm if it's any help, i think it's the displaying the color that crashes it, because sometimes i see the lines outputted appear (not exactly appear, they are blank and the world file scrolls up), and mushclient crashes while trying to refresh/paint the text window |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Tue 21 Jan 2003 10:10 AM (UTC) |
| Message
| | Hmmm - you are the only one reporting this. Maybe "some variable" is corrupted somehow. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Poromenos
Greece (1,037 posts) Bio
|
| Date
| Reply #4 on Tue 21 Jan 2003 10:13 PM (UTC) |
| Message
| | Hmm maybe... reinstalling didn't seem to fix it though... it works now, although i got the background color glitch without crashing... Can you review the colour display code and see if you can spot anything? |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #5 on Wed 22 Jan 2003 02:22 AM (UTC) |
| Message
| The colour display code is quite complex in some ways, because it handles ANSI, custom and RGB colours, using style runs for efficiency.
Possibly some combination of circumstances would crash it, it would be helpful to have a small script that definitely crashes, or behaves badly. Please try to make somesuch.
For instance, what *might* do it would be to do a colourtell with a zero-length string, and then switch colours, maybe following, or followed by, an ANSI string (ie. not RGB colours). |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Poromenos
Greece (1,037 posts) Bio
|
| Date
| Reply #6 on Wed 22 Jan 2003 10:24 AM (UTC) |
| Message
| | Hmm, that would probably do it, but what concerns me is that i can't always reproduce the error... The code is perfectly legal, i'm not doing a colourtell with a zero length string, but still it only crashes at some times, or changes background color in others :/ |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | | Top |
|
| Posted by
| JSteele1234
USA (27 posts) Bio
|
| Date
| Reply #7 on Wed 05 Mar 2003 06:24 PM (UTC) |
| Message
| | I was having a problem that sounds similar to this. It seems that the colourtell would crash Mushclient if the note color was set to 0, so I had to modify my script to change the note color back to 1 occasionally to help prevent any more crashing. |
~ JSteele1234 ~ | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #8 on Wed 05 Mar 2003 10:56 PM (UTC) |
| Message
| | Occasionally? If you can give me a script that will definitely crash it, I will run it through the debugger and work out what is wrong. |
- 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.
26,983 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top