(01:33:00) | Failed to run a 1.00 timer in 'ServerArmour v0.3.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ServerArmour.AddBan (Oxide.Core.Libraries.Covalence.IPlayer player, Oxide.Plugins.ServerArmour+ISABan thisBan) [0x0002d] in <8460c2e9a500494fa54e9d265f8b4024>:0
at Oxide.Plugins.ServerArmour+<CheckLocalBans>c__AnonStorey4.<>m__0 () [0x0011b] in <8460c2e9a500494fa54e9d265f8b4024>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <ac41dd3599754d448b8c218b34645820>:0 NullReferenceException at AddBanFixed
Same problem
(06:32:53) | Failed to run a 1.00 timer in 'ServerArmour v0.3.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ServerArmour.AddBan (Oxide.Core.Libraries.Covalence.IPlayer player, Oxide.Plugins.ServerArmour+ISABan thisBan) [0x0002d] in <84ab51355bf94bbcb16cb5d4f78828b4>:0
at Oxide.Plugins.ServerArmour+<CheckLocalBans>c__AnonStorey4.<>m__0 () [0x0011b] in <84ab51355bf94bbcb16cb5d4f78828b4>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <ac41dd3599754d448b8c218b34645820>:0 Failed to run a 1.00 timer in 'ServerArmour v0.3.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ServerArmour.AddBan (Oxide.Core.Libraries.Covalence.IPlayer player, Oxide.Plugins.ServerArmour+ISABan thisBan) [0x0002d] in <01fcf2dbf5004584a9481fa657952365>:0
at Oxide.Plugins.ServerArmour+<CheckLocalBans>c__AnonStorey4.<>m__0 () [0x0011b] in <01fcf2dbf5004584a9481fa657952365>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <ac41dd3599754d448b8c218b34645820>:0Yeah same here, on plugin initialization ( either reload the plugin or at the server startup ) @rustkoyak@RaYMaN@Blackdemon6
I assume the plugin is still new on the servers? This happens usually when it's trying to add the current bans to the server, so doesn't impact the ability to protect your server.
Does this only happen once? Or did it happen a few times?
I will have a look at what might be causing this, and push a fix.
I assume the plugin is still new on the servers? This happens usually when it's trying to add the current bans to the server, so doesn't impact the ability to protect your server.
Does this only happen once? Or did it happen a few times?
I will have a look at what might be causing this, and push a fix.
Hey , it's hapening at every plugin reload or server start i got the plugin for a few weeks now , maybe 3 or 4 weeks
Pho3niX90
@rustkoyak@RaYMaN@Blackdemon6
I assume the plugin is still new on the servers? This happens usually when it's trying to add the current bans to the server, so doesn't impact the ability to protect your server.
Does this only happen once? Or did it happen a few times?
I will have a look at what might be causing this, and push a fix.
Yes, it still shows even after reloading the mod.
Merged post
(21:39:05) | Failed to run a 1.00 timer in 'ServerArmour v0.3.3' (FormatException: String was not recognized as a valid DateTime.)
at System.DateTimeParse.ParseExact (System.String s, System.String format, System.Globalization.DateTimeFormatInfo dtfi, System.Globalization.DateTimeStyles style) [0x0002a] in <437ba245d8404784b9fbab9b439ac908>:0
at System.DateTime.ParseExact (System.String s, System.String format, System.IFormatProvider provider) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0
at Oxide.Plugins.ServerArmour.ConverToDateTime (System.String stringDate) [0x00000] in <df584ffa75ed44f3b4bb37b172116ea3>:0
at Oxide.Plugins.ServerArmour.ConvertToTimestamp (System.String value) [0x00000] in <df584ffa75ed44f3b4bb37b172116ea3>:0
at Oxide.Plugins.ServerArmour+ISABan.GetUnixBanUntill () [0x00000] in <df584ffa75ed44f3b4bb37b172116ea3>:0
at Oxide.Plugins.ServerArmour.<IsBanned>m__3 (Oxide.Plugins.ServerArmour+ISABan x) [0x0001b] in <df584ffa75ed44f3b4bb37b172116ea3>:0
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Plugins.ServerArmour.IsBanned (System.String steamid) [0x00081] in <df584ffa75ed44f3b4bb37b172116ea3>:0
at Oxide.Plugins.ServerArmour+<CheckLocalBans>c__AnonStorey5.<>m__0 () [0x00066] in <df584ffa75ed44f3b4bb37b172116ea3>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <ac41dd3599754d448b8c218b34645820>:0Just an update. Somehow, 0.3.3 Shows a longer error message. No worries I'm in no way of rushing for a fix but helping to try the plugin out. Its a great plugin!
@rustkoyak could you please try and unload server armour, then delete server armour folder
Data/ServerArmour. and reload again? Pho3niX90
@rustkoyak could you please try and unload server armour, then delete server armour folder. and reload again?Data/ServerArmour
I believe the link at "UPDATES" to 0.3.4 is not compelete. :)
Although the main DOWNLOAD tab is working.
(22:25:24) | Loaded plugin Server Armour v0.3.4 by Pho3niX90
(22:25:25) | [Server Armour] Adding ban for pietrekttrrs with reason `.`, and expiry 2070/01/01 07:59 to server armour.
(22:25:26) | [Server Armour] Adding ban for Happy with reason `.`, and expiry 2070/01/01 07:59 to server armour.
(22:25:27) | [Server Armour] Adding ban for LnwS with reason `Using Script`, and expiry 2070/01/01 07:59 to server armour.
(22:25:28) | [Server Armour] Adding ban for Insecure Boy 👑 with reason `ESP Hacks`, and expiry 2070/01/01 07:59 to server armour.
(22:25:29) | [Server Armour] Adding ban for SaChi with reason `AIMBOT HACK`, and expiry 2070/01/01 07:59 to server armour.
(22:25:30) | [Server Armour] Adding ban for NOBODY ONLY U with reason `GET THE FOCK OFF FROM MA SERVER. BYE BYE`, and expiry 2070/01/01 07:59 to server armour.
(22:25:31) | [Server Armour] Adding ban for Lil Texas with reason `Hacking. Bye bijes.`, and expiry 2070/01/01 07:59 to server armour.
(22:25:32) | [Server Armour] Adding ban for Bear with reason `Banned IP (HACKING)`, and expiry 2070/01/01 07:59 to server armour.
(22:25:33) | [Server Armour] Adding ban for KYOCHON with reason `Banned IP (HACKING)`, and expiry 2070/01/01 07:59 to server armour.
(22:25:34) | [Server Armour] Adding ban for oh shit with reason `Banned IP (HACKING)`, and expiry 2070/01/01 07:59 to server armour.
(22:25:35) | [Server Armour] Adding ban for 420 with reason `SCRIPT`, and expiry 2070/01/01 07:59 to server armour.
(22:25:36) | [Server Armour] Adding ban for BBOY with reason `LOL! HE MAD`, and expiry 2070/01/01 07:59 to server armour.
(22:25:37) | [Server Armour] Adding ban for lam with reason `LOL! He U Mad?`, and expiry 2070/01/01 07:59 to server armour.
(22:25:38) | [Server Armour] Adding ban for Xieolin with reason `SCRIPTING`, and expiry 2070/01/01 07:59 to server armour.
(22:25:39) | [Server Armour] Adding ban for 76561198017561295 with reason `no reason`, and expiry 2070/01/01 07:59 to server armour.
(22:25:39) | Failed to run a 1.00 timer in 'ServerArmour v0.3.4' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ServerArmour.AddBan (Oxide.Core.Libraries.Covalence.IPlayer player, Oxide.Plugins.ServerArmour+ISABan thisBan) [0x0003e] in <46c2b5ebed3f47809dae91bbb80f8f4c>:0
at Oxide.Plugins.ServerArmour+<CheckLocalBans>c__AnonStorey5.<>m__0 () [0x00193] in <46c2b5ebed3f47809dae91bbb80f8f4c>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <ac41dd3599754d448b8c218b34645820>:0I'd deleted the Data Folder. Once loaded, this is what it shows. :)
@rustkoyak Sad that it didn't fix it, however now it tells me exactly why it happened.
It seems you have a ban of a steamid, that is extremely old, or buggy "76561198017561295, also has no reason. This is where it is happening.
Will fix this in the next update.
It seems you have a ban of a steamid, that is extremely old, or buggy "76561198017561295, also has no reason. This is where it is happening.
Will fix this in the next update.
Pho3niX90
@rustkoyak Sad that it didn't fix it, however now it tells me exactly why it happened.
It seems you have a ban of a steamid, that is extremely old, or buggy "76561198017561295, also has no reason. This is where it is happening.
Will fix this in the next update.
Ah, glad I could help out. :) Haha!
Same issue here,
Note that my bans.cfg file is correct. I also did unload the plugin and deleted the data folder, but it didn't solved the issue.
Merged post
It's passing AddBan(null, ....), but since AddBan() requires a player ... :)
(11:55:23) | Loaded plugin Server Armour v0.3.4 by Pho3niX90
(11:55:24) | [Server Armour] Checking local user ban 1 of 29
(11:55:24) | [Server Armour] Adding ban for <STEAM ID> with reason `abusive behaviour`, and expiry 2070/01/01 00:59 to server armour.
(11:55:24) | Failed to run a 1.00 timer in 'ServerArmour v0.3.4' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ServerArmour.AddBan (Oxide.Core.Libraries.Covalence.IPlayer player, Oxide.Plugins.ServerArmour+ISABan thisBan) [0x0003e] in <74a9b0db8cf4412f879798bd6acf43f4>:0
at Oxide.Plugins.ServerArmour+<CheckLocalBans>c__AnonStorey5.<>m__0 () [0x00193] in <74a9b0db8cf4412f879798bd6acf43f4>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <ac41dd3599754d448b8c218b34645820>:0 Puts($"Adding ban for {((player == null) ? usr.steamid.ToString() : player.Name)} with reason `{usr.notes}`, and expiry {expireDate.ToString(DATE_FORMAT)} to server armour.");
AddBan(player, new ISABan {in my case player is null, it displays the steamid in the Puts().Note that my bans.cfg file is correct. I also did unload the plugin and deleted the data folder, but it didn't solved the issue.
Merged post
It's passing AddBan(null, ....), but since AddBan() requires a player ... :)
You are correct :) Was testing the fix yesterday, and pushed the update now
Merged post
This is now fixed in v0.3.5
Merged post
This is now fixed in v0.3.5
Locked automatically