Page 6 of 51

Re: FeedBack & Bugs | Your ideas are important

Posted: 07 Jul 2014, 19:24
by oliverde8
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 :roflol:

Edit: For information the ticket => https://github.com/eXpansionPluginPack/ ... issues/117

Re: FeedBack & Bugs | Your ideas are important

Posted: 07 Jul 2014, 19:50
by samp
oliverde8 wrote:
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.

Re: FeedBack & Bugs | Your ideas are important

Posted: 07 Jul 2014, 19:59
by The_Big_Boo
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?

Re: FeedBack & Bugs | Your ideas are important

Posted: 07 Jul 2014, 21:41
by oliverde8
The_Big_Boo wrote:
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 :roflol: I can just do it in 10 minutes but I need to be able to pass more time for if things go wrong

Re: FeedBack & Bugs | Your ideas are important

Posted: 06 Aug 2014, 17:50
by samp
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).

Re: FeedBack & Bugs | Your ideas are important

Posted: 09 Aug 2014, 17:19
by samp
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.

Good job with 0.9.7, running smoothly now :thumbsup:

Re: FeedBack & Bugs | Your ideas are important

Posted: 09 Aug 2014, 17:27
by oliverde8
hi, thanks a lot.

I will check both bugs you reported, thanks for your support :D

Re: FeedBack & Bugs | Your ideas are important

Posted: 10 Aug 2014, 08:49
by chipo89
yo how are you?

I wanted to say that for 1 or 2 days the mod plugin does not work
I tried with several mod

Re: FeedBack & Bugs | Your ideas are important

Posted: 10 Aug 2014, 09:02
by oliverde8
Hi good thank you and you?

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.

Re: FeedBack & Bugs | Your ideas are important

Posted: 10 Aug 2014, 11:08
by chipo89
i have update eXpansion
and my mod work in editor map
no error