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
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