hey guys, i am wondering how rF and other people are running these events. I beleive its from a command line and text file but im not sure?
I would like to know how you set up a race to include certain UIDs in a race, for example heat 1 and heat 2 they disable/enable certain UIDs to be in the race.
Thank you.
Running server
-
rewrew421
- Posts: 1421
- Joined: Thu Dec 13, 2007 12:41 am
- Team: Privateer
- Location: West Kentucky, USA
Running server
D.Eckels #421 "The O-G"
-
yzmxer608
- Posts: 15352
- Joined: Mon Dec 29, 2008 4:30 am
- Team: SYS
- Location: Wisconsin, U.S.A
Re: Running server
They made scripts to do it, I'm not totally sure on how those work, but the commands are
server, forcespec x x x / all
server, forceplay x x x / all
Where the x's are uid's and 'all' either forces everyone in spec mode or in play mode.
server, forcespec x x x / all
server, forceplay x x x / all
Where the x's are uid's and 'all' either forces everyone in spec mode or in play mode.
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
-
jlv
- Site Admin
- Posts: 15396
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: Running server
Before the 2011 season I did it all by hand. I was a busy guy on race night! Now we upload scripts to the server via ssh/scp.
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.
-
rewrew421
- Posts: 1421
- Joined: Thu Dec 13, 2007 12:41 am
- Team: Privateer
- Location: West Kentucky, USA
Re: Running server
Yea i figured thats how it was done but how do you get the scripts todo it with out restarting the server?
Im guessing its nuthin in the arg files then right?
Im guessing its nuthin in the arg files then right?
D.Eckels #421 "The O-G"
-
jlv
- Site Admin
- Posts: 15396
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: Running server
There are scripts like this that you run with "server,exec heat1list.mxs". My scripts were made with a combination of emacs and unix shell scripts. Not sure what the rF guys make them with.
==> heat1list.mxs <==
#mxserverscript
broadcast #################### Heat 1 Lineup ####################
broadcast 34 dxb_BARRY #34
broadcast moy moy_shack
broadcast 221 BARRY-Jones221
broadcast 9 Team Whipstyle-Jeremy09
broadcast 149 dxb_DJD
broadcast 161 MXSP-Motox161
broadcast 239 VHR-Twitch #239
broadcast 17 santos_17(portugal)
broadcast 88 StanStix-ZaneMx88
broadcast 909 StanStix-McNeil
broadcast SNP Yamaha285
broadcast N*C NOR*CAL
broadcast 54 Little Barry #54
broadcast 211 PitProMx.com-Moto4life211
broadcast 413 tcr-LuckyDuck#13
broadcast 349 N.Sabina 349
broadcast 92 kyle
==> heat1set.mxs <==
#mxserverscript
forcespec all
forceplay 616 631 22 3128 398 377 1964 1455 55 661 149 496 47 1423 12 1034 323 3118 1809 1949
==> heat1list.mxs <==
#mxserverscript
broadcast #################### Heat 1 Lineup ####################
broadcast 34 dxb_BARRY #34
broadcast moy moy_shack
broadcast 221 BARRY-Jones221
broadcast 9 Team Whipstyle-Jeremy09
broadcast 149 dxb_DJD
broadcast 161 MXSP-Motox161
broadcast 239 VHR-Twitch #239
broadcast 17 santos_17(portugal)
broadcast 88 StanStix-ZaneMx88
broadcast 909 StanStix-McNeil
broadcast SNP Yamaha285
broadcast N*C NOR*CAL
broadcast 54 Little Barry #54
broadcast 211 PitProMx.com-Moto4life211
broadcast 413 tcr-LuckyDuck#13
broadcast 349 N.Sabina 349
broadcast 92 kyle
==> heat1set.mxs <==
#mxserverscript
forcespec all
forceplay 616 631 22 3128 398 377 1964 1455 55 661 149 496 47 1423 12 1034 323 3118 1809 1949
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.
-
isacult
- Posts: 305
- Joined: Sun May 27, 2012 10:34 pm
- Team: BakerMX.com
- Location: Charlotte, NC
- Contact:
Re: Running server
jlv you use emacs too ?? xDjlv wrote:There are scripts like this that you run with "server,exec heat1list.mxs". My scripts were made with a combination of emacs and unix shell scripts. Not sure what the rF guys make them with.
==> heat1list.mxs <==
#mxserverscript
broadcast #################### Heat 1 Lineup ####################
broadcast 34 dxb_BARRY #34
broadcast moy moy_shack
broadcast 221 BARRY-Jones221
broadcast 9 Team Whipstyle-Jeremy09
broadcast 149 dxb_DJD
broadcast 161 MXSP-Motox161
broadcast 239 VHR-Twitch #239
broadcast 17 santos_17(portugal)
broadcast 88 StanStix-ZaneMx88
broadcast 909 StanStix-McNeil
broadcast SNP Yamaha285
broadcast N*C NOR*CAL
broadcast 54 Little Barry #54
broadcast 211 PitProMx.com-Moto4life211
broadcast 413 tcr-LuckyDuck#13
broadcast 349 N.Sabina 349
broadcast 92 kyle
==> heat1set.mxs <==
#mxserverscript
forcespec all
forceplay 616 631 22 3128 398 377 1964 1455 55 661 149 496 47 1423 12 1034 323 3118 1809 1949
Justin Baker | BakerMX.com #51
AWood wrote:WOOO BAKER
AWood wrote:Your excuses are about as shitty as mike Alessi on pulp MX show
-
jlv
- Site Admin
- Posts: 15396
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: Running server
Yeah, emacs is my main operating system...
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.
-
isacult
- Posts: 305
- Joined: Sun May 27, 2012 10:34 pm
- Team: BakerMX.com
- Location: Charlotte, NC
- Contact:
Re: Running server
stackin macro on macros on macros.jlv wrote:Yeah, emacs is my main operating system...
I was the nut at work who preferred emacs over textmate..they don't even know what they're missinggg.
Are you a Lisp fan or no?
Justin Baker | BakerMX.com #51
AWood wrote:WOOO BAKER
AWood wrote:Your excuses are about as shitty as mike Alessi on pulp MX show
-
jlv
- Site Admin
- Posts: 15396
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: Running server
Sort of, but I don't like the nested parenthesis any more than the next guy. Given a choice I'd probably use Javascript for everything since it has Lisp like features with easier syntax.
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.
-
isacult
- Posts: 305
- Joined: Sun May 27, 2012 10:34 pm
- Team: BakerMX.com
- Location: Charlotte, NC
- Contact:
Re: Running server
True, the language and future specs been developed like crazy the past few years.jlv wrote:Sort of, but I don't like the nested parenthesis any more than the next guy. Given a choice I'd probably use Javascript for everything since it has Lisp like features with easier syntax.
My last position I was hired to just write javascript for a bank haha. fun.
Justin Baker | BakerMX.com #51
AWood wrote:WOOO BAKER
AWood wrote:Your excuses are about as shitty as mike Alessi on pulp MX show