Open Pitbi opened 9 years ago
Hey, i do this too late in the night.
The method to get cuts number is not good. it would be better to match number. Because if cuts are 10, my method return 0.
I have not tested but it should be better:
...
acRE.cuts = /^Result.OnLapCompleted.\sCuts:\s(\d+)$/;
...
if (acRE.cuts.test(line)) {
var match = line.match(acRE.cuts);
lap.cuts = match.pop();
}
Bye.
Hey Pitbi, you seem to know your javascript, i'm trying to ask you since the original developer haven't been active on github for over 6 months now, i have this issue: https://github.com/schmic/ac-monitor/issues/21 which i posted on the ac-monitor as i didn't notice it had it's own seperate git, but do you have any idea why i'm having these issues? And does yours work fine, if you're still using it ?
Hey,
I don't know if this is a known issue. I do not use ac-monitor since a long time. I stopped my project for AC. Sorry can not help you.
Good luck!
Hello guys,
First, I want to tell you that ac-server-ctrl and ac-monitor is a really good job. I have a proposition for adding track driver cuts in lap times parser. I think is a important information.
Sorry for using issue but I did not create a branch for a pull-request.
/libs/parsers/laptimes.js
Hoping that you like it.
Bye.