Difference between revisions of "Talk:RoboRumble/Country Flags"

From Robowiki
Jump to navigation Jump to search
(→‎Automated Flags: Nice idea, but too much work)
Line 77: Line 77:
  
 
Well, I like the concept, though I'm not going to be volunteering to implement it myself. --[[User:Rednaxela|Rednaxela]] 06:27, 19 January 2011 (UTC)
 
Well, I like the concept, though I'm not going to be volunteering to implement it myself. --[[User:Rednaxela|Rednaxela]] 06:27, 19 January 2011 (UTC)
 +
 +
Like I've stated above, the current process is much less work than automating it...  If I had more free time and were to make any major updates to the server then I'd let users create accounts, upload their bots and generate the participants list directly (like roborumble.org would have done).  No need to scrape web pages for any data or struggle to find hosting for your bot. --[[User:Darkcanuck|Darkcanuck]] 06:37, 19 January 2011 (UTC)

Revision as of 07:37, 19 January 2011

Hi dear RoboRumble-runners! I'd really really like to have a flag. I wrote to countryflags on the old wiki, but nobody has answered for weeks or months. Is it possible to add flags to new requesters? Here is the direct link to save time. :P [1] --HUNRobar 19:19, 3 March 2009 (UTC)

It is said that Darkcanuck doesn't visit the wiki, try email him. It's darkcanuck81 (at) g mail (dot) com.

Thanks darkcanuck, I have flag at last! :) --HUNRobar 16:20, 6 March 2009 (UTC)

Darkcanuck, a suggestion to make things easier for you (and your server!) in the future: create a folder of country flags named by two-letter country code (US, DE, GR, RU, ...) and associate each username with a particular flag, ideally on a particular (editable!) page on the wiki, like the participants page is now. Then whenever someone wants to set their nationality, they can do it on the wiki, and your server can grab a copy of the page daily or semi-daily to get everyone's country. Then, instead of having multiple copies of the same flag over and over your server can have one of each flag, saving load time and upload bandwidth. -- Synapse 02:48, 4 July 2009 (UTC)

Because someone may want a special flag (see ap package, which nationality are they?). I don't know, this maybe better and need a lot more works, current way I believed is just drop an image named with the package name and all will work. And by setting ErrorDocument directive in .htaccess (server is Apache, detected by Server: HTTP response header) to blank image, the non-existence image will be served using blank flag. » Nat | Talk » 03:16, 4 July 2009 (UTC)
New users show up so infrequently that the current way (manual updates) is much easier... But if the community ever expands like wildfire, I'll look into something like this. --Darkcanuck 21:30, 9 July 2009 (UTC)

Could you be as kind to give me a dutch flag? --Positive 18:59, 18 July 2009 (UTC)

Could i have a swedish flag, please Rsim 18:39, 1 August 2009 (UTC)

Uh oh, the Swedish flag flies once again... =) --Voidious 19:12, 1 August 2009 (UTC)
Hope it is as strong as last time it flied. ;) » Nat | Talk » 02:17, 2 August 2009 (UTC)

Could you give me a Brazilian flag? Thank you! HVilela

Hi, can I have a Portuguese flag? (my bots main package is dmsr) DavidR

Would you please assign a U.S. flag to the uccc.* package name? Thanks, Christopher.Hilla 00:31, 6 February 2010 (UTC)

Hi, can I have a german flag, please? (my bots main package is fromHell) FromHell 12:07, 15 March 2010 (UTC)

Hi I would love to have a United States flag assigned to the package exauge. Currently the only robot I have is exauge.LemonDrop but I plan to add more in the future. Thanks! --Exauge 16:55, 2 May 2010 (UTC)

Could you please add a german flag to the staticline package. Thanks! --Staticline 16:47, 24 June 2010 (UTC)

Hi just started robocode my robot is mym.EdgeStalker I saw it had no flag could you please put a RSA South African flag on it please --Moyamo 19:07, 28 August 2010 (UTC)

Hi would i be able to get a Australian flag attached to quietus please. --Quietus 01:56, 11 September 2010 (UTC)
Hi, could i get an Dutch flag? dont know if anyone is monitoring this page, hope so haha. Thanks in advance! -- KiraNL 12:14, 14 September 2010 (UTC)

Thanks for the flag darkcanuck --Moyamo 15:46, 3 October 2010 (UTC)

Hi, could I have a Finnish flag assigned to my package (lancel)?

Flag request

Give the jeremyreeder package a United States flag, please. --JeremyReeder 23:47, 11 December 2010 (UTC)

Automated Flags

I have an idea how we can make this automated. Like the current roborumble participant page, we use a pre tag to designate a flag or gif url as the flag for that package, and every so often (once a day?), the rumble server queries the wiki for the package flags.

Example

abc,http://www.gregwolf.com/pt-flag.jpg
ags,canada
chase,japan
davidalves,united_states
florent,http://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Flag_of_France.svg/30px-Flag_of_France.svg.png
jk,south_africa
kc,united_states
mue,germany
pez,denmark
pulsar,denmark
voidious,united_states
wiki,united_nations
zyx,http://www.craftcentral.com/images/flag/ve_flag_s.png

We can of course use the URL http://www.robowiki.net/wiki/RoboRumble/Country_Flags?action=raw, so that that wiki and rumble server load is lower. It would take a bit of work to get most the flags setup with keywords. But afterword you could change your flag daily, or have a custom flag (icon). Obviously, the server would either have to reject images too large, or convert them. I personally think reject, and to do so for anything not 30x18 and only allow gif, png, and jpg, and nothing over say 1 kb (they are really small flags).

Chase-san 03:18, 19 January 2011 (UTC)

Well, I like the concept, though I'm not going to be volunteering to implement it myself. --Rednaxela 06:27, 19 January 2011 (UTC)

Like I've stated above, the current process is much less work than automating it... If I had more free time and were to make any major updates to the server then I'd let users create accounts, upload their bots and generate the participants list directly (like roborumble.org would have done). No need to scrape web pages for any data or struggle to find hosting for your bot. --Darkcanuck 06:37, 19 January 2011 (UTC)