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, 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 ➜ General ➜ Error message when starting a mud file

Error message when starting a mud file

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


Pages: 1 2  

Posted by Cosine_Omerta   USA  (17 posts)  Bio
Date Tue 17 Feb 2015 10:59 PM (UTC)
Message
Hi. When I start a particular mud file, I get an error message:
line 8 MUSHclient\worlds\constants.lua was not found

I assume this is a problem with an include somewhere, but I don't know how to troubleshoot it. It gives a line number, but no file name. I've searched all of my plugin files and none of them reference constants.lua.

If I move constants.lua to \worlds it just gives me another error about a different line number, so that doesn't solve it. Where would I begin to find the problem?

Thanks.
MUSHclient v 4.94
Win 7
Top

Posted by Nick Gammon   Australia  (23,171 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 18 Feb 2015 03:16 AM (UTC)
Message
What other error?

Try copying it, not moving it. It is hard to tell with so little information (such as, what plugins you are using).

- Nick Gammon

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

Posted by Cosine_Omerta   USA  (17 posts)  Bio
Date Reply #2 on Wed 18 Feb 2015 03:53 AM (UTC)
Message
When I move or copy constants.lua, I get:
line 6: tag not used: <script> 0

I'm using a chat window plugin and one of my own. I moved that folder out and deleted them from the plugins to load in the client, but the message still happens.
Top

Posted by Nick Gammon   Australia  (23,171 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 18 Feb 2015 10:19 PM (UTC)
Message
Moving a file shouldn't cause a "tag not used" message. You aren't telling us everything that is happening here.

- Nick Gammon

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

Posted by Cosine_Omerta   USA  (17 posts)  Bio
Date Reply #4 on Wed 18 Feb 2015 11:14 PM (UTC)

Amended on Wed 18 Feb 2015 11:15 PM (UTC) by Cosine_Omerta

Message
I open the mud file, I get the constants not found message. I copy constants.lua, paste it into the worlds directory. Then I get the tag error. If I remove the plugins directory altogether, I still get the tag error. (I initially get an error that the two plugin files that I use aren't there, and not loaded, but just the first time.) I also deleted the scripts file(which is empty), which gives me an error about that file not being there, but I still get the tag error.

What other files can I check?
Top

Posted by Nick Gammon   Australia  (23,171 posts)  Bio   Forum Administrator
Date Reply #5 on Wed 18 Feb 2015 11:48 PM (UTC)
Message
Can you copy and paste all the error messages please? Like, show everything that happens when you start the client up.

- Nick Gammon

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

Posted by Cosine_Omerta   USA  (17 posts)  Bio
Date Reply #6 on Thu 19 Feb 2015 12:08 AM (UTC)
Message
Those two that I quoted before are the error messages in their entirety. The constants.lua missing one if that file is in the plugins directory, and the tag error one if I copy it into the worlds directory.

If I delete my plugins before uninstalling them in the client (with the mud file open) then I get this error:
Line 5668: \worlds\plugins\ToggleButtons.xml contains an invalid path. (Not loaded)

But only once, and only when the plugins are deleted, like I mentioned.
Top

Posted by Nick Gammon   Australia  (23,171 posts)  Bio   Forum Administrator
Date Reply #7 on Thu 19 Feb 2015 06:47 AM (UTC)
Message
You are clearly using a plugin which has 5668 or more lines (that's a lot!).

It is completely out of my control what goes wrong when plugins fail. Instead of posting here you need to contact the plugin author. Failing that, examine the plugin and see what the problem is. Failing that, stop using the plugin.

- Nick Gammon

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

Posted by Cosine_Omerta   USA  (17 posts)  Bio
Date Reply #8 on Thu 19 Feb 2015 03:39 PM (UTC)
Message
So if I uninstall (remove) the two plugins that I load (neither of which are over 500 lines), and completely delete the plugins directory, there is still a possibility of a plugin loading?

I just want to make sure I understand what "using a plugin" means. When I open a mud file, I do file->plugins, and the little box pops up with nothing in it. Is there some other way to "use a plugin"?

I went through every plugin in the plugins directory looking for a constants.lua include, and couldn't find one. To the best of my knowledge, this is the only place where plugins are saved. But even if they snuck in somewhere else, if they exist at all does it matter if they aren't in the little plugins box? If they aren't being loaded why would they cause an error message?
Top

Posted by Nick Gammon   Australia  (23,171 posts)  Bio   Forum Administrator
Date Reply #9 on Thu 19 Feb 2015 08:38 PM (UTC)
Message
Template:bug

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 Cosine_Omerta   USA  (17 posts)  Bio
Date Reply #10 on Thu 19 Feb 2015 09:11 PM (UTC)
Message
-------------- MUSHclient summary --------------

MUSHclient version: 4.94
Compiled: Jul 28 2014.
Time now: Thursday, February 19, 2015, 4:09 PM
Client running for: 0d 00h 01m 53s
World opened for: 0d 00h 00m 05s
World connected for: 0d 00h 00m 04s
Operating system: Windows 7
Libraries: Lua 5.1.4, PCRE 8.35, PNG 1.5.14, SQLite3 3.8.4.3, Zlib 1.2.8
World name: 'Tempus', ID: 311e5b44a5ed3285ac4b1a3e
-- Scripting --
Script language: Lua, enabled: yes
Scripting active: yes
Script file: E:\MUSHclient\worlds\TempusScripts\myscripts.lua
Lua sandbox is 127 characters, DLL loading allowed: yes
Scripting prefix: '****lkjh'. External editor in use: NO.
Scripting for: 0.000060 seconds.
-- Triggers, aliases, timers, variables --
** Triggers: 205 in world file, triggers enabled: yes. [Triggers]
205 enabled, 204 regexp, 11275 attempts, 0 matched, 0.005074 seconds.
** Aliases: 223 in world file, aliases enabled: yes. [Aliases]
218 enabled, 5 regexp, 0 attempts, 0 matched, 0.000000 seconds.
** Timers: 0 in world file, timers enabled: yes.
0 enabled, 0 fired.
Timers checked every 0.1 seconds.
** Variables: 56. [Variables]
-- MCCP --
MCCP not active.
-- Plugins (Processing order) --
** Plugins: 0 loaded, 0 enabled.
-- Comms --
Connect phase: 8 (Open). NAWS wanted: NO
Received: 5159 bytes (5 Kb)
Sent: 46 bytes (0 Kb)
Received 7 packets, sent 4 packets.
Total lines received: 107
This connection: Sent 2 lines, received 95 lines.
Telnet (IAC) received: DO: 0, DONT: 0, WILL: 1, WONT: 1, SB: 0 [Telnet]
-- MXP --
MXP active: NO, Pueblo mode: NO, Activated: On command
MXP tags received: 0
MXP entities received: 0
MXP errors: 0
-- Commands --
Commands in command history: 0
Speed walking enabled: yes. Speed walking prefix: .
Command stacking enabled: yes. Command stack character: ';'
Accelerators defined: 0
-- Miniwindows --
** Miniwindows: 0 loaded, 0 shown.
-- Output window --
Output pixels: width 727, height: 645, font width: 8, font height: 15
can show 90 characters, wrapping at column 80, height 43 lines.
Output buffer: 125 of 50000 lines.
-- Miscellaneous --
Logging: NO, tracing: NO
** SQLite3 databases: 0
Sound buffers in use: 0

---------------------- End summary ----------------------
Top

Posted by Nick Gammon   Australia  (23,171 posts)  Bio   Forum Administrator
Date Reply #11 on Thu 19 Feb 2015 11:18 PM (UTC)
Message
Cosine_Omerta said:

I just want to make sure I understand what "using a plugin" means. When I open a mud file, I do file->plugins, and the little box pops up with nothing in it. Is there some other way to "use a plugin"?


Well, no. But I don't understand where these messages are coming from.

What is in the file:


E:\MUSHclient\worlds\TempusScripts\myscripts.lua

- Nick Gammon

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

Posted by Cosine_Omerta   USA  (17 posts)  Bio
Date Reply #12 on Thu 19 Feb 2015 11:33 PM (UTC)
Message
The file myscripts.lua is empty.
Top

Posted by Nick Gammon   Australia  (23,171 posts)  Bio   Forum Administrator
Date Reply #13 on Fri 20 Feb 2015 02:22 AM (UTC)
Message
Cosine_Omerta said:

Hi. When I start a particular mud file, I get an error message:
...


Can you copy and paste that file here please? Remove any line with "password" in it (near the start). It will look like this:


   password="TmljayBHYW1tb24="


You can open the "world" file in Notepad, then select all, copy, and paste here.

- Nick Gammon

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

Posted by Cosine_Omerta   USA  (17 posts)  Bio
Date Reply #14 on Fri 20 Feb 2015 03:09 AM (UTC)
Message
Well there's the 5k+ line file. The constants.lua include was there, so I modified the path and that solved that error. I still get the line 6 tag error though, which in that file line 6 is just a comment with the mushclient homepage.

I wouldn't think posting the 5k+ line file here would be prudent, but I will if there aren't any suggestions about the tag error.

I've gone through and I don't see any elements without proper tags. I can post just the world element, or any specific element, etc.

Thanks for your help.
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.


70,040 views.

This is page 1, subject is 2 pages long: 1 2  [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.