Descentforum.DE Forum Index Descentforum.DE
Search | FAQ | Memberlist | Usergroups | Newsfeed Newsfeed  Register
Profile | Log in to check your private messages | Log in 
Chat | D3-Tactics | Downloads | Map | Links | Serverlist | Teamspeak 

Serverliste - Sortierung

 
Post new topic   Reply to topic    Descentforum.DE Forum Index -> Vortex - Forum
View previous topic :: View next topic  
Author Message
Wormaus
Forum-Nutzer


Joined: 26 Jul 2001
Posts: 381
Location: Germany - Stroga / Großenhain

PostPosted: 03.04.2009, 04:34    Post subject: Reply with quote

sortierfunktion der serverlite => Spieleranzahl ...
Da war wohl nen Querdenker drinnen, , vor dem letzten Update gabs das Problem nicht. Smilie

sortiert:
0/4
0/31
0/2
0/18
...
...

Ja, nach einer bestimmten programmtechnischen Rechenweise mag das OK sein, aber nicht für eine Liste mit rationalen Ganzzahlen Winken
Einfache Weise das zu umgehen ist, eine zweistellige Ganzzahl zu erzwingen, wobei zwangsweise eine Null vorangestellt wird, wenn die ganzzahl nur einstellig ist. Ergebnois wäre:
1 Zeile Code und

0/31
0/18
0/04
0/02

Jetzt den primärschlüssel zum sortieren auf die erste Gruppe legen und den sekundärschlüssel auf die Zweite ....
und wir erhalten:

01/04
00/31
00/18
00/02

... Also Sortiereung, so wie wir es auch gerne hätten Sehr glücklich

_________________
Worm+Maus das bin ick, Wormaus.
Back to top
View user's profile Send private message
Do_Checkor
Administrator


Joined: 19 Nov 2000
Posts: 7768
Location: Oldenburg (Oldb.)

PostPosted: 03.04.2009, 12:12    Post subject: Reply with quote

Hab das mal abgespalten - hatte mit "Aktives Fenster" ja nix mehr zu tun...

Die Sortierung ist nach Player - Anzahl und nicht nach Maxplayer. So weit ich mich erinnern kann funktioniert das auch da auch korrekt. Wenn nicht, mal bitte mit Screenshot.



Noch mal 'ne Bitte an alle: Die Angabe der Versionsnummer wäre noch gut!

Die meisten fuchteln ja immer noch mit der 0.2.2.9 rum (was OK ist - aber wissen müssten wir's trotzdem).

TIP: Im DF-IRC-Chat kann man mit "?? Vortex" auch den Link zur aktuellen Test-Version vom Guidebot erfragen.


Last edited by Do_Checkor on 06.04.2009, 09:33; edited 1 time in total
Back to top
View user's profile Send private message
Wormaus
Forum-Nutzer


Joined: 26 Jul 2001
Posts: 381
Location: Germany - Stroga / Großenhain

PostPosted: 03.04.2009, 15:27    Post subject: Reply with quote

Ja,dies betrifft die Version 0.2.2.9

Problem bei der Sortierung:

12 ist kleiner als 21, weil players - maxplayers-zahlen als eine Ganzzahl zusammen gerechnet werden
Listing würde bei mir wie folgt aussehen, wenn man sortieren lässt:

2/2
0/21
0/19
1/8
0/14
1/2

Ich warte nun auf die Gelegenheit, einen Screenshot zu machen. Winken

_________________
Worm+Maus das bin ick, Wormaus.
Back to top
View user's profile Send private message
Do_Checkor
Administrator


Joined: 19 Nov 2000
Posts: 7768
Location: Oldenburg (Oldb.)

PostPosted: 03.04.2009, 18:11    Post subject: Reply with quote

Wormaus wrote:
Ja,dies betrifft die Version 0.2.2.9

Problem bei der Sortierung:

12 ist kleiner als 21, weil players - maxplayers-zahlen als eine Ganzzahl zusammen gerechnet werden
Listing würde bei mir wie folgt aussehen, wenn man sortieren lässt:

2/2
0/21
0/19
1/8
0/14
1/2

Ich warte nun auf die Gelegenheit, einen Screenshot zu machen. Winken


Das ist bei mir defo nicht so. Ich sortiere IMMER nach Player und bekomme es grade so (also genau richtig):



Vortex_ServerList_SortByPlayers.PNG
 Description:
 Filesize:  25.97 KB
 Viewed:  873 Time(s)

Vortex_ServerList_SortByPlayers.PNG


Back to top
View user's profile Send private message
Wormaus
Forum-Nutzer


Joined: 26 Jul 2001
Posts: 381
Location: Germany - Stroga / Großenhain

PostPosted: 03.04.2009, 21:00    Post subject: Reply with quote

die liete rechnet bei deinen werten:

56
41.4
24
08
08
.
.
.
.

_________________
Worm+Maus das bin ick, Wormaus.
Back to top
View user's profile Send private message
Wormaus
Forum-Nutzer


Joined: 26 Jul 2001
Posts: 381
Location: Germany - Stroga / Großenhain

PostPosted: 04.04.2009, 23:32    Post subject: Reply with quote

Sortierung ... screens .. wie gewünscht Winken


serverlist_01.gif
 Description:
sortierung ohne ingame-player
 Filesize:  12.3 KB
 Viewed:  870 Time(s)

serverlist_01.gif



serverlist_02.gif
 Description:
sortierung mit ingame-player
 Filesize:  15.08 KB
 Viewed:  857 Time(s)

serverlist_02.gif



_________________
Worm+Maus das bin ick, Wormaus.
Back to top
View user's profile Send private message
Do_Checkor
Administrator


Joined: 19 Nov 2000
Posts: 7768
Location: Oldenburg (Oldb.)

PostPosted: 05.04.2009, 15:05    Post subject: Reply with quote

Darf ich noch mal fragen um welche Version es sich handelt? Ist es mittlerweile die 0.2.3.0 oder noch die alte?
Back to top
View user's profile Send private message
Wormaus
Forum-Nutzer


Joined: 26 Jul 2001
Posts: 381
Location: Germany - Stroga / Großenhain

PostPosted: 05.04.2009, 20:52    Post subject: Reply with quote

Quote:
Ja,dies betrifft die Version 0.2.2.9
[/quote]
_________________
Worm+Maus das bin ick, Wormaus.
Back to top
View user's profile Send private message
Zorc
Forum-Nutzer


Joined: 05 Jul 2001
Posts: 961
Location: Ratzeburg

PostPosted: 06.04.2009, 08:32    Post subject: Reply with quote

Quote:
Ist es mittlerweile die 0.2.3.0 oder noch die alte?


auch haben wollen Auf den Arm nehmen
wo gibt´s denn die 2.3? die scheint ja noch inoffiziell zu sein,
auf der downloadseite find ich nix.
Back to top
View user's profile Send private message
Do_Checkor
Administrator


Joined: 19 Nov 2000
Posts: 7768
Location: Oldenburg (Oldb.)

PostPosted: 06.04.2009, 09:44    Post subject: Reply with quote

Do_Checkor wrote:
TIP: Im DF-IRC-Chat kann man mit "?? Vortex" auch den Link zur aktuellen Test-Version vom Guidebot erfragen.


Smilie
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Descentforum.DE Forum Index -> Vortex - Forum All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
PayPal


Descent is a trademark of Interplay Productions.
Descent, Descent II are © Parallax Software Corporation.
Descent III is © Outrage Entertainment.
Descentforum.DE and Descentforum.NET is © by Martin "Do_Checkor" Timmermann.
Powered by phpBB © 2001-2008 phpBB Group