Dynamic erode server setting

Post your suggestions here
User avatar
Lnxa
Crushed Dissenter
Posts: 1161
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.
[center][b]|[/b] 2013 EMF MX1 Champion - 3x rF 450 MX Champion ('15/'16/'17) [b]|[/b]
[url=http://www.youtube.com/Lnxamxs]Youtube[/url] [url=https://www.twitch.tv/lnxa]Twitch[/url]
"I hit my desk too hard again and my game crashed" -Rush[/center]
[img]https://yip.su/1w7sq7[/img]

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

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

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

User avatar
Jakob Hubbard
Posts: 576
Joined: Fri Nov 24, 2017 3:16 am
Team: BPC
Location: Cold

Re: Dynamic erode server setting

Postby Jakob Hubbard » Thu Dec 14, 2017 2:23 pm

jlv wrote: Wouldn't qualifying with erode on be a terrible idea though?

I agree, people qualifying with erode would allow people to either be at an advantage or disadvantage based on how the erode evolves. It just doesn't seem really fair when it comes to qualifying in different servers with different lines.

User avatar
Lnxa
Crushed Dissenter
Posts: 1161
Joined: Thu Jan 19, 2012 4:36 am
Team: Privateer

Re: Dynamic erode server setting

Postby Lnxa » Thu Dec 14, 2017 7:02 pm

Jakob Hubbard wrote:
jlv wrote: Wouldn't qualifying with erode on be a terrible idea though?

I agree, people qualifying with erode would allow people to either be at an advantage or disadvantage based on how the erode evolves. It just doesn't seem really fair when it comes to qualifying in different servers with different lines.

Mainly Just want it for public servers so if theres no one on to change the setting it will change automatically depending on if there's 5 or 20 people.
[center][b]|[/b] 2013 EMF MX1 Champion - 3x rF 450 MX Champion ('15/'16/'17) [b]|[/b]
[url=http://www.youtube.com/Lnxamxs]Youtube[/url] [url=https://www.twitch.tv/lnxa]Twitch[/url]
"I hit my desk too hard again and my game crashed" -Rush[/center]
[img]https://yip.su/1w7sq7[/img]

User avatar
Jakob Hubbard
Posts: 576
Joined: Fri Nov 24, 2017 3:16 am
Team: BPC
Location: Cold

Re: Dynamic erode server setting

Postby Jakob Hubbard » Thu Dec 14, 2017 8:56 pm

Lnxa wrote:Mainly Just want it for public servers so if theres no one on to change the setting it will change automatically depending on if there's 5 or 20 people.

Totally understandable dude :)

ShackAttack12
Posts: 3124
Joined: Fri May 09, 2008 1:51 am
Location: San Diego, CA

Re: Dynamic erode server setting

Postby ShackAttack12 » Fri Dec 15, 2017 3:57 pm

I mentioned this in the online erode snapshot thread back in July:

viewtopic.php?f=1&t=46044&p=790230&hilit=erode#p790230
ShackAttack12

| 2010 Supercross Champ | 2011 Supercross Champ | 2019 Supercross Champ |

User avatar
cale726
Posts: 582
Joined: Mon Aug 31, 2015 3:11 pm
Team: mbb

Re: Dynamic erode server setting

Postby cale726 » Wed Dec 20, 2017 4:52 am

ShackAttack12 wrote:I mentioned this in the online erode snapshot thread back in July:

viewtopic.php?f=1&t=46044&p=790230&hilit=erode#p790230

congrats
jlv wrote:This unban is going to last maybe two days...
I figured I'd give him a chance after winning the 450 main. Bad idea I know.


Image


Return to “Suggestion Box”

Who is online

Users browsing this forum: No registered users and 25 guests