EventManager

Moved

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

4.92857/5, 56 likes
  1. Yeh I saw that, definitely will be up for that when it comes out. That spawnfile stuff caused a lot of headaches last night
    [DOUBLEPOST=1473529797][/DOUBLEPOST]

    EDIT:

    Ok had a bit of a problem with trying to do it manually, I might just let auto events handle it, because no one spawned in spawn B and no one was given their kit
     
  2. Hmm, ok. Did you specify the kit with /event kit *name*, and did it accept it?

    Redeem the kit outside of the event. I'm going to bet it's empty because you didn't do /kit items when you created it?

    Fill your inventory as you want the kit to be, use commands to create the kit, then use '/kit items' to actually put the current inventory in to the kit.


    Is there meant be an A+B? Hoping someone who actually uses it will chime in, but I thought it was just TDM which used A+B spawns.
     
  3. edit: got it working after a few goes.
     
    Last edited by a moderator: Sep 10, 2016
  4. Team deathmatch, as described before, is a different plugin.

    Did you install and configure it?
     
  5. Is it possible to have different types of team deathmatch/deathmatch in the auto event? I've got a regular arena but would like to have a sniper arena too.
     
  6. I don't think so. That's one of the main advantages of V3.

    For example, when I want to change weapons in GunGame, I just have to upload a new config and reload the plug.
    At the moment, I keep a local folder with several configs in it.
     
  7. I'm having an issue with the kits for the team deathmatch, it doesn't seem to be applying the skins even though it's applied, do you need to leave it blank or something else in the TeamDeathmatch config, and only put it in the EventManager config? I keep ending up with both teams wearing the same thing. and it doesn't care about the skins I've set in TeamDeathmatch config

    I've changed the Defaultkit in the TeamDeathmatch plugin to Other for now to see if it was the case, because it was working earlier.

    TeamDeathmatch config:

    Code:
    {
      "DefaultKit": "Other",
      "EventName": "TeamDeathmatch",
      "FF_Damage_Modifier": 0.0,
      "GUI_TextSize": 20,
      "GUIDimX": 0.4,
      "GUIDimY": 0.06,
      "GUIPosX": 0.3,
      "GUIPosY": 0.92,
      "KillLimit": 30,
      "StartingHealth": 100.0,
      "TeamA_Color": "#33CC33",
      "TeamA_Shirt": "tshirt",
      "TeamA_SkinID": 10056,
      "TeamA_Spawnfile": "teamdmspawns_a",
      "TeamB_Color": "#003366",
      "TeamB_Shirt": "tshirt",
      "TeamB_SkinID": 10043,
      "TeamB_Spawnfile": "teamdmspawns_b",
      "Tokens_Kill": 1,
      "Tokens_Win": 5,
      "ZoneName": "31494511"
    }
    Event Manager config

    Code:
            "CloseOnStart": false,
            "EventMode": 0,
            "GameType": "TeamDeathmatch",
            "Kit": "TeamDM",
            "MaximumPlayers": 20,
            "MinimumPlayers": 8,
            "Spawnfile": "teamdmspawns_a",
            "TimeLimit": 0,
            "TimeToJoin": 60,
            "UseClassSelector": false,
            "ZoneID": 31494511
          },
    Also still finding that default game mode is ignored when launching /event launch and just does whatever is first in your list.
     
  8. Honestly, at this stage, I don't know.
    I'd just have to change things, try things, change things, try things.

    K1lly0u said "You can only use the skins available for the type of clothing you selected. Look in the docs for skin ids" if that's relevant?


    The following may be bullshit but as I understand it
    /event open calls the default game from event manager config
    /event launch calls your pre-configured games, in order, from you event manager config
    /event game Deathmatch calls deathmatch game and draws from Deathmatch config file.
     
  9. Yeh it's weird, it worked properly very briefly earlier when I had slightly different config, still cant the t shirt thing in the Team DM conf to apply to the kit I have people use, what do you use?
     
  10. I don't use TDM, DM, or Skins.

    Just GunGame and ChopperSurvival, the later using a single kit.
     
  11. Tryed 1st Slasher.... dont work :(
    After Event start eventmanager kicks all players from event. Only me not.

    Error in Console:
    Code:
    [Oxide] 01:53 [Error] [Slasher] Unable to find a item definition for . Please check your config for valid entries
    [Oxide] 01:53 [Error] [Slasher] Unable to find a item definition for . Please check your config for valid entries[Oxide] 01:54 [Error] Failed to call hook 'OnEventPlayerDeath' on plugin 'Slasher v0.2.0' (ArgumentException: An element with the same key already exists in the dictionary.)
    [Oxide] 01:54 [Debug]   at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.EventManager+Scoreboard].Add (UInt64 key, Oxide.Plugins.Scoreboard value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Slasher.UpdateScores () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Slasher.AddKill (.BasePlayer player, .BasePlayer victim) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Slasher.OnEventPlayerDeath (.BasePlayer victim, .HitInfo hitinfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Slasher.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 01:54 [Error] Failed to call hook 'OnEventPlayerDeath' on plugin 'Slasher v0.2.0' (ArgumentException: An element with the same key already exists in the dictionary.)
    [Oxide] 01:54 [Debug]   at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.EventManager+Scoreboard].Add (UInt64 key, Oxide.Plugins.Scoreboard value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Slasher.UpdateScores () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Slasher.AddKill (.BasePlayer player, .BasePlayer victim) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Slasher.OnEventPlayerDeath (.BasePlayer victim, .HitInfo hitinfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Slasher.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 01:54 [Info] [Event Manager] Saved player statistics
    [Oxide] 01:54 [Warning] Calling 'cmdEventMenu' on 'EMInterface v1.0.4' took 362ms
     
  12. try this one it works for me
     
  13. same problems :(
    all player get n error, forced to leave event, and then will be teleportet in the arena without a kit.
    Only at one random player all works fine. Default Configfile. Only configurated spawnfile´s and ZoneID
     
  14. Yeh I can only get Team DM working properly if I set the game up manually, using Eventmanager just doesnt work 100%. Both teams have the same colour t shirt from the kit I made if I leave it to the eventmanager. No idea why, wish it could get fixed, means we can only have em when I'm on.

    DM works fine in EventManager, just Team DM that's broke.
     
    Last edited by a moderator: Sep 11, 2016
  15. k. I suppose v3 wont be long but in the mean time, try the TDM thread.
    Sure, it's an event manager issue, but you might get more interest over there. :)
     
  16. Also cant select a KIT in Create menu.
    Classes menu show me all Kits. But if i try to select a kit nothing happens. Cant push the change button.
     
  17. Not get called kit capital letters for classes :(
    For example: ATTACK
    Only small letters (
    Example: attack
     
  18. For which event?

    That's because in Kits the key for each kit is stored in lower case to make finding and retrieving the kit information inside the plugin easier, and I am getting the names from the keys. It still works fine for issuing kits
     
  19. For each event where a kit is needed. I can select kit´s for classes. But if i push a "change" Button for kits, event does not matter, nothing happens. All other change button, like for spawnfile oder zoneID work without problems.
     
  20. i have a silly question.. where can i dl this to try it ou? lol