EventManager

Moved

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

4.92857/5, 56 likes
  1. When i start a event everything works fine but the last player that dies before the event is over loses their inventory, it's happening on my server but i don't know if anyone else is having this issue just thought i would tell you.
     
  2. Yes thx i know about this issue, i havent found a Way to fix that, that's why You have to Tell players to join naked.
     
  3. I have and thanks for the response.
    Also is it possible to add a option in the config to set rewards for tokens instead of typing it in the console in a future update?
     
  4. ??
    tokens are automatic you don't need to give them manually to players.
     
  5. sorry i mean is it possible to change the rewards in the config instead of typing them out in the console
     
  6. it's better this way, so people don't start crying that it's not working while editing the config because they didnt type the correct name of the kit or item.
    only thing annoying is that you can't edit, only remove or add.
     
  7. Ok cool, it was just a thought but thanks
     
  8. Code:
    [Oxide] 11:51 PM [Error] Failed to call hook 'GiveKit' on plugin 'Kits' (ArgumentException: failed to convert parameters)
    [Oxide] 11:51 PM [Debug]   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [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] 11:51 PM [Error] Failed to call hook 'cmdEventReward' on plugin 'Event Manager' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:51 PM [Debug]   at Oxide.Plugins.EventManager.GiveReward (.BasePlayer player, System.String rewardname, Int32 amount) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.cmdEventReward (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    Reporting Performance Data system/server
    
    Getting this error when players try to redeem the tokens for rewards.
     
  9. You have multiplay right?
    Delete thé datafile and reload the plugin
     
  10. What do you mean multiplay? Is it a plugin or something that im missing, Im having the same issue
     
  11. I already answered howto fix it
     
  12. Well Ive already done that and it didnt work
    Code:
    [Oxide] 11:42 PM [Error] Failed to call hook 'GiveKit' on plugin 'Kits' (ArgumentException: failed to convert parameters)
    [Oxide] 11:42 PM [Debug]   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [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] 11:42 PM [Error] Failed to call hook 'cmdEventReward' on plugin 'Event Manager' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:42 PM [Debug]   at Oxide.Plugins.EventManager.GiveReward (.BasePlayer player, System.String rewardname, Int32 amount) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EventManager.cmdEventReward (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
     
  13. Then You dont have the kits plugin or the kit name doesnt exist
     
  14. I'm getting the same error as K1lly0u.

    100% sure i am running Kits, have a kit setup (Can redeem it via /kit) and have entered it correctly via event.reward add

    Avoided spaces in name of event reward and kit to be safe, though unlikely an issue.
     
  15. Yes I do and yes it does. Seems more like a error with Your plugin
    No message pops up to player when they redeem and points are not taken. Are You always a dick when people report errors?
    [DOUBLEPOST=1433797781,1433711345][/DOUBLEPOST]Sorry bout that mate, I may not know a lot about coding but I'm not an idiot, I've been successfully running rust servers with plugins for quite some time and I just want to get this working because the arena is really popular.

    Last night I stopped the server, deleted data file, wrote a basic reward kit with a simple name, reloaded server, loaded plugins in order, added the reward with event.reward and played the arena to get the points but still get the same error. I can redeem the kit with /kit.

    It doesn't display any message to the player when they try and no points are deducted from the total

    I didn't mean to sound unappreciative because i enjoy using your plugins and I do appreciate the time and effort you've spent designing them. I haven't had any issues with any of your other plugins. I used to use the arena on legacy and it was great then too, I just really want to see the rewards system working so whether its a bug or I'm doing something wrong we could really use your help.

    Thanks
     
  16. For some reason, I am getting godmode when I join (I'm an admin). I do not have a godmode plugin and it only turns on when I get in the arena. It works fine for all the other players.

    EDIT: It seemed to fix itself on the second run through. Strange.

    Can you add it so there can only be a max amount of players who can join?

    Also, to stop the last guy from losing his inventory, couldn't you have the arena wait a few seconds before teleporting people out so that the person who died last has a chance to respawn?
     
    Last edited by a moderator: Jun 9, 2015
  17. After the launch of the arena, the corpses do not disappear from the arena although in the zone manager this parameter = true
    Last plugins on the server are installed (up to date):
    Spawns Database
    Kits
    Zones Manager
     
  18. Yeah I am also having the same problem as kill and muffin.
    Thanks
     
  19. well i just ment that with the error you showed it could mean that the plugins didnt load in order, and a simple restart should have fixed it ...
    but it didn't, i'll look into it now.