automated week-long battles script

Advertise your levels, contests, sites etc.

Moderator: Moporators

Post Reply
Viper_KillerGuy
PHPer
Posts: 122
Joined: 1 Sep 2002, 19:34
Location: Denmark
Contact:

automated week-long battles script

Post by Viper_KillerGuy »

I've added this to http://www.vk0.dk/elmadk .
You just download the lev, make a run, login/register&login and upload the rec.
it allows users to upload levs which will then be played when it's its turn, which will happen automatically if you upload a file ending in .lev.
Users can also rate the levels played.

Battles last a week and end/start sundays at 20:00 in my timezone(?).

http://www.vk0.dk/weekbattle.php?info <-- bigger description.
http://www.vk0.dk/weekbattle.php?battle=2 <-- stats from the test battle.

I've also released the source at http://www.vk0.dk/weekbattle.php?src if you're interrested in that sort of thing.

Feedback is welcome.
User avatar
Xiphias
39mins club
Posts: 4101
Joined: 23 Nov 2004, 23:05

Post by Xiphias »

Cool :D

exiting to see how popular this will get
Thorze wrote:I just wanted to make a cool topic like Juish have cool topics..
User avatar
Juski
Kuski
Posts: 2200
Joined: 26 Dec 2003, 20:53
Location: irc://irc.ircnet.org/ranks

Post by Juski »

Maybe allow like 3 battles going on at the same time so you have something to chosoe from if you dont like the one level or it is impossible or something like that...
No regrets Image
Are you LOST?
User avatar
Xiphias
39mins club
Posts: 4101
Joined: 23 Nov 2004, 23:05

Post by Xiphias »

Juski wrote:Maybe allow like 3 battles going on at the same time so you have something to chosoe from if you dont like the one level or it is impossible or something like that...
yeah this sounds like a really great idea. :D
Thorze wrote:I just wanted to make a cool topic like Juish have cool topics..
Viper_KillerGuy
PHPer
Posts: 122
Joined: 1 Sep 2002, 19:34
Location: Denmark
Contact:

aye, very good idea

Post by Viper_KillerGuy »

it is indeed a good idea.

I think i changed it, my server stopped working just as i was about the upload the last change.

Anyways, this is how it works:
when there are atleast 3 levs in the queue, 2 battles at once will start.
when there are atleast 5 levs in the queue, 3 battles at once will start.

Currently there are 3 battles going at once, but that is because of testing. Next week it should start normally... if anyone uploads a lev.
User avatar
Raven
Moporator
Posts: 2726
Joined: 7 Feb 2005, 15:28
Team: MiE
Location: Finland.
Contact:

Post by Raven »

cool, viper 8)
Seize the day
FW
Kuski
Posts: 195
Joined: 1 Oct 2006, 08:12

Post by FW »

Simply Love it
http://tinyurl.com/yz6ak9 - Home of ANB, FWPP and BO pack
Old nick: Wezz
Post Reply