It's very easy to do. Like @Kristi said you have to work with NLP packets (thus MCI is bigger and there is no reason to spend bandwidth and time).
1. Get race start time and set it to variable.
2. On every NLP packet check if (race time you set - actual race time < 5) then set laps to NLP->Lap + 1.
You can calculate actual race time by (time()-race start time).
There can be problem with 5 seconds when leader is near start/finish line because race can end too early (5 seconds). You can avoid it by additionaly checking Node and comparing it to start/finish node number or using completely different way.
It's not possible to add laps to someone's counter. It's possible to show or post message with laps amount but it won't be visible on replay (I think so).
I can't find linux binaries for nkpro server. Connection is not problem - I can show you statistics of file download or upload on this server or you can test LFS server if you contact me.
Hi!
I want ask all of you for testing new hosting LFS.
Why?
Seeing how many problems makes 500servers.com, I would like to show you a new, cheaper and (hopefully) better alternative.
What's the price
Current price is 0.15 € / slot in Germany and 0.15$ in USA.
Where are the servers hosted?
1. Germany
2. Gdańsk, Poland
What if an problem occur?
In case of problems with the server you can ask me for money. I will calculate (month rate, days passed on this server) money that you should receive and I have 48h to send it back to you.
Additional InSim's
Lapper and Airio will be separate services. In the first month I'm not go to run these services. If all goes well, next month I'll start hosting them.
Payments, how to pay?
Now, I can only provide PayPal payments.
To buy server you have to make only few steps:
1. You send me money via Paypal with nickname that you have or you wonna have in control panel.
2. I have 48hours to check transactions and add money to your CP account.
3. You buy server in control panel and the server is ready for install and work in less than 5 minutes.
Why not automatic payments?
See the topic: Beta hosting. In the future it will be automatic.
Test?
I guarantee money back in first 30 days if something will be wrong with the server.
Any questions?
1. Send me an PM.
or
2. Send e-mail to: [email protected]
or
3. E-mail me: creating.www[atta]gmail.com (please put [BLFS] as topic prefix).
P.S. Site lfshost.eu will be hosting site but now more important are clients servers, not the site.
Yeah. Can anyone rewrite plugin of boothy tracker to PRISM? It's only saving datas. Then we can work on this problem. I can provide server for testing it (LFS server and maybe prism too).
Driver's 1 PRISM (local) ---. Driver's 2 PRISM (local) ---- PRISM on server Driver's 3 PRISM (local) ---"
So drivers connect to main PRISM on server. This server instance will parse packets from every driver and from LFS Servers so it will have much to do.
Every solution is very hard to do and will take a lot of time. Some additions to InSim will help us, InSim programmers, and developers to make LFS more interesting.
Like I said somewhere else: if InSim will be allowed to set/get fuel, power, weight of car and maybe detailed damage (get and set, set to restore car after TO), LFS will be more interesting and this can give dev's time to develop S3 or new content for S2.
So, we need extended InSim for that. Setting power of car and getting more damage datas. Setting fuel and getting it it's needed too, because we have to clone cars after TO.
Second thing is - AI can take car and go to pit. Here we need to an extended InSim to control server AIs or AIs on admin computer.
Post here an example and I will try to think about it. I think it's good to rewrite boothy tracker as PRISM plugin, because in PRISM you have button system and timers that will help with many things later. Please post situation very strictly, move by move. For example:
1. driver lost connection on 1:15
2. driver connect back on the server
3. Average time for lap is 1:45, add an 1:45+10% lap to team stats and stop the driver for (avg lap time - 1:15 (time on disconnect lap) * 10%) 3s in pits.
User bind's "/i kers" or "!kers" to button and then in plugin:
1. receive command
2. check user can use kers
3. if user can use kers set higher power and set timer for few seconds (it's can be setted up)
4. Timer is setting back the power
I know, that in real world you can control KERS and you dont have to use all the KERS power on 1 time but my version will be good too, it will change a lot of things in LFS, becuase we will be able to simulate car wear (GT) during the race lowering power by 0.001 or something like that. Tuning will be allowed too.
There's 1 problem. We are talking about Speed so it's bad point. Better will be:
<?php function onNPL($PLID){ $this->setPlayerPower($PLID, $this->getPlayerPower($PLID)*1.2); $this->setPlayerWeight($PLID, $this->getPlayerWeight($PLID)*0.6); } ?>
Setting speed is like nitro, so it's good too, but better will be this one above. It can handle nitro and KERS too with setting higher values with timeout for 3-5 seconds and setting values back again.