The coordinate system is reading wrong. It is set to x y x instead of x y z. You can edit the plugin and fix that.

Server Logs
Log plugin for servers to record server activity
Total Downloads: 1,259 - First Release: May 15, 2015 - Last Update: May 20, 2015
- 5/5, 6 likes
-
Hello,
im searching for working plugin like logs.cs
after the oxide update that wouldnt work anymore.
Can somone write a new plugin that logs:
-crest damage
-siege damage
-block damage
or can someone fix the logs.cs from sidney?
this is the log when i load logs.cs on my server.
8:11 PM [Error] Logs plugin failed to compile!
8:11 PM [Error] Logs.cs(232,51): error CS1009: Unrecognized escape sequence `\L'
8:15 PM [Error] Logs plugin failed to compile! -
Is there a way to add being roped or shackled in Sydney's Server Logs ?
Am I on the right path?
namespace CodeHatch.Thrones.Capture
public class CaptureRopes : EntityBehaviour, ISleepListener
public bool IsTied
public void Shackle(CaptureType Type)
{
if (this.IsShackled)
return;
GameObject bone = !this.Entity.Has<CharacterDefinition>() ? this.Entity.MainTransform.gameObject : this.Entity.Get<CharacterDefinition>().GetTransform(this.CaptiveBoneToAttach).gameObject;
this.Shackle(Type, bone);
}Last edited by a moderator: Oct 7, 2015 -
Getting closer?
Code:private void OnEntityDeath(EntityDeathEvent e) { if (LogCaptured == false) return; Log("Captured", player.DisplayName + " captured."); string str = ""; //public ulong CaptivePlayerID; //string CaptorPlayerID ""; //string CaptivePlayerID ","; }
Last edited by a moderator: Oct 7, 2015 -
Hello...Is there a possibility that I can see what items my admins spawns?
-
Plugin getting the following error...
Code:[Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Logs v0.1.0' (NullReferenceException: Object reference not set to an instance of an object) 9:50 AM [Debug] at Oxide.Plugins.Logs.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent e) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Logs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, 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: Dec 9, 2015 -
Hi all
I am pretty sure this plugin showed playerkill before but i dont see it now.
Just the animalkills and player damage but no playerkill.
Is there any logs somewhere where i can se playerkills? -
The actual server log files in the Logs directory will show kills.
-
where can i find it? -
I just checked on my local server and the Logs directory doesn't exist. It exists on the remote server that is hosted though. Trying to see what causes them to be generated and will update, if I find something.
[DOUBLEPOST=1449713328][/DOUBLEPOST]Ok. If you are running batch file to start the game make sure it's not starting with the -nolog flag or you will have no logs. The start line should look like the following:
@ROK -batchmode -nographics -silentcrash
not
@ROK -batchmode -nographics -silentcrash -nolog
If it is a hosted server then you may need to get the host envolved to put a proper batch file in without the -nolog to start the server and generate the Log directory.
The Logs directory will be in the same directory as the Configuration directory is in.
Hope this helps. -
I have been in contact with my host provider and they have been checking it for me.
This is what i got from them:
The plugin was lasted updated on May 20, 2015 , why indeed it is not working right now. It appears that it is trying to check the value of "OnEntityHealthChange" which doesn't exist on the game any more. -
After the latest update of Reign of Kings it's no longer logging the puplic chat.
Also the "OnEntityHealthChange" error that keep spamming the console need to be looked into. -
Mine is not logging public chat or specials now .How do I open the cs file
-
I use Notepad++ to open the cs files. You can also use notepad. I am using the command logger for chat, because it records all / slash commands to a log file. It gets the job done until Logs gets updated. There are some threads on recording guild chat on the forums and one has the code for a fix.
Last edited by a moderator: Jan 4, 2016 -
The coords that are reported in the logs for blocks is not where the blocks are. Anyone kno a fix for this?
-
hey guys i was wondering if the file where you can see the commands people using still exist? I cant seem to find the command file.
-
Hey been getting a heap of errors since the latest oxide release. Such as this,
Code:[Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Logs v0.1.0' (NullReferenceException: Object reference not set to an instance of an object) 9:50 AM [Debug] at Oxide.Plugins.Logs.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent e) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Logs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, 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
-
Question: How might we be able to see who is lock picking? Or is there already a way to see, and I'm unaware?
-
ALLCON ... There are several places in this code where the coordinates are saved as X,Y,X instead of X,Y,Z. They should all look like this...
Code:string entityPosition = e.Player.Entity.Position.x + "," + e.Player.Entity.Position.y + "," + e.Player.Entity.Position.z;
-
Thanks Xap, wasn't understanding when i was looking the logs... Thank you