Dynamic erode server setting

Post your suggestions here
User avatar
Posts: 856
Joined: Thu Jan 19, 2012 4:36 am
Team: Privateer

Dynamic erode server setting

Postby Lnxa » Thu Dec 07, 2017 1:49 am

Could you make it so the erode number automatically changes based on how many people are in the server? Would be great for qualifying servers where an admin isn't in the server 24/7 to change the erode number.
| #9 Jesse Mullins |
| 2013 EMF MX1 Champion - 3x rF 450 MX Champion ('15/'16/'17) |
"I hit my desk too hard again and my game crashed" -Rush

Site Admin
Posts: 12355
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing

Re: Dynamic erode server setting

Postby jlv » Thu Dec 07, 2017 2:47 am

Wouldn't be too hard to make a script do that and it'd probably be a good idea for a fun server. Wouldn't qualifying with erode on be a terrible idea though?

Here's an attempt at the script (for bash). Not tested at all.

Code: Select all

while sleep 60
    count=$(wc -l <${lineupfile})
    erode=$((count > 35 ? 5 : 40 - count))
    echo -e x${password}erode $erode >/dev/udp/
Josh Vanderhoof
Sole Proprietor
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.

Return to “Suggestion Box”

Who is online

Users browsing this forum: No registered users and 1 guest