02-18-2017, 07:17 AM
SkyBlock v3
|
02-18-2017, 07:25 AM
(This post was last modified: 02-18-2017, 07:25 AM by Seadragon91.)
I never saw on my side that lua would generate another file. There should be then two files: SkyBlock.lua and ._SkyBlock.lua. Can you remove the file ._SkyBlock.lua and try it again?
If the problem then still exists, then I have currently no idea anymore,
02-18-2017, 07:34 AM
(02-18-2017, 07:25 AM)Seadragon91 Wrote: I never saw on my side that lua would generate another file. There should be then two files: SkyBlock.lua and ._SkyBlock.lua. Can you remove the file ._SkyBlock.lua and try it again? Now i'm getting a whole bunch of other problems, in webadmin I get this message next to the plugin Cannot call the Initialize() function. and also on startup I get [21:30:46] LUA: Plugins/SkyBlock/code/._CreateIsland.lua:1: unexpected symbol [21:30:46] Stack trace: [21:30:46] [C](-1): dofile [21:30:46] Plugins/SkyBlock/SkyBlock.lua(208): LoadLuaFiles [21:30:46] Plugins/SkyBlock/SkyBlock.lua(44): (no name) [21:30:46] Stack trace end [21:30:46] Error in plugin SkyBlock calling function Initialize() [21:30:46] Error in plugin SkyBlock: Cannot call the Initialize() function. Plugin is temporarily disabled.
02-18-2017, 07:37 AM
(This post was last modified: 02-18-2017, 07:39 AM by Seadragon91.)
Okay somehow there has been generated for every lua file in the folder another file that starts with ._
I would suggest remove the whole folder SkyBlock and add it again. In a clean one shouldn't be any files that starts with ._ Edit: The only idea I currently have is, that lua maybe generates a temporary byte code file.
02-18-2017, 08:00 AM
(02-18-2017, 07:37 AM)Seadragon91 Wrote: Okay somehow there has been generated for every lua file in the folder another file that starts with ._ I removed every file in the plugin that starts with ._ and that fixed the problem everything is working. Thanks to everyone that helped.
02-18-2017, 08:02 AM
Okay nice.
02-18-2017, 08:26 AM
@yoboykai are you on a Mac? Because I've seen MacOS / OSX or whatever they call it nowadays create extra hidden files to keep the custom metadata for the original files; this might be the reason.
Thanks given by: Seadragon91
02-18-2017, 12:11 PM
(02-18-2017, 08:26 AM)xoft Wrote: @yoboykai are you on a Mac? Because I've seen MacOS / OSX or whatever they call it nowadays create extra hidden files to keep the custom metadata for the original files; this might be the reason. Yes, I use a mac.
02-18-2017, 03:50 PM
If I wanted to change the command names for this plugin would I just go into the plugin and change the names or is there a way to make aliases for the commands.
02-18-2017, 05:41 PM
Changing the command names in Info.lua is the easiest way. Anything else currently keeps the old names.
There's the Aliases plugin that lets you define any alias for anything, but only on a per-player basis (each player defines their own aliases): https://github.com/madmaxoft/Aliases |
« Next Oldest | Next Newest »
|
Users browsing this thread: 7 Guest(s)