VM LiveView Lite for rFactor & rFactor2

@Val: You forgot the ":" behind case "#314 - Scuderia Test"

E.g.: case "#314 - Scuderia Test": ...

@Hepmi: You'd like to offer or u need them?

Cheers
Frank


I do not know how to install it, you should be a moment help me with that? write PM if yes :)
 

Cmon Val, what is wrong with the code? I know u can do it ... :)
Code:
$vehicleImage = "./img/CarP1.png"
switch($rowSlots["Vehicle"])[COLOR="#FF0000"]{[/COLOR]
   case "#314 - Scuderia Test": $vehicleImage = "./img/CarP1.png"; break;
   case "#408 - SimRace Vereninging Nederland GT2": $vehicleImage = "./img/CarP1.png"; break;

Another hint: Special characters like "#" used in source codes can be a real pain in your a.s.s. every once in a while ... ;)

Cheers
Frank
 
Last edited by a moderator:
What should I do first? Unpack the file. Pak rar rFactor2 copy the folder into the game. I will put a Mysql Mysql database? or what should I do? and what to do with Apache? Server on RF2 me running on Windows Server 2012
 
What should I do first? Unpack the file. Pak rar rFactor2 copy the folder into the game. I will put a Mysql Mysql database? or what should I do? and what to do with Apache? Server on RF2 me running on Windows Server 2012

The very first step is to have a running Apache / php / MySQL (APM) environment. If you don't know how to do this, I suggest u start with something like WAMP ( http://www.wampserver.com/en/ ), although I do NOT recommend this for a production environment but as a first step in getting used to APM, it is good place to start ...

Cheers
Frank
 
i have activated succesfully this Live/hotlaps for rf2.

Web: http://web.campeonatopdlr.com/vmliveview/

I confirm that work fine with IIS7.5 in WinServer2008 & mysql.


One question, is it possible 2 servers on same "core folder" with diferents PLRfilename's?

a little add: rfactorSL.exe could hide it and show it as icon task bar (icon min.)

Great job,
 
i have activated succesfully this Live/hotlaps for rf2.

Web: http://web.campeonatopdlr.com/vmliveview/

I confirm that work fine with IIS7.5 in WinServer2008 & mysql.


One question, is it possible 2 servers on same "core folder" with diferents PLRfilename's?

a little add: rfactorSL.exe could hide it and show it as icon task bar (icon min.)

Great job,

Hi fast,

never tested it with IIS but good to know ... thx 4 sharing this info :)

I really don't know what u mean by this.
One question, is it possible 2 servers on same "core folder" with diferents PLRfilename's?
Can u give me an example please ...

Thanx & Cheers
Frank
 
Look our scenario:

1 instalation (with separate core and data folders)

We have two profiles, each one in diferent ports, we can launch each profile working fine but when i install your plugin i look your tool showing track label blinking between two diferents servers track.
 
Look our scenario:

1 instalation (with separate core and data folders)

We have two profiles, each one in diferent ports, we can launch each profile working fine but when i install your plugin i look your tool showing track label blinking between two diferents servers track.

Ah ok, now I understand.

I think in this way it is not possible to make the plugin work for two separate instance.

What u might do is the following:

Copy your current installation to a separate folder and outsource the Packages folder maybe this way ...

C:\Games\rFactor2 Packages
C:\Games\rFactor2 Instance 1
C:\Games\rFactor2 Instance 2

Start the Launch rFactor.exe in each instance folder and under Advanced change the Data Path of each instance to point to the right directory.

Rename the server profiles to e.g.:

C:\Games\rFactor2 Instance 1\UserData\DedicatedServer\rFactor2 DS X1.plr
C:\Games\rFactor2 Instance 2\UserData\DedicatedServer\rFactor2 DS X2.plr

Now let instance 1 + 2 point to C:\Games\rFactor2 Packages. This way u can at least save a little amount of disk space. With this u can configure a second instance of the database-website-loader combination. The first loader grabs the data from C:\Games\rFactor2 Instance 1\VMHotlaps and writes it to db1 sharing its information through website1 and do the same for instance 2, grabbing the data from C:\Games\rFactor2 Instance 2\VMHotlaps writing it to db2, sharing it through website2.

Hope this helps ...

Cheers
Frank

PS: To overcome this, it might be a good idea to use the <PlrFileName> return value for a sub-directory name under ..\VMHotlaps\.. like ..\VMHotlaps\rFactor2 DS X2\CurrentScoring.xml within the plugin for a possible next relase ...
 
Last edited by a moderator:
yes, duplicate servers its one posibility, but... sometimes we have 5-6 instances for rfactor and setup vmhotlaps each instance its something boried;)

Now you have something for spend your time.... if you want ofcourse! hehe...
 
yes, duplicate servers its one posibility, but... sometimes we have 5-6 instances for rfactor and setup vmhotlaps each instance its something boried;)

Now you have something for spend your time.... if you want ofcourse! hehe...

Quick and dirty, just to see whether it satisfies your needs.

It creates a subfolder within the ..\VMHotlaps\.. folder based on the <PlrFileName> tag and writes the scoring data to this subfolder.
 

Attachments

Back
Top