Category: quaddicted.com
The Quaddicted Woes
Update: The awesome Sajt is working on it, thanks for your attention. :)
I am very unhappy with creating descriptions for maps, it’s such a pain in the ass. So I started thinking about a program to do that, I wrote an “abstract” scheme of it and started playing with Visual Basic .Net (as it is portable to Linux via Mono). Somehow I didn’t really get into it and then started making it as a bash script. So far it can ask you for the file to describe/review and automatically get the md5sum, woohoo… Next step was realising that 0.0143% of the people who might submit descriptions are using Linux and that I wouldn’t want to port the bash script to Windows. So I stopped again. :(
I once started a php form to create descriptions but it lacked the automatic part (like getting filesize, md5sum and included files). Here’s a screenshot of it. I never finished it and from what I’ve been told it is a very insecure thing anyways. Thus I am looking for a nice soul to make it proper and add some things for me. Eg make it ask for the file to review first, then automatically fill some of the fields, let the user upload a screenshot, make a thumbnail, in the end zip the html & jpgs and mail it to me.
My draft:
Step 1:
- Ask for filename (eg spiritsp1) (no browse or upload, the file is in /filebase)
- Provide screenshot upload
Then automatically do
- Get the filesize in full KB and md5checksum
- Extract the file to a temporary directory and get a filelisting (filename,size,date), also dive into possible subdirectories. Remove the temporary directory. (Maybe there is a way to do this without extracting, dunno)
- Use the newest filedate of the included files as “overall” filedate for the description.
- Name the image filename.jpg and create a thumbnail (100×75) filename_thumb.jpg
Step 2:
- Provide a form (quite like the unfinished one by me) where the user can fill the rest of the fields and also edit the filedate (might be necessary).
- Show the screenshot/thumbnail.
- If possible provide a preview function that temporary renders the html file
These are the fields/variables we will need (they might look funny, I am no programmer!):
$filename = string (not to be edited by the user, all lowercase)
$filesize = number (not to be edited by the user, in Kilobytes)
$md5checksum = string
$maptitle = string
$author = string
$maptype = number (1/2/3 = singlebsp/mod/speedmap)
$filedate = number/date (dd.mm.yyyy)
$homepage = string (must start with http://)
$description = text (linebreaks must be converted to <br /> for the output)
$rating = number (1/2/3/4/5)
$includedfiles = no idea
In the end render a html file (filename.html) from all the information gathered and zip it together with the filename.jpg and filename_thumb.jpg. Send that zip via mail to me.
As thankyou I can’t offer much but at least offer one of my sexy runes.
Shubby is hubbing again
The Shub-Hub is back at a new domain: http://shub-hub.com , password for uploading is still ilovetheshubhub. It’s rather slow sometimes, so if you just want to download something you can use the plain listing at http://shub-hub.com/files . I hope everything works again. :)
Bye Dreamhost, Hello good old host!
If you see this post, the move has been successful. If not, then wait for your nameservers to update. 8)
I am back where it began now, all-inkl.com, a great host. The Shub-Hub (upload does not work yet, I will work on that later), trance4ever (domain does not work yet) were left behind at Dreamhost because I “only” have 10 Gigabytes to fill here. The fQuake mirror is at dreamhosters too, I think the rsync will even continue to work out-of-box. The idgames2 folder will be moved to the Shub-Hub.
To everyone hosted here: You will get an email with the new ftp login details later today.
I’m leaving this shitty host…
I just initiated the domain transfer… Should be done soon. Sorry if the site is not fully working for some time then (again). ;)
The bad thing about it is that I will have way less space for Quaddicted.com. Hosting the maps and the few mappers is no problem, but the idgames2 archive, the Shub-Hub (and the music) will need to be moved to quaddicted.dreamhosters.com/something. I don’t know if it will work without problems, but as these are not too important for me it’s low priority. The fquake mirror will be gone.
Let’s hope it will be a better site again.
From York to Cookie
Dreamhost moved me to a different server today. Sorry for the outage. I really don’t suggest hosting at Dreamhost, no. I like the new server name “Cookie” though, cookies are yummy.
« Previous Entries Next Entries »