edit: justsaw. its a hook in event manager. Goin to There~[/QUOTE]
too problem, how can it be solved? when the player presses the button respawn it simply throws a server
[DOUBLEPOST=1455907409,1455652367][/DOUBLEPOST]is not the problem, the problem in the plug-in, I is set to "teamdedmatch" server there all right, but this does not work. what to do?

GunGame
GunGame event for EventManager
Total Downloads: 3,871 - First Release: Dec 1, 2015 - Last Update: May 21, 2017
- 5/5, 18 likes
-
Hey, how do you remove the machete from the standard items?
[DOUBLEPOST=1456780451,1456718034][/DOUBLEPOST]Machete removal answered and cant figure out auto execute in event manager. Please helpes
[DOUBLEPOST=1456782764][/DOUBLEPOST]Um, I meant I changed Machete to "false" in GunGame onfig but nothing changed, still got it. I also think I put it in Events Manager correctly to run auto but when I type event.launch I get "No Events were successfully initialized"
Not sure what to do, seemed straight forward, any help is appreciated.
{
"AutoEvents - Activate": true,
"AutoEvents - Announce Open Interval": 30,
"AutoEvents - Config": {
"0": {
"closeonstart": "false",
"gametype": "Deathmatch",
"maxplayers": "6",
"minplayers": "2",
"spawnfile": "GUNGAMEspawnfile",
"timelimit": "null",
"timetojoin": "90"
}
},
"AutoEvents - Event cancel timer": 600,
"AutoEvents - Interval between 2 events": 600,
"Broadcast - Broadcast join message during a round": false,
"Broadcast - Join message interval": 60,
"Default - Game": "GunGame",
"Default - Spawnfile": "GUNGAMEspawns",
"Messages - Error - Multiple players found": "Multiple players found",
"Messages - Error - No players found": "No players found",
"Messages - Event - Begin": "Event: {0} is about to begin!",
"Messages - Event - Cancelled": "The Event was cancelled!",
"Messages - Event - Closed": "The Event entrance is now closed!",
"Messages - Event - End": "Event: {0} is now over!",
"Messages - Event - Join": "{0} has joined the Event! (Total Players: {1})",
"Messages - Event - Left": "{0} has left the Event! (Total Players: {1})",
"Messages - Event - MaxPlayersReached": "The Event {0} has reached max players. You may not join for the moment",
"Messages - Event - MinPlayersReached": "The Event {0} has reached min players and will start in {1} seconds",
"Messages - Event - Opened": "The Event is now open for : {0} ! Type /event_join to join!",
"Messages - Event - Pre-End": "Event: {0} is now over, waiting for players to respawn before sending home!",
"Messages - Event Error - Already Closed": "The Event is already closed.",
"Messages - Event Error - Already Joined": "You are already in the Event.",
"Messages - Event Error - Already Opened": "The Event is already open.",
"Messages - Event Error - Already Started": "An Event game has already started.",
"Messages - Event Error - Close&End": "The Event needs to be closed and ended before using this command.",
"Messages - Event Error - No Games Undergoing": "An Event game is not underway.",
"Messages - Event Error - No SpawnFile": "A spawn file must first be loaded.",
"Messages - Event Error - Not In Event": "You are not currently in the Event.",
"Messages - Event Error - Not Registered Event": "This Game {0} isn't registered, did you reload the game after loading Event - Core?",
"Messages - Event Error - Not Set": "An Event game must first be chosen.",
"Messages - Event Error - SpawnFile Is Null": "The spawnfile can't be set to null",
"Messages - Permissions - Not Allowed": "You are not allowed to use this command",
"Messages - Reward - Current": "You have {0} tokens",
"Messages - Reward - Doesnt Exist": "This reward doesn't exist",
"Messages - Reward - GUI Message": "You currently have <color=green>{0}</color> tokens.",
"Messages - Reward - Help": "/reward \"RewardName\" Amount",
"Messages - Reward - Message": "You currently have {0} for the /reward shop",
"Messages - Reward - Negative Amount": "The amount to buy can't be 0 or negative.",
"Messages - Reward - Not Enough Tokens": "You don't have enough tokens to buy {1} of {0}.",
"Messages - Reward - Reward Description": "Reward Name: {0} - Cost: <color={4}>{1}</color> - {2} - Amount: {3}",
"Messages - Status - Closed & End": "There is currently no event",
"Messages - Status - Closed & Started": "The Event {0} has already started, it's too late to join.",
"Messages - Status - Open": "The Event {0} is currently opened for registration: /event_join",
"Messages - Status - Open & Started": "The Event {0} has started, but is still opened: /event_join",
"Settings - authLevel": 1
} -
Autoevents are setup in the top part of config, you have the game type set to deathmatch. In regards to machetes, Did you reload plugin after making changes to the config?
-
I've actually tried with it setup as game type "GunGame"
I've unloaded, reloaded a bunch of times and machetes are still appearing. When I type "event.launch" with it setup as described above (even with GunGame game type) I still get back on the console
"[Oxide] 1:05 PM [Info] [Event Manager] No Events were successfully initialized, check that your events are correctly configured in AutoEvents - Config"
Should I possibly delete the mod and events manager and re-install? We have a wipe coming this Thursday and am trying to set this up. Appreciate the help, love the mod.
[DOUBLEPOST=1456849574,1456833999][/DOUBLEPOST]I have un-loaded, re-loaded changed configs, changed everything and still same result.
[DOUBLEPOST=1456930005][/DOUBLEPOST]This is what I get when trying to setup GunGame in AutoEvents. I am not even modifying anything major. I can run it normal as long as Im in but I cannot for the life of me get it to auto run. Please help
[Oxide] 3:44 PM [Error] Failed to call hook 'ccmdEventLaunch' on plugin 'EventManager v1.2.20' (KeyNotFoundException: The given key was not present in the dictionary.)
[Oxide] 3:44 PM [Debug] at System.Collections.Generic.Dictionary`2[System.String,System.Object].get_Item (System.String key) [0x00000] in :0
at Oxide.Plugins.EventManager.AutoEventNext () [0x00000] in :0
at Oxide.Plugins.EventManager.LaunchEvent () [0x00000] in :0
at Oxide.Plugins.EventManager.ccmdEventLaunch (.Arg arg) [0x00000] in :0
at Oxide.Plugins.EventManager.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in :0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in :0 -
Send me your event manager config
-
I have tried almost anything. When I make the event "1" instead of "0" it notices it but gives me all those errors. If I leave it "0" its like it doesnt even recognize the game. Thanks for all your help.
I'm just trying to get GunGame working automatically every 4 hours with machetes turned off with a min players=2 and max =8
[DOUBLEPOST=1456958491,1456947735][/DOUBLEPOST]Sitting here trying to work on it and thought sharing might help. After I edit, I unload GunGame, reload EventManager, load GunGame. When I load GunGame this is the messages I get,
[Oxide] 11:38 PM [Info] GunGame was compiled successfully in 326ms
[Oxide] 11:38 PM [Info] Loaded plugin Gun Game v0.2.92 by k1lly0u
[Oxide] 11:38 PM [Info] [Gun Game] Modified by TheMechanical97
[Oxide] 11:38 PM [Info] [Event Manager] Registered event game: GunGame
Now when I get those errors I've been just typing event.launch and thats when those failed hooks and stuff come up but from the looks of that last line it seems like EventManager sees the event. Am I doing something wrong? Just thought I'd share and askAttached Files:
-
-
Oddly enough it won't work for me either lol, even with the standard config... Please post about it in EventManager's support thread
-
Yea I have but no help over there. I'll re-post, thanks
-
Can you add rocket launchers to this?
NVM: I figured it out. I dont know any c# but it was cleanly written so I figured it out. Nice plugin!Last edited by a moderator: Mar 4, 2016 -
I have an issue, when i set zone eject true they will spawn outside of zone with rank1 weapon- ak . When i set eject to false they spawn correctly in spawn places but they have their own items ..
-
I think event manager might need a update for latest zonemanager, I'll check it out tonight
-
-
Hello, I think you misspelled shotgun as shotgun when calling for the ammo in your code and therefore there is no extra ammo. No big deal but it would probably be best to update it. Thanks for this awesome mod btw!
Also if I may make a request, I was doing this myself with your code but messed up somehow, if we could replace machette downgrade with any weapon we chose and instead put the previous item back into the game that would be awesome. For example, I wanted torch to be the default mele that downgrades. I got it to work but I had accidentally apparently not added machete as a weapon in place of the torch into the ranks -
-
Edit You are a hero x2, I just realized I can now control the amo type of a gun that I repeat through the ranksLast edited by a moderator: Mar 5, 2016 -
I also encountered an issue where a player would lose his items that matched the kit/weapons etc he was given in the event. For example he would have metal chestplate and some rifle bullets in inventory. He joins in and when game is over he would lose the plate and bullets.
EDIT: They are still spawning inside zone with their own items and outside with AK.
Do i need to use Kits plugin or something?
EDIT2: Now i got them to spawn inside the zone. But they will spawn with rank 1 weapon AK. Also it requires me to reload GunGame plugin every time after a game, otherwise they will spawn inside with their own items.
HELP!?Last edited by a moderator: Mar 5, 2016 -
-
Thanks,
k1lly0u, could you help me? I have to reload gungame plugin every time a game ends. Otherwise players will spawn in the arena with their own items. -
-
For me, the first time it works. Then i have to reload it, otherwise players spawn in with their own items. Ive seen some other comments regarding this issue aswell :/ . Im guessing that it might be your plugin(no offense) because i have to reload GunGame and nothing else.
Edit: just tried it again, everything else is working except i have to reload the plugin before each game otherwise they spawn with their own items. idk how to fix this :SLast edited by a moderator: Mar 5, 2016