|
|
|
 |

February 29th, 2004, 10:40 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!
Version 40 notes:
25% speedup. Details:
Boolean dice rolls are no longer simulated; they have been tableized. You can see the table in the Data\StatTable.txt. What does this mean? To check all "yes-or-no" rolls like att vs def, MR vs penetration, morale vs morale penalty, I no longer roll 4 open-ended d6's, but generate a single random number and consult the table to see if it succeded. This gives virtually identical results and is much faster.
Bug in v39 fixed (all units were listed as having elemental magic).
Random magic is calculated at runtime. So if you simulate combat using units with random magic or random elemental picks, they will do slightly better, as they will sometimes get fire (+att), earth (+tprot), and air (+mirror images for units with glamour). All 8 randoms are simulated, but only those 3 affect the simulator combat.
Neverheals is now supported. Before, it did nothing; now, neverheals units will not regain HP when fighting in "Gauntlet" mode. This is not very noticable with low-HP undead hordes, but it is for large neverhealing constructs and undead jotuns.
|

February 29th, 2004, 11:32 PM
|
Colonel
|
|
Join Date: Apr 2002
Location: Near Paris, France
Posts: 1,566
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Me again
Still won't run, got this when under a MS DOS box :
D:\Strategy\dominions2\doc\CombatSim>java fight militia militia 1000
Exception in thread "main" java.lang.NoClassDefFoundError: fight
Am I the only one unable to make the CombatSim run ? I've java properly installed, but usually only use JavaW apps with a GUI ...
|

March 1st, 2004, 12:08 AM
|
 |
Major General
|
|
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Ah!
Finally!
"Fight" must be capitalized. Most of the stuff is case-insensitive, but any file names ("Fight", "Matrix") must be exact.
Try again and tell me!
|

March 2nd, 2004, 06:56 PM
|
Colonel
|
|
Join Date: Apr 2002
Location: Near Paris, France
Posts: 1,566
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Quote:
Originally posted by Saber Cherry:
Ah!
Finally!
"Fight" must be capitalized. Most of the stuff is case-insensitive, but any file names ("Fight", "Matrix") must be exact.
Try again and tell me!
|
Nope, whatever the case, FIGHT, fight, Fight or FiGhT give all the same error msg 
|

March 2nd, 2004, 07:13 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!
If you type (from that directory):
dir Fight.class
does it show the file:
Fight.class (10,530 bytes)?
If that file is present, and typing
java Fight militia militia
gives you the error:
Exception in thread "main" java.lang.NoClassDefFoundError: Fight
...then there is some crazy problem that I don't understand, like a corrupt file, or a broken Java installation. Sorry 
|

March 2nd, 2004, 07:14 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!
Grasping at straws with this, but what Version of the JRE are you using?
|

March 2nd, 2004, 07:25 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!
Good point. In addition to
dir Fight.class
try typing
java -Version
My development environment:
C:\WINDOWS>java -Version
java Version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed 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
|
|
|
|
|