I made a workaround to fix the unban bug but im still not exactly sure why its happening. Somehow it works after using the unban command twice but wont when used the first time. Maybe im not up to date enough for this shit but its kinda strange...
Anyways after the workaround its working for me now.
Enhanced Ban System [Replaced]
Discussion in 'Plugin Support' started by Reneb, Oct 28, 2014.
-
Domestos updated Enhanced Ban System with a new update entry:
Bugfix
-
When loading the plugin gives me the following error:
[Oxide] 2:52 PM [Error] Failed to load plugin EnhancedBanSystem (Sharing violation on path c:\XXXX\EnhancedBanSystem.lua)
[Oxide] 2:52 PM [Debug] at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string,System.Text.Encoding)
at System.IO.File.ReadAllText (System.String path, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
at System.IO.File.ReadAllText (System.String path) [0x00000] in <filename unknown>:0
at Oxide.Lua.Plugins.LuaPlugin.Load () [0x00000] in <filename unknown>:0
at Oxide.Lua.Plugins.LuaPluginLoader.Load (System.String directory, System.String name) [0x00000] in <filename unknown>:0
at Oxide.Core.OxideMod.LoadPlugin (System.String name) [0x00000] in <filename unknown>:0
[Oxide] 2:52 PM [Info] Loaded plugin Enhanced Ban System (v2.2.1) by #Domestos -
not when loading, when you transfered it on your server but too slowly so oxide tried to reload it while it was being transfered, there for bugging.
just do
oxide.reload EnhancedBanSystem
and it should work fine. -
If you're right. Thank You.
-
Is it possible to ban offline players???
-
-
i have Both on couple plugins, just need to copy-paste
-
-
Hey Domestos, just wondering if you've thought about adding like a warning system. So say you could give a player 3 warning then after that they were banned.
-
Can this plugin prevent steam family share abuse?
-
can you add webposting to this? so that bans can be listed in our website database
-
Domestos updated Enhanced Ban System with a new update entry:
more fixes
-
loaded the update then got this error right afterwards....
[Oxide] 4:24 PM [Info] Unloaded plugin Enhanced Ban System (v2.2.1) by #Domestos
[Oxide] 4:24 PM [Info] Loaded plugin Enhanced Ban System (v2.2.2) by #Domestos
[Oxide] 4:29 PM [Error] Failed to run a timer. (NullReferenceException: )
[Oxide] 4:29 PM [Debug] at (wrapper managed-to-native) UnityEngine.Component:GetComponent (string)
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 -
I banned a player with steam ID, he made a new steam account and came back. IP is not working. Please advise or fix.
Thanks!! -
-
awesome work
-
[DOUBLEPOST=1422452086][/DOUBLEPOST] -
Hahaha yes i thought i had 2.2.1, but i guess i still have 2.2.0 need to update xD
-
yeah that was my problem, had to update oxide... caused a problem with another plugin I was trying to get to work, but all seems to work now.. Well except namechanger but thats someone elses plugin