I'm not InSim programmer (at least not yet), but had a quick look. Some things I noticed...
struct IS_NLP // Node and Lap Packet { ..... word NumNodes; // total number of nodes in the path word FinishLine; // the node number of the finish line .... };
So I understand two words NumNodes and FinishLine are sent in each IS_NLP/IS_MCI, but those cannot change during race? Why not have a special packet for track info, including there also nodes for split lines, possibly some other info about track (total length comes to mind)?
// RaceLaps (rl) : (various meanings depending on range)
// 0 : practice // 1-99 : number of laps... laps = rl // 100-190 : 100 to 1000 laps... laps = (rl - 100) * 10 + 100 // 191-238 : 1 to 48 hours... hours = rl - 190
Dunno, is there really need to squeeze this into one byte and also limit possible race lengths? Just word for laps and/or minutes would seem more logical. This is same also in replays so is it also what LFS internally uses?
Hmmm no, it's one of ugliest cars I've ever seen. But agreed that it's not suitable for racing at all. I guess it's very likely that its real life version drives as bad, as it's designed & built by some amateurs in backyard or something.
For me in pool 2 shortest race ever - mysteriously slided off track in T1, and got some nice damage. Also apologies to somebody I hit in process, don't know who that was.
Minor thing with AIs. If AIs are added ingame with /ai command, all of them use same colours, same as 1st AI added with "Add AI driver" button on setup screen.
Also, if you already have 30 or 45 sec time penalty from false start, then you can't get it for speeding in pitlane. In case of 45 sec penalty nothing happens, and if you have 30 already, can drive up to 100 kmh. That noticed in single player.
This maybe is improvement suggestion (sorry then ), but shouldn't penalties add up? That is, if you have already drive through, and then get another, it would turn into stop&go, if have stop & go already and get another, should stop for longer etc.
Actually this was happening to me also, while using old mozilla (more asterisks appear in pw field). Had to attempt login 2-3 times until it worked. Now with Firefox some asterisks jump out of nowhere also when I hit enter but login actually works every time.
Only ever seen this on liveforspeed.net, so there must be smth special about it.
As subject says, no registered name is shown on ctrl + shift, name goes blank instead. This is like that quite long time already, I remember it used to work in S1 at least.
Also, if replay is restarted, controller type (W, M, etc) next to name disappears.
Maybe it's me but I find it hard to do more than 2-3 laps with RB4 at full speed until tyres overheat too much. Perhaps I don't have good setups but RB4 only seems to be competetive in very short races.
In overtaking lessons, some players actions affect the PRO AI. If lesson starts with auto gears on, and then shift + G is pressed, PRO can't change gears any more, and player still is in automatic. Only first shift + G press seems to work this way though, subsequent presses do nothing. Also, if player drives over speed limit in pitlane, it's PRO who receives penalty.
And shift + G press currently also stops replay recording, which causes lesson to never end and not possible to end it with Esc or shift + X either. Only way to get out without killing LFS process is if there is "/end" set to some F key.
Also, after starting any lessons, strategy for fuel/tyres is reset to 50%/50%/30%.
Thanks Xeno for another nice event. Good write up also, though we were driving on Gold, not Green Fern Bay config. Congrats to BigTime, pro driving! 2nd is good result for me considering I haven't touched XRR for ages.
Tomorrow I maybe try FZ5 (though I don't like that car at all).
Got crash with W, was hosting online game with layout on KY3, race ended, clicked "end online game" and LFS crashed right away, address 0x0000000000050001.