Page 2 of 4

PostPosted: Sun Jan 29, 2012 2:26 am
by satoon101
I guess I could add something that allows for that in. The reason I chose to do everything random is that a lot of people have issues on their server when everyone just hits "1" by default when a menu comes up. Also, you can have more gamemodes than there are choices in the menu (since only 9 are allowed in the menu), so it randomly chooses which ones to show.

Satoon

Re: gg_winner_menu v1.1

PostPosted: Sun Jan 29, 2012 2:51 am
by TheAvenger99
That's what I thought too. Then I had people who said they could read them all in the time allowed so they couldn't make a choice.

Either way I like it. I'm just not sure of Python all that much and not sure of the syntax for all the options. I think I saw where it needed to be done, but I don't like breaking things. lol

Still a good mod just thought I would ask. Yeah, I read about the 9 and we only have 7 or 8 right now.

Thanks for all your work and if it can be done great! If not, still going to use the mod, too many people like the choices every map (as do I).

PostPosted: Sun Jan 29, 2012 3:16 am
by satoon101
I haven't tested any of the changes, so please let me know if anything is broken or if it works fine:
*Removed since 1.4 was released.

Satoon

PostPosted: Sun Jan 29, 2012 3:22 am
by TheAvenger99
oh ok ... thanks. I'll let you know.

got people playing right now. will let you know as soon as I can.

Thanks again

PostPosted: Sun Jan 29, 2012 7:37 pm
by TheAvenger99
Ok ... I was assuming that this should create a new gg_winner_menu.cfg file when loaded. It is not creating a new one and it seems the old one doesn't do much for it either. I have tried a couple different ways but have had no luck thus far.

PostPosted: Sun Jan 29, 2012 8:50 pm
by satoon101
What version of GunGame51 are you running? It should update the gg_winner_menu.cfg with a new variable called gg_winner_menu_random. Leaving it set to 0 and having less than 9 choices in the menu, should cause it to show up the same every time.

Satoon

PostPosted: Sun Jan 29, 2012 9:20 pm
by TheAvenger99
Version ... 5.1.517
Yeah, that's what I thought too. Once I put the other version back it created the gg_winner_config.cfg as I would have expected.

PostPosted: Sun Jan 29, 2012 9:23 pm
by satoon101
Yeah, there have been a whole lot of updates since 5.1.517. I updated the script to utilize the new method of creating the cfg files. You will need a newer version of GunGame installed to use it.

Satoon

PostPosted: Sun Jan 29, 2012 9:27 pm
by TheAvenger99
oh ok ... sorry about that. I will do that right away. Thanks ... Didn't even realize I was that far behind with updates :(

PostPosted: Sun Jan 29, 2012 10:14 pm
by TheAvenger99
Ok. New version loads fine. I apologize for the goose chase. I will keep you informed of any problems with the mod.

Thanks again!

PostPosted: Sun Jan 29, 2012 10:15 pm
by satoon101
Yeah, 5.1.517 is from last May. You might be interested in a few other additions that we have made since then:
viewtopic.php?f=70&t=1947

Let me know if the menu operates properly.

Thanks,
Satoon

PostPosted: Sun Jan 29, 2012 11:25 pm
by TheAvenger99
So far so good. YEah, I saw those two options and was going to look into a bit more. Thanks again!

Re: gg_winner_menu v1.1

PostPosted: Mon Jan 30, 2012 4:04 pm
by TheAvenger99
Well, I will get back to you regarding what's going on. The menu appears to be working but as far as everything else I seem to be getting strange results. Not sure what's going on just yet, I have been reading some things regarding the warmup round and all.

PostPosted: Mon Jan 30, 2012 6:05 pm
by satoon101
Oh, I forgot to give you this link as well:
viewtopic.php?f=70&t=1998

When we added the new gamemodes, we knew that Warmup needed to be modified. This was the best solution to that issue.

If you have any questions about it, feel free to post in that thread and I'll do my best to answer.

Satoon

PostPosted: Tue Jan 31, 2012 7:48 am
by satoon101
I made some further changes if anyone cares to test out for me. I added in the ability to set a "default" gamemode that will be loaded on server start. This way, the Winner Menu will know how to unload the gamemode that GunGame starts with properly. You will need to load it once, then modify the new gg_winner_menu_default variable to the name of one of your gamemodes. I'm going to rewrite all of it here pretty soon, but I want to get this feature out while I am thinking about it.
*Removed since 1.4 was released.

Satoon

PostPosted: Tue Jan 31, 2012 5:47 pm
by EVILJESUS
Thank you scope for the credit. Thats all I wanted. Now i'm off to learn python.

PostPosted: Tue Jan 31, 2012 6:42 pm
by satoon101
No problem. I'm not scope, btw, that used to be Warren's name.

Satoon

Re: gg_winner_menu v1.1

PostPosted: Tue Jan 31, 2012 7:54 pm
by EVILJESUS
hrmmm could have sworn it was you that changed the name my bad.

Re: gg_winner_menu v1.1

PostPosted: Wed Feb 01, 2012 4:19 am
by Warren
EVILJESUS wrote:hrmmm could have sworn it was you that changed the name my bad.

Probably because Satoon is super-active on GunGame like I used to be. Go Satoon! =D

PostPosted: Wed Feb 01, 2012 5:41 pm
by tnarocks
confused on the new version i set one server to deathmatch and the other to elimination and restarted them and it still sets them on reg. was it supposed to set it on what i put in the config file?