NFSU.cc / RE Atlas / Traffic Simulation

Free Run traffic placement

Traffic Simulation 13 verified Speed.exe addresses Speed.exe (2003, x86)

Question: Free Run asked for 18 traffic cars, the race had 9 (1003) and 13 (1010). Where do they go?

Measured (native, RN_FREELOG, host/free.c free_place = 0x598bf0 step by step, PATCH 0x422b36)

the "18" only holds for tracks with count 12 (1001 and the WORLD's 1010).

In Free Run 0x421a50 is false (route 0x5991a0 never runs). With 26 asked: 1001 14, 1010 13, 1003 26.

Why the last resort fails (replay of its checks, 3000 tries per lost car, 1010)

The pool is this+0xc = 520 road nodes (the base track's network; the merged TRACKB keeps only that one). Of 3000 random nodes: 2000 fail 0x4420a0 (node flag +0x84 bit 25), ~900 fail 0x59aa60, about 4 pass. 0x59aa60 (spacing test) fails on two rules, both from the track table [[0x736174] + side * 4 + ...]:

Pool saturation, not a lifter or placer bug: more tries cannot help beyond ~14 cars at 500 m / 31 m. Capacity by clear zone (26 asked, 1010, one run each): 500 m 13, 300 m 16, 200 m 18, 100 m 20, 0 m 23; zone 0 with 20 m spacing 26.

Fix (host/free.c free_place, only while free mode is live; RN_FREE=0 = as shipped)

Result (native, 5 runs: 1003, 1001, 1010 x3 seeds): 19 asked, 19 placed in every run. 21 asked: 1 lost in 4 runs; 22: 0 of 2. 19 is the safe default; the rides cap (64 entrants since PATCH 0x4322e0, cmp [race+0x12c], 0x40, was 30) is not the limit, the network is. More density needs a bigger traffic network (OPENWORLD E) or a shorter spacing (+0xd4, 20 m gave 26 with zone 0).