Cuberite Forum

Full Version: SignLock
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
https://mega.co.nz/#!Tgp2SbaI!ORVidkQTM8...O8SUBQ0_1g
This pack by fankins contains LWC. Try if it works.
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?
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.
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...
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.
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..
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..
Could you report that in the BugTracker? I don't want to ruin this thread Wink
As i said here: https://forum.cuberite.org/showthread.ph...2#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.
But xoft should have fixed that in this commit
The server saves the full name, but only sends the chars up to 15.
Pages: 1 2 3 4 5