getting following error
any idea on cause?Code:2:19 AM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'Rusty Sheriff Alert System Rust 2.0' File: RustySheriffAlertSystem.lua Line: 118 invalid arguments to method call: 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 (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Rusty Sheriff Raid Alert [Unmaintained]
Discussion in 'Plugin Support' started by Joe Edmunds, May 12, 2015.
-
I'll take a look shortly. Thanks for the feedback =)
-
Joe Edmunds updated Rusty Sheriff Raid Alert with a new update entry:
Fixed error when player disconnects
-
Added and tested, works in-game perfectly, the app for pc works beautifully, Android app is in good order as well.
This is brilliant, Hope to see more from you Joe.
So far no errors or compatibility issues with other plugins. 10/10!Last edited by a moderator: May 16, 2015 -
Thanks OMNI-Hollow, the feedback is very much appreciated.
-
have you got any plans for future projects?
Last edited by a moderator: May 16, 2015 -
Not currently. If you have any suggestions, I'd be happy to give them some thought.
I originally designed the alert system with the idea that there would also be a 2D top down view, or maybe even a 3D rotatable display of the base and the locations of raiders at certain points in time, so that you could look through an see where they entered, and where they got to. I'll probably give this more thought over the next week or so.
I'm also overdue updating my Android RCON app, so I'll need to get cracking with that.
Afterwards, who knows. Hopefully a good idea or two will spring to mind!
Thanks again,
JV -
If you ever need a test server I can help you out! Keep up the good work!
[DOUBLEPOST=1431759458][/DOUBLEPOST]UPDATE* I did just find a bug, i added a parameter, then went to my other server to add the plugin and set a parameter at my base, when i logged back into the first server i started getting the alerts that i was trespassing on my own base. is this to do with having it on two servers or a bug alltogether?
[DOUBLEPOST=1431759494][/DOUBLEPOST]I added myself to ignore to fix the issue, just thought id let you know about the bug -
On the PC/Android app you should receive notifications to say when a trespasser entered, and when they left. Did you receive an alert to say you'd left your perimeter on your 2nd server?
[DOUBLEPOST=1431759688][/DOUBLEPOST]Oh it was in-game. I'll get some more testing going. Thanks for the heads-up!
Thanks,
JV -
ill check now, i am only receiving the alerts ingame, ive noticed i dont receive alerts via android or pc unless im offline.
[DOUBLEPOST=1431759833][/DOUBLEPOST]Its just the first server, Could be they are tied, and the ignore i set worked on both -
If you do /rs status does it say "Alerts will only be triggered if the player logs out within their perimeter?"
I added an option to mimic a player sleeping lightly with an ear open for trespassers. It means alerts are only sent externally if the player logs out within their perimeter.
You can use /rs sleepers to toggle this option on or off. -
Let me get a little more testing done, and I'll see if I can replicate the issue.
In-game alerts are saved in the Oxide data folder, and aren't linked between servers, so you shouldn't be triggering alerts for perimeters set on other servers.
I've just run a quick test, setting up a perimeter and staying in-game to see if the alert appears, and Murphy's law...it works.
I'll get my thinking cap on, and see if I can work out what's going on.
Any chance you could link you the Raid Alert mod's config and data files, so I can take a look? Also your server seed would be handy so I can attempt to replicate the issue.
Many thanks,
JV -
sure give me a few just need to sort an issue on another game server, eta 15 mins or so
-
No problem. I'd best get the dog out for a walk. I'll take a look when I get back =)
Thanks,
JV -
http://www.omnicidal.com/joe
Seed: 464485 -
i'm updated to the latest version and i'm getting following error when /rs validate
Code:File: RustySheriffAlertSystem.lua Line: 120 invalid arguments to method call: 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 (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
Hey Joe, Should running /rs add steamid work is the player is offline? I seem to have a few issues where it doesnt work
-
-
Joe Edmunds updated Rusty Sheriff Raid Alert with a new update entry:
Added console commands, and hide player ID option