GTAMP.com

Grand Theft Auto Media Press
It is currently Wed Jul 23, 2014 7:47 am

All times are UTC




Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Thu Mar 31, 2011 10:13 am 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 964
i took this layout from Shazdeh, the guy who disappointed left gtamp, and improved & completed it to be able to be used for a map listing.

I added an upload script and wrote a script that loads the data from the map files. The best thing: most of the data is read directly from the .mmp file and you don't have to specify anything during upload.
the uploaded map also gets added to multiplayer pakx and online pakx automatically.

you can have a look at the test uploads here:
http://gta2dare.omnitude.net/maplist/list.php

it is already fully functional. you just have to PM me and i give you the password and the required link for updating.

_________________
yur sa'nok ngeyä


Top
 Profile  
 
PostPosted: Thu Mar 31, 2011 10:26 am 
Offline

Joined: Sat May 16, 2009 6:14 am
Posts: 851
Location: London, UK
It's really impressive work, to actually write the code and get this much-anticipated system working. Of course it's very early on and refinements, bugs and so on are to be expected. But so far, so very good!

As an experiment, I created a mockup for my own presentation of a maps list. Elypter has seen this and likes a few aspects of it.

Over the coming weeks he might help me integrate my map list with his code. It would be separate the "official" list, which would let players review both. Hopefully the best bits of each one then become the final version. (A bit like the way GHBM influenced Game Hunter.)

Well, I say "final version"... nothing really becomes final version in the GTA2 community. There's always something happening, whether it's new ideas or (more importantly) new code. 8-)

_________________
BenMillard's GTA5 Races, Off-Roading and Deathmatches | GTA2 Multiplayer Levels | Mission Code Tutorials | GTA2 YouTube Videos


Top
 Profile  
 
PostPosted: Thu Mar 31, 2011 4:07 pm 
Offline
Lunatic

Joined: Sat Jul 19, 2008 2:14 pm
Posts: 430
Location: Poland / Szczecin
where can i find tags list?


Top
 Profile  
 
PostPosted: Thu Mar 31, 2011 5:21 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:00 pm
Posts: 882
Location: F21B3EED
Perhaps you could use my commandline minimap generator there? Would be great to see the whole minimap as well, in case the screenshots arent provided or just doesnt show everything.

The forum links for each map would be good add too. (didnt sektor plan to make automated map uploads on the forum too...?)

_________________
My GTA2 related projects:


Top
 Profile  
 
PostPosted: Thu Mar 31, 2011 5:57 pm 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 964
it would be useful indeed
does it run on linux too, especially on a server? or do you mean as a script for windows?

_________________
yur sa'nok ngeyä


Top
 Profile  
 
PostPosted: Thu Mar 31, 2011 6:45 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:00 pm
Posts: 882
Location: F21B3EED
I havent compiled it on other systems than windows yet, but i think i could try it with VirtualBox... never compiled anything on linux so.. erm... it might take a while :lol: Any tips would be good ;)

_________________
My GTA2 related projects:


Top
 Profile  
 
PostPosted: Fri Apr 01, 2011 10:45 am 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 821
Looks nice!

You can compile in Ubuntu (and probably other linux distro's) just with the console. Something like "g++ main.cpp" or "gcc main.c". Luckily there are many online guides/info. :)

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Sat Apr 02, 2011 9:07 pm 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 964
changes:
integration of the upload function in the layout
some advices and
file list in upload section
remove function
lock file for pakx generate
preview for uploaded maps
thumbnail generator
page generation timer
caching to json

_________________
yur sa'nok ngeyä


Top
 Profile  
 
PostPosted: Sun Apr 03, 2011 9:44 pm 
Offline

Joined: Sat May 16, 2009 6:14 am
Posts: 851
Location: London, UK
One thing at a time, I know. :)
  1. Please sort the web page to have the most recently updated at the top:
    1. Select the most recent modified date from all the files inside the archive.
    2. Don't check the archive itself, since levels sometimes get re-packaged without changes.
    3. You might limit the check to gameplay files, so updated readme files or accidentally included stuff won't bump the listing.
  2. Download link is a long, long way from map name in entries like "tytyty.7z (2.36 MB, 2011-04-02)"
  3. It's weird for a filename not to be clickable.
  4. "Files" column doesn't have clickable filenames, yet.
  5. Please stop centring the headings.
  6. Filenames are meaningless for people to try identifying levels. Use the level name.
  7. Feel free to take any user-friendly ideas from my demo and use them in yours - that's why I made it.
