Page 1 of 1

New map browser - part of Zero-K system

Posted: 14 Nov 2010, 23:48
by Licho
We prepared new map selector for Zero-K lobby that could be interesting for non-lobby users too.

Features:
* filtering according to many parameters and improved search
* infinite scrolling (scroll down for more results - does not work in chrome yet)
* knows all maps
* rating, comments
* tag maps easilly

Image

http://zero-k.info/Maps.mvc

To login use lobby password (or just display it in Zero-K lobby).

If you click Play (and have zero-k lobby installed) you will change map in current game or start new game with that map.

Re: New map browser - part of Zero-K system

Posted: 14 Nov 2010, 23:59
by knorke
cool.
maybe you could make it group maps that are the same just different version?
atm they are quite some "doubles" on the first page.

Re: New map browser - part of Zero-K system

Posted: 15 Nov 2010, 00:04
by Licho
There is no good automatic way to group them afaik .. there isn't even proper way to get author.. because author field in mapinfo is never filled up by creators.

It would need humans to sort them out.

Re: New map browser - part of Zero-K system

Posted: 15 Nov 2010, 00:10
by Jazcash
I'd totally love the zoomy-in effect when hovering over a map layer image if it didn't shift everything around and disorientate me D: Would be much better if it just zoomed out and down or out and up or something still allowing you to hover over the other layers.

Re: New map browser - part of Zero-K system

Posted: 15 Nov 2010, 00:18
by Licho
Yeah, i tried but failed, if you know what style to set to it, let me know :)

Re: New map browser - part of Zero-K system

Posted: 15 Nov 2010, 00:28
by knorke
author field in mapinfo is never filled up by creators.
because all the guides, tutorial and example SMD files never have an author entry.
just noticed my map does not have author entry for this reason either...

Re: New map browser - part of Zero-K system

Posted: 15 Nov 2010, 00:29
by luckywaldo7
By chrome I guess that means anything webkit :S

Re: New map browser - part of Zero-K system

Posted: 15 Nov 2010, 00:31
by Licho
Ammount of versions some maps get is crazy :)

This is just small excerpt of speedmetals..

Image

Re: New map browser - part of Zero-K system

Posted: 15 Nov 2010, 03:16
by Pxtl
Implemented in asp.net MVC? Is the MVC server on a web-server or the client? Is this in the open-source? I want to see this.

Re: New map browser - part of Zero-K system

Posted: 15 Nov 2010, 03:18
by Licho
ASP.NET MVC 3 - Razor engine RC1 - released 3 days ago or so lol :)
Uses Linq to SQL for data layer.

It runs on spring server in windows virtual machine.

It is of course open source - source on zero-k site..

http://code.google.com/p/zero-k/source/ ... ist.cshtml

Re: New map browser - part of Zero-K system

Posted: 15 Nov 2010, 13:16
by TradeMark
I still prefer http://mapinfo.adune.nl/?map=widepass for web interface/search :)

Re: New map browser - part of Zero-K system

Posted: 15 Nov 2010, 16:42
by SanadaUjiosan
I like it. Looks good, and I like the zoom-in on the individual maps, like Jazcash pointed out.

Re: New map browser - part of Zero-K system

Posted: 16 Nov 2010, 02:36
by Pxtl
Licho wrote:ASP.NET MVC 3 - Razor engine RC1 - released 3 days ago or so lol :)
Uses Linq to SQL for data layer.

It runs on spring server in windows virtual machine.

It is of course open source - source on zero-k site..

http://code.google.com/p/zero-k/source/ ... ist.cshtml
Cooooool. Linq 2 sql? Not EF4?

Re: New map browser - part of Zero-K system

Posted: 16 Nov 2010, 03:25
by Licho
No, I still don't trust EF. Linq to SQL seems to work perfectly for me. Lower overhead, no extra coding (I only change DB and let tools update my data classes) and I can imagine how are different queries executed for performance tweaking.

Re: New map browser - part of Zero-K system

Posted: 16 Nov 2010, 20:47
by Satirik
you can't sort by name/size/wind/type/popularity/downloads ?

Re: New map browser - part of Zero-K system

Posted: 16 Nov 2010, 20:57
by Licho
Its always sorted latest first, on purpose, to promote new map creation.

You have most downloaded and popular on right. Even though i doubt most downloaded, it will be replaced by played last week or something.

Re: New map browser - part of Zero-K system

Posted: 16 Nov 2010, 21:00
by Pxtl
Licho wrote:No, I still don't trust EF. Linq to SQL seems to work perfectly for me. Lower overhead, no extra coding (I only change DB and let tools update my data classes) and I can imagine how are different queries executed for performance tweaking.
Can't say I blame you. EF3.5 was a nightmare. My only reason for preferring EF4 is that it has built-in support for updating your EF Model. Linq2SQL is far harder to update the model when the DB Schema changes.

Re: New map browser - part of Zero-K system

Posted: 16 Nov 2010, 21:02
by Licho
Actually it isn't :) I purchased huagati DBML tools about year ago - it does just that, updates DBML/data classes while keeping all your local changes like renames, association cardinalities etc.
Pretty neat.