Last Man Standing Event

Fight to the death event for EventManager

Total Downloads: 1,997 - First Release: Jan 23, 2016 - Last Update: May 21, 2017

5/5, 3 likes
  1. event game "Last Man Standing"

    remove the . and put a space, changed since Event manager overhaul.

    Can also be done in chat with /event game "Last Man Standing"
     
    Last edited by a moderator: May 12, 2016
  2. They said " This game last man standing isn't registered, did you reload the game fater loading event - Core?
     
  3. reload Event Manager and Last Man Standing, in console you should see:

    Event Manager registered game: "Last Man Standing"
     
  4. Hey man im getting this error on lastman standing when there are 2 players left and 1 dies and press respawn it loss everytimes upon respawning.
    Sometimes they also loss without even pressing respawn button:
    Code:
    [Oxide] 12:09 [Error] Failed to call hook 'OnEventPlayerDeath' on plugin 'LastManStanding v1.1.3' (InvalidOperationException: Collection was modified; enumeration operation may not execute.)
    [Oxide] 12:09 [Debug]   at System.Collections.Generic.List`1+Enumerator[Oxide.Plugins.LastManStanding+LastManStandingPlayers].VerifyState () [0x00000] in <filename unknown>:0
      at System.Collections.Generic.List`1+Enumerator[Oxide.Plugins.LastManStanding+LastManStandingPlayers].MoveNext () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LastManStanding.SearchWinner () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LastManStanding.OnEventPlayerDeath (.BasePlayer victim, .HitInfo hitinfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LastManStanding.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
    Should i check that death hook?
     
    Last edited by a moderator: Aug 22, 2016
  5. Is this updated for latest rust?? I want to try this out ASAP.
     
  6. Is it possible to Unload -> Load LSM with reloading EventManager?
    Deathmatch and TeamDeathmatch do it and it would be a nice comfort function for LMS....
     
  7. Try it for myself....
    now it works.... if u reload EventManager, EventManager will reload LMS too....
     
  8. Code:
    (02:29:43) | [Oxide] 19:06 [Info] [Death Notes] siN.OfficerJAKE was shot in the Head by MooMe with a Assault Rifle from 5.78m.
    (02:29:43) | [Oxide] 7:06 PM [Debug] Plugin compilation is already queued: LastManStanding (0.023 ago)
    (02:29:45) | [Oxide] 19:06 [Info] [Better Chat] loransmk: plz dont
    (02:29:46) | [Oxide] 19:06 [Info] LastManStanding, EventManager and GunGame were compiled successfully in 2656ms
    (02:29:46) | [Oxide] 19:06 [Warning] Calling 'Unload' on 'LastManStanding v1.1.3' took 232ms
    (02:29:46) | [Oxide] 19:06 [Info] Unloaded plugin LastManStanding v1.1.3 by TheMechanical97
    (02:29:46) | [Oxide] 19:06 [Warning] Calling 'Unload' on 'GunGame v0.3.52' took 217ms
    (02:29:46) | [Oxide] 19:06 [Info] Unloaded plugin Gun Game v0.3.52 by k1lly0u
    (02:29:46) | [Oxide] 19:06 [Warning] Calling 'Unload' on 'EventManager v2.0.24' took 221ms
    (02:29:46) | [Oxide] 19:06 [Info] Unloaded plugin Event Manager v2.0.24 by Reneb / k1lly0u
    (02:29:46) | [Oxide] 19:06 [Debug] LastManStanding plugin is waiting for requirements to be loaded: EventManager
    (02:29:46) | [Oxide] 19:06 [Debug] GunGame plugin is waiting for requirements to be loaded: EventManager
    (02:29:46) | [Oxide] 19:06 [Info] Loaded plugin Event Manager v2.0.24 by Reneb / k1lly0u
    (02:29:46) | [Oxide] 19:06 [Info] Loaded plugin Gun Game v0.3.52 by k1lly0u
    (02:29:46) | [Oxide] 19:06 [Info] [Event Manager] Registered event game: GunGame
    (02:29:46) | [Oxide] 19:06 [Info] Loaded plugin LastManStanding v1.1.3 by TheMechanical97
    (02:29:46) | [Oxide] 19:06 [Info] [Event Manager] Registered event game: Last Man Standing
    As soon as the event ends the plugin reloads???
    Also, when I died I lost my location and inventory. Just went to a beach.....
    Can someone patch this please?
     
    Last edited by a moderator: Aug 22, 2016
  9. Okay having a problem where /event launch doesn't cycle LMS through it. I went through the EventManager config file and entered it in manually, but it still doesn't cycle with the other Deathmatch games.

    Cancel this, it's working XD
     
    Last edited by a moderator: Oct 2, 2016
  10. its possible to put Last Man Standing on the autoevents rotation on Event Manager ?

    i dont see Last Man Standing on the cfg file of event manager
     
    Last edited by a moderator: Nov 1, 2016
  11. k1lly0u updated Last Man Standing Event with a new update entry:

    2.0.0

     
  12. k1lly0u updated Last Man Standing Event with a new update entry:

    2.0.1

     
  13. @k1lly0u Players reporting spawning in with no kit, just what they already had

    Code:
        "LastManStanding_1": {
          "CloseOnStart": false,
          "DisableItemPickup": true,
          "UseClassSelector": false,
          "MinimumPlayers": 4,
          "MaximumPlayers": 20,
          "ScoreLimit": 0,
          "RespawnTimer": 0,
          "GameRounds": 0,
          "EnemiesToSpawn": 0,
          "EventType": "LastManStanding",
          "Kit": "arena",
          "WeaponSet": null,
          "Spawnfile": "Arena",
          "Spawnfile2": null,
          "ZoneID": "48247785",
          "GameMode": 0,
          "RespawnType": 0,
          "SpawnType": 0
     
  14. First with loot appears kit then appears
    Killed Player 9 seconds AFC kicked out of the arena
    Version of News LMS fix

    Code:
     "LastManStanding": {
          "CloseOnStart": false,
          "DisableItemPickup": true,
          "UseClassSelector": false,
          "MinimumPlayers": 2,
          "MaximumPlayers": 5,
          "ScoreLimit": 0,
          "RespawnTimer": 0,
          "GameRounds": 0,
          "EnemiesToSpawn": 0,
          "EventType": "LastManStanding",
          "Kit": "gladiator",
          "WeaponSet": null,
          "Spawnfile": "gladiator",
          "Spawnfile2": null,
          "ZoneID": "65798204",
          "GameMode": 0,
          "RespawnType": 0,
          "SpawnType": 0
        },
    Code:
    {
      "EventSettings": {
        "DefaultKit": "gladiator",
        "DefaultSpawnfile": "gladiator",
        "DefaultZoneID": "65798204",
        "TokensOnKill": 1,
        "TokensOnWin": 5
      },
      "GameSettings": {
        "StartHealth": 100.0
      }
    }
     
  15. Experiencing the same as above
     
  16. `Oxide.Plugins.EventManager.BroadcastToChat(string)' is inaccessible due to its protection level
     
  17. Hello, I have error when a player die :
    Code:
    (15:11:24) | Failed to call hook 'OnEventPlayerDeath' on plugin 'LastManStanding v2.0.1' (FormatException: Input string was not in a correct format.)
    (15:11:24) | at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in <filename unknown>:0
      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, System.Object arg1, System.Object arg2) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LastManStanding.AddKill (.BasePlayer player, .BasePlayer victim) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LastManStanding.OnEventPlayerDeath (.BasePlayer victim, .HitInfo hitinfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LastManStanding.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
    When the player die, 40 seconds after, he respawn...
     
  18. Issue still present, have had to remove from Auto Events until patched :(
     
  19. I'm trying to figure this out slowly . So when your event spawns players in do they come with their current gear set ? I'd want them to spawn as freshies so as not to cheat .
     
  20. You select a kit, which in this case it would be an empty kit or autokit.