Difference between revisions of "Talk:Main Page"

From Robowiki
Jump to navigation Jump to search
(Safe? Sure. However there are probably notable bugs in the version in use.)
 
(66 intermediate revisions by 19 users not shown)
Line 1: Line 1:
== Why is the "Robo Wiki" icon in the upper left corner so small? ==
+
For old discussion, see [[Archived talk:Main Page 20110903]].
The headline speaks for itself.  --[[User:Awesomeness|Awesomeness]] 21:08, 3 May 2009 (UTC)
 
 
 
So small? It seems just right to me really. --[[User:Rednaxela|Rednaxela]] 21:56, 3 May 2009 (UTC)
 
 
 
Because it is the same size as the old wiki =) &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 23:41, 3 May 2009 (UTC)
 
 
 
 
 
http://www.csdgn.org/files/images/robowiki2.png
 
 
 
I have a solution to this! I was bored so I drew this (though it is probably too big!). I realize I forgot the radar, but to be honest, from this angle it would block to much however. Just consider it a drone! --[[User:Chase-san|Chase]] 21:50, 20 June 2010 (UTC)
 
 
 
: You could just said that it is a Droid instead of saying that you forgot them... --[[User:Nat|<span style="color:#099;">Nat</span>]] [[User talk:Nat|<span style="color:#0a5;">Pavasant</span>]] 13:36, 21 June 2010 (UTC)
 
 
 
:: I like it - it looks good :) on the current one you cant really read wiki because its blocked but this looks really good :) --<font style="font-family:helvetica,arial,sans-serif;font-size:90%;letter-spacing:-1px;">[[User:Exauge|Exauge]] ◊ [[User talk:Exauge|talk]]</font> 14:51, 21 June 2010 (UTC)
 
 
 
:: I suppose I could have. On another note, I notice that some of my shadows are wrong/inconsistent. --[[User:Chase-san|Chase]] 15:30, 21 June 2010 (UTC)
 
 
 
: Looks really nice! I like it. Of course I have a soft spot for the old one, but this one's also very true to the original idea. And the text is way more readable. --[[User:Voidious|Voidious]] 00:05, 22 June 2010 (UTC)
 
 
 
http://www.csdgn.org/files/images/robowiki3.png
 
 
 
I fixed some of my shadow work in this. I made the wording a bit more visible as well (by adding more depth to it). I also made the book lines heavier. &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 06:25, 20 July 2010 (UTC)
 
 
 
http://www.csdgn.org/files/images/robowiki_thumb.png
 
 
 
Obviously this is to big to go in the corner, but I made a reduced size one. &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 06:28, 20 July 2010 (UTC)
 
 
 
Was a decision ever reached on this, because I am considering redrawing this (but better). &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 20:13, 18 January 2011 (UTC)
 
 
 
I'm up for changing it and I don't think anybody objected. Just fell off my radar - sorry! I think my only criticism of that first one is that the "IKI" is a little smushed together. --[[User:Voidious|Voidious]] 20:20, 18 January 2011 (UTC)
 
 
 
Well (I personally think) my art has improved considerably since I drew this. &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 21:31, 18 January 2011 (UTC)
 
 
 
: If nothing else, I will go over it with a pen and clean up the line work. &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 21:38, 18 January 2011 (UTC)
 
 
 
http://www.csdgn.org/files/images/robowiki2_small.png
 
 
 
Here is the new version. It's a bit cleaner, though it doesn't have as much character (because it is so much cleaner). &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 02:01, 19 January 2011 (UTC)
 
 
 
Nice stuff, looks pretty good to me :) --[[User:Rednaxela|Rednaxela]] 06:04, 19 January 2011 (UTC)
 
 
 
== Does robo rumble work? ==
 
hi im new to robocode, been doing it as part of my uni course and i was wondering, is it possible to run roborumble at home anymore because ive follwed the instructions and none of the battles ive been doing have been uploading.... [[User:Quietus|Quietus]] 15:47, 21 November 2008 (UTC)
 
 
 
