The online racing simulator
Tool to change Tracks on Dedi Server ?
Does someone know a tool that changes Tracks on Dedi Server automatic? So that i will change Track after 10 Races or 60 Minutes ?

Thx
#2 - X-Ter
Vcom can change track after X number of races. Is that good enough?
Yep VCOM is the mod you want, we have it running on three servers and it's working a treat, also has quite a few other excellent functions.
VCOM seems to be the right tool.
But i have problems to get it working
I First start LFS DEDI X10.
When i start VCOM after that i allwys recieve message:
NO ANSWER FROM LFS and that LFS must run Insim.
Im running Insim with port 29999! I think the prob is my Configuration of VCOM.
I dont know how to setup the IPs and Ports for VCOM and LFS.
Thats how i configurated it.

Quote :// address and port of the vcom used to contact lfs
vcom_address=192.168.2.3:29997;
//vcom_address=192.168.0.2:29997;

/ where lfs is running (iport)
lfs_address=192.168.2.3:29999;
//lfs_address=127.0.0.1:35000;
//lfs_address=192.168.0.2:29999;

I only filled in the IP of my Network Controller. Is this right ? Or what else should i fill in ? What ports do they mean ?
Before i was trying VCOM i run LFS Lapper and it worked fine.
Sorry for my bad english

Oh Ive forgoten, on the Server there is a Message: "Insim: first byte in packet does not mach size"
If the LFS server is also on your PC, just do this.

127.0.0.1 as the IP address in all parts

in the LFS dedi, type /insim 29999 - it will ensure the insim port is open.
I have done what you said.
Thats what Vcom shows after start:
LFS IP: 127.0.0.1
LFS Port (insim):29999
Vcom IP: 127.0.0.1
Vcom Port (insim): 29997

And the same error message:
"NO ANSWER FROM LFS and that LFS must run Insim."
"Retrying connection"

Still no connnection to Insim can be established

What else could be the failure ? Anyone an idea?
lfs dedi console show anything?

anything about invalid packets, or unexpected anything?
Have you set the admin password properly?
Ahmm Console ???
In the dedi server window there is the message:
"Insim: first byte in packet does not mach size"

I joined as Admin on the Server and typed /insim 29999 like you told me.
Answer was: Insim port 29999
Yes admin password is set properly
"Insim: first byte in packet does not match size"

that would be your issue there mate. . Just double check all the settings.
I have Version 0.455 maybe to old

I try the new one.

Thanks to you all, i hope it will work
Versions up to 0.461 work in LFS version up to W (before the insim update). Versions 0.470 and newer work only in LFS X and newer.

EDIT: where on earth people manage to get that old versions. Even I would need to recompile it.
With the new Version Vcom works fine.
Thank you guys for your help.

Now im going to find out more about the functions of Vcom.
I allready found an very interessting one. The XML output of Race Results.

Am i able to let Vcom upload this results to my Homepage ? That would be veeerrrrryyy nice.

But maybe also very complicated
Quote from BMWMaster81 :
Am i able to let Vcom upload this results to my Homepage ? That would be veeerrrrryyy nice.

If it is possible to reach the homepage directory with a link (directory path, not a DNS name) from the server. Then you can set the output directory in the setup file. For example: output_directory=~/public_html/lfs/results;

Note that in the above example the public_html need not to be a true directory in your home directory and it can be a link into a directory in a different server. (e.g See 'map network drive' in Windows explorer)

EDIT: If not, there are programs which can send files automaticly e.g via ftp.
I have Vcom set on my server, and I have a program that automagically uploads stuff as soon as there's a change. So I created a mirror of the "Out" and "Pics" folder on my web hotel and as soon as something happens on the LFS server, the results ge uploaded.

Check out SCORE and the XR Challenge section. to see what I'm talking about. The auto uploader is called Fling and it's available on Download.com

Best of luck to you
X-Ter, your homepage looks very nice. I also would like to add such functions on mine.

Im asking me how you did manage it to link the data on your homepage server.

I mean that Vcom writes the race results to files, and each file gets a new name. So when i upload the files, and make a link to one after few races there are other files which must be linked because they are newer.

Hmm do you have a script for that ? Or are you making allways new links manually?
Vcom makes new (individual) filenames for races, not for best laps. So I manually link race results, but the best lap logging is fully automated now.
Yes.
The best lap output files are like sb_<track>.xml (e.g. sb_AS2.xml for Aston club). The number of tracks is quite limited (around 25 plus the reversed versions), so the index page shouldn't be so hard to make.

The race output is harder, because the number of races (and race outputs) can be almost infinite (limited basicly only by the file system). You could make a link to the directory whey they are located and user can click the file he/she wants to see.

I could make it that an index page (e.g list of files in XML) for the race outputs is updated. In the matching XSL file user could then define how the index page looks like. I just don't know how well you can import that to your homepgae if you have some monster css, shtml thing.
If you make the output index page in plain old HTML, everyone should be able to read it right? Just putting the race outputs in a dir doesn't work on my web hotel (I get a 403 failure). Don't know why actually... Security reasons?
Quote from X-Ter :If you make the output index page in plain old HTML, everyone should be able to read it right? Just putting the race outputs in a dir doesn't work on my web hotel (I get a 403 failure). Don't know why actually... Security reasons?

403 Forbidden
The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. If the server does not wish to make this information available to the client, the status code 404 (Not Found) can be used instead.



Do you have permits for other people to read the directory?

HTML is little bad because it is both data and presentation, while XML is only data. If I make it HTML I would also need to decide how it should look (w/o css). (e.g should i use table, list or what to show the links)
As I understand it, there has to be a HTML page displaying things. You can not point the browser just to the directory. Only to a specific file in it.
Quote from X-Ter :As I understand it, there has to be a HTML page displaying things. You can not point the browser just to the directory. Only to a specific file in it.

Yes an no. You can usually just point a directory (w/o an index file), but the server returns you a html file which lists the files in the directory. (if there is an index file, you get it instead)

For example:
http://www.simrs.com/images/ss/
I first will try to display only best lap files on my page. Thats relative easy.

But at the time i have the problem, that noone joins to my server.

When my server were in demo mode, it nearly always was full, most time above 10 players.

Now im running in S2 mode and noone joins. The problem is that there are more demo players than s2.

Most players have switched off empty servers. Maybe i stop running my server 7/24 and only run it when want to play with friends.

ill try it during the next 7 day or so. Will see if players join.
1

FGED GREDG RDFGDR GSFDG