« || »

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:

Then automatically do

Step 2:

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.

02.08.2007 in quaddicted.com | 5 Comments »

5 Responses to “The Quaddicted Woes”

  1. SleepwalkR Says:
    02.08.2007 20:40

    How about a Java Swing application? It’s platform independent and mostly looks like a native program.

    If you want me to do it, let me know.

  2. SleepwalkR Says:
    02.08.2007 20:41

    Mail me, don’t leave me a comment here, that is.

  3. Sajt Says:
    03.08.2007 01:29

    Is this something for your personal use or for other people to submit things to you?

    In other words, are you asking for a form that other people use that submits things by mail to you? Or do you just the PHP script mailed to you so you can use it yourself? I can’t tell.

  4. Sajt Says:
    03.08.2007 03:31

    Why is the PHP script mailing stuff to you if it’s on your server anyway (as it needs to be to upload the image and generate the thumbnail, for example)?

  5. sassa Says:
    09.08.2007 20:53

    looking very good !!!

Leave a Reply