False Economy
Does the system support .zip upload? Using .zip format is a lot faster and cleaner overall than .7z since it is supported by Windows.

Requiring people download and install an extra program is inconvenient and a bit obnoxious. Particularly when the favoured tools either spam up the Explorer context menu or have a licensing popup.

This is even more true for new players. They already have to do so much silly tinkering to get started.

_________________
BenMillard's GTA5 Races, Off-Roading and Deathmatches | GTA2 Multiplayer Levels | Mission Code Tutorials | GTA2 YouTube Videos


Top
 Profile  
 
PostPosted: Mon Apr 04, 2011 12:35 am 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 964
BenMillard wrote:
One thing at a time, I know. :)
  1. Please sort the web page to have the most recently updated at the top:
    1. Select the most recent modified date from all the files inside the archive.
    2. Don't check the archive itself, since levels sometimes get re-packaged without changes.
    3. You might limit the check to gameplay files, so updated readme files or accidentally included stuff won't bump the listing.
  2. Download link is a long, long way from map name in entries like "tytyty.7z (2.36 MB, 2011-04-02)"
  3. It's weird for a filename not to be clickable.
  4. "Files" column doesn't have clickable filenames, yet.
  5. Please stop centring the headings.
  6. Filenames are meaningless for people to try identifying levels. Use the level name.
  7. Feel free to take any user-friendly ideas from my demo and use them in yours - that's why I made it.
False Economy
Does the system support .zip upload? Using .zip format is a lot faster and cleaner overall than .7z since it is supported by Windows.

Requiring people download and install an extra program is inconvenient and a bit obnoxious. Particularly when the favoured tools either spam up the Explorer context menu or have a licensing popup.

This is even more true for new players. They already have to do so much silly tinkering to get started.


1. i dont sort them at all, thats the natural behaviour of php dir listing. i don't want to rewrite the code for that at least atm.
2.readme files are also read from mmp. the list also cant get larger than it is.
3.one map row needs some kind of header and some kind of footer. leaving out the heading would be strange and puttong the download button on top would also be confusing.
4.the icons are clickable. you can read them better when not red and they should not be that easy to find to avoid that dumb people download them instead of the map.
5.thats not really a header its rather a container caption.
6.yes thats why row1 column1 is the filename and the filename is centered and grey. i cannot put a mapname where the filename is. a file can contain multiple maps.

the map should be userfriendly for modders too so i allowed zip, 7z (and even the stupid rar) which are the most common ones. i also allowed exe for sfx archives. so its the modders choice.

my personal opinion is that if a person can and wants to install gamehunter he can also install 7zip. in 2011 one can expect from a user to have 7zip or at least winrar installed. If someone is not capable of or willing to do that he should not use a pc but buy an ipad or a xbox. Even when someone would only use .zip files i would suggest to use not the windows implementation for it. so if someone is really forced to download 7zip it's actually something good.

if everyone always would take car of the dumbness of users the web would still be "optimized" for internet explorer 6.

dumb compatibility yes but only if it doesn't hurt sane users.

_________________
yur sa'nok ngeyä


Top
 Profile  
 
PostPosted: Thu May 05, 2011 11:22 am 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 964
Now the search function, single map display, map pack folder display and mmp lookup with direct download works too.

