the wiki doc:
https://wiki.autosportlabs.com/RaceCapt ... _Scripting
... indicates initSer returns 1 or -1, but the function actually returns true or false.
in lua: "1 ~= true"
so
if initSer( ... ) == 1 then
never gets here.
use:
if initSer( ...) then
works.
This took me way too long to figure out.