Discussion in 'Automobilista - Links & Resources' started by gongo, Jun 17, 2016.
Time my friend , just time
Alrighty, I finally tracked down the blue flag issue and fixed it forever. As it turns out, the safety car and trucks around the track were causing most of the issue since they populate in the opponent grid but are set to controlType = nobody. Filtering them out and checking for cars only 40 meters back instead of 80 helps reduce the false-positives to nearly none. And now I'm checking that the vehicle behind is going at least as fast as the player so that only vehicles with a similar or faster pace can trigger it.
Also, the Crew Chief now works when the car is under AI control as well to account for people who may have the pit assist turned on (also helps to not miss out on session data).
I'm working on getting the pit window notifications to work in single player/offline races against AI.
Timing is coming along nicely, just a couple of things here and there to test and tweak before I send another update over to the boss man.
Gongo - is that pull request complete and finished? Not sure if I'm reading it right, but I think it might have been a bit mangled. There's a single pull request but when I look at the 'changed files' I don't see many changes - for example, the RF1GameStateMapper in the pull request isn't the 'rewritten' version you committed a couple of days ago.
Can you check that PR contains all the stuff you need? Ta
@mr_belowski Yup, it's complete. I made a couple last-minute additions when I realized you were likely asleep, and for some reason the web interface won't show the diff but it does say "CrewChiefV4/RF1/RF1GameStateMapper.cs
499 additions, 836 deletions not shown because the diff is too large. Please use a local Git client to view these changes."
It should merge okay.
sweet, i'll have another look shortly and merge that mofo. If I have the time and energy when I'm back from work I'll add some missing sound recordings and cut another release
i dun merged dat innit
I have successfully merged the exquiste and well structured pull request submitted by esteemed colleague Gongo
Good stuff. I've got to grab the CART Extreme mod tonight and do some testing. I'm afraid that the linear interpolation might not be keeping up with the drastic acceleration values on these higher powered cars.
I had 10 minutes on one of the ovals in the CART mod last night and the spotter seemed to be doing a decent job
Can you guys post the changelog here when you update the app ?
I like to inform our drivers of the changes and notify of something good they can use from it.
My drivers are impressed. Thank you from Shadowracingrsa. You guys ROCK!!!
The app should show you the release notes when it gives you the auto-update notification. Also, the release notes are available in the ReadMe.txt.
Awsome ! Thanks!
Didn`t see anything about this yet, but a few of our drivers mentioned that they have a lot of difficulties on the start of a race when they are on the back of the grid.
On most tracks you can`t see the Lights nor listen to the sound of the beeps.
Is there any plan of adding an audio reporting the start of the race ?
There is a "Green Green Green" voice
Was it on SP ?
Just tried yesterday in a multiplayer race (formation lap & standing start) and didn`t got the "Green Green Green" voice!
Yeah it should give a green green green when the lights go. If it doesn't it might indicate a problem with the session state mapping, but it's been substantially rewritten so there's not point in investigating till the next release.
Speaking of which, I'll try to do it this evening - been a massively long day so I'll only do it if have enough brain left to not cock it up. It definitely won't include the green-flag-after-a-yellow addition cos that requires code changes and I'm completely coded out for the day
Just to report that on Sp and MP you can set 4 possible ways to start the race:
1=formation lap & standing start,
2=lap behind safety car & rolling start,
4=fast rolling start
Maybe they act different on each way.
Just pushed out 22.214.171.124 which includes gongo's mapper rewrite, so once the auto updater has done its thing give it another try
The different ways to start the race don't really matter since eventually they all go to the Green session phase. The voice will call the start of the race on the first transition to Green for a session. The only time it won't is if you're running a single player race and click "restart race" after the session has gone Green since I didn't account for that in my rewrite. I've just written the change for that and I'll be testing tonight. It won't go live until 126.96.36.199 though since I want to collect feedback and fix anything that I may have broken with my re-write.
Something to note is that in single player the app may go a little crazy on reporting position changes if you're running with duplicate AI (more cars than there are driver entries). For example, Lancer R only has 10 cars so if you load up a grid with 19 opponents, it goes bananas every time one of the duplicates passes the other. I've just written a potential fix for that and I'll be testing that tonight. It's another change that will wait until 188.8.131.52. If it works like I hope, it should also be portable to R3E to help with duplicate AI opponents.
I've added detection for when the player goes off-track and will be adding detection for when the player is approaching the track surface after being off-track. From there we'll be able to support a "watch out for traffic" or "all clear" type message. I'm hoping to have this detection complete for 184.108.40.206 as well.
I've removed the "invalid lap/lap deleted" messages for 220.127.116.11 since they were causing confusion and not entirely accurate anyway.
The app should now be reporting sector gaps and lap time gaps.
Thanks, and keep racing!
Separate names with a comma.