EventManager

Moved

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

4.92857/5, 56 likes
  1. And mods pluged in weapon - missed
     
  2. Dev this plugin needs updated to work with latest version
     
  3. could you tell me the issues?
    and errors you get?
    i can't test my plugins atm.
     
  4. For me its giving me the error Invalid Command. It worked before the 10/1 update
     
  5. (18:11:39) | [Oxide] 9:11 PM [Error] EventManager.cs(780,142): error CS1503: Argument `#4' cannot convert `string' expression to type `Facepunch.ObjectList?'
     
  6. [10/2/2015 6:52:15 AM] [Oxide] 6:52 AM [Error] Error while compiling EventManager.cs(780,142): error CS1503: Argument `#4' cannot convert `string' expression to type `Facepunch.ObjectList?'
    Fix please
     
  7. [10/2/2015 6:13:13 AM] [Oxide] 6:12 AM [Error] Error while compiling EventManager.cs(780,142): error CS1503: Argument `#4' cannot convert `string' expression to type `Facepunch.ObjectList?'
     
  8. Reneb updated Event Manager with a new update entry:

    1.2.14

     
  9. If I type /reward it do not open anything but does not says that the command do not exist (yes I upgrade the pluign)
     
  10. there is no more wire frame for the radius???
     
  11. Hello,

    I am running a server where I wish to have "Battlefield" event to run 24/7.
    Right now, if the server restarts or gets restarted, I have to go in to the game and type "event.launch" to restart the event. How do I set it up to run automatically if the server restarts or is restarted for some reason?
    Also, is there a way to have players instantly join the event when they log into server, instead of having them have to type "event_join"?

    Thanks for all your help!
     
    Last edited by a moderator: Oct 5, 2015
  12. event.spawnfile DeathmatchSpawnfile
    [Error] Failed to call hook 'ccmdEventSpawnfile' on plugin 'EventManager v1.2.14' (NullReferenceException: Object reference not set to an instance of an object)

    hope that can help :)

    [Debug] at Oxide.Plugins.EventManager.SelectSpawnfile (System.String name) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.EventManager.ccmdEventSpawnFile (.Arg arg) [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
     
    Last edited by a moderator: Oct 6, 2015
  13. finger that' a problem from your end, most likely you dont have the spawns plugin
     
  14. Hi Reneb no of course i have i been create somes spawn inside the arena i add i have jail plugin too if you want to know and too it's my 1st attend with this plugin it was never write in my server before yesterday i put it maybe i need to not use the default name file you put in it or what else? i'm continue to investigate :)

    Ok i found some new, on my own server (notcadmin) the plugin make no error it's ok, no again started with autostart but no error:/
    just some loop config who it's seem need to restart the server i will see.
    On host Deinserverhost with TCAdmin there is something weird different with my own nocache server.
    [DOUBLEPOST=1444153346,1444145676][/DOUBLEPOST]
    Ok finally not before restart no error but want setting in loop, after restart my own server:

    event.spawnfile deathmatchspawns
    [Debug] at Oxide.Plugins.EventManager.SelectSpawnfile (System.String name) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.EventManager.ccmdEventSpawnFile (.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

    and after recess:
    event.launch
    [Oxide] 7:33 PM [Debug] at Oxide.Plugins.EventManager.SelectSpawnfile (System.String name) [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
    [Debug] at Oxide.Plugins.EventManager.SelectSpawnfile (System.String name) [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
    I'm going to upgrade to try my own to oxide 1438 cause it not start on Deinserverhost with 1438
    [DOUBLEPOST=1444160364][/DOUBLEPOST]Ok Reneb i was an OOOOOOLLLLLD version of spawns.lua not .cs (latest) then all is fine now !! :)
    Regard
     
    Last edited by a moderator: Oct 7, 2015
  15. Hi Reneb, when my players use /reward the plugin doesnt show anything and doesnt say "Unknow command" just nothing happens. Which can be the problem?
     
  16. Hi i found this in console:
    [Error] Failed to run a 600.00 timer in 'EventManager v1.2.14' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    [DOUBLEPOST=1444237164][/DOUBLEPOST]
    yes same as other plugin useing GUI replace line 467 to:

    ""parent"": ""HUD/Overlay""
     
  17. I did what you tell me (also I reloaded the plugin) but still not working, this is what I have on my code:

    public string tokenoverlay = @"[
    {
    ""name"": ""EventManagerOverlay"",
    ""parent"": ""HUD/Overlay""
    ""components"":
    [
    {
    ""type"":""UnityEngine.UI.Image"",
    ""color"":""0.1 0.1 0.1 1"",
    },
    {
    ""type"":""RectTransform"",
    ""anchormin"": ""0 0"",
    ""anchormax"": ""1 1""
    },
    {
    ""type"":""NeedsCursor"",
    }
    ]
    },
     
  18. You will have to wait for me to get back to fix the plugin for the new rust update
     
  19. Yes it's same code of mine but i must admit that not worked 1st time for me too i do reload more than one time and restart and update oxide if i remenber and it seem that all. But maybe wait for Reneb !
    Edit !! ohhhhhhh! you forgot a , ""parent"": ""HUD/Overlay"",
     
  20. OH SHIT! I thought it wasnt necesary hahahaha My fault mate! Thanks!