search function: http://gta2dare.omnitude.net/maplist/list.php enter something in the searchbox to find a mapname (in mmp: "Description") containing this string. There is no gui for it but you can also search in any other value of mmp files + "filename" + "foldername" + "archivename" by changing the type value in the url. there are 3 ways to search: the classic substring (substr), full string compare (strict) and list wich searches if a "," seperated list contains the string (for example Tags).

single map display: http://gta2dare.omnitude.net/maplist/list.php?map=lt.7z if the map is not in usermaps you need to specify the folder too

map pack folder display http://gta2dare.omnitude.net/maplist/li ... =02_recent

mmp lookup with direct download http://gta2dare.omnitude.net/maplist/do ... =bc_ac.mmp

everything is case sensitive and all these functions only work with the maps that are extracted automatically. many maps have to be extracted manually because the overwrite other files, are in subfolders, have invalid characters, ... .()most of My maps and bens maps(and other excluded ones) are not accessable.

everybody can help with this. just fix some of the maps from the folders starting with a number here: http://gta2dare.omnitude.net/multiplayer/ and upload it http://gta2dare.omnitude.net/maplist/upload.php
you need a password. ask here or send me a pm and i will give it to you.

if you want this to work with all maps you need to help me. i cannot and wont do this alone.

_________________
yur sa'nok ngeyä


Last edited by elypter on Thu May 05, 2011 7:40 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Thu May 05, 2011 12:43 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 821
3 quick comments.

why case sensitive? if I enter 'race' it shows nothing, that is not user friendly.

This is not useful: "list generated in 0.0287079811096 seconds", you better make that 0.02 or shorter or leave it out.

when searching "Race" I get a whole list with the same map, but only saying 3player, 4player, 5player etc. Not nice...

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Thu May 05, 2011 2:56 pm 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 964
there were some problems without case sensitivity but i implemented it now. it was not a "feature" ;)
the timing is for debugging, i dont think it does any harm down there.
the multiple occurence of one map and the missing of others was only a bug; fixed.

edit: now i even made a uniqueness check.

_________________
yur sa'nok ngeyä


Top
 Profile  
 
PostPosted: Mon Jun 27, 2011 5:16 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 821
I made the 'gta2 maps' header image. Perhaps a custom favicon for on the website is also nice, so I quickly made this little one:

Attachment:
gta2 maps 16.png
gta2 maps 16.png [ 271 Bytes | Viewed 4077 times ]


To use it on the website, just rename it to favicon.png and link it in the html. Google knows more. ;)

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Mon Jun 27, 2011 6:57 pm 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 964
thanks, it looks nice on the page [respect]

_________________
yur sa'nok ngeyä


Top
 Profile  
 
PostPosted: Mon Jun 27, 2011 9:06 pm 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 964
there is an advanced search form too now [remote]
http://gta2dare.omnitude.net/maplist/search.html

_________________
yur sa'nok ngeyä


Top
 Profile  
 
PostPosted: Tue Jun 28, 2011 7:59 am 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 821
nice!

when clicking on the folder icon, it gives an error page (not allowed)

like this one: http://gta2dare.omnitude.net/_maplump/_ ... .zip/data/

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Tue Jun 28, 2011 10:37 am 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 964
yeah, unfortunately. something with the permission setting doesnt work atm. i bet its also the reason why highslide doesnt work.

_________________
yur sa'nok ngeyä


Top
 Profile  
 
PostPosted: Sun Jul 03, 2011 8:23 am 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 964
i am also building a new page for the packs:
http://gta2dare.omnitude.net/maplist/packs.php

_________________
yur sa'nok ngeyä


Top
 Profile  
 
PostPosted: Sun Jul 03, 2011 11:35 am 
Offline
Ped
User avatar

Joined: Tue Jul 14, 2009 9:19 am
Posts: 4
Hi, my map is complited.

http://www.gtatwo.fora.pl/premiery,114/ ... tml#124964


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group