Dont Move - Fun Map!!

Share and discuss skins, mapres, artworks and logos.
User avatar
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!!

Post by stompie »

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?
\,,/(◣_◢)\,,/
pixel
Posts: 430
Joined: Sun Nov 22, 2015 8:44 pm
Player profile: http://ddnet.org/players/pixel
Mapper profile: https://ddnet.tw/mappers/pixel/
Clan: Bitfighter

Re: Dont Move - Fun Map!!

Post by pixel »

i made such a map too
dontmove.map
(1.09 KiB) Downloaded 122 times
Im 'corneum
Posts: 1052
Joined: Thu Oct 30, 2014 4:58 pm
Clan: ☭birming

Re: Dont Move - Fun Map!!

Post by Im 'corneum »

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?
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.
reply to this post or your mom will die in her sleep tonight
User avatar
deen
TECHNICAL Team
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!!

Post by deen »

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

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';
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.
User avatar
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!!

Post by stompie »

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.
so the latest time that was put in get the top spot?
\,,/(◣_◢)\,,/
User avatar
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!!

Post by Ryozuki »

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?
you can make a little move the the left on start and u will get 12 secs
Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests