04-30-2013, 04:36 AM
04-30-2013, 05:14 AM
Reported. but now i found another bug: OnPlayerUsingBlock doesn't work with a door.
UPDATE:
a sign now protects a specific block.
UPDATE:
a sign now protects a specific block.
04-30-2013, 07:48 PM
UPDATE:
You are now not allowed to place a SignLock on a block that is already protected.
Config file. (one option)
You are now not allowed to place a SignLock on a block that is already protected.
Config file. (one option)
01-29-2014, 11:37 PM
Please update this. I really need it for my upcoming 24/7 server. Error output:
[14:35:48] cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.
[14:35:48] Stack trace:
[14:35:48] [C](-1): AddHook
[14:35:48] Plugins/SignLock/main.lua(7): (no name)
[14:35:48] Stack trace end
[14:35:48] cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.
[14:35:48] Stack trace:
[14:35:48] [C](-1): AddHook
[14:35:48] Plugins/SignLock/main.lua(8): (no name)
[14:35:48] Stack trace end
[14:35:48] cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.
[14:35:48] Stack trace:
[14:35:48] [C](-1): AddHook
[14:35:48] Plugins/SignLock/main.lua(9): (no name)
[14:35:48] Stack trace end
[14:35:48] LUA: error in function 'new'.
argument #2 is 'string'; '[no object]' expected.
[14:35:48] Stack trace:
[14:35:48] [C](-1): (no name)
[14:35:48] [C](-1): (no name)
[14:35:48] [C](-1): cIniFile
[14:35:48] Plugins/SignLock/functions.lua(2): LoadSettings
[14:35:48] Plugins/SignLock/main.lua(11): (no name)
[14:35:48] Stack trace end
[14:35:48] Error in plugin SignLock calling function Initialize()
[14:35:48] Error in plugin SignLock: Cannot call the Initialize() function. Plugin is temporarily disabled.
[14:35:48] cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.
[14:35:48] Stack trace:
[14:35:48] [C](-1): AddHook
[14:35:48] Plugins/SignLock/main.lua(7): (no name)
[14:35:48] Stack trace end
[14:35:48] cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.
[14:35:48] Stack trace:
[14:35:48] [C](-1): AddHook
[14:35:48] Plugins/SignLock/main.lua(8): (no name)
[14:35:48] Stack trace end
[14:35:48] cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.
[14:35:48] Stack trace:
[14:35:48] [C](-1): AddHook
[14:35:48] Plugins/SignLock/main.lua(9): (no name)
[14:35:48] Stack trace end
[14:35:48] LUA: error in function 'new'.
argument #2 is 'string'; '[no object]' expected.
[14:35:48] Stack trace:
[14:35:48] [C](-1): (no name)
[14:35:48] [C](-1): (no name)
[14:35:48] [C](-1): cIniFile
[14:35:48] Plugins/SignLock/functions.lua(2): LoadSettings
[14:35:48] Plugins/SignLock/main.lua(11): (no name)
[14:35:48] Stack trace end
[14:35:48] Error in plugin SignLock calling function Initialize()
[14:35:48] Error in plugin SignLock: Cannot call the Initialize() function. Plugin is temporarily disabled.
01-29-2014, 11:46 PM
Should be fixed now. It did load correctly, but since the last time I updated it was 9 months ago it might not work correctly anymore. Could you test that?
01-29-2014, 11:51 PM
It does load however it doesn't work. When i type [SL] in the sign i get kicked with:
Internal Exception: io.natty.handler.codec.DacoderException: java.io.IOException: The received string length is longer than maximum allowed (16 > 15)
And the console output is:
[14:49:13] Error 32 while writing to client, disconnecting. "32: Broken pipe"
[14:49:13] Player antoniobenedetti has left the game.
Internal Exception: io.natty.handler.codec.DacoderException: java.io.IOException: The received string length is longer than maximum allowed (16 > 15)
And the console output is:
[14:49:13] Error 32 while writing to client, disconnecting. "32: Broken pipe"
[14:49:13] Player antoniobenedetti has left the game.
01-29-2014, 11:52 PM
Hmm That might be because your name is too long to be on a sign ;S
01-29-2014, 11:56 PM
Yea, when i restarted the server now i can't even join in. Can it be made so it displays only the maximum allowed charaters? I guess the number is 15.
01-29-2014, 11:59 PM
Yea 

01-30-2014, 12:01 AM
It corrupts the chunk. I removed the chunk in order to fix the problem. Removing the plugin doesn't solve it. So i guess this is really important because anyone with 15+ character username can corrupt any chunk on the server.