GUIAnnouncements

Moved

Total Downloads: 11,755 - First Release: Jul 13, 2015 - Last Update: Oct 20, 2017

5/5, 66 likes
  1. Wulf

    Wulf Community Admin

    Nothing has changed in Oxide regarding main class finding. When that happens, the plugin either is missing that or is corrupt in some way.
     
  2. (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
     

  3. same error!
     
  4. Just installed this for testing and it works fine.
    Are u on the latest oxide version ?

    /announce Hello tester
     
  5. | 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.
     
  6. 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
     
  7. 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 ?
     
  8. a fresh copy works fine. until I change the restart option from false to true then reload it. nothing else I have should affect this plugin.
     
  9. Can you post your config please?
     
    Last edited by a moderator: Oct 28, 2017
  10. yes here is my cfg
     

    Attached Files:

  11. Can you disabled Join and Leave announcements in the "Public Join/Leave Announcements" then join and leave the game and tell me if you get the same error or if the error isn't being produced anymore?
     
  12. After doing some testing myself on a locally hosted server, I haven't managed to recreate any errors. So if these are still happening and you haven't posted your config, please do and provide if you can more detail into how I might recreate the errors.
     
  13. from one day to the next I stop throwing errors works well already
     
  14. here it is.

    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
  15. 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!

    Trello
     
    Last edited by a moderator: Nov 1, 2017
  16. for the helicopter there is already an announcement could you put another one for the bradley?
     
  17. I tend to only use this for heli information, airdrop information and restarts. Those are major functions which are the only ones i like going across the screen. Welcome banners join/ leave announcements and other stuff are already handled by one of my other plugins.
    [DOUBLEPOST=1509572754][/DOUBLEPOST]
    yes, that I would use.
     
  18. Yep I've got announcements similar to the helicopter ones, planned for the Bradley now that I know how it behaves.
     
  19. Could you put which country connects when the players start on the server?
     
  20. That would be possible yes.