Jump to content

Lrr Cfg Level Gen Thingy


TheDoctor
 Share

Recommended Posts

FIXED!

So I got the idea of making a program to generate the cfg code for a level section. Then I made it. It's made in Java, of course. What it does is prompts you for the values and then writes a file with the code. Or at least it's supposed to.

I HAVE TESTED THIS AND IT DOES WORK.

That being said, I've decided to let the community alpha this thing. Please, by all means, torture test this thing. I want any bugs or suggestions you guys can find.

USE: Just run the appropriate script. Linux users might need to chmod a+x it.

Downloads

http://oresome.rockraidersunited.com/download/87 (With GUI, Latest Version)

Link to comment
Share on other sites

c:\games\Rock Raiders - Copy\cfg gen>cfgcodethingy.bat

Exception in thread "main" java.lang.NoClassDefFoundError: lrrcfglevelgen

Caused by: java.lang.ClassNotFoundException: lrrcfglevelgen

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

Could not find the main class: lrrcfglevelgen. Program will exit.

c:\games\Rock Raiders - Copy\cfg gen>

Are you sure you uploaded the fix?

Link to comment
Share on other sites

BRAAGGGGGHHHHH. I think I know what it is. A ClassNotFound exception means something is named wrong. I had fixed a typo in the source for the name, but if the name of the file and the name of the class didn't match, the compiler would have given me an error, which it didn't. I'll look into this tomorrow, since I can't quite get back on the computer now.

EDIT: HURDUR. I just now remembered there were two copies of the source where I was working. I probably compiled the wrong one or something. I'll have to sort this out tomorrow.

Link to comment
Share on other sites

[12:24:33 PM] Ciprian: fix description of dig depth

[12:24:45 PM] Ciprian: and rough level

Edit:

Everything is the same. I think you messed up in uploading the file?

I redownloaded several times, so I don't think it's a problem on my end.

Also,

Importance for crystals

10

110 percent left to use.

Importance for buildings

20

130 percent left to use.

Importance for oxygen remaining.

30

160 percent left to use.

Importance for Raiders teleported (?).

Fail.

And it didn't generate the file. Again.

And yes, it skips the name prompt.

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.