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 - tonibm19 - 01-31-2014

https://mega.co.nz/#!Tgp2SbaI!ORVidkQTM8wZnt-xSQuPE0w9QglfpTvHbO8SUBQ0_1g
This pack by fankins contains LWC. Try if it works.


RE: SignLock - NiLSPACE - 01-31-2014

Quote:Also found some errors, i don't know if this is related to the plugin:

16:45:19] LUA: Plugins/Core/onlogin.lua:10: attempt to call method 'SendMessage' (a nil value)
[16:45:19] Stack trace:
[16:45:19] [C](-1): SendMessage
[16:45:19] Plugins/Core/onlogin.lua(10): (no name)
[16:45:19] Stack trace end
[16:45:19] Error in plugin Core calling function <callback>()
[16:45:19] Player Lucifer has joined the game.
[16:45:31] [Lucifer]: yo
[16:45:40] LUA: 2 - Plugins/Core/functions.lua:144: attempt to index global 'OtherPlayer' (a nil value)
This is from the core plugin Smile It doesn't have anything to do with this plugin.

Do you get any other errors when you place the sign?


RE: SignLock - Antonio - 01-31-2014

I get no errors when i place it. I will try the LWC plugin thanks.

Is there any documentation for the LWC plugin? The permissions, how to use etc.


RE: SignLock - NiLSPACE - 01-31-2014

Also I fixed the error you got in the core plugin.

(01-31-2014, 02:12 AM)Antonio Wrote: Is there any documentation for the LWC plugin? The permissions, how to use etc.

Lets see.. I see :
"Fprivate.private" for /cprivate,
"Fprivate.remove" for /cremove,
"Fprivate.Info" for /cinfo.
But oh god that code is a mess...


RE: SignLock - Antonio - 01-31-2014

Yea generally LWC is better idea then using signs. You just punch the chest and it gets protected. But as you said the code is not efficient enough. I will just wait for the rewrite.


RE: SignLock - NiLSPACE - 01-31-2014

The advantage when using signs is that you do not need a database. When opening/destroying something it automagicly checks the surroundings for signs etc..


RE: SignLock - Antonio - 01-31-2014

Btw after your Core plugin commit we can't get into the server. I get:
[18:13:42] antoniobenedetti tried to join, but is not on the whitelist.
[18:13:48] Lucifer tried to join, but is not on the whitelist.
[18:13:54] Lucifer tried to join, but is not on the whitelist.
[18:14:12] Lucifer tried to join, but is not on the whitelist.

However, we are both on the whitelist..


RE: SignLock - NiLSPACE - 01-31-2014

Could you report that in the BugTracker? I don't want to ruin this thread Wink


RE: SignLock - Antonio - 02-02-2014

As i said here: https://forum.cuberite.org/showthread.php?tid=868&pid=12002#pid12002
It isn't working for me. Maybe this has something to do with my username being 16 characters. But if i write the sign without any chest, it works.. it says "antoniobenedett" (15char) on the second line.


RE: SignLock - NiLSPACE - 02-02-2014

But xoft should have fixed that in this commit
The server saves the full name, but only sends the chars up to 15.