Cuberite Forum

Full Version: AFK (Abandoned)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I would like to use this but i got this. Can you please update it Smile

[19:45:04] cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.
[19:45:04] Stack trace:
[19:45:04] [C](-1): AddHook
[19:45:04] Plugins/Afk/main.lua(22): (no name)
[19:45:04] Stack trace end
[19:45:04] cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.
[19:45:04] Stack trace:
[19:45:04] [C](-1): AddHook
[19:45:04] Plugins/Afk/main.lua(23): (no name)
[19:45:04] Stack trace end
[19:45:04] cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.
[19:45:04] Stack trace:
[19:45:04] [C](-1): AddHook
[19:45:04] Plugins/Afk/main.lua(24): (no name)
[19:45:04] Stack trace end
[19:45:04] cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.
[19:45:04] Stack trace:
[19:45:04] [C](-1): AddHook
[19:45:04] Plugins/Afk/main.lua(25): (no name)
[19:45:04] Stack trace end
[19:45:04] cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.
[19:45:04] Stack trace:
[19:45:04] [C](-1): AddHook
[19:45:04] Plugins/Afk/main.lua(26): (no name)
[19:45:04] Stack trace end

A Client-side player stays if someone turned to afk status.
if a player is afk while the server reloads, the player's name will be [AFK] Player

:O thats bad.
I don't recommend using this plugin. It's like my first plugin, and there are problems I can't fix even with a rewrite.
Alright, /afk is not that necessary. The signlock plugin will be much more needed.
Doesn't that work again?
Well as i said here, it doesnt: https://forum.cuberite.org/showthread.ph...2#pid12002
And you said you will propably rewrite it so i'm just going to wait Smile
But I'm not going to if it isn't realy needed Wink
But it is needed :/ everyone wants to protect their chest.
But it works fine for me, so I have no idea what I have to rewrite. (lets move this to the actual SignLock thread btw)
(02-02-2014, 05:00 AM)NiLSPACE Wrote: [ -> ]I don't recommend using this plugin. It's like my first plugin, and there are problems I can't fix even with a rewrite.

so this plugin is no good then? why not label it as abandoned or something?
Yeah, good idea. I'll do that.
Pages: 1 2 3