Dynamic erode server setting

Post your suggestions here
User avatar
Lnxa
Posts: 863
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) |
http://www.youtube.com/Lnxamxs
"I hit my desk too hard again and my game crashed" -Rush

jlv
Site Admin
Posts: 12375
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: 55
Joined: Fri Nov 24, 2017 3:16 am
Team: RockyMountainATV/Mc

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.
~Jakob Hubbard
bmx2k02 wrote:Hubbard Dirtworks is a joke...

User avatar
Lnxa
Posts: 863
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.
| #9 Jesse Mullins |
| 2013 EMF MX1 Champion - 3x rF 450 MX Champion ('15/'16/'17) |
http://www.youtube.com/Lnxamxs
"I hit my desk too hard again and my game crashed" -Rush

User avatar
Jakob Hubbard
Posts: 55
Joined: Fri Nov 24, 2017 3:16 am
Team: RockyMountainATV/Mc

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 :)
~Jakob Hubbard
bmx2k02 wrote:Hubbard Dirtworks is a joke...

ShackAttack12
Posts: 3087
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 |

DJ99X wrote:Aka shack is right


Return to “Suggestion Box”

Who is online

Users browsing this forum: No registered users and 2 guests