As I said, I know that PVP looks like this, how does PVE implement it?
In PVE mode, how to make the player die after entering the rock?Not An Issue
no idea without a trace log. there is nothing I can find that would prevent this as it should be the server killing them as a suicide
you must run the tpve.trace command, have a player enter a rock, and upload log for me to read it
nivexno idea without a trace log. there is nothing I can find that would prevent this as it should be the server killing them as a suicide
you must run the tpve.trace command, have a player enter a rock, and upload log for me to read it
Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v2.0.4' (IOException: Sharing violation on path H:\rustds\oxide\logs\TruePVE\truepve_ruletrace-2021-06-14.txt)
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
at System.IO.StreamWriter.CreateFile (System.String path, System.Boolean append, System.Boolean checkHost) [0x0001c] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize, System.Boolean checkHost) [0x00055] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.IO.StreamWriter..ctor (System.String path, System.Boolean append) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string,bool)
at Oxide.Plugins.CSharpPlugin.LogToFile (System.String filename, System.String text, Oxide.Core.Plugins.Plugin plugin, System.Boolean timeStamp) [0x00087] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Plugins.TruePVE.LogTrace () [0x00011] in <719f1299aaa94c4fa633250177226679>:0
at Oxide.Plugins.TruePVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x000a1] in <719f1299aaa94c4fa633250177226679>:0
at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00878] in <719f1299aaa94c4fa633250177226679>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
(14:45:33) | Calling 'OnEntityTakeDamage' on 'TruePVE v2.0.4' took average 1992ms
(14:45:43) | Calling 'OnEntityTakeDamage' on 'TruePVE v2.0.4' took average 1935ms
(14:45:53) | Calling 'CanBeTargeted' on 'TruePVE v2.0.4' took average 1780ms dreamFailed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v2.0.4' (IOException: Sharing violation on path H:\rustds\oxide\logs\TruePVE\truepve_ruletrace-2021-06-14.txt) at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool) at System.IO.StreamWriter.CreateFile (System.String path, System.Boolean append, System.Boolean checkHost) [0x0001c] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize, System.Boolean checkHost) [0x00055] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.IO.StreamWriter..ctor (System.String path, System.Boolean append) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string,bool) at Oxide.Plugins.CSharpPlugin.LogToFile (System.String filename, System.String text, Oxide.Core.Plugins.Plugin plugin, System.Boolean timeStamp) [0x00087] in <31122a27a2414cd799150f8677cf39d4>:0 at Oxide.Plugins.TruePVE.LogTrace () [0x00011] in <719f1299aaa94c4fa633250177226679>:0 at Oxide.Plugins.TruePVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x000a1] in <719f1299aaa94c4fa633250177226679>:0 at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00878] in <719f1299aaa94c4fa633250177226679>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 (14:45:33) | Calling 'OnEntityTakeDamage' on 'TruePVE v2.0.4' took average 1992ms (14:45:43) | Calling 'OnEntityTakeDamage' on 'TruePVE v2.0.4' took average 1935ms (14:45:53) | Calling 'CanBeTargeted' on 'TruePVE v2.0.4' took average 1780ms
These will appear when I walk into the rock
heya, not sure what thats all about
@Wulf looks like an issue where StreamWriter is attempting to write while StreamReader already has the file opened, possibly due to the massive lag spike
@dream
some causes here for that insane lag/rubberbanding:
1. you need a better machine
2. your configuration for TruePVE is extremely bloated, if so use the default config and use that as a template. it's extremely good now.
3. you have way too many npc bots on your server. this is the most likely cause. and players killing npcs will cause these hooks to be called an excessive amount of times very quickly
4. way too many plugins installed
nivexheya, not sure what thats all about
@Wulf looks like an issue where StreamWriter is attempting to write while StreamReader already has the file opened, possibly due to the massive lag spike
@dream
some causes here for that insane lag/rubberbanding:
1. you need a better machine
2. your configuration for TruePVE is extremely bloated, if so use the default config and use that as a template. it's extremely good now.
3. you have way too many npc bots on your server. this is the most likely cause. and players killing npcs will cause these hooks to be called an excessive amount of times very quickly
4. way too many plugins installed
I use I9 9900K, 67 plug-ins are installed on the server, the configuration file is very simple, will it be the problem of too many NPCs in the raid base? Each of my bases has more than a dozen NPCs.
dreamI use I9 9900K, 67 plug-ins are installed on the server, the configuration file is very simple, will it be the problem of too many NPCs in the raid base? Each of my bases has more than a dozen NPCs.
In addition, can the player die directly after entering the rock, just like entering the underground?
yes that is too many npcs. how many bases?
I can't solve the rock issue until Wulf has a chance to respond and sort the error out
nivexyes that is too many npcs. how many bases?
I can't solve the rock issue until Wulf has a chance to respond and sort the error out
I have 7 bases on the map, and they will all have 12-15 NPCs
Not really familiar with the log handling in Oxide, but I passed the thread by the others.nivexheya, not sure what thats all about
@Wulf looks like an issue where StreamWriter is attempting to write while StreamReader already has the file opened, possibly due to the massive lag spike
@dream
some causes here for that insane lag/rubberbanding:
1. you need a better machine
2. your configuration for TruePVE is extremely bloated, if so use the default config and use that as a template. it's extremely good now.
3. you have way too many npc bots on your server. this is the most likely cause. and players killing npcs will cause these hooks to be called an excessive amount of times very quickly
4. way too many plugins installed
Wulf
Not really familiar with the log handling in Oxide, but I passed the thread by the others.
Hey Wulf,How to make players kill them when they enter the rock?
you wait until the error can be solved, as i said :p
nivexyou wait until the error can be solved, as i said :p
OK,thanks
no problem.
try the trace again after a server restart, and tell me if the same error appears
maybe it was a fluke
nivexno problem.
try the trace again after a server restart, and tell me if the same error appears
maybe it was a fluke
Yes, as you said, maybe it's a fluke, I tested it several times on my two servers and there is no problem now
Locked automatically