EventManager

Moved

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

4.92857/5, 56 likes
  1. Would also be nice if the mod disabled all admin powers somehow..... not sure how of course then restored them @ end.....


    Is there a way to remove them from a permission group then give it back at end??? Maybe use that to disble admin perm groups.
     
    Last edited by a moderator: Mar 19, 2017
  2. For my arena I made a room to spectate, is it possible when players die they can spawn in the spectate room to wait for the next wave/round?
     
  3. OK I think I fixed number 1 also... it turns out that the reason we are not getting kits "seems" to be related to the value isEnding or gameEnding is not set to false at very end.

    I opened up every game and changed the ending boolean to false and it seems to be working. I have not tested all the games and one game does not even have an isEnding or gameEnding boolean... cant recall which one.

    Author can you review these two fixes I have and see if they are the problem and please release a new version with these fixes.

    Capture.JPG
    [DOUBLEPOST=1489968755][/DOUBLEPOST]OH one more add to that list....

    5. I noticed that everytime I am in the pseudo death state I TP out then back for a split second... any chance that can be eliminated??? the constant TP??
     
  4. I see that I am not the only one with the issue on playing auto-events sequentially in the list (without manual intervention)

    For now, I set Randomize to true and while that doesn't do what I want, it does seem to kick off events without manually doing anything.
    I don't see the health bars on the chopper survival - is that a setting other than "ShowHeliHealthUI": true" (which it is set to)?
     
  5. Events are running but console is not happy today after update.. getting spammed with:

    [03/23/2017 17:19:01] Failed to call hook 'OnItemPickup' on plugin 'EventManager v3.0.4' (InvalidCastException: Cannot cast from source type to destination type.)

    20:27 [Error] Failed to call hook 'OnItemPickup' on plugin 'EventManager v3.0.4' (InvalidCastException: Cannot cast from source type to destination type.)
    20:27 [Stacktrace] at Oxide.Plugins.EventManager.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (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
     

  6. OK that did NOT FIX number 1... there still needs to be a fix for the no kit after dying. Author needs to fix this. Do not set isEnding to False....
    [DOUBLEPOST=1490423239][/DOUBLEPOST]sorry these mods are nearly useless until this is fixed: Loading into event without any kit/clothes on subsequent event runs.
     
  7. Hello , I run a deathmatch server and would like to switch arenas every 10 minutes. I can use event manager but I dont want to have to have people join the event. Is there any other way I can do this?
     
  8. hi i have this messages too

    Failed to call hook 'OnItemPickup' on plugin 'EventManager v3.0.4' (InvalidCastException: Cannot cast from source type to destination type.)
    Failed to call hook 'OnItemPickup' on plugin 'EventManager v3.0.4' (InvalidCastException: Cannot cast from source type to destination type.)
     
  9. Getting the same
     
  10. I can not start events by console

    event game ArenaDeathmatch
    (13:47:11) | [Event Manager Menu Interface] ArenaDeathmatch is now the next Event game.

    event config list

    (13:48:28) | [Event Manager Menu Interface] You must set the event game first


    :(
     
  11. the people complaint that after Event ( on my server gungame) stack arrow in body.... and they cant pickup....
     
  12. yeh its been goin on for ages, its this:
    (02:27:07) | Failed to call hook 'OnItemPickup' on plugin 'EventManager v3.0.4' (InvalidCastException: Cannot cast from source type to destination type.)

    k1llyou doesnt seem to interested in fixing it.
     
  13. are you using EMInterface? why use console? and if you must use console then yes, select the event config you want to use.
     
  14. I did a small change and it seems fixed, still need your help to test it

    Open file EventManager.cs, go to line 452:
    Code:
    void OnItemPickup(BasePlayer player, Item item)
    Replace with this line:
    Code:
    void OnItemPickup(Item item, BasePlayer player)
    Attached file is patched version of EventManager
     
  15. The autoevent does not work well, does not work random list and when it finishes with the last one of the list the autoevent is finished.
    I want programing with php + mysql autoevent but I just need to correct this error:

    event game ArenaDeathmatch
    [Event Manager Menu Interface] ArenaDeathmatch is now the next Event game.

    event config eventak47
    (13:48:28) | [Event Manager Menu Interface] You must set the event game first

    Request the type of game when you already select it


    If I start it from the EMInterface once this does not happen and it works fine until the next automatic restart of the server.

    Thanks.
     
  16. modified the line, will let you know how it goes, thanks
     
  17. one more change is replace OnPlayerDeath to OnPlayerDie (3 places)
    I tested and it working w/ TeamDeathMatch (works perfect) and LastManStanding (need patch)
     
    Last edited by a moderator: Apr 3, 2017
  18. In a bow match now, working fine, thanks for fixing a bug thats been around 6 months :)

    EDIt, it's still not 100%, just doesnt show the thing in console now

    upload_2017-4-3_19-9-27.png

    Seems to work 70/30 of the time at least.
     
    Last edited by a moderator: Apr 3, 2017
  19. i have change the settings for fixing the bug with arrow or something,, but people say its in head or something too
     
  20. What did you do?