EventManager

Moved

Total Downloads: 10,601 - First Release: Dec 16, 2014 - Last Update: Apr 19, 2018

4.92857/5, 56 likes
  1. How to reset statistics?
     
  2. Yea i also wanna reset my staticks
     
  3. Ever since the last update, the entire server starts rubber banding whenever presents pop up

    Just tried it again with 20 players, and there's no lag. Might of been the old oxide version that was causing problems
     
    Last edited by a moderator: Apr 7, 2018
  4. Is it possible to have a flag that ejects cars and potentially even boats too?
     
  5. hello do you think it would be possible to cross the Event Manager plugin for example during a Team Deathmatch with the plugin Murderers (Murderers) because we can not kill the murderers while on their side they can inflict damage.
    if you have an idea to make the two sets work together the event possibilities could be very nice.
    thank you in advance for your or your answer and especially a good day to you.
     
  6. Wulf

    Wulf Community Admin

    Wulf updated Event Manager with a new update entry:

    3.0.76

     
  7. hello i updated the plugin and i have an error message, would you have any idea of the problem i am having?:
    (20:43:28) | Error while compiling: EventManager.cs(1698,24): error CS1061: Type `BasePlayer' does not contain a definition for `spectateFilter' and no extension method `spectateFilter' of type `BasePlayer' could be found. Are you missing an assembly reference?

    (20:43:28) | Error while compiling: EMInterface.cs(57,39): error CS0246: The type or namespace name `EventManager' could not be found. Are you missing an assembly reference?

    thank you.
     
  8. Wulf

    Wulf Community Admin

    Update Rust and Oxide, you're outdated.
     
  9. thx !!!! do you think we can have murderers in event in the futur ?
     
  10. A lot of people seem to be respawning back with nothing and /restoreme doesnt work ("Try again later"). I'm seeing the restoration_data file being populated but nothing. Also some people are stuck in this loop as they respawn and have no rock or torch.
     
  11. Creating item with less than 1 amount! (Wood Storage Box)
    Code:
    Failed to run a 3.00 timer in 'EventManager v3.0.76' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.EventManager+RestorationManager.RestoreItems (.BasePlayer player, Oxide.Plugins.RestoreInfo info, InventoryType type) [0x00000] in :0 at Oxide.Plugins.EventManager+RestorationManager.RestoreInventory (.BasePlayer player, Oxide.Plugins.RestoreInfo info) [0x00000] in :0 at Oxide.Plugins.EventManager+RestorationManager.RestorePlayer (.BasePlayer player) [0x00000] in :0 at Oxide.Plugins.EventManager.CheckForRestore (.BasePlayer player) [0x00000] in :0 at Oxide.Plugins.EventManager+c__AnonStorey0.<>m__0 () [0x00000] in :0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in :0
    any chance we can get a fix for this? it keeps spaming
     
    Last edited by a moderator: Apr 22, 2018
  12. Heya, Found a bug on if you have the spawn set to timer
    People will disconnect after dying in the arena
    And clone in-game themselves
    So there will be multiple bodies of them, They won't be able to spawn
    Either i cant tp to them too.

    Edit: Fixed the clones after restarting the server,
    The bug on spawn set to timer is still bugged though.

    Error code included :


    Code:
    00:05 [Error] Failed to run a 1.00 timer in 'EventManager v3.0.76' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Behaviour:get_enabled ()
      at Oxide.Plugins.EventManager.AddUI (Oxide.Game.Rust.Cui.CuiElementContainer element) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.UpdateMessages (Boolean destroyed) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.DestroyUpdate () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.DestroyPopupUI (Oxide.Plugins.MessageData element) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager+MessageData.StartDestroy () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager+MessageData.<StartDestroy>m__0 () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
    00:05 [Error] Failed to call hook 'GiveKit' on plugin 'Kits v3.2.9' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component:get_transform ()
      at BaseEntity.get_currentTemperature () [0x00000] in <filename unknown>:0
      at PlayerInventory.ServerUpdate (Single delta) [0x00000] in <filename unknown>:0
      at PlayerInventory.OnClothingChanged (.Item item, Boolean bAdded) [0x00000] in <filename unknown>:0
      at ItemContainer.Insert (.Item item) [0x00000] in <filename unknown>:0
      at Item.SetParent (.ItemContainer target) [0x00000] in <filename unknown>:0
      at Item.MoveToContainer (.ItemContainer newcontainer, Int32 iTargetPos, Boolean allowStack) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.GiveItem (.PlayerInventory inv, .Item item, .ItemContainer container) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.GiveKit (.BasePlayer player, System.String kitname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.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
    
     

    Attached Files:

    Last edited by a moderator: Apr 27, 2018
  13. Same error for me too, as described by Vanilla Aisu, tested it with tdm and gungame.
    Maybe it has to do with new Kits update?

    It happens when a player gets respawned after death:
    Code:
    Failed to call hook 'OnEventPlayerDeath' on plugin 'TeamDeathmatch v0.3.52' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Behaviour:get_enabled ()
      at Oxide.Plugins.EventManager.AddUI (Oxide.Game.Rust.Cui.CuiElementContainer element) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.UpdateMessages (Boolean destroyed) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.PopupMessage (System.String message) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TeamDeathmatch.SendMessage (System.String message) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TeamDeathmatch.AddKill (.BasePlayer player, .BasePlayer victim) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TeamDeathmatch.OnEventPlayerDeath (.BasePlayer vic, .HitInfo hitinfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TeamDeathmatch.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>:0Failed to run a 1.00 timer in 'EventManager v3.0.76' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)
      at UnityEngine.Component.GetComponent[EventPlayer] () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.GiveClassKit (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager+<GivePlayerKit>c__AnonStorey3.<>m__0 () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0 
     
  14. Code:
    Failed to call hook 'ccmdSelectConfig' on plugin 'EMInterface v1.0.5' (KeyNotFoundException: The given key was not present in the dictionary.)
      at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.EventManager+Events].get_Item (System.String key) [0x00000] in :0
      at Oxide.Plugins.EMInterface.ccmdSelectConfig (.Arg arg) [0x00000] in :0
      at Oxide.Plugins.EMInterface.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0 
    Does anyone know the reason for this? Seems to only be if an event is renamed.
     
    Last edited by a moderator: May 27, 2018
  15. not being able to spawn back in for event


    at (wrapper managed-to-native) UnityEngine.Behaviour:get_enabled ()

    at Oxide.Plugins.EventManager.AddUI (Oxide.Game.Rust.Cui.CuiElementContainer element) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.EventManager.UpdateMessages (Boolean destroyed) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.EventManager.PopupMessage (System.String message) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ArenaDeathmatch.AddKill (.BasePlayer player, .BasePlayer victim) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ArenaDeathmatch.OnEventPlayerDeath (.BasePlayer victim, .HitInfo hitinfo) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ArenaDeathmatch.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=1527445851][/DOUBLEPOST]Not being able to spawn back in after Death

    Code:
      at (wrapper managed-to-native) UnityEngine.Behaviour:get_enabled ()
      at Oxide.Plugins.EventManager.AddUI (Oxide.Game.Rust.Cui.CuiElementContainer element) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.UpdateMessages (Boolean destroyed) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.PopupMessage (System.String message) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ArenaDeathmatch.AddKill (.BasePlayer player, .BasePlayer victim) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ArenaDeathmatch.OnEventPlayerDeath (.BasePlayer victim, .HitInfo hitinfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ArenaDeathmatch.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
     
  16. ATTENTION ANYONE AND EVERYONE, TO FIX THE RESPAWN ON DEATH PROBLEM JUST TURN OFF SPECTATE IN THE EVENTMANAGER.JSON IN CONFIG
     
  17. If player join server he will auto. join event.
    Is it possible ?
     
  18. Code:
    20:01 [Error] Failed to call hook 'Unload' on plugin 'EventManager v3.0.76' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.EventManager.SaveStatistics () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.Unload () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.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 
     
  19. I have this error, so how can I fix this :(
    Code:
    (01:03:16) | Failed to call hook 'cmdEventMenu' on plugin 'EMInterface v1.0.5' (KeyNotFoundException: The given key was not present in the dictionary.)
      at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.EventManager+EventSetting].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EMInterface.GetEventInfo (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panel, Single xPos, Single yPos, Int32 fontSize) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EMInterface.CreateHome (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EMInterface.OpenMenu (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EMInterface.cmdEventMenu (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EMInterface.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
     
  20. You need to post in the correct plugin topic to start with