Yes, that works. modified file attached so you don't get the warning.
Player Corpse Duration Modifier
Modify the length of which a player's corpse remains active in the world
Total Downloads: 6,017 - First Release: Jan 17, 2015 - Last Update: Feb 3, 2017
- 5/5, 24 likes
-
Attached Files:
-
-
Any chance on updating this? I think we need .cs files now?
-
Wulf Community Admin
-
Oh ok. Thank you man. (im new to hosting servers) Forgive my noobness. So i'll just drop it in the server"plugins" folder just like I did the .cs files then?
-
Wulf Community Admin
-
-
Wulf Community Admin
-
Ok. When I use FIND command it shows nothing. The only command I see in the code to use with the plugin is /corpsetime <minutes> and when I try to utilize this it just says "command not found" in Rusty and "Invalid command" Inside the game. Any Ideas ?
-
Wulf Community Admin
-
Hi people:
Code:[Oxide] 12:14 AM [Warning] 'm-DisappearingCorpses v1.0.3' plugin is using deprecated hook: OnGather
-
Wulf Community Admin
-
i'm having some trouble trying to get this to work, i have the .lua installed in the Oxide Plugins folder and i'm on the server, none of the commands do anything and when i use it in chat nothing pops up it's like the server doesn't even see the message, there's no conformation nothing. i type /corpsetime <15> or /corpsetime 15 and when i hit enter the chat just closes. any ideas?, bodies still seem to be despawning in 2min
-
Wulf Community Admin
-
this is what the log says, it's failing to do allot of things. the log from today.
Code:2:36 AM [Error] Failed to call hook 'cmdCorpseDuration' on plugin 'm-DisappearingCorpses v1.0.3' File: m-DisappearingCorpses.lua Line: 187 attempt to call field 'QuoteSafe' (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.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 2:38 AM [Error] Failed to call hook 'cmdCorpseDuration' on plugin 'm-DisappearingCorpses v1.0.3' File: m-DisappearingCorpses.lua Line: 106 attempt to compare number with nil: 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.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 2:38 AM [Error] Failed to call hook 'cmdCorpseDuration' on plugin 'm-DisappearingCorpses v1.0.3' File: m-DisappearingCorpses.lua Line: 187 attempt to call field 'QuoteSafe' (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.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 2:38 AM [Error] Failed to call hook 'cmdCorpseDuration' on plugin 'm-DisappearingCorpses v1.0.3' File: m-DisappearingCorpses.lua Line: 106 attempt to compare number with nil: 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.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Jan 23, 2016 -
confirmed also receiving this error in console when typing the command in chat /corpsetime 15
Code:[Oxide] 5:40 PM [Error] Failed to call hook 'cmdCorpseDuration' on plugin 'm-Dis appearingCorpses v1.0.3' File: m-DisappearingCorpses.lua Line: 187 attempt to call field 'QuoteSafe' (a n il value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unkn own>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System .Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x000 00] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown >:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System. Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[]
-
i don't get anything, in chat i type /corpsetime X nothing happens, in the console it just says invalid command
-
Wulf Community Admin
-
is there another like this or an ETA on a possible fix?, the only real issue i have with rust right now and i can't find a way to fix it.
-
Yes please fix it !
-
i change the config ive tried the command but stil stays at 2 mins