Cuberite Forum
SignLock - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html)
+--- Thread: SignLock (/thread-868.html)

Pages: 1 2 3 4 5


RE: SignLock - xoft - 04-30-2013

That is a bug and should be reported.


RE: SignLock - NiLSPACE - 04-30-2013

Reported. but now i found another bug: OnPlayerUsingBlock doesn't work with a door.

UPDATE:
a sign now protects a specific block.


RE: SignLock - NiLSPACE - 04-30-2013

UPDATE:
You are now not allowed to place a SignLock on a block that is already protected.
Config file. (one option)


RE: SignLock - Antonio - 01-29-2014

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.


RE: SignLock - NiLSPACE - 01-29-2014

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?


RE: SignLock - Antonio - 01-29-2014

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.


RE: SignLock - NiLSPACE - 01-29-2014

Hmm That might be because your name is too long to be on a sign ;S


RE: SignLock - Antonio - 01-29-2014

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.


RE: SignLock - NiLSPACE - 01-29-2014

Yea Sad


RE: SignLock - Antonio - 01-30-2014

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.