Dont Move - Fun Map!!
- stompie
- Posts: 700
- Joined: Thu Jun 18, 2015 2:40 pm
- Player profile: http://ddnet.org/players/stompie/
- Mapper profile: https://ddnet.tw/mappers/stompie/
Re: Dont Move - Fun Map!!
how do people get different times on this map i got 12 secs bunch of times then got 1 min O.o
and how doesthe top5 work for a map like this why does it show the people on /top5 that it does any specific order?
and how doesthe top5 work for a map like this why does it show the people on /top5 that it does any specific order?
\,,/(◣_◢)\,,/
-
Im 'corneum
- Posts: 1052
- Joined: Thu Oct 30, 2014 4:58 pm
- Clan: ☭birming
Re: Dont Move - Fun Map!!
at my map i always had around 45 seconds. ans sometimes some miliseconds more or less. i think the time counter in teeworlds goes a couple of digits more down but we dont see this.stompie wrote:how do people get different times on this map i got 12 secs bunch of times then got 1 min O.o
and how doesthe top5 work for a map like this why does it show the people on /top5 that it does any specific order?
reply to this post or your mom will die in her sleep tonight
- deen

- Posts: 3580
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: Dont Move - Fun Map!!
Internally ticks of 20 ms length are used, so we have no more accuracy than that. The ordering is calculated like this: https://github.com/ddnet/ddnet/blob/mas ... #L720-L723
So there is no ordering by Name defined, only by Time, which means the order of names depends on the database implementation when multiple players have the same time.
Code: Select all
SET @prev := NULL;
SET @rank := 1;
SET @pos := 0;
SELECT Rank, Name, Time FROM (SELECT Name, (@pos := @pos+1) pos, (@rank := IF(@prev = Time,@rank, @pos)) rank, (@prev := Time) Time FROM (SELECT Name, min(Time) as Time FROM record_race WHERE Map = '%s' GROUP BY Name ORDER BY `Time` ASC) as a) as b WHERE Name = '%s';- stompie
- Posts: 700
- Joined: Thu Jun 18, 2015 2:40 pm
- Player profile: http://ddnet.org/players/stompie/
- Mapper profile: https://ddnet.tw/mappers/stompie/
Re: Dont Move - Fun Map!!
so the latest time that was put in get the top spot?deen wrote: So there is no ordering by Name defined, only by Time, which means the order of names depends on the database implementation when multiple players have the same time.
\,,/(◣_◢)\,,/
- Ryozuki
- Posts: 1748
- Joined: Tue Feb 24, 2015 7:28 am
- Location: Catalonia
- Player profile: http://ddnet.org/players/Ryozuki/
- Mapper profile: http://ddnet.tw/mappers/Ryozuki/
- Clan: Unique
- Website: https://edgarluque.com
- Discord: Ryozuki#2188
Re: Dont Move - Fun Map!!
you can make a little move the the left on start and u will get 12 secsstompie wrote:how do people get different times on this map i got 12 secs bunch of times then got 1 min O.o
and how doesthe top5 work for a map like this why does it show the people on /top5 that it does any specific order?
Who is online
Users browsing this forum: No registered users and 22 guests