Author Topic: -DP2skip: A vote to skip the map-  (Read 2500 times)

3lf

  • Map Committee
  • VM-68
  • Posts: 121
-DP2skip: A vote to skip the map-
« on: March 23, 2019, 09:54:30 AM »
Hey! It's me again with a new script.

beta 6
changelog:
name changes broke the script.. well no more!

beta 5
changelog:
nothing major

beta4
changelog:
made improvements to ui

beta 3
changelog:
made a separate config to keep the user made changes for future updates

source: https://github.com/aapokaapo/DP2skip/

What it is?:
- A vote to skip map
- To vote yes, say "!skip"
- If the majority votes yes, map will change to next one in rotation
- there is a 10 second timeout after first player joins the server to prevent the first player to pass a vote immediately after mapchange

yeah, that's about it...


to make the script work you need python and modified DPLib from this zip.


Installation:

This script is meant to be running serverside

download link here (GDrive)

1. Install python

2. Install DPLib
    - cd DPLib
    - python setup.py install --prefix=$HOME/.local

3. Configure config.py
    - set rotation file
    - set the path to servers qconsole.log and rcon password
« Last Edit: May 08, 2019, 12:42:39 AM by 3lf »

Toolwut

  • Stingray
  • Posts: 60
Re: -DP2skip: A vote to skip the map-
« Reply #1 on: March 23, 2019, 10:08:25 AM »
Definitely a thing this game needs, even if it should still contain bugs. These days a "full" server will get empty super quickly when theres a map nobody wants to play...

Playah

  • 68 Carbine
  • Posts: 485
Re: -DP2skip: A vote to skip the map-
« Reply #2 on: March 25, 2019, 05:15:11 PM »
Map skip voting? That's awesome!

JeongWa

  • Autococker
  • Posts: 554
Re: -DP2skip: A vote to skip the map-
« Reply #3 on: April 05, 2019, 03:50:38 PM »
Pretty useful but this isn't stable, you might wanna look into it.

3lf

  • Map Committee
  • VM-68
  • Posts: 121
Re: -DP2skip: A vote to skip the map-
« Reply #4 on: April 06, 2019, 12:17:07 AM »
Updated the timeout script. Now it actually works as described.

Pretty useful but this isn't stable, you might wanna look into it.
How exactly is the script not stable? I need info on what do I have to take a look at