The online racing simulator
Searching in All forums
(4 results)
GPS log importing
malex2
S2 licensed
Since this forum seems to be dedicated to potentially interesting ideas that will not likely be implemented, I'd like to add mine.

I want GPS log importing in LFS. I want to find a fun road, drive it while logging the GPS information, import this log into LFS, and have LFS create some terrain and scenery that follows the road. Yes, artificial scenery is never all that exciting, but just think of all those roads you've ever wanted to drive fast. Me, I'd take this over Nuerburgring.

\malex\
malex2
S2 licensed
Quote from Becky Rose :*thumbs up for adding h-shifter to the player flags*


Thank you, I will look into this - you may have spotted something I *should* have, but didn't .
EDIT: I've had a quick glance and it seems NPL is the player join packet, as far as I knew - and I may be wrong - it is not possible to request this packet. You get sent it when a player joins. Am I missing something?

Line 692 of my InSim.txt says you can request it. In the manager I'm writing, I also request them when I connect to LFS, to get the current state.

\malex\
malex2
S2 licensed
Quote from Becky Rose :Insim Feature Request
Hi, could it be possible to add the player flags (the one that stores driver controller/aids like throttle help etc) into the SPX or LAP packet please.

This would unfortunately make the packet incompatible.

I use this feature extensively now to control driver aid use on my servers, I check when people join, but drivers have complained that if they turn the aids on mid-race and get caught using driver aids they are banned for a day for cheating the system, as the ultimate deterrent.

If I could detect the driver aids mid-lap then I could just spectate them and that would be much better all round.

Thank you.

*iHug - The simpler non complicated hug from Apple*

Not to take this thread too far off topic, but can't the equivalent be achieved by sending an NPL InSimPack as a response to every SPX, or atleast every LAP, packet received from LFS? Of course, I've only started looking at InSim recently, so I could be missing something important.

\malex\
InSim perl module
malex2
S2 licensed
While working on an LFS addon, I wrote a small perl module to deal with InSim. It's not completely finished, and likely buggy, but some here may find it useful. I've only tried it on a Linux system, and am not sure how it will work on Windows.

InSim.pm sets up an InSim connection, listens for packets and calls various action subs with a decoded packet as a hash. It also deals with keep-alives, both sending them and responding to packets that have a VerifyId field. Additionally, since there are so many ways to identify a racer, it keeps lookup tables to convert between UName, ConnNum and UniqueId, and it tries to add a proper UName to all decoded packets.

You can get InSim.pm, along with some documentation at http://dsl.fatelectrons.org/InSim/. This is always the latest version, and may change unexpectedly.


\malex\
FGED GREDG RDFGDR GSFDG