EventManager

Moved

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

4.92857/5, 56 likes
  1. Yes sorry, thx ikillyou, more quickly than me to answer
     
  2. when i start my event i dont get teleported to the spawn point
    [DOUBLEPOST=1459083806][/DOUBLEPOST]
    when i start the event console says "A spawn file must first be loaded."
     
  3. Just a heads up that after the events, I have to manually reload the FriendlyFire, Kits, and EventManager plugin for Friendlyfire to work and allow for people to claim kits again. If you guys have problems with people complaining about FF not working after events, try to do oxide.reload FriendlyFire in your console.

    Anyone know how to maybe add this as a command to reload these things on event.end? I'm not a dev nor do I know code but I'm learning lol.

    Perhaps there's a way to run this on the timed execute if you run your auto-events (which I still can't set up for some reason :( )

    I get this:
    Code:
    [Oxide] 07:42 [Error] Failed to call hook 'ccmdEventLaunch' on plugin 'EventManager v1.2.20' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 07:42 [Debug] at System.Collections.Generic.Dictionary`2[System.String,System.Object].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EventManager.AutoEventNext () [0x00000] in <filename unknown>:0 at Oxide.Plugins.EventManager.LaunchEvent () [0x00000] in <filename unknown>:0 at Oxide.Plugins.EventManager.ccmdEventLaunch (.Arg arg) [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    
     
  4. So, any help?
     
  5. I looked at this further and there are HOOKS that exist for the economics system to make this work. I am trying to figure it out but I am not very proficient with writing code. An alternative to have Event Manager issue currency would be to allow the /reward list to accept a cmd. In that case, we could modify the reward list from an "item" to a "cmd" and have it something like...

    "name": "Currency",
    "cost": "50",
    "kit": "False",
    "cmd": ["eco.c deposit \"$player.name\" 50"],
    "amount": "50"

    Anyone think they could make this happen? A good example might be the integration between Economics and GUIShop...

    Also on a side note; GUIShop fixed the auto-centering on each purchase issue; can Event Manager Reward GUI do that same?
     
  6. Hello
    I have this error what 's the reason?
    Thx

    [Oxide] 00:33 [Error] Failed to run a 600.00 timer in 'EventManager v1.2.20' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    [Oxide] 00:33 [Debug] at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
    at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
    at System.String.Format (System.String format, System.Object arg0) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.EventManager.CancelEvent (System.String reason) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.EventManager.<OnEventStartPostAutoEvent>m__6 () [0x00000] in <filename unknown>:0
    at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
     
  7. +1
    [ru] та же ошибка, как бы решить?
    нет функции, которая закрывает текущую регистрацию, в случае отсутствия желающих - до следующего старта регистрации.
    the same mistake. how be resolved?
    there is a function that closes the current registration, in the absence of interested - until the next recording start.
     
  8. oxide.reload EventManager return this:
    Code:
    (12:28:21) | [Oxide] 12:28 [Info] EventManager was compiled successfully in 2184ms(12:28:21) | [Oxide] 12:28 [Info] Loaded plugin Event Manager v1.2.20 by Reneb
    (12:28:21) | [Oxide] 12:28 [Error] Failed to initialize plugin 'EventManager v1.2.20' (NullReferenceException: Object reference not set to an instance of an object)
    (12:28:21) | [Oxide] 12:28 [Debug]   at Oxide.Plugins.EventManager.LoadData () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.Loaded () [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 (System.Reflection.MethodInfo 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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    (12:28:21) | [Oxide] 12:28 [Info] Unloaded plugin Event Manager v1.2.20 by Reneb
     
  9. [Error] Failed to run a 600.00 timer in 'EventManager v1.2.20' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
     
  10. Excellent plugin, works really well.

    Would be great if there was an option to:-

    1). Remove guns that drop (nothing gets dropped).
    2). Random "Locations" per Style

    ie:-

    I make 3 Arenas for Deathmatch and one is select randomly and or voted for.

    Thanks^^
     
  11. So your arenas are voted for and run on your server? Is this automatic or are you manually pulling a vote then running it?
     
  12. It's running 24/7 Auto, I'm asking that there should be a Random Choice of a few pre-defined arenas with different max kills / etc settings, or potentially with the vote option. The random idea would be better though. Less chat clutter then.
     
  13. Thanks! I've been trying to figure out how to run my events automatically. Are you using TimedExecute or maybe an older version of EventManager? I've tried Auto Events and it doesn't work. Any guidance will be appreciated. We can chat offline so we don't bog up the thread unless you think it will help everyone. Thanks!
     
  14. Do this in console:
    event.launch

    And that's all it takes.
     
  15. Hmm. That doesn't work for me.
    [DOUBLEPOST=1459888091][/DOUBLEPOST]I thought I posted this above but maybe not. Here's the error I receive when I try to run my event maanger (event.launch). Could this just be on my end? Are you running an older version of EventManager?
    Code:
    [Oxide] 13:26 [Error] Failed to call hook 'ccmdEventLaunch' on plugin 'EventManager v1.2.20' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 13:26 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,System.Object].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.AutoEventNext () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.LaunchEvent () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.ccmdEventLaunch (.Arg arg) [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  16. Do you have all the Events required plugins installed as well as the ArenaDeathmatch file?

    Have you also sat and specified the event, kit, min players and max players? If you edited the ArenaDeathmatch config file with the correct kit names and spawn locations then you'd need to reload the ArenaDeathmatch plugin using oxide.reload ArenaDeathmatch in the console.

    Make sure you don't use the Eject option otherwise anyone other than admins will get kicked out of the Arena, if you want to see it working you can visit my server. It definitely does work, and well too.

    One minor issue though is if someone DCs in the Arena they will loose all the items and TP back, could do with a hard save for that.
     
  17. Yep! I manually run the events by typing in all of the criteria for TDM for example. I've run dozens of events. It's just when I run that specific command, I receive that error message.
     
  18. Don't know what to say, conflicting with another plugin perhaps, you're using latest rust and oxide?
     
  19. Yep! It might just be my settings in my config file of my EventManager.