Talk:Fission

From Robowiki
Jump to navigation Jump to search

How to package

In response to "However, I don't know how to pack my bot's .class into a jar that has the .properties and stuff. Someone please help on the talk page.", use the Robot->Package robot for upload menu in Robocode. This automatically deals with generating the .properties file, asking if you want to include the source in the jar or not, telling you the codesize etc. Almost all bots are packaged using this as it's by far the easiest way. --Rednaxela 02:29, 14 March 2009 (UTC)

I've already looked there a while ago. It's just all blank when I try to package a robot. Awesomeness 02:53, 14 March 2009 (UTC)

It simply doesn't show any robots, the only options are all robots and no package. I don't get it... Awesomeness 02:54, 14 March 2009 (UTC)

I may be wrong but I'm pretty sure it only lists robots stored within the directory(s) specified in "Options->Preferences->Development Options" and I'm suspecting you've just had your robot in the robots/ directory instead. --Rednaxela 03:22, 14 March 2009 (UTC)

No, it's still blank. And yes, I've already organized my code. -- Awesomeness 10:52, 14 March 2009 (UTC)

Is it entirely blank? Or it have only (all packages) and (no package) item? Can you specified more information? !!!!

It just shows (all) and (no packages).

Oh, I have faced that before when I'm in competition! I don't know how to fix because I just change a challenge computer. I think you will try report it to robocode bugs repository. » Nat | Talk » 08:39, 15 March 2009 (UTC)

Have you tried rebuilding the robot database? Go into your robocode/robots directory and delete the robot.database file as well as the .robotcache/ directory, then restart Robocode. --Skilgannon 18:18, 15 March 2009 (UTC)


I tried, it was no different. -- Awesomeness 23:00, 15 March 2009 (UTC) Ugh! I really want to upload my cool robot! ='(

Well, I really really wouldn't like if you give up on Robocode only because you were unable to upload your bot. So what I can do for you right now is pack your bot and later try to help you fix it so you can pack them yourself. Send me your code and all the config files in your robocode directory (ie. C:\robocode\config) to this address zyx3deal@gmail.com and I will send you back the packaged jar, I will use the config files to try and help you, but that I will do later because I'm at the University right now, hopefully when I get home I will have time to check it, but worst case scenario I will look into it tomorrow. --zyx 17:44, 16 March 2009 (UTC)

Segmentation

Even though I have segmented code, I'd like to segment it even more. You can find the code for the gun in the article. Please teach me how to do it so I can do it myself, don't just give me the solution. I want to do this myself!

Thanks, Awesomeness 17:30, 16 March 2009 (UTC)

I can't access that tutorial page now, but I bet it is almost same as this one. To add more segments, you need a value for the new segment (of course), then you need to find to normalize it to positive/zero integer ({ Z+ , Z0 }). To add new segment to your stats, add new dimension to array. Finally you must add the value of new dimension to the place you retrieve your stats. That's all. Sorry if you don't understand, I'm not very good at English. » Nat | Talk » 03:31, 1 May 2009 (UTC)

There are no threads on this page yet.