mxserver-2019-11-17-1519

Post anything about MX Simulator here. Please. I'm begging you.
jlv
Site Admin
Posts: 13728
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

mxserver-2019-11-17-1519

Postby jlv » Mon Nov 18, 2019 3:11 am

Changes:
  • Added "redirectslot" command.
  • Added "ready_handler" to Javascript API.
  • Added "drop_time" to mxserver.get_number() variables.
  • Added erode voting to callvote script.
  • Added "emptyhook.js" example script.

mxserver-2019-11-17-1519.zip

Tutorial on how to run a server, compiled by yzmxer608 located here.
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.

Brendan.28
Posts: 13
Joined: Tue Apr 07, 2020 4:37 pm
Team: Privateer

Re: mxserver-2019-11-17-1519

Postby Brendan.28 » Tue Apr 14, 2020 8:42 pm

How do you put erode on mxserver?

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

Re: mxserver-2019-11-17-1519

Postby jlv » Wed Apr 15, 2020 12:43 am

It's in the readme file.

README.TXT wrote:--erode <amount>

Sets the erode amount. Can be between 0 and 100. Default is 0.
Example: --erode 20
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
Wahlamt
Posts: 7608
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: mxserver-2019-11-17-1519

Postby Wahlamt » Thu Apr 16, 2020 7:07 am

Brendan.28 wrote:How do you put erode on mxserver?

If you're admin/marshal on the server:
server, erode 10
For erode 10

kawy949
Posts: 977
Joined: Sat Feb 11, 2012 11:33 pm
Location: UK
Contact:

Re: mxserver-2019-11-17-1519

Postby kawy949 » Mon May 18, 2020 8:22 pm

Hey JLV,

Hope all are well?

I'd like to be able to get a track list from an external source, posting to the UDP port /listtracks returns nothing, and there is nothing in the server logs. Is there any chance of being able to return the servers internal list of tracks? Seeing as server,addtrack doesn't add this to the serverargs otherwise we would just parse this etc.

Any thoughts would be appreciated.

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

Re: mxserver-2019-11-17-1519

Postby jlv » Tue May 19, 2020 12:56 am

You have to use javascript. You can either hook the addtrack command or use mxserver.getstring("tracklist", index) to enumerate the tracks. Use mxserver.string_to_file to write the list out to a file.
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.

kawy949
Posts: 977
Joined: Sat Feb 11, 2012 11:33 pm
Location: UK
Contact:

Re: mxserver-2019-11-17-1519

Postby kawy949 » Tue May 19, 2020 10:39 am

jlv wrote:You have to use javascript. You can either hook the addtrack command or use mxserver.getstring("tracklist", index) to enumerate the tracks. Use mxserver.string_to_file to write the list out to a file.

That's great, thanks JLV - I wasn't in the know (been a while) with regards to the JS API so thanks for that :D


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest