mxserver-2016-12-01-1322
-
- Crushed Dissenter
- Posts: 326
- Joined: Mon Oct 13, 2014 3:46 pm
- Team: MTFactory
-
- Crushed Dissenter
- Posts: 326
- Joined: Mon Oct 13, 2014 3:46 pm
- Team: MTFactory
-
- Crushed Dissenter
- Posts: 326
- Joined: Mon Oct 13, 2014 3:46 pm
- Team: MTFactory
Re: mxserver-2016-12-01-1322
Can i have a file like lineup-file but with list of tracks who are on my server ?
Re: mxserver-2016-12-01-1322
hello all,
i'm using this server for a long time, but a few weeks ago i try to start the server and everything was fine but it is running really slow idk what is wrong is it my pc or is it a program problem ?
i'm using this server for a long time, but a few weeks ago i try to start the server and everything was fine but it is running really slow idk what is wrong is it my pc or is it a program problem ?
Re: mxserver-2016-12-01-1322
Try set it as high priority on your pc, in task manager.jason155 wrote:hello all,
i'm using this server for a long time, but a few weeks ago i try to start the server and everything was fine but it is running really slow idk what is wrong is it my pc or is it a program problem ?
Discord: StorkeN#6883 - StorkenMXS Youtube - StorkenMXS Instagram - StorkenMXS Facebook - TMFR on Faceboook
Re: mxserver-2016-12-01-1322
Do you Mean to set Mx simulator in priority or thé program that is Running thé server ?Wahlamt wrote:jason155 wrote: Try set it as high priority on your pc, in task manager.
And thanks for thé help
Re: mxserver-2016-12-01-1322
The server, so mxserver.exe I think it is called. Server programming running when the server is on.jason155 wrote:Do you Mean to set Mx simulator in priority or thé program that is Running thé server ?Wahlamt wrote:jason155 wrote: Try set it as high priority on your pc, in task manager.
And thanks for thé help
Discord: StorkeN#6883 - StorkenMXS Youtube - StorkenMXS Instagram - StorkenMXS Facebook - TMFR on Faceboook
Re: mxserver-2016-12-01-1322
i have tried it again but it is stilll running slow, maybe a little faster but still not fast enoughWahlamt wrote: The server, so mxserver.exe I think it is called. Server programming running when the server is on.
Re: mxserver-2016-12-01-1322
Are you doing a lot of other things on your pc? I know that when I played sim and had a server running at the same time, it was no problem, but if I started to watch a youtube video or so on chrome, it would run really slow.jason155 wrote:i have tried it again but it is stilll running slow, maybe a little faster but still not fast enoughWahlamt wrote: The server, so mxserver.exe I think it is called. Server programming running when the server is on.
Discord: StorkeN#6883 - StorkenMXS Youtube - StorkenMXS Instagram - StorkenMXS Facebook - TMFR on Faceboook
Re: mxserver-2016-12-01-1322
no i am closing everything when i am playing mx simulator, but in the beginning i used the server tool there were no problemsn and one day it start running slow but i changed nothing i guesWahlamt wrote: Are you doing a lot of other things on your pc? I know that when I played sim and had a server running at the same time, it was no problem, but if I started to watch a youtube video or so on chrome, it would run really slow.
-
- Posts: 261
- Joined: Thu Sep 13, 2012 5:49 pm
- Team: MXS-Concept.com
- Location: Switzerland
- Contact:
Re: mxserver-2016-12-01-1322
Hi JLV,
I set up a windows server actually and I'm getting error even if all users included Everybody got the total control of the lineup files.
I saw in 2008 the RF had this issue but there isn't any comment about the resolution.
I set up a windows server actually and I'm getting
Code: Select all
Can't rename lineup file: File exists
I saw in 2008 the RF had this issue but there isn't any comment about the resolution.
Niko | Mouk Lab | Admin of MXS-Concept // MyMXB // MXBikes-Shop // among others. | YouTube
Re: mxserver-2016-12-01-1322
That's actually somewhat hard to fix. When the server updates the lineup, it writes the lineup to a temporary file and then renames it over the specified lineup file. It does it that way so the update will be atomic - anything reading the lineup file will never see an empty or incomplete lineup. The best I can do to fix it would be to remove the lineup file before renaming the temporary file on Windows servers. That won't be atomic though, if a script checks at the wrong time the file won't be there.
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: 261
- Joined: Thu Sep 13, 2012 5:49 pm
- Team: MXS-Concept.com
- Location: Switzerland
- Contact:
Re: mxserver-2016-12-01-1322
Yeah windows is actually doing shit when you try to rename. This is tricky but here is how I already figured out this rename issue, use
instead of the
Reference : https://ss64.com/nt/move.html
Code: Select all
move /Y lineup.txt.updating lineup.txt
/Y placed after move will overwrite without confirmation.
Code: Select all
ren or rename
Niko | Mouk Lab | Admin of MXS-Concept // MyMXB // MXBikes-Shop // among others. | YouTube
Re: mxserver-2016-12-01-1322
Digging a little deeper it looks like I'd have to use MoveFileTransacted() to get the desired atomic operation. Only problem is Microsoft says not to use it right there in the documentation. I think I'll just do "remove(fn);rename(tmp,fn);". There'll be a tiny window where the file doesn't exist but scripts can either poll until it gets renamed or use Linux if you want something more robust.
...and done:
http://mxsimulator.com/snapshots/mxserv ... 5-1346.exe
...and done:
http://mxsimulator.com/snapshots/mxserv ... 5-1346.exe
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: 261
- Joined: Thu Sep 13, 2012 5:49 pm
- Team: MXS-Concept.com
- Location: Switzerland
- Contact:
Re: mxserver-2016-12-01-1322
Thanks for the release. I know how better is Linux but my friends helping are too neophytes to use it
Niko | Mouk Lab | Admin of MXS-Concept // MyMXB // MXBikes-Shop // among others. | YouTube