|
|
|
 |

March 2nd, 2004, 08:31 PM
|
 |
Major General
|
|
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Quote:
Originally posted by PDF:
Looks Ok..
So it's an alien/broken Java install ? Will reinstall then ..
|
That appears to be the case. I cannot think of any other possibility.
I would try running Scan Disk first, though.
[ March 02, 2004, 18:31: Message edited by: Saber Cherry ]
|

March 4th, 2004, 03:27 PM
|
Private
|
|
Join Date: Mar 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Seems you hardcoded your path separator instead of using Java System.getProperty ("file.separator").
tsk.
Mac people, do this in terminal:
sed "s@Data\\@Data/@g" Data.class > Data.class.new; mv Data.class.new Data.class
|

March 4th, 2004, 05:07 PM
|
 |
Major General
|
|
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Quote:
Originally posted by Goad:
Seems you hardcoded your path separator instead of using Java System.getProperty ("file.separator").
tsk.
Mac people, do this in terminal:
sed "s@Data\\@Data/@g" Data.class > Data.class.new; mv Data.class.new Data.class
|
Woah, I'll have to change that. Sorry...
I had no idea the path was specified (in Java) in a different way for different OSes.
|

March 4th, 2004, 05:09 PM
|
 |
Major General
|
|
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Quote:
Originally posted by Saber Cherry:
I had no idea the path was specified (in Java) in a different way for different OSes.
|
Ouch! Neither did I. Who knew you could learn programming by playing games? 
|

March 4th, 2004, 05:58 PM
|
Private
|
|
Join Date: Mar 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
No problem. It's a great utility by the way. I'm looking forward to using it to optimize my first recruits. Since I can only play to level 34 while I wait for the rowboat to cross the atlantic with the packaged game.
|

March 4th, 2004, 06:31 PM
|
 |
Major General
|
|
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Okay, v41 was uploaded. It correctly grabs file separators. Also, I changed the psuedorandom number generator from Math.Random to a free Java Mersenne Twister, which is supposed to be a much better random number generator, more suitable for Monte Carlo simulation (which this combat sim does).
|

March 4th, 2004, 07:51 PM
|
Major General
|
|
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Quote:
Originally posted by Arryn:
Ouch! Neither did I. Who knew you could learn programming by playing games?
|
Me. Everything I know about programming, I learned by from playing games, ripping them apart, and hacking them to be the way *I* want them to.
In Soviet Russia, the game plays you!
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|