Difference between revisions of "Troubleshooting"

From WikiManual
Jump to: navigation, search
(Runtime Error)
Line 211: Line 211:
 
I keep getting a runtime error (76)
 
I keep getting a runtime error (76)
 
This happens rendomly while running a simulation.[[User:Blacksmith|Blacksmith]] 15:42, 21 January 2008 (MST)
 
This happens rendomly while running a simulation.[[User:Blacksmith|Blacksmith]] 15:42, 21 January 2008 (MST)
 +
 +
== Run-time error 713 on Windows 7 ==
 +
On Windows 7, in the "Simulation Settings" window, the "Custom Simulation Costs" button on the Physics and Costs tab causes a fatal error as follows:
 +
 +
Run-time error '713': Class not registered. You need the following file to be installed on your machine. MSSTDFMT.DLL.
 +
 +
This problem is (allegedly) fixable on Windows Vista via regsvr32. The same method, unfortunately, fails to work on Windows 7 (a fatal error occurs between opening the file and registering it), locking those users out of those settings.

Revision as of 18:44, 25 October 2009

My program crashes 10 seconds after starting a sim

Sounds to me like you have an old settings file. From 2.1 maybe?

Well, let's see what Purple Youko has to say about that!

"It has been frequently mentioned lately that the default settings file is boring. Let's face it, in today's world of DarwinBots, T-Preservans is nothing to write home about. In his day he wasn't bad but now we need something fresh that actually survives.

Also the default value for veggie feeding that you used in older versions (10,000) doesn't work too well in 2.36. It used to represent the energy level for the whole sim but now it just directly controls the veggie feed rate.

10,000 energy per cycle!

No wonder their eyes pop out!

Set it to 30. Makes more sense that way. That will be the default value for F1 and F2 leagues from now on

Anyway, without more ado, here is a nice new settings file that uses Hunter 2.2 as the default robot. He survives, grows and fights pretty well but he is no longer top bot so it shouldn't be too discouraging for newbies." -Purple Youko

If you don't have Hunter 2.2 then please go and download him from here in the beatiary. Now save his file into your DarwinBotsII/robots folder and off you go.

Settings file

The easiest way is to download it from here, but some of you have weird internet and can't download. Shame, shame. So the below is an exact transcription (yep, it's just a text file). Save it as default.set in you settings directory. If you're in post 2.4, you'll probably need to load this into your sim using the "load settings" button.

NOTE: If you download the file from the link above ...
the path in line 8 will be: "Z:\DB Backup\DarwinBotsII\Robots".
You need to alter that path to point to the folder where you have installed DarwinBotsII.
If you have installed DarwinBotsII to a location other than "C:\Program Files\DarwinBotsII\" ...
change that path in the default.set file (line 8 in the following) to ensure the program will be able to locate your robots.
(I believe if you make it "&#\Robots" it will work regardless of where you installed DBII as long as your Settings folder
is located in the same directory as the Robots folder.
This default.set also requires that you have robot "Hunter V2.2.txt" in your folder.
Either that or you need to edit it out of the file.
Play with it and see ... why not?)

 -2
 1
 9271
 6971
 0
 0
 0
 "C:\Program Files\DarwinBotsII\Robots"
 5
 "Alga_Minimalis.txt"
 #TRUE#
 #FALSE#
 3983420
 0
 3000
 0
 0
 0
 0
 0
 0
 0
 0
 0
 0
 0
 0
 0
 0
 56
 73
 13
 3
 48
 407
 21
 444
 0
 0
 0
 0
 0
 19140
 13620
 0
 0
 5000
 "&#\Robots"
 5
 "Hunter V2.2.txt"
 #FALSE#
 #FALSE#
 25356
 0
 3000
 5000
 5000
 5000
 5000
 5000
 5000
 5000
 5000
 5000
 5000
 5000
 5000
 5000
 5000
 57
 431
 59
 47
 34
 381
 8
 14
 0
 0
 0
 0
 0
 ""
 2
 1
 9237
 6928
 25
 #FALSE#
 #FALSE#
 0
 #TRUE#
 30
 10
 .004
 .04
 2
 1
 200
 #TRUE#
 3
 0
 0
 .8
 1.1
 ""
 0
 ""
 0
 1
 #FALSE#
 0
 0
 ""
 #FALSE#
 #FALSE#
 #FALSE#
 #FALSE#
 90
 #FALSE#
 10
 1
 #FALSE#
 1000
 2
 3
 .5
 #FALSE#
 #FALSE#
 ""
 ""
 0
 ""
 ""
 ""
 0
 ""
 ""
 ""
 0
 ""
 ""
 ""
 0
 ""
 ""
 ""
 0
 ""
 ""
 ""
 0
 ""
 ""
 ""
 0
 ""
 ""
 ""
 0
 ""
 ""
 ""
 0
 ""

Windows 95 Problems

There is a report that Darwinbots will replace comdlg32.dll with a newer and apparently non-compatible version if you run WIndows 95. Individual instances of this should be reported in the forum.

Runtime Error

I keep getting a runtime error (76) This happens rendomly while running a simulation.Blacksmith 15:42, 21 January 2008 (MST)

Run-time error 713 on Windows 7

On Windows 7, in the "Simulation Settings" window, the "Custom Simulation Costs" button on the Physics and Costs tab causes a fatal error as follows:

Run-time error '713': Class not registered. You need the following file to be installed on your machine. MSSTDFMT.DLL.

This problem is (allegedly) fixable on Windows Vista via regsvr32. The same method, unfortunately, fails to work on Windows 7 (a fatal error occurs between opening the file and registering it), locking those users out of those settings.