The online racing simulator
Distance doesn't work?
Hey!

I have recently tried to run a LFS server on Debian 6.0 with latest PHP. I turned on distance plugin, started PRISM (configured before, welcome message works well, buttons don't) and joined the game. Nothing happened - no buttons, no errors. Same files work on Windows. What's the problem then?

EDIT: Even on windows it's bugged
What version are you running? Where there any errors?
The newest version, I don't really see any errors. After short debugging it seems that MCI packet isn't even recieved.
You have to turn that on in your flag settings. Go to the hosts.ini file, and change the settings as it shows in the first few lines.
PPS or sth is set to 4, which should be ok.
I don't think you understand, PRISM has it's own settings that you must change to allow it to get MCI packets. This is because it's up to the InSim application (Such as PRISM) to request these details from the InSim host (In this case, the LFS Server.) To do that you have to change the settings for the host to include the MCI flag. The default value right now is ISF_MSO_COLS (8) & ISF_CON (64), or 72. You have to add ISF_MCI (32) to get MCI packets. This is not explicit, you have to set the flags your self in the hosts.ini file.

[localhost]
; Host 1 - Your local LFS Server.
; The IP Address we are going to attempt a connection on.
ip = "127.0.0.1"
; The Port we are going to attempt the connection on.
port = 29999
; Optional UDP Port to receive MCI / NLP packets on
; Use 0 to skip this port and receive MCI / NLP via regular TCP
[b]udpPort = 29999[/b]
; Number of MCI or NLP packets to get a second.
[b]pps = 4[/b]
; Set connection flags
; 4 : ISF_LOCAL - guest or single player
; [b]8 : ISF_MSO_COLS - keep colours in MSO text[/b]
; 16 : ISF_NLP - receive NLP packets
; [b]32 : ISF_MCI - receive MCI packets[/b]
; [b]64 : ISF_CON - receive CON packets[/b]
; [b]128 : ISF_OBH - receive OBH packets[/b]
; [b]256 : ISF_HLV - receive HLV packets[/b]
; [b]512 : ISF_AXM_LOAD - receive AXM when loading a layout[/b]
; [b]1024 : ISF_AXM_EDIT - receive AXM when changing objects[/b]
[b]flags = 2024[/b]
; Separate port to listen on for OutGauge packets.
; You must manually edit LFS's cfg.txt to have LFS send OutGauge packets to this port.
; Use 0 to skip this port.
outgaugePort = 0
; Default Password to Attempt
password = "password"
; Socket Connection Type
; 0 - Use Best
; 1 - Use TCP
; 2 - Use UDP
socketType = 2

The flags settings above will give you the most amount of detail possible right now (2024).

FGED GREDG RDFGDR GSFDG