Misc. questions... :-)

DimebagDK

Hi all.

I am making this utility for rFactor and I have run into some questions by now.
These are pretty random, but mostly of a technical character, so I though this was the best place to post them... :)


1.
Why on earth do my rFactor crash to desktop upon clicking something, IF I programatically start rFactor.exe with a simple ShellExecute command?
My current work-around is to write a temporary bat-file (start "" rfactor.exe param param param etc), launch this, wait for it to finish, and then delete the file again.
Although this works fine, it kinda annoys me, that the console-window flashes on the screen briefly, and generally I'm very curious about why rFactor.exe is behaving like this.
I've never seen another exe do this...

2.
Retrieving data from a dedicated server.
I have some basic monitoring going now, that queries my servers and get info about them.
This is based on the info found in this thread :
https://community.racesimcentral.net/showthread.php/62-Dedicated-Server-Ports
Although very helpful (especially in understanding how rFactor formats data) I can't help but think that there must be WAY more data in that 623 bytes big server-response... :)
Is there any documentation of these server queries and commands, and their responses?


I think that was all for now.

Thanks in advance... :)

Lars, Denmark
 
Hi all.

I am making this utility for rFactor and I have run into some questions by now.
These are pretty random, but mostly of a technical character, so I though this was the best place to post them... :)


1.
Why on earth do my rFactor crash to desktop upon clicking something, IF I programatically start rFactor.exe with a simple ShellExecute command?
My current work-around is to write a temporary bat-file (start "" rfactor.exe param param param etc), launch this, wait for it to finish, and then delete the file again.
Although this works fine, it kinda annoys me, that the console-window flashes on the screen briefly, and generally I'm very curious about why rFactor.exe is behaving like this.
I've never seen another exe do this...

2.
Retrieving data from a dedicated server.
I have some basic monitoring going now, that queries my servers and get info about them.
This is based on the info found in this thread :
https://community.racesimcentral.net/showthread.php/62-Dedicated-Server-Ports
Although very helpful (especially in understanding how rFactor formats data) I can't help but think that there must be WAY more data in that 623 bytes big server-response... :)
Is there any documentation of these server queries and commands, and their responses?


I think that was all for now.

Thanks in advance... :)

Lars, Denmark

1."the console-window flashes on the screen briefly" that is same as when i doing broadcast and i have rfactor start normal not in window mode it flashing

2."some basic monitoring" it exist a site http://liveracers.com there admin have done files we add on rfactor server and admin there can for sure tell you all you wanna now about rfactor related things it also exist a nice addon that liverracers site not have and that is points .. this addon rFactor Hotlaps 2.95 you can edit that ;)

rFactor Hotlaps 2.95 http://www.rfactorcentral.com/detail.cfm?ID=rFactor Hotlaps



other rfactor tweaks you can take a look here http://tripp.team-forum.net/t17-rfactor-tweaks?highlight=rfactor+tweaks
 

Back
Top