Hi Guys,
I started write some small application which finally should calculate times and laps for “shorter” endurance races.
Now I finished first necessary stuff for our cup. It should test the speed limit during first lap and if it is exceed the player is penalized.
Next step will be “warm-up” checker + restart.
And why I am writing here? Of course I have some questions. I am using LFSlib (.NET)
I don’t know:
1)How to obtain LFS user name. If it is possible. (solved, thanks guys)
2)When I am connecting to dedicated server. I need to obtain its IP address. Exist there any possibilities how to translate “LFS server name to IP name”
I think this isn’t possible in InSim, but I have to ask J
1)Exist there any possibility how to detect the green lights (on start-semaphore). I am detecting the car-speed. But this is a bit dirty hack J
2)Exist there any possibility how to handle the start-semaphore?
When anyone wants to test it, download it from: www.interregion.cz/jarda/EGT.ZIP
But keep in mind. It is in development phase (not all from UI is implemented in code, only necessary parts and a lot of UI are missing now) and globally for me it is test, what all I am able to do with InSim. Source code added and is free for use.
On purpose the setting is stored into XML instead any DB. DB is planned for web-appl.
Edit: at 1) I tested it offline and there the connect packet doesn't exist (comes) of-course, my stupidity, as usually
I started write some small application which finally should calculate times and laps for “shorter” endurance races.
Now I finished first necessary stuff for our cup. It should test the speed limit during first lap and if it is exceed the player is penalized.
Next step will be “warm-up” checker + restart.
And why I am writing here? Of course I have some questions. I am using LFSlib (.NET)
I don’t know:
1)How to obtain LFS user name. If it is possible. (solved, thanks guys)
2)When I am connecting to dedicated server. I need to obtain its IP address. Exist there any possibilities how to translate “LFS server name to IP name”
I think this isn’t possible in InSim, but I have to ask J
1)Exist there any possibility how to detect the green lights (on start-semaphore). I am detecting the car-speed. But this is a bit dirty hack J
2)Exist there any possibility how to handle the start-semaphore?
When anyone wants to test it, download it from: www.interregion.cz/jarda/EGT.ZIP
But keep in mind. It is in development phase (not all from UI is implemented in code, only necessary parts and a lot of UI are missing now) and globally for me it is test, what all I am able to do with InSim. Source code added and is free for use.
On purpose the setting is stored into XML instead any DB. DB is planned for web-appl.
Edit: at 1) I tested it offline and there the connect packet doesn't exist (comes) of-course, my stupidity, as usually