Re: Roborumble client cannot download robot (Downloaded file is wrong or corrupted)
manos gerakianakis <[email protected]> Sat, 9 Jan 2016 08:42:19 -0800 (PST)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
Thanks you Flemming for your answer. I understand the problem and find the
solution. Thanks for all again.
Τη Τρίτη, 5 Ιανουαρίου 2016 - 12:08:59 π.μ. UTC+2, ο χρήστης fnl έγραψε:
>
> Hi Manos,
>
> This could be due to the web-server, which does not recognize the .jar
> file format (ASCII or BINARY).
> I have seen problems similar to your problem before (corrupt jar file),
> where the problems were solved by adding this line in a .htaccess file
> inside the directory on the server path containing the .jar file:
>
> AddType application/java-archive .jar
>
> This means that you should make sure that a .htaccess file exists under:
>
> http://svman4.weebly.com/uploads/1/4/2/2/14229823/
> <http://www.google.com/url?q=http%3A%2F%2Fsvman4.weebly.com%2Fuploads%2F1%2F4%2F2%2F2%2F14229823%2Fgre.svman4.morfeas_1.5.jar&sa=D&sntz=1&usg=AFQjCNE3lvMOxmb2MWacn9ON8d1t-1-XBQ>
>
> If the .htacess does not exist on the path, you must create it an
> contaning only the AddType line above.
>
> I hope this helps?
>
> Cheers,
> - Flemming
>
>
>
>
> Den mandag den 4. januar 2016 kl. 18.44.50 UTC+1 skrev manos gerakianakis:
>>
>> Hello, two weeks ago i updated my robot from 1.4 to 1.5 edition. My robot
>> is "morfeas" (gre.svman4.morfeas). Now i am trying to upload it at
>> RoboRumble for the 1vs1 competition. It seems that the upload at the
>> "participants" page (http://robowiki.net/wiki/RoboRumble/Participants)
>> is completed without any problem.
>> But when i try to run it on my computer in order to update the current
>> rankings, the file cannot be downloaded and an error is occured
>> ("Downloaded file is wrong or corrupted: gre.svman4.morfeas_1.5.jar").
>>
>> On the contrary when i download the file of my robot manually from the
>> url (
>> http://svman4.weebly.com/uploads/1/4/2/2/14229823/gre.svman4.morfeas_1.5.jar
>> <http://www.google.com/url?q=http%3A%2F%2Fsvman4.weebly.com%2Fuploads%2F1%2F4%2F2%2F2%2F14229823%2Fgre.svman4.morfeas_1.5.jar&sa=D&sntz=1&usg=AFQjCNE3lvMOxmb2MWacn9ON8d1t-1-XBQ>)
>> I am able to insert it to Robocode and play without any problem. I had no
>> problem with that in 1.4 version or previous versions.
>>
>> Could you please help to solve it?
>>
>>
--
You received this message because you are subscribed to the Google Groups "robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.