Yep! It sure as he heck still works! The thing is, the rumble.fervir.com server has been kind of broken for a while. You need to point your client at [http://darkcanuck.net/rumble/ this URL] instead now (See [[Darkcanuck/RRServer|here]] for more information). There's new fanciness in that server too :) --[[User:Rednaxela|Rednaxela]] 19:48, 21 November 2008 (UTC)
 
 
 
== Article count ==
 
 
 
A couple questions about the article count (after having some trouble Googling for answers). First, why isn't it updating automatically? Is that something I can trigger to update, or add to the "job queue", does anyone know? (Notice if you edit / preview it is higher than 43, which it reads on the main page right now.) Second, what qualifies as an "article"? Is there a minimum length that a page needs to be (other than not being a user or talk page) to qualify as an article? --[[User:Voidious|Voidious]] 19:56, 12 November 2007 (UTC)
 
:The main page just updated, it now says 48 articles. Also, the statistics page says that there are 145 pages total, but it is excluding, "talk pages, pages about RoboWiki, minimal 'stub' pages, redirects, and others that probably don't qualify as content pages." --[[User:AaronR|AaronR]] 20:00, 12 November 2007 (UTC)
 
 
 
According to the MediaWiki wiki (now that's a mouthful), the main page will come up to date as soon as its HTML cache is invalidated, at which point all of the templates, etc. will be transcluded again. Don't know if that helps... --[[User:AaronR|AaronR]] 20:27, 12 November 2007 (UTC)
 
 
 
== Font size ==
 
 
 
Just out of curiosity, why is the font size so large here compared to, say, Wikipedia? I know, I know, it's the same as the old wiki's font, but that wiki didn't have a sidebar. --[[User:AaronR|AaronR]] 07:04, 13 November 2007 (UTC)
 
 
 
: Primarily because I thought "x-small" was just too small, and yes, it was also just sooo much smaller than the old wiki. I also figured that with the skins options, we could easily give people more choices to choose their own style, anyway. I will confess that tiny fonts for the sake of sleeker designs is a major pet peeve of mine. :-P --[[User:Voidious|Voidious]] 07:12, 13 November 2007 (UTC)
 
 
 
== Smileys :-) ==
 
 
 
I would be relly nice if we could somehow support smile, e.g. just as simple as stating:
 
 
 
<pre>[[Image:HappySmiley.png]]</pre>
 
 
 
--[[User:FlemmingLarsen|Flemming N. Larsen]] 09:04, 28 November 2007 (UTC)
 
 
 
Wikimedia Commons has a [http://commons.wikimedia.org/wiki/Smiley whole section] of GFDL'd or public domain smileys (look at the link at the bottom for more). I don't really see the point though. If you want to upload them and use them, feel free, but I'll stick with =) on the wiki. --<code>[[User:AaronR|AaronR]]</code> 01:21, 30 November 2007 (UTC)
 
 
 
== Old wiki ==
 
The old wiki is not working (error 500), and so my roborumble client (it cannot find the list of partecipants), but i see many client is uploading. What is your solution?
 
--[[User:Lestofante|Lestofante]] 10:35, 1 Dic 2008 (UTC)
 
 
 
The clients currently running are just using the last copy of the participants list they downloaded from the old wiki. I emailed PEZ a bit ago and got a reply that he'll look into it so hopefully the old wiki will be up again in not too long. If that ends up taking longer than expected though, we could update/fix the participants page on the new wiki and point clients at that instead. (Note: Don't point clients at the one on the new wiki just yet, it's out of date and such. It needs to be copied over from a downloaded copy of the list from the old wiki) --[[User:Rednaxela|Rednaxela]] 12:00, 1 December 2008 (UTC)
 
 
 
maybe we can drop definitely the old wiki for roborumble client, or better every ramble server can implements it's own participants list, maybe integrated with general wiki list
 
--[[User:Lestofante|Lestofante]] 15:13, 1 Dic 2008 (UTC)
 
 
 
I'd agree that migrating to using the new wiki participants list would be good, though I think some more veteran wikiers/rumblers than myself should give their input before any such switch is made 'official'. As far as keeping a participants list with the rumble server, well, there's only one working rumble server at the moment so I'm not sure what good that would do, and furthermore multiple rumble server would be a bad thing I think becacuse it would divide the processing power that goes towards making the battles. --[[User:Rednaxela|Rednaxela]] 17:47, 1 December 2008 (UTC)
 
 
 
That's right, then I thing the server have to had a mirror of the wiki's official participants list, so in this case we can continue run our client, simple we cannot modify the list (if the two list are not synchronize together)
 
--[[User:Lestofante|Lestofante]] 21:49, 1 Dic 2008 (UTC)
 
 
 
Yeah, the real problem is getting the participants list from the currently-erroring wiki. The RR client has no problem parsing the new wiki format. I may be able to get that from the RoboWiki server when I get home (if it isn't fixed before then).
 
 
 
The other issue we might encounter in the future would be when we move this wiki to robowiki.net, and we have RR clients pointing to testwiki.roborumble.org, but I don't think forwarding that URL and/or having people update their clients would be a big issue. I'm glad you contacted PEZ about the old wiki's current problems, I've been out of touch for at least a week...
 
 
 
--[[User:Voidious|Voidious]] 19:03, 2 December 2008 (UTC)
 
 
 
Okay to mention it here as well for people who haven't been checking up on it... The old wiki is back up! --[[User:Rednaxela|Rednaxela]] 18:43, 9 December 2008 (UTC)
 
 
 
== mailer error ==
 
I'm trying to confirm my user e-mail, but I still get "mailer error". I've tried 3 different and working address... and there is a way for automatically sign the edits?
 
--[[User:Lestofante|Lestofante]] 22:00, 1 Dic 2008 (UTC)
 
 
 
: I couldn't get the mailer to work either, but you can easily sign your edits using <nowiki>--~~~~</nowiki>.  See http://meta.wikimedia.org/wiki/Cheatsheet for more tricks.  --[[User:Darkcanuck|Darkcanuck]] 03:13, 2 December 2008 (UTC)
 
 
 
== InterWiki Links ==
 
Who have fully access to this server apart from [[User:David Alves|David Alves]]? I want both my thai wiki and this wiki a inter-languages link. Please look [[User_talk:Nat#New_Thai_RoboWiki|here]] for more detailed. &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 15:16, 15 April 2009 (UTC)
 
 
 
I have full access, or at least I do if I can remember the password. =) I'll see about logging in and taking a look at the InterWiki stuff. Sorry it took so long to respond about this. --[[User:Voidious|Voidious]] 14:50, 16 April 2009 (UTC)
 
 
 
Hey Voidious, I believed that the SQL will take less than 1 seconds to copy/past/execute. Plus login/connecting time I think this can be accomplished within a minute so please do asap (or I must say NOW). &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 16:19, 22 April 2009 (UTC)
 
 
 
Hey Nat - I will add the InterWiki link because I'd like to support your efforts to start a Thai Robocode community and wiki. But I really don't appreciate being commanded to do that (or much of anything, really), and especially to do so "NOW". Please keep in mind the RoboWiki's only rule: "Pretty please be polite." --[[User:Voidious|Voidious]] 18:48, 22 April 2009 (UTC)
 
 
 
Cool, I read up on the InterWiki stuff, added your Thai wiki to the database, and posted a link on the main page. As I can't read Thai, please make sure that looks right and edit it if necessary. =) --[[User:Voidious|Voidious]] 22:54, 22 April 2009 (UTC)
 
 
 
Sorry for that rude. But anyways, thank you very much. The link at main page is correct. &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 01:37, 23 April 2009 (UTC)
 
 
 
== Database error ==
 
I didn't know where to put this, but here seems like a decent spot. All my posts are getting this message today (4 times, probably 5 with this one), the posts are still uploaded but the message is:
 
<pre>
 
A database query syntax error has occurred. This may indicate a bug in the software.
 
The last attempted database query was:
 
(SQL query hidden)
 
from within function "SearchMySQL4::update".
 
MySQL returned error "126: Incorrect key file for table './wikidb/searchindex.MYI'; try to repair it (localhost)".
 
</pre>
 
 
 
I don't know if ''localhost'' is meant to be from mine point of view, or the server's. Maybe someone else is getting the same messages, I haven't tried to logout/in, because I just thought of that. --[[User:Zyx|zyx]] 23:47, 5 May 2009 (UTC)
 
: Just like when you go to the mechanic, I didn't get the message this time. Another piece of information may be that all the other 4 posts where at [[Talk:PwnBot‎]], so maybe the problem relies in that page. --[[User:Zyx|zyx]] 23:49, 5 May 2009 (UTC)
 
 
 
:: I found some mentions of people hitting this, and it sounds like a "repair table" SQL command is the remedy. I've run that now, so hopefully it's fixed. Can you let me know if it happens again? Thanks, --[[User:Voidious|Voidious]] 00:31, 6 May 2009 (UTC)
 
 
 
::: Just got it again, and again in the same page [[Talk:PwnBot‎]]. --[[User:Zyx|zyx]] 20:45, 6 May 2009 (UTC)
 
 
 
:::: Thanks for the info. I saw it as well when I posted the downtime note. I'm guessing the server crashing corrupted the searchindex table -- I'll rerun the "repair table" and post here when I do. I'll also be backing up the database very soon. --[[User:Voidious|Voidious]] 20:52, 6 May 2009 (UTC)
 
 
 
::Is it... My fault?!  I created that page.  It seems whenever I change a page I get it too.  It doesn't matter what page I go to.  Also, for the majority of today, (for me at least) it seems your server has been down.  I've been unable to connect.  --[[User:Awesomeness|Awesomeness]] 22:04, 6 May 2009 (UTC)
 
 
 
::: It's not your fault, and I saw it on another page too. The server went down for a while as of last night, still not sure what happened, but glad it's back up. I've rerun the "repair table" command, so I think that database error will go away for now. --[[User:Voidious|Voidious]] 22:06, 6 May 2009 (UTC)
 
 
 
:::: I now know why I can't access the wiki (and roborumble.org) yesterday. Night there, afternoon here. &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 00:25, 7 May 2009 (UTC)
 
 
 
== SourceForge.net Community Choices Awards ==
 
 
 
<div style="text-align:center; border: 5px solid #ccc">
 
http://sourceforge.net/images/cca/cca_nominate.png
 
 
 
Please nominate Robocode to SourceForge.net Community Choices Awards!<br />
 
[http://sourceforge.net/community/cca09/nominate/?project_name=Robocode&project_url=http://robocode.sourceforge.net/ Nominate Robocode]
 
</div>
 
 
 
Anyone mind to put this to [[MediaWiki:Sitenotice]] or front page? I not sure if I can post to front page. &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 10:21, 15 May 2009 (UTC)
 
 
 
Please nominate Robocode in category of "Best Project for Academia" and "Most Likely to Change the Way You Do Everything". If you nominate to another category, please post here so other robocoder can nominate in same categories (note that you can nominate in multiple categories) Nevertheless, please [http://sourceforge.net/community/cca09/nominate/?project_name=Robocode&project_url=http://robocode.sourceforge.net/ nominate]! &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 11:26, 18 May 2009 (UTC)
 
 
 
== [[Special:Disambiguations]] ==
 
 
 
Do anyone know why the [[Special:Disambiguations]] has spammy report? &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 11:23, 18 May 2009 (UTC)
 
 
 
== Image Uploads ==
 
 
 
It looks like the image uploads folder is not set as writable to the wiki. Is this expected to change? -- [[User:Synapse|<font style="font-size:0.8em;font-variant:small-caps;">Synapse</font>]] 05:27, 10 June 2009 (UTC)
 
 
 
Haven't test yet. If this is true, I think this problem cause due the upgrading of MediaWiki. Voidious, check it please? Another note to Voidious, MediaWiki/1.15 just release =) &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 13:29, 10 June 2009 (UTC)
 
 
 
Not sure why it stopped working, but I'll take a look at the image uploads and upgrading MediaWiki this afternoon. (And making a mental note to test that whenever I upgrade. =)) --[[User:Voidious|Voidious]] 15:41, 11 June 2009 (UTC)
 
 
 
Fixed the uploading issue and upgraded MedaWiki to 1.15. Enjoy. =) --[[User:Voidious|Voidious]] 20:10, 11 June 2009 (UTC)
 
 
 
== /wiki/PageName-style url ==
 
 
 
Recently this day I noticed that the /wiki/PageName-style URL is now work. Voidious, why don't you set the <code>$wgArticlePath = "/wiki/$1"</code> in LocalSettings.php? And I wonder why the old server at 174.132.4.195 now has new wiki code, and available in both /wiki/PageName and ?PageName style (but not /w/index.php?title=PageName style). What's going on? &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 12:56, 27 June 2009 (UTC)
 
 
 
== Syntax Highlighting ==
 
 
 
It would be great if we could have syntax highlighting for code snippets. This would make code snippets easier to read. Currently, if I want to read a code snippet from the wiki, I would copy and paste it into my favourite text editor.
 
 
 
Wikipedia itself seems to use [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi SyntaxHighlight GeSHi].&mdash;
 
 
 
[[User:Duyn|Duyn]] 14:56, 17 January 2010 (UTC)
 
 
 
[[User:Voidious/RoboWiki_To-Do]] --[[User:Nat|<span style="color:#099;">Nat</span>]] [[User talk:Nat|<span style="color:#0a5;">Pavasant</span>]] 13:41, 18 January 2010 (UTC)
 
 
 
Yeah, that's been on my to-do list for a while, I'll try to get it up and running soon. Can't be too tough. =) --[[User:Voidious|Voidious]] 16:12, 19 January 2010 (UTC)
 
 
 
== Favicon ==
 
 
 
I just noticed that the new Robowiki doesn't have a favicon. This is easily remedied by copying http://old.robowiki.net/favicon.ico so that it is accessible at http://robowiki.net/favicon.ico --[[User:Skilgannon|Skilgannon]] 18:00, 17 January 2010 (UTC)
 
 
 
: Will do. --[[User:Voidious|Voidious]] 16:12, 19 January 2010 (UTC)
 
 
 
== Robocode on Wikipedia ==
 
 
 
Well, [[wikipedia:Robocode]] article is just challenged for reference, as well as a original research. Please help it by adding reference. --[[User:Nat|<span style="color:#099;">Nat</span>]] [[User talk:Nat|<span style="color:#0a5;">Pavasant</span>]] 15:09, 15 April 2010 (UTC)
 
 
 
Honestly, I believe many things on the wikipedia article, at least 2/3rds of the page, just plain don't belong on Wikiedia, due to valid reasons. In fact I'm not sure anything beyond the overview and the first two sections belong, given how Wikipedia's 'original research' and 'notability' criteria apply to such sections. Even those sections which do make sense to keep to desperately need citations. Essentially, I don't feel the sections [http://en.wikipedia.org/w/index.php?title=Robocode&action=historysubmit&diff=37661690&oldid=35178091 added by PEZ] fit wikipedia's criteria for what belongs. So... I think it does deserve to be challenged for good reason. I don't have time to improve what should stay though. --[[User:Rednaxela|Rednaxela]] 16:39, 15 April 2010 (UTC)
 
 
 
I'll make more comments on the Wikipedia talk page, but I agree it needs a lot of cleanup and I'm willing to help out with that. I half agree with Rednaxela. The overview and first 2 sections are fine and neutral. The rest could use a lot of cleaning up, but I don't think it all needs just to be axed. Some editing down / revising / adding citations should do the trick. (I think the RoboWiki is a "reliable source"? If not, I don't know what is.) --[[User:Voidious|Voidious]] 19:03, 15 April 2010 (UTC)
 
 
 
: Well, while I would personally consider Robowiki a "reliable source" for my own purposes, it seems to me it violates some of what is noted on [[wikipedia:Wikipedia:Verifiability#Self-published_sources_.28online_and_paper.29|Wikipedia:Verifiability#Self-published_sources]], in particular how it notes "open wikis" among other things as "largely not acceptable". Also, note the "no original research" policies, and consider that much of the purpose of Robowiki is for "original research". There is a significant difference between a source one trusts, and a source that fits Wikipedia's rules.  --[[User:Rednaxela|Rednaxela]] 01:54, 16 April 2010 (UTC)
 
 
 
: Hmm, thanks. I really don't know much about Wikipedia's policies, but just starting to read up on it now. In that case, you are probably right that a lot of stuff needs to just be axed... --[[User:Voidious|Voidious]] 13:46, 16 April 2010 (UTC)
 
 
 
== "Robocode Guidebook" ==
 
 
 
''Migrated to [[Talk:Robocode Guidebook]]''
 
 
 
== RoboCode Chat / IM ==
 
 
 
So it is to my understanding that currently the only real way for robocoders to talk is on talk pages on this wiki so I had this idea... what if we had an IM type web chat system for Robocoders to talk :) within a few months i could probably get a website set up to do that and it would use the open-source [https://blueimp.net/ajax/ AJAX project]. What do you all think of the idea? --[[User:Exauge|Exauge]] 00:33, 15 May 2010 (UTC)
 
 
 
I think we have an (deserted) IRC channel (or not?). But actually I do chat with some Robocoder through GTalk and e-mail. --[[User:Nat|<span style="color:#099;">Nat</span>]] [[User talk:Nat|<span style="color:#0a5;">Pavasant</span>]] 00:38, 15 May 2010 (UTC)
 
 
 
Seems like a lot of work. =) Some of us have each other on IM. I use my handle on AIM and my handle at gmail for GTalk/Jabber. (But my AIM is set so you can't see my status if I don't have you as a buddy.) We used to have [[oldwiki:ContactInfo]], but there's no current page with that kind of info. --[[User:Voidious|Voidious]] 00:41, 15 May 2010 (UTC)
 
 
 
Hi, anyways I've started working on a Robocode talk page and it's getting to be pretty sweet ;) I can probably have it finished in a few weeks (maybe sooner) and anyways if you like it you will all be very welcome to use it and if it's popular enough I might purchase a domain name for it :) and if not, well it's a good way for me to practice my website building skills :) anyways back to studying for tomorrow's exams lol :S --[[User:Exauge|Exauge]]
 
 
 
Well, personally anyway, if were to have a robocode live chat place, I'd strongly prefer it be an IRC channel (i.e. on Freenode?). Mostly because I always have an IRC client running anyway, and those without an IRC client can still sign in via a web page (i.e. [http://www.mibbit.com/] and [http://webchat.freenode.net/]). Also, IRC is probably about the most mature system for such things anyway, and it's nearly maintain free to maintain a channel. --[[User:Rednaxela|Rednaxela]] 04:03, 17 May 2010 (UTC)
 
 
 
== Wall Avoidance ==
 
 
 
''moved to [[Talk:DustBunny]]...''
 
 
 
== Walking to the center of the wall ==
 
 
 
Well, i'm trying to make a Robot that goes to one of the walls, walk to the center of it an then start to circulate the entire Field, touching the center of each wall.
 
 
 
Anyway, I'm having problems to take the Robot to the center of one of the walls. That's what i'm doing:
 
 
 
    package MyRobots;
 
    import robocode.*;
 
    import java.awt.*;
 
 
 
    public class Walle extends AdvancedRobot
 
    {
 
        double moveAmount;
 
        int miss = 0, hit = 0;
 
 
 
        public void run() {
 
       
 
            moveAmount = Math.max(getBattleFieldWidth(), getBattleFieldHeight());
 
       
 
            setBodyColor(Color.black);
 
            setGunColor(Color.orange);
 
            setRadarColor(Color.yellow);
 
            setScanColor(Color.black);
 
            setBulletColor(Color.orange);
 
       
 
            turnLeft(getHeading() % 90);
 
            ahead(moveAmount);
 
       
 
            turnGunRight(90);
 
            turnRight(90);
 
       
 
            if((getY() + getWidth()/2) == getBattleFieldHeight() || (getY() - getWidth()/2) == 0) ahead(getX() - (getBattleFieldWidth()/2));
 
            if((getX() + getHeight()/2) == getBattleFieldWidth() || (getX() - getHeight()/2) == 0) ahead(getY() - (getBattleFieldHeight()/2));
 
            while(true) {
 
            }
 
    }
 
 
 
The problem is obviously with the 2 'ifs', but I really can't get it. Thanks for any help!
 
 
 
getX() & getY() methods returns double value and you cannot compare them using ==, use something like this
 
<syntaxhighlight>
 
  epsilon = 0.0001; // or another small value
 
  if (Math.abs((getY() + getWidth()/2) - getBattleFieldHeight()) < eplsilon) {
 
      ahead(getX() - (getBattleFieldWidth()/2));
 
  }
 
 
 
  // or
 
  if (robocode.util.Utils.isNear(getY() + getWidth()/2, getBattleFieldHeight())) {
 
      ahead(getX() - (getBattleFieldWidth()/2));
 
  }
 
</syntaxhighlight>
 
And it's better to ask questions like this on yours page --[[User:Jdev|Jdev]] 16:21, 14 September 2010 (UTC)
 
 
 
== Strategy ==
 
 
 
So I'm in high school and I'm in a first year Java class. Right now our project is to create a robot in robocode. The rules are the each battle will be fought with 3 to 4 players, the final battle will be 1 on 1, and we aren't allowed to use Advance Robot. There's so many opions in Robocode that I have no clue what's the best strategy going into this. Help!!!
 
 
 
Thanks.
 
 
 
The class [http://robocode.sourceforge.net/docs/robocode/robocode/JuniorRobot.html JuniorRobot] might work well for what you are doing. For your robot just make a class extending JuniorRobot. It could be helpful to override onScannedRobot() and perform actions in there. Also be sure to check out the [[Radar]] page and try to implement one of those radar locks because without a decent radar system your robot will be seriously limited. Just spinning the radar might work OK though. ex turnRadarRight(Double.POSITIVE_INFINITY);
 
Also be sure to check out all the tutorials on this site.
 
--<font style="font-family:helvetica,arial,sans-serif;font-size:90%;letter-spacing:-1px;">[[User:Exauge|Exauge]] ◊ [[User talk:Exauge|talk]]</font> 02:56, 15 December 2010 (UTC)
 
 
 
Well... don't get hit. :-) My advice to get started would be:
 
* Check out the sample bots first, learn how and why they work.
 
* Try to beat all the sample bots.
 
* I'd also check with your teacher about using code from the RoboWiki / internet. There's plenty of code and tutorials available, but it's up to your teacher if you're allowed to use that code (even if the code's license says it's ok).
 
* A page like [[Melee Strategy]] should be good to get the strategy gears turning.
 
Good luck!
 
 
 
--[[User:Voidious|Voidious]] 03:33, 15 December 2010 (UTC)
 
 
 
== Question Forum ==
 
 
 
Is there a question forum or something of the sort where people can ask random questions? {{unsigned|Starhammy}}
 
 
 
No, but actually you can ask on [[Talk:Starhammy|your talk page]]. (I forgot to welcome you properly, so it's my bad you don't know where to ask) --[[User:Nat|<span style="color:#099;">Nat</span>]] [[User talk:Nat|<span style="color:#0a5;">Pavasant</span>]] 12:53, 29 December 2010 (UTC)
 
 
 
 
 
I got an email from some website (itbhu.ac.in). Apparently an Indian college is hosting a "CodeFest" tournament for about 730 something USD (35000 Indian Rupees, it says), and it's an extension of Robocode; it has different modes including Capture the Flag, and it adds walls to the battlefield itself. My main concern: is it safe to download, ie. it has no viruses or trojan horses whatsoever? --[[User:AWOL|AWOL]] 20:34, 31 January 2011 (UTC)
 
 
 
: I don't know, but the first prize is only 15000, e.g. about 300 USD. The rest is for second, runner up, stuff like that. &#8212; <span style="font-family: monospace">[[User:Chase-san|Chase]]-[[User_talk:Chase-san|san]]</span> 23:05, 31 January 2011 (UTC)
 
 
 
: I'm rather confident it's safe. It is hosted at a well reputed Indian university, and the event seems to have some notable partners. I'll point this out though... it appears to be using a build of the "custom-battlefields-workspace" branch of Robocode, which hasn't kept up to date with the main Robocode changes since version 1.7.1.4. This means all known bugs in Robocode 1.7.1.4 likely apply, and some of them are rather... serious... for a competition (i.e. a teleport bug, and a kill-other-robot-threads bug) --[[User:Rednaxela|Rednaxela]] 00:20, 1 February 2011 (UTC)
 

Latest revision as of 17:44, 25 August 2017

For old discussion, see Archived talk:Main Page 20110903.