Multi Events

Sambo

New Member
Supporter
Sep 28, 2019
5
0
1
Once setup can a random event be run automatically? Example every 2hrs run a random event. Or is the command required to run events?
 

Sambo

New Member
Supporter
Sep 28, 2019
5
0
1
Code:
[10/7/2019 10:04:52 PM] Failed to call hook 'Unload' on plugin 'MultiEvents v1.1.2' (InvalidOperationException: Sequence contains no elements)
  at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00010] in <b7efe7e6e548497fac3c4a6049a0a4b6>:0
  at Oxide.Plugins.MultiEvents.DestroyEvent (System.String type) [0x0073d] in <9ef61fb5d814473c83e58767f7ed9a15>:0
  at Oxide.Plugins.MultiEvents.Unload () [0x0000b] in <9ef61fb5d814473c83e58767f7ed9a15>:0
  at Oxide.Plugins.MultiEvents.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006b2] in <9ef61fb5d814473c83e58767f7ed9a15>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
"Delay between events": 3600,
Random events are not running automatically.
Edit: Looks like sometimes they do.

Also using the command "run event" in rcon event will not run. It will only run when used in game using F1 console.
 
Last edited:

Mevent

New Member
Plugin Developer
Jun 28, 2019
35
4
8
Code:
[10/7/2019 10:04:52 PM] Failed to call hook 'Unload' on plugin 'MultiEvents v1.1.2' (InvalidOperationException: Sequence contains no elements)
  at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00010] in <b7efe7e6e548497fac3c4a6049a0a4b6>:0
  at Oxide.Plugins.MultiEvents.DestroyEvent (System.String type) [0x0073d] in <9ef61fb5d814473c83e58767f7ed9a15>:0
  at Oxide.Plugins.MultiEvents.Unload () [0x0000b] in <9ef61fb5d814473c83e58767f7ed9a15>:0
  at Oxide.Plugins.MultiEvents.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006b2] in <9ef61fb5d814473c83e58767f7ed9a15>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
"Delay between events": 3600,
Random events are not running automatically.
Edit: Looks like sometimes they do.

Also using the command "run event" in rcon event will not run. It will only run when used in game using F1 console.
What event was launched?
 

Sambo

New Member
Supporter
Sep 28, 2019
5
0
1
I think it kicks that error with the pet helicopter event. I will try to see if I can exactly which one. Or if one even runs. I just see it randomly in console.
 

warkings

New Member
Supporter
Jul 15, 2019
14
0
1
ok thank you the players are not getting RP

"How many players are required to start an event?": 4,
"Event duration (in seconds)": 300,
"Image URL": " ",
"Rewards Settings": [
{
"Reward is item?": true,
"Reward is money?": true,
"Item Setting": [
[
{
"Item Name (ShortName)": "autoturret",
"Minimum amount of item": 1,
"Maximum amount of item": 3,
"Is this a blueprint?": false,
"Item name (leave blank for standard)": "",
"Skin ID (0 - standard)": 0,
"The condition of the item as a % from 1 to 100 (0 - standard)": 0
},
{
"Item Name (ShortName)": "metal.refined",
"Minimum amount of item": 150,
"Maximum amount of item": 500,
"Is this a blueprint?": false,
"Item name (leave blank for standard)": "",
"Skin ID (0 - standard)": 0,
"The condition of the item as a % from 1 to 100 (0 - standard)": 0
}
]
],
"Money Setting": {
"Call function": "AddPoints",
"Name of plugin to give": "ServerRewards",
"Events price amount (next winner will get less)": 400
 

FluFFen

New Member
Supporter
Jun 28, 2019
18
0
1
i dont use this plugin anymore, sorry
maybe you should ask @ discord

edit:
looks like some misunderstood my intention. the plugin was working fine! i just cannot help with my old config :)
 
Last edited: