01-31-2014, 02:01 AM
01-31-2014, 02:05 AM
Quote:Also found some errors, i don't know if this is related to the plugin:This is from the core 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)

Do you get any other errors when you place the sign?
01-31-2014, 02:12 AM
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.
Is there any documentation for the LWC plugin? The permissions, how to use etc.
01-31-2014, 02:15 AM
Also I fixed the error you got in the core plugin.
Lets see.. I see :
"Fprivate.private" for /cprivate,
"Fprivate.remove" for /cremove,
"Fprivate.Info" for /cinfo.
But oh god that code is a mess...
(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...
01-31-2014, 02:21 AM
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.
01-31-2014, 02:23 AM
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..
01-31-2014, 03:14 AM
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..
[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..
01-31-2014, 03:17 AM
Could you report that in the BugTracker? I don't want to ruin this thread 

02-02-2014, 05:37 AM
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.
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.
02-02-2014, 05:43 AM
But xoft should have fixed that in this commit
The server saves the full name, but only sends the chars up to 15.
The server saves the full name, but only sends the chars up to 15.