The online racing simulator
Automaticly load layout
(8 posts, started )
Automaticly load layout
I've searched the forum, but haven't found an answer.

Is it possible to automaticly load a layout when starting a dedicated server?

I've tried setting /axload [layoutname] and /axload=[layoutname] in the configuration file, but then LFS throws an error and the dedicated server won't start.
-
(CheerioDM) DELETED by Flame CZE : not relevant / spam
Name it [trackcode]_.lyt in the layout folder
Technical Assistance
Sorry Flame.
Threads posted in the wrong section are fair game.
Quote from boothy :Name it [trackcode]_.lyt in the layout folder

The layout is called: FE1_tyres.lyt

So I entered this in the server config file: /axload FE1_tyres.lyt
Or this: /axload=FE1_tyres.lyt
Or this: /axload FE1_tyres
Or this: /axload=FE1_tyres

But as soon as I try to start the dedicated server, I get: Parameter 38 is invalid

The rest of my config files is this:

/host=[REMOVED FOR SECURITY REASONS]
/pass=[REMOVED FOR SECURITY REASONS]
/admin=[REMOVED FOR SECURITY REASONS]
/port=[REMOVED FOR SECURITY REASONS]
/insim=[REMOVED FOR SECURITY REASONS]
/mode=s2
/usemaster=yes
/track=FE1
/weather=1
/wind=0
/cars=XFG
/adminslots=2
/maxguests=35
/carsmax=32
/carshost=1
/carsguest=1
/pps=4
/qual=240
/laps=10
/dedicated=nogfx
/vote=no
/select=no
/rstmin=120
/rstend=120
/autokick=no
/midrace=yes
/mustpit=no
/canreset=no
/fcv=no
/cruise=no
/modified=no
/start=finish
/Welcome=ab_welcome.txt
/log=.\s_logs\15-AB-TST.txt
/autosave=2
/mprdir=.\mpr\15-AB-TST
/lytdir=layout
Just put the layout file in layout folder of your host! [hostfolder]\data\layout
Quote from Eclipsed :Just put the layout file in layout folder of your host! [hostfolder]\data\layout

The layout already is in that folder, but when I start the dedicated server, it only loads track FE1 and not the adjusted layout as mentioned in my previous postings. So I wondered if it could be set in the config file?
It should autoload.. At least on track change.
For me it always had on host start too. I just put layout in that needed folder,configure host for track,start it and everything always been ok. So - don't know where could be a problem... Maybe try to download fresh host files from lfs.net?

Automaticly load layout
(8 posts, started )
FGED GREDG RDFGDR GSFDG