SignLock
#11
That is a bug and should be reported.
Reply
Thanks given by:
#12
Reported. but now i found another bug: OnPlayerUsingBlock doesn't work with a door.

UPDATE:
a sign now protects a specific block.
Reply
Thanks given by:
#13
UPDATE:
You are now not allowed to place a SignLock on a block that is already protected.
Config file. (one option)
Reply
Thanks given by:
#14
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.
Reply
Thanks given by:
#15
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?
Reply
Thanks given by:
#16
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.
Reply
Thanks given by:
#17
Hmm That might be because your name is too long to be on a sign ;S
Reply
Thanks given by:
#18
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.
Reply
Thanks given by:
#19
Yea Sad
Reply
Thanks given by:
#20
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.
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)