Nothing has changed in Oxide regarding main class finding. When that happens, the plugin either is missing that or is corrupt in some way.
GUIAnnouncements
Moved
Total Downloads: 11,755 - First Release: Jul 13, 2015 - Last Update: Oct 20, 2017
- 5/5, 66 likes
-
Wulf Community Admin
-
(19:49:01) | Failed to call hook 'OnPlayerInit' on plugin 'GUIAnnouncements v1.23.83' (IndexOutOfRangeException: Array index is out of range.)
(19:49:01) | at Oxide.Plugins.GUIAnnouncements.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0
at Oxide.Plugins.GUIAnnouncements.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0 -
same error! -
Just installed this for testing and it works fine.
Are u on the latest oxide version ?
/announce Hello tester -
| Failed to call hook 'OnPlayerDisconnected' on plugin 'GUIAnnouncements v1.23.83' (IndexOutOfRangeException: Array index is out of range.)
(15:16:13) | at Oxide.Plugins.GUIAnnouncements.OnPlayerDisconnected (.BasePlayer player) [0x00000] in <filename unknown>:0
at Oxide.Plugins.GUIAnnouncements.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
[DOUBLEPOST=1509110321][/DOUBLEPOST]works fine but send error console. -
get this when reloading with restart enabled
Code:07:04:48) | [Oxide] 07:04 [Error] Failed to call hook 'OnServerInitialized' on plugin 'GUIAnnouncements v1.23.83' (OverflowException: Invalid time data.) (07:04:48) | [Oxide] 07:04 [Stacktrace] at System.TimeSpan+Parser.Execute () [0x00000] in <filename unknown>:0 at System.TimeSpan.Parse (System.String s) [0x00000] in <filename unknown>:0 at (wrapper delegate-invoke) System.Func`2<string, System.TimeSpan>:invoke_TimeSpan__this___string (string) at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[System.String,System.TimeSpan].MoveNext () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[System.TimeSpan].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[System.TimeSpan]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToList[TimeSpan] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIAnnouncements.RestartAnnouncementsStart () [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIAnnouncements.OnServerInitialized () [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIAnnouncements.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0 (07:04:48) | [Oxide] 07:04 [Info] Loaded plugin GUIAnnouncements v1.23.83 by JoeSheep
-
got to be something interfering with it as ive just installed a fresh copy and its fine.
No errors in CMD window.
What about removing config file and restarting see if that helps ? -
-
Last edited by a moderator: Oct 28, 2017
-
yes here is my cfg
Attached Files:
-
-
-
-
-
not sure what I did, but I fixed whatever it was that caused that error. It loaded fine this time.
If I have any more problems. I'll let ya know.Attached Files:
Last edited by a moderator: Oct 29, 2017 -
-
Considering rewriting a large chunk of this plugin for several reasons. If anyone wants any features added in that aren't listed in my Trello, post them now before I complete the rewrite! I am also considering an optional sound playing on chosen announcements, if you can think of a sound that would be good to use leave a reply!
TrelloLast edited by a moderator: Nov 1, 2017 -
for the helicopter there is already an announcement could you put another one for the bradley?
-
[DOUBLEPOST=1509572754][/DOUBLEPOST] -
-
Could you put which country connects when the players start on the server?
-