EventManager

Moved

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

4.92857/5, 56 likes
  1. This Game {0} isn't registered, did you reload the game after loading Event - Core? Как это исправить?
     
  2. Code:
      [Oxide] 20:16 [Error] Failed to run a 1200.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] 20:16 [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 
    Can someone help me?
     
  3. give your json please
     
  4. Thanks for the help :)
     

    Attached Files:

  5. i will try to help ...
    [DOUBLEPOST=1458013225][/DOUBLEPOST]maybe probleme here
    "timetojoin": "600"
    "AutoEvents - Event cancel timer": 600,
    same time !
    try to change and tell me
    [DOUBLEPOST=1458013309][/DOUBLEPOST]
    oups sorry thats mine lol wait
    [DOUBLEPOST=1458013601][/DOUBLEPOST]First I see Spawnfile name not good
    "spawnfile": "Arenax",
    "Default - Spawnfile": "Arena",
    [DOUBLEPOST=1458014049][/DOUBLEPOST]is it working?
     
  6. No it doesn't work. :/

    Code:
    [Oxide] 04:58 [Error] Failed to run a 120.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] 04:58 [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.<OnEventOpenPostAutoEvent>m__2 () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0 
     

    Attached Files:

  7. try to change time limit, your probleme is the timer 120
    [DOUBLEPOST=1458020098][/DOUBLEPOST]
    thank you so much ^^
     
  8. the problem is you changed a string containing a {0} or {1} and removed it without replacing it. You will need to compare the default config to yours and find what string it is
     
    Last edited by a moderator: Mar 15, 2016
  9. /reward ничего не происходит. Как исправить?
    /reward, nothing happens. How to fix it?
     
  10. My event never been cancelled... why?? please 15 i am trying to do event.launch

    {
    "AutoEvents - Activate": true,
    "AutoEvents - Announce Open Interval": 60,
    "AutoEvents - Config": {
    "0": {
    "closeonstart": "true",
    "gametype": "Deathmatch",
    "maxplayers": "13",
    "minplayers": "2",
    "spawnfile": "deathmatchspawnfile",
    "timelimit": "900",
    "timetojoin": "5"
    }
    },
    "AutoEvents - Event cancel timer": 300,
    "AutoEvents - Interval between 2 events": 3620,
    "Broadcast - Broadcast join message during a round": false,
    "Broadcast - Join message interval": 30,
    "Default - Game": "Deathmatch",
    "Default - Spawnfile": "deathmatchspawns",.............
    [DOUBLEPOST=1458040674][/DOUBLEPOST]

    I Just want 5 min for join, and cancel if not player min requiered...
     
  11. I changed the config, but it doesn't work. :/

    Code:
    [Oxide] 16:20 [Error] Failed to run a 120.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] 16:20 [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.<OnEventOpenPostAutoEvent>m__2 () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0 
     

    Attached Files:

  12. value missing what i need to do ?
     
  13. Try the K1llyou update on page 31
    oxidemod.org/attachments/eventmanager-cs.17719/

    this worked for me
     
  14. I am currently trying to run the slasher mod with event manager, how would I implement two spawnfiles into the config? Appreciate any feedback.
     
  15. Code:
    [
    Oxide] 23:11 [Error] Failed to call hook 'GetSpawnsCount' on plugin 'Spawns v1.1.0' (JsonReaderException: After parsing a value an unexpected character was encountered: Z. Path 'X', line 2, position 9.)
    [Oxide] 23:11 [Debug]   at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.KeyValuesConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0
    The Event is now open for : Deathmatch !  Type /event_join to join!
    [ADMIN] Maloxan /A/ has joined the Event!  (Total Players: 1)
    Event: Deathmatch is about to begin!
    [Oxide] 23:12 [Error] Failed to call hook 'GetRandomSpawn' on plugin 'Spawns v1.1.0' (JsonReaderException: After parsing a value an unexpected character was encountered: Z. Path 'X', line 2, position 9.)
    [Oxide] 23:12 [Debug]   at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.KeyValuesConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0
    [Oxide] 23:12 [Error] Failed to call hook 'EventChooseSpawn' on plugin 'GunGame v0.3.3' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 23:12 [Debug]   at Oxide.Plugins.GunGame.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
    [Oxide] 23:12 [Error] Failed to call hook 'EventChooseSpawn' on plugin 'ArenaDeathmatch v1.1.5' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 23:12 [Debug]   at Oxide.Plugins.ArenaDeathmatch.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
    [Oxide] 23:12 [Error] Failed to call hook 'OnEventPlayerSpawn' on plugin 'EventManager v1.2.20' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 23:12 [Debug]   at Oxide.Plugins.EventManager.TeleportPlayerToEvent (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.OnEventPlayerSpawn (.BasePlayer player) [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 
    Now, most importantly. How do I find and insert the coordinates in my zone?

    I simply don't get teleported from my location to the arena. And when I type event.end it goes into loading screen placing me the exact same place I were to begin with.
     
  16. [DOUBLEPOST=1458175359][/DOUBLEPOST]

    i said no change config but your update is bad, put this
    oxidemod.org/attachments/eventmanager-cs.17719/
    this WORK !!!
     
    Last edited by a moderator: Mar 17, 2016
  17. Подскажите кто понимает в плагинах. что прописать в плагине что бы запустилась консольная команда от игрока/админа?
    Например команда в чат /reward или в консоль reward. спасибо заранее.
     
  18. I am trying to get the Last Man Standing event working but I dont get it working. Its giving me the error below the text. Before I did get this error I did get another error that the config wasnt correct.

    [Error] Failed to call hook 'ccmdEventLaunch' on plugin 'EventManager v1.2.20' (KeyNotFoundException: The given key was not present in the dictionary.)
     

    Attached Files:

  19. You had everything twice in the config test this
     

    Attached Files: