lemme get the error from the log real quick
[DOUBLEPOST=1439479859][/DOUBLEPOST][8/13/2015 9:49:09 AM] [Oxide] 9:49 AM [Error] Failed to run a 15.00 timer
File: warp-system.lua Line: 350 attempt to call method 'PutToSleep' (a nil value):
at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0
at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0

Warp System
Create warp points for players to easily teleport to
Total Downloads: 7,208 - First Release: Jan 8, 2015 - Last Update: Oct 27, 2017
- 5/5, 22 likes
-
player most likelly disconnected
so couldn't find it
or maybe was dead
harmless message -
Warp doesn't work at all.
Code:[Oxide] 7:58 PM [Error] Failed to run a 15.00 timer File: warp-system.lua Line: 350 attempt to call method 'PutToSleep' (a nil value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0 at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
-
just updated warp - it did work before - now:
File: warp-system.lua Line: 350 attempt to call method 'PutToSleep' (a nil value):
at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0
at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0 -
Well @Reneb something is wrong here.. are you sure that it works ?
-
probably because you need to use Warp: and not PLUGIN:
Code:function Warp:PutToSleep( player ) player:SetPlayerFlag(global.BasePlayer.PlayerFlags.Sleeping, true); if(global.BasePlayer.sleepingPlayerList:Contains(player)==false) then global.BasePlayer.sleepingPlayerList:Add(player); end player:CancelInvoke("InventoryUpdate");; player.inventory.crafting:CancelAll(true); end
checking if the player is already sleeping, but not sure this would help
Code:function Warp:PutToSleep( player ) if(player:IsSleeping()) then return end player:SetPlayerFlag(global.BasePlayer.PlayerFlags.Sleeping, true); if(global.BasePlayer.sleepingPlayerList:Contains(player)==false) then global.BasePlayer.sleepingPlayerList:Add(player); end player:CancelInvoke("InventoryUpdate");; player.inventory.crafting:CancelAll(true); end
-
Current update is really buggy, had to unload it
Same errors as above, I'll just wait for update -
PaiN updated Warp System with a new update entry:
0.3.5
-
Last edited by a moderator: Aug 13, 2015
-
-
Working now, cheers
-
Teleportation is not working. The player remains in the same point after waking
-
yes he needs to fix it cause of the new rust update.
-
Yeah it's no longer working, strange
-
so question anyone know why building is blocked everywhere i go on the map? is there a bug or something
-
this needs to be fixed since update people are getting stuck after warping same thing was happening on tp plugin
-
Wulf Community Admin
I'll take a look shortly if nobody beats me to it.
-
This should work.
Attached Files:
-
-
PaiN updated Warp System with a new update entry:
0.3.6
-
Hmm some reason when I try and update the plugin it still says I have 0.35 I have deleted the plugin and uploaded new plugin and reloaded and still says its out of date. Is there something else I should try to get it to update?