How to make ONS->Random Map Pick <- show up..  (Read 16578 times)

pooty

  • Newbie
  • *
  • Posts: 6
  • Country: us
How to make ONS->Random Map Pick <- show up..
« on: May 05, 2022, 00:00 »
Hi,
I am an admin over at Omnipotents.
I am wondering how you set up the ONS -> Random Map Pick <- on your map voting?    Several of our players would like that options, would you be willing to share the secret.


Piglet

  • 1337
  • *
  • Posts: 3251
  • Country: gb
Re: How to make ONS->Random Map Pick <- show up..
« Reply #2 on: May 05, 2022, 20:03 »
Hi.

I think it's code from this that we're running: http://jochen-koehler.de/Wormbo/download2k4.html#RandomVoting

I vaguely remember merging several sets of vote-related code that wouldn't co-exist as separate things


pooty

  • Newbie
  • *
  • Posts: 6
  • Country: us
Re: How to make ONS->Random Map Pick <- show up..
« Reply #3 on: May 06, 2022, 00:00 »


We were looking to do two things:
1.  Vote for RandomlySelectedMap
I think its the Wormbo one I am looking for thanks!

2.  Make the startup/crash map be random.
I did take the code from RandomMap, and modify it a bit in a map that would force a reload to a random one from the list.   It works ok locally, but haven't tested it on dedicated server yet.

Piglet

  • 1337
  • *
  • Posts: 3251
  • Country: gb
Re: How to make ONS->Random Map Pick <- show up..
« Reply #4 on: May 06, 2022, 14:22 »
Hmmm - startup map...I just default. There's a bug in a bit of my code that makes the first map sometimes have way too many bots. It fills up the slots with bots. It's a pain!

Some day I will get the time and energy to pin down the problem and fix it!

Absolute_Madness

  • 1337
  • *
  • Posts: 600
  • Country: fr
Re: How to make ONS->Random Map Pick <- show up..
« Reply #5 on: May 10, 2022, 07:37 »
Hi.

I think it's code from this that we're running: http://jochen-koehler.de/Wormbo/download2k4.html#RandomVoting

I vaguely remember merging several sets of vote-related code that wouldn't co-exist as separate things

I confirm, that's this one we use on our servers

Piglet

  • 1337
  • *
  • Posts: 3251
  • Country: gb
Re: How to make ONS->Random Map Pick <- show up..
« Reply #6 on: May 11, 2022, 08:58 »
Well...code from it...merged into the map voting logic