fazerbox
Registered
Hi,
I have developed 2 Plugins for rFactor MapPlugin, G27Plugins and a new one is in development, I hope to release it soon
before rFactor2 .
I have some questione about future Plugin development:
1) will you release some samples how to develop plugins for rFactor2 and a clear docs? will examples released at the same time of rFactor2?
2) rFactor Plugin interface seems not thinked for graphical Plugins. Actually all rFactor Graphical plugins use a proxy DirectX d3d9.dll.
This is a problem if you want to use more graphical plugins.
Will you extend plugin interface to support native Graphical Plugins? And chain of plugins?
3) I have noticed that UpdateScoring( const ScoringInfoV2 &info ) function is called about 2 times for seconds, and this cannot be changed.
I understand that this is for performance reason. But when I use d3d9.dll I can insert poor performance even if telemetry infos are updated 2 times for second, because I intercept DirectX call and insert my code. So I think this limit should be removed.
This 2 Hz rate causes me problems because cars move jumping, if I don't predict positions.
Can you please insert frequency update in configuration file like Config.ini.
I think it should be very nice to have a different update rate for differente plugins.
4) TelemInfoBase.mTrackName[64] stores only track name. This is a problem in Track mod like Vallelunga where you have 5-6 different layout all with the same name "vallelunga"
In my MapPlugin, I cannot retrieve correct layout from mTrackName. I read gdb full path name from memory. I don't like this but is my only chances.
5) When on Car selection mSession = 0 . The same for Test Day. Can you please uses a different number ?
6) About TelemInfoBase.mLapStartET.
First time I press Race mLapStartET is 0 or -1 and this is correct. This indicates that is not a valid Lap.
I have to pass starting line to starts a new Lap. This is OK.
But after a Lap if I press ESC and jump to PitBox and Press Race again, mLapStartET is not resetted it stores previous value, so it seems that I'm on a valid Lap.
Can you reset TelemInfoBase.mLapStartET when in Pit-Box? Not in Pit-Lane ?
7) In MapPlugin I read AIW files to draw Track Map, Will AIW file present in rFactor2? It will be clear text as rFactor?
It should be possible to retrieve Track Coordinates from rFactor2 Plugins Interface without decode AIW File?
8) VehicleScoringInfo.mBestSector1, VehicleScoringInfo.mBestSector1, VehicleScoringInfo.mBestLap
In Telemetry Interface these parameters may refers to different Laps.
Ex Driver Fazer does these Laps
Lap 8
Sector1 20.00
Sector2 50.00
LapTime 1.20.00
Lap 9
Sector1 18.00
Sector2 50.00
LapTime 1.21.00
Lap 10
Sector1 21.00
Sector2 49.00
LapTime 1.25.00
You have
VehicleScoringInfo.mBestSector1 = 18.00 From Lap 9
VehicleScoringInfo.mBestSector2 = 49.00 From Lap 10
VehicleScoringInfo.mBestLap = 1.20.00 From Lap 8
Should be usefull to have Sector1 and sector 2 time2 relative to Lap where BestLap was setted.
T1 = 21.00 (Lap 10)
T2 = 49.00 (Lap 10)
LapTime = 1.25.00 (Lap 10 - Best Lap )
9) ScoringInfoV2.mPlrFileName . This parameter actually stores PLR file without Extention and Path.
Shoud be usefull to have ex. c:\rFactor\Userdata\Fazerbox\Fazerbox.plr , so you can Access ti plr directly.
10) I have noticed, that sometimes if you enter/exit, re-enter to online race that:
ScoringInfoBase.mNumVehicles report correct number of cars, but for a brief time ( less that 0.5 s ) One of these cars has mPlace > mNumVehicles .
11) Will you insert voice command in rFactor2?
12) Will you integrate some like TeamSpeak?
I hope I haven't annoyed you with all these questions
But Some points are important for people like me who likes to develop plugin for rFactor.
rFactor is a fantastic game, a Great Game, and thanks to modders, it is not a simple game but more Games in one.
Thanks ISI for this great Game.
Max.
I have developed 2 Plugins for rFactor MapPlugin, G27Plugins and a new one is in development, I hope to release it soon
I have some questione about future Plugin development:
1) will you release some samples how to develop plugins for rFactor2 and a clear docs? will examples released at the same time of rFactor2?
2) rFactor Plugin interface seems not thinked for graphical Plugins. Actually all rFactor Graphical plugins use a proxy DirectX d3d9.dll.
This is a problem if you want to use more graphical plugins.
Will you extend plugin interface to support native Graphical Plugins? And chain of plugins?
3) I have noticed that UpdateScoring( const ScoringInfoV2 &info ) function is called about 2 times for seconds, and this cannot be changed.
I understand that this is for performance reason. But when I use d3d9.dll I can insert poor performance even if telemetry infos are updated 2 times for second, because I intercept DirectX call and insert my code. So I think this limit should be removed.
This 2 Hz rate causes me problems because cars move jumping, if I don't predict positions.
Can you please insert frequency update in configuration file like Config.ini.
I think it should be very nice to have a different update rate for differente plugins.
4) TelemInfoBase.mTrackName[64] stores only track name. This is a problem in Track mod like Vallelunga where you have 5-6 different layout all with the same name "vallelunga"
In my MapPlugin, I cannot retrieve correct layout from mTrackName. I read gdb full path name from memory. I don't like this but is my only chances.
5) When on Car selection mSession = 0 . The same for Test Day. Can you please uses a different number ?
6) About TelemInfoBase.mLapStartET.
First time I press Race mLapStartET is 0 or -1 and this is correct. This indicates that is not a valid Lap.
I have to pass starting line to starts a new Lap. This is OK.
But after a Lap if I press ESC and jump to PitBox and Press Race again, mLapStartET is not resetted it stores previous value, so it seems that I'm on a valid Lap.
Can you reset TelemInfoBase.mLapStartET when in Pit-Box? Not in Pit-Lane ?
7) In MapPlugin I read AIW files to draw Track Map, Will AIW file present in rFactor2? It will be clear text as rFactor?
It should be possible to retrieve Track Coordinates from rFactor2 Plugins Interface without decode AIW File?
8) VehicleScoringInfo.mBestSector1, VehicleScoringInfo.mBestSector1, VehicleScoringInfo.mBestLap
In Telemetry Interface these parameters may refers to different Laps.
Ex Driver Fazer does these Laps
Lap 8
Sector1 20.00
Sector2 50.00
LapTime 1.20.00
Lap 9
Sector1 18.00
Sector2 50.00
LapTime 1.21.00
Lap 10
Sector1 21.00
Sector2 49.00
LapTime 1.25.00
You have
VehicleScoringInfo.mBestSector1 = 18.00 From Lap 9
VehicleScoringInfo.mBestSector2 = 49.00 From Lap 10
VehicleScoringInfo.mBestLap = 1.20.00 From Lap 8
Should be usefull to have Sector1 and sector 2 time2 relative to Lap where BestLap was setted.
T1 = 21.00 (Lap 10)
T2 = 49.00 (Lap 10)
LapTime = 1.25.00 (Lap 10 - Best Lap )
9) ScoringInfoV2.mPlrFileName . This parameter actually stores PLR file without Extention and Path.
Shoud be usefull to have ex. c:\rFactor\Userdata\Fazerbox\Fazerbox.plr , so you can Access ti plr directly.
10) I have noticed, that sometimes if you enter/exit, re-enter to online race that:
ScoringInfoBase.mNumVehicles report correct number of cars, but for a brief time ( less that 0.5 s ) One of these cars has mPlace > mNumVehicles .
11) Will you insert voice command in rFactor2?
12) Will you integrate some like TeamSpeak?
I hope I haven't annoyed you with all these questions
But Some points are important for people like me who likes to develop plugin for rFactor.
rFactor is a fantastic game, a Great Game, and thanks to modders, it is not a simple game but more Games in one.
Thanks ISI for this great Game.
Max.
Last edited by a moderator: