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.
Entire forum
➜ Forum
➜ Problems
➜ constant.lua missing in world folder
constant.lua missing in world folder
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Uchida
(11 posts) Bio
|
Date
| Sat 28 Jan 2023 06:20 PM (UTC) |
Message
| Suddenly i am getting few error messages in mush like this
Compile error
World:
Immediate execution
[string "Trigger: counter"]:1: ')' expected near '<eof>' and when i
and when i restarted mush. I get error saying line 7, constant.lua was not found. (not loaded.)
please help! | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sat 28 Jan 2023 11:12 PM (UTC) |
Message
| It looks to me like you have a coding error in your trigger, the one labelled "Counter". Perhaps if you post that trigger we could help you more.
|
For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.
|
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Uchida
(11 posts) Bio
|
Date
| Reply #2 on Sun 29 Jan 2023 04:50 AM (UTC) |
Message
| Hi Nick!
I have deleted the trigger "counter" and it no longer have the error but i still get the constant.lua is missing from the world folder error when i start mushclient. i tried looking for my backup but i did not find the constant.lua anywhere. | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #3 on Sun 29 Jan 2023 05:07 AM (UTC) |
Message
| Are you sure it isn't "constants.lua"?
Lua plugins may require that file. Do you have any plugins? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Uchida
(11 posts) Bio
|
Date
| Reply #4 on Sun 29 Jan 2023 06:51 AM (UTC) |
Message
| hi ! yes it is constants.lua in the worlds folder.
here is the snipe of the error.
https://imgur.com/a/XOVIGFB
yes, i am using plugins. are you meaning there is a certain plugin that requires this constants.lua file?
thanks! | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #5 on Sun 29 Jan 2023 09:16 PM (UTC) |
Message
| Yes, probably a plugin. Please copy/paste the code below into a file called "show_loaded.lua" and put that file into the "lua" folder in your MUSHclient installation.
-- show_loaded.lua
--[[
Shows each plugin as it is loaded.
To enable this, add to:
File menu -> Global Preferences -> Lua -> Preliminary Code
... this line:
require "show_loaded"
--]]
if GetPluginID () == "" then
ColourNote ("gray", "", "Initializing main world script ...")
else
ColourNote ("gray", "", string.format ("Loading plugin '%s' (%s) version %0.2f ...",
GetPluginInfo ( GetPluginID (), 7),
GetPluginInfo ( GetPluginID (), 1),
GetPluginInfo ( GetPluginID (), 19)))
end -- if
Now go to File menu -> Global Preferences -> Lua -> "Preliminary Code ..." and add the line:
As each plugin is loaded you will see a message, and when the error occurs that will be the plugin that is causing it. |
- 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.
7,428 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top