Dynamic erode server setting
Dynamic erode server setting
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]
[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]
Re: Dynamic erode server setting
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.
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.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 1152
- Joined: Fri Nov 24, 2017 3:16 am
- Team: Phil's
- Location: Cold
- Contact:
Re: Dynamic erode server setting
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.jlv wrote: Wouldn't qualifying with erode on be a terrible idea though?
Re: Dynamic erode server setting
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.Jakob Hubbard wrote: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.jlv wrote: Wouldn't qualifying with erode on be a terrible idea though?
[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]
[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]
-
- Posts: 1152
- Joined: Fri Nov 24, 2017 3:16 am
- Team: Phil's
- Location: Cold
- Contact:
Re: Dynamic erode server setting
Totally understandable dudeLnxa 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.
-
- Posts: 3131
- Joined: Fri May 09, 2008 1:51 am
- Location: San Diego, CA
Re: Dynamic erode server setting
I mentioned this in the online erode snapshot thread back in July:
http://forum.mxsimulator.com/viewtopic. ... de#p790230
http://forum.mxsimulator.com/viewtopic. ... de#p790230
ShackAttack12
| 2010 Supercross Champ | 2011 Supercross Champ | 2019 Supercross Champ |
Re: Dynamic erode server setting
congratsShackAttack12 wrote:I mentioned this in the online erode snapshot thread back in July:
http://forum.mxsimulator.com/viewtopic. ... de#p790230
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.