World.ColourNote not entirely fixed

Posted by Poromenos on Fri 08 Nov 2002 03:19 PM — 21 posts, 58,603 views.

Greece #0
When i tried to do a world.colournote "dimgray", "", "Hello", the program correctly displayed Hello on a black background coloured as dimgray, and then "restored" the background color to dimgray, instead of black (the normal background color). What's wrong?
Greece #1
Oh, and MUSHClient now crashes as well.
Greece #2
OK, it crashes whenever I try to use a plugin. Any plugin.
Greece #3
I even tried rebooting. Whenever i use a plugin, boom, GPF... i'm running XP, by the way.
Australia Forum Administrator #4
What plugins are crashing? I can't reproduce this. I've got 6 of the supplied plugins installed under XP and no crashes.
Australia Forum Administrator #5
Quote:

When i tried to do a world.colournote "dimgray", "", "Hello", the program correctly displayed Hello on a black background coloured as dimgray, and then "restored" the background color to dimgray, instead of black (the normal background color). What's wrong?


I can't reproduce this either.

This, for instance, works like I expect it would ...

/world.colournote "dimgray", "", "Hello"
/world.note "hi there"
Greece #6
No, umm, now i think it might just have been the "Bleed background color to edge option" that caused it. But now MUSHClient crashes whenever i try to execute my plugin... the EQHit:Help command works, but the EQHit:Reset command and EQHit:ShowReport commands just crash MUSHClient. I even tried reverting to 3.30, to no avail. That version crashed too. I even rebooted, the problem persists. Try downloading my plugin and trying it out, the URL is, hmm... Well, it's in the "Plugins" section of the forum, under the "EQ Damage counter plugin" subject.
Greece #7
Woohoo, i'm a genius, i fixed it :) It was the "Bleed background bla bla" option after all, i disabled it and it stopped crashing
Australia Forum Administrator #8
OK, I found a bug that where you had RGB colours on a line, and "bleed colours to edge" it would choose the wrong one to bleed to the edge (the foreground, not the background). Fixed in the next version.

But are you saying that the bleed option also caused the crashes in the plugins?
Australia Forum Administrator #9
I can't get your eqhit:showreport to crash. Have you changed it recently? The colournotes seem to be commented out.
Amended on Sun 10 Nov 2002 12:10 AM by Nick Gammon
Greece #10
Yes, i commented them out because 3.30 crashed, i tried to reenable one for testing in 3.31 but that one crashed too... if you change the world.note "-------" to world.colournote "dimgray", "", "------", it crashes :(
Actually, it still crashes on every colour command. Do you want me to send you the xp memory dump next time it happens or something?
Australia Forum Administrator #11
No, the memory dump wouldn't tell me much.

I tried your plugin under XP and it doesn't crash. There must be something in your configuration that is different to mine.

I tried setting "bleed colours to edge" and it still works fine.

Can you send me your world file, so I can see if some obscure preference causes it? If I can't make it crash I can't see why it is happening.
Greece #12
Actually, I use a blank file when i build plugins, but ok, i can send that to you.
Greece #13
OK, I made a sub to print coloured notes, like this:
Sub CrashMush (strName, strLabel, strWildcards)
World.ColourNote "gray", "dimgray", "Crash!"
End Sub

I made the alias, "crash", and ran it. Sure enough, it crashed. Then i remembered i forgot to save it. I opened it up, created it again, saved, and now it doesn't crash :(
Australia Forum Administrator #14
There is something funny going on here. I gather it isn't crashing for anyone else? Yes? No?

What vbscript DLL are you using? Try downloading the newest one mentioned by Shadowfyr recently, see the link at the top of the VBscript topic section of the forum. I think it is called scr56en.exe. Simple examples like the one above are all through my plugins and they are not crashing for me.
Amended on Wed 13 Nov 2002 02:46 AM by Nick Gammon
Greece #15
OK, i will try that... I take it that the Win 2000 executable is also the one for Win XP?
Australia Forum Administrator #16
I guess so.
Amended on Fri 15 Nov 2002 01:32 AM by Nick Gammon
Greece #17
No, it fails to install on Win XP :( I would guess that XP already has the latest version of the DLL though...
Australia Forum Administrator #18
This was caused by the world "note" colour being "no change". This bug has been fixed in 3.41.
Greece #19
YESSSSSSSSSSSSSSSS!
Ahem.
Well done :p
Greece #20
It works! (Does a victory dance and other embarrasing movements).
Whee!