When I run Mushclient, a small msg box pops up that simply has a button that says "ok" which you click and the msgbox goes away. I'm on windows Xp
Random small msgbox @ Program Start up
Posted by Gore on Thu 24 Jun 2004 04:33 AM — 34 posts, 112,308 views.
You have a world loaded?
Scripting? Plugins?
Youre going to have to give us more to work with.
Scripting? Plugins?
Youre going to have to give us more to work with.
Nothing loaded when the program starts, that msg box shows before the nagware splash screen pops up, I click the ok in the msg box then the splash screen starts counting to 25 or whatever the count is.
Yes, that is the, uh... I don't know what it is, but it happens to me when I run MC from my flash disk and I only have the executable in it. I suspect it's the missing spelling dll.
I have a registered version so no lag-screen for me, however, just for kicks I moved away the spell-checker and no mysterious message box for me.
Maybe it's in the unregistered version, the computer I run it on when I move it runs bare Win2k so it's not registered there. Move the executable to another PC and run it, you'll probably see it too.
er... I didn't install the spell-checker if that helps :p Nick, any ideas?
Which version is it?
Occasionally I put in message boxes for debugging, however I usually remember to take them out, and if there was one it would normally have some useful information in it.
Occasionally I put in message boxes for debugging, however I usually remember to take them out, and if there was one it would normally have some useful information in it.
v3.50, on windows XP, also, when the nag screen is counting down, on this version I can't minimize the regular screen that's behind the nag screen.
I just upgraded mushclient to mushclient 3.56 and I still have that msgbox *laugh* Any ideas?
I have this too at my Cisco class, the unregistered version. Just a blank box that you can click OK with, right before the register lag screen.
Why not take a screen shot so we can see exactly what's going on.
Alright.
http://img.photobucket.com/albums/v123/rebirthseph/mu.jpg
http://img.photobucket.com/albums/v123/rebirthseph/mu.jpg
Maybe it's because you are running it from a guest account? It might not be able to write something somewhere.
To reproduce this, you need to take only the .exe, no settings or anything in the registry, and run it under a guest account. (At least that's what I do at the Uni when it happens, I haven't checked to see if it happens for all guest accounts).
I'm not running a guest account. I have my own user, although it doesn't have full admin rights.
I just tried it on XP. I uninstalled it, which should have cleared out the registry, and then without installing it, just ran from the archive (mushclient356.tar.gz) that I just created for another user. There was no message box.
Here's the problem I would assume. Since I don't have full admin rights, I can't write to the C drive. Since I installed MC there without admin rights, it didn't write some data to the C drive, even though I installed it to my drive, the H drive. Or maybe I can't edit the registry. But I think I can.
But it doesn't need to write data to the C drive. MUSHclient isn't the sort of program that needs to start writing all over your disk. It just starts up, opens the socket library and does what it is told.
Maybe the registry is the problem.
Maybe the registry is the problem.
Might be. Tomorrow when I am back at Cisco I'll try regedit. Although I'm pretty sure I can edit it, that's what needs to be done in Cisco Networking anyways.
OK, this is what I did:
Clean installed WinXP SP2 (although it happens on 2k for me too)
Enabled guest account, logged in as guest.
Copied MC, lua.dll and lualib.dll to the desktop.
Started MC.
Got message box.
Clean installed WinXP SP2 (although it happens on 2k for me too)
Enabled guest account, logged in as guest.
Copied MC, lua.dll and lualib.dll to the desktop.
Started MC.
Got message box.
Hmm, looks like this is why. If you can't edit the registry, it'll do this.
I'm at Cisco now:
*nod*
I'm at Cisco now:
Quote:
---------------------------
Registry Editor
---------------------------
Registry editing has been disabled by your administrator.
---------------------------
OK
---------------------------
---------------------------
Registry Editor
---------------------------
Registry editing has been disabled by your administrator.
---------------------------
OK
---------------------------
*nod*
Programs can still write at HKCU, I *think*, just not HKLM et al. Maybe it's not so on the guest account.
OK, I've got to the bottom of it.
When MUSHclient starts up it tries to register itself as an OLE server (so other apps can use the world object in scripting). On the guest account it can't, and the error message string was not in the executable. It should read:
I'm not sure that is a heap more helpful - try using Regedit to do what?
Anyway, I've added that string into version 3.57.
When MUSHclient starts up it tries to register itself as an OLE server (so other apps can use the world object in scripting). On the guest account it can't, and the error message string was not in the executable. It should read:
Quote:
Failed to update the system registry.
Please try using REGEDIT.
Failed to update the system registry.
Please try using REGEDIT.
I'm not sure that is a heap more helpful - try using Regedit to do what?
Anyway, I've added that string into version 3.57.
In fact, I think I'll reword it to:
Quote:
Unable to register as an OLE server. This may happen if you are using a Guest account. You can safely ignore this message.
Unable to register as an OLE server. This may happen if you are using a Guest account. You can safely ignore this message.
Can you remove it altogether and make it a statusbar message or a notepad warning? It's kinda annoying having to click it each and every time.
I should point out however that you can still update the registry for personal use. For example, I registered my copy under the Guest account.
Quote:
Can you remove it altogether ...
Can you remove it altogether ...
I don't do the message, I call the code that eventually does the message. If I remove it then it may fail to register under "normal" situations, like when you really want it to register itself.
Ah, I see. Which call is that? Does it still display the box if you pass NULL as the text or something? It's not really that big a problem, just being curious.
Actually opening the helpfile and the new installation dialog are the more annoying, in that order, because it never stores the settings and it always thinks it's the first time, and also it can't find the helpfile because i only have the .exe, so it asks me to browse for it.
if (!bWine)
{
// Connect the COleTemplateServer to the document template.
// The COleTemplateServer creates new documents on behalf
// of requesting OLE containers by using information
// specified in the document template.
m_server.ConnectTemplate(clsid, m_pWorldDocTemplate, FALSE);
// Register all OLE server factories as running. This enables the
// OLE libraries to create objects from other applications.
COleTemplateServer::RegisterAll();
// Note: MDI applications register all server objects without regard
// to the /Embedding or /Automation on the command line.
}
The line in bold.
I don't have the other problems with my guest account. It remembered my registration and didn't put up other boxes.
You probably want version 3.57 if you are just carrying around the .exe because that doesn't insist on finding the Lua DLLs.
I'm using 3.50 or something, I really just need the color triggers on that. They delete the registry settings after each logoff and it's very annoying, I don't know why they don't just let us keep our settings.
I used to have that problem since I'm using MC on a computer where I don't have the rights to edit the registry. However, I just installed it a home, exported the correct branch from the registry (I forget which one now) and copied regedit to a disk. Now, before I use MC I just drag the .reg file onto regedit, et voila, all my personal settings, no nag screen, mysterious box with a x in it, or help file!
True, I could make an executable to add all the settings and launch MC... I just might...