samp wrote:Equal records issue still exists in 0.9.6
The one who drove the record first should be first.
Now it seems to be random.
Seems like there is no date included in the sorting algorithm?
I add this to the todo list,
Actually I think I fixed it when the records are loaded from the database but when not when they are sorted during the race.
We don't sort arrays for performance reasons during the race the new values are inserted to the correct place in the array. Average complexity is n/2 insteand of n*ln(n) but thing like this is harder to fix
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
samp wrote:Equal records issue still exists in 0.9.6
The one who drove the record first should be first.
Now it seems to be random.
Seems like there is no date included in the sorting algorithm?
Actually I think I fixed it when the records are loaded from the database but when not when they are sorted during the race.
Actually seems to be the opposite:
It was in the beginning of the map so I guess loaded from the database.
Earlier when driven live the order was correct.
oliverde8 wrote:We don't sort arrays for performance reasons during the race the new values are inserted to the correct place in the array. Average complexity is n/2 insteand of n*ln(n) but thing like this is harder to fix
The correct place to insert it would be after identical times then, isn't just a matter of comparison operator in your loop?
oliverde8 wrote:We don't sort arrays for performance reasons during the race the new values are inserted to the correct place in the array. Average complexity is n/2 insteand of n*ln(n) but thing like this is harder to fix
The correct place to insert it would be after identical times then, isn't just a matter of comparison operator in your loop?
It is the other way around we start from the old position of the player and go to the better ones, that way we can move the elements in the array down of one place as we do loop on the worse elements and we looop only on the elements that needs an update anyway. It is that complicated to fix I just need to have my head clear as last time I tried to change something I broke it I can just do it in 10 minutes but I need to be able to pass more time for if things go wrong
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
Hello,
Not sure if this is fixed already in 0.9.7 but reporting anyway:
The track list (/list) seems to have wrong record (your position) on random tracks or it's outdated.
Seems like it does not update when you improve your record position (or others improve and you lose positions).
Okay now with 0.9.7 (and I think this issue was in 0.9.6 also):
The checkpoint comparison to your PB does not update if you drive better time on the same map. It still compares to your old PB.
I will check both bugs you reported, thanks for your support
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
Can you give us some more information about what you did exactly? Any setting change? We didn't change the code since release on Thursday, it might be a setting you changed.
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...