Title: Common issue with map rotation messed up Post by: Cacatoes on April 21, 2009, 02:10:58 PM When people are allowed to vote, it sometimes screws up the map rotation of the server.
Am I doing something wrong, or is this a bug ? I wish there was a way to start back rotation of maps with a single callvote command ;) (being admin, "vstr right_variable" does the job) It's a minor improvement, but that may avoid a few cases where servers are staying misconfigured for too long. Edit: the best option may be to avoid map rotation being broken ;) Title: Re: Common issue with map rotation messed up Post by: sago007 on April 21, 2009, 02:30:26 PM On the server running oaxB35 you can use custom vote to restore map rotation.
Just place a votecustom.cfg file like this (warning - untested code) in the mod dir: Code: { "/custom/" must be in g_voteNames Then it can be restored by calling "/callvote custom restore" or through the Vote menu. Title: Re: Common issue with map rotation messed up Post by: 0kelvin on April 21, 2009, 02:52:53 PM openarena
Title: Re: Common issue with map rotation messed up Post by: sago007 on April 21, 2009, 03:01:35 PM I don't like OA mapvote screen, the fonts are big and everytime I click the arrow to scroll down I have to wait some seconds before it scrolls, sometimes move the pointer in and out and click many times to select a name. Or use keyboard arrows and press enter. I have noticed that the mouse had problems.I didn't know why for a long time so I couldn't fix it. But a few days ago Superbots,Grunt told be that it worked if you pressed "Back" and selected it again... and it does. This gives me an idea on what is wrong. About the delay on page change... it is a design decision. I only send one mappage at a time meaning that every time you hit an arrow the client will make a call to the server for the next page. The alternative was to send all maps but that could cause problems if the server had too many maps and it would be a waste if the client never wanted to vote for a map change. Title: Re: Common issue with map rotation messed up Post by: Cacatoes on April 21, 2009, 03:44:21 PM On the server running oaxB35 you can use custom vote to restore map rotation. Just place a votecustom.cfg file like this (warning - untested code) in the mod dir: Code: { "/custom/" must be in g_voteNames Then it can be restored by calling "/callvote custom restore" or through the Vote menu. This is really interesting, I didn't check well OAX's features but this is promising, I'll give it a try, thank you ;) Title: Re: Common issue with map rotation messed up Post by: Cacatoes on April 21, 2009, 04:19:07 PM Little problem with it, the vote still can't be called.
Directory listing: Code: ~/.openarena/oaxB35$ ls -l votecustom.cfg Code: ~/.openarena/oaxB35$ cat votecustom.cfg I have enabled voting (extract from server2.cfg) : Code: // --- votes --- Inside OA, I type : Code: /callvote custom Code: Custom vote commands are: So I'm not sure votecustom.cfg is correctly read ... Title: Re: Common issue with map rotation messed up Post by: sago007 on April 22, 2009, 02:25:52 AM votecustom.cfg Code: ~/.openarena/oaxB35$ cat votecustom.cfg (...) So I'm not sure votecustom.cfg is correctly read ... Try 'votecommand' instead of 'vodecommand' Title: Re: Common issue with map rotation messed up Post by: Cacatoes on April 22, 2009, 12:22:41 PM :D
I knew that was something like this, I'll try ;) |