Difference between revisions of "Troubleshooting"

From WikiManual
Jump to: navigation, search
m (Fixed typos)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== 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 [http://s9.invisionfree.com/DarwinBots_Forum/index.php?showtopic=82&st=0&#entry102242 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 [http://s9.invisionfree.com/DarwinBots_Forum/index.php?act=Attach&type=post&id=404809 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 ...<br>
 
the path in line 8 will be: '''"Z:\DB Backup\DarwinBotsII\Robots"'''.<br>
 
You need to alter that path to point to the folder where you have installed DarwinBotsII.<br>
 
If you have installed DarwinBotsII to a location other than "C:\Program Files\DarwinBotsII\" ...<br>
 
change that path in the '''default.set''' file (line 8 in the following)
 
to ensure the program will be able to locate your robots.<br>
 
(I believe if you make it '''"&#\Robots"''' it will work regardless of where you installed DBII as long as your Settings folder<br>
 
is located in the same directory as the Robots folder.<br>
 
This default.set also requires that you have robot '''"Hunter V2.2.txt"''' in your folder.<br>
 
Either that or you need to edit it out of the file.<br>
 
Play with it and see ... why not?)
 
 
<!-- NOTE: using <pre> and </pre> to create a box for code, including HTML code-->
 
<!--      no need to put a leading space on the left of each entry-->
 
<pre>
 
-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
 
""
 
</pre>
 
 
== 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 [http://forum.darwinbots.com forum].
 
 
 
== Runtime Error==
 
== Runtime Error==
 
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 randomly while running a simulation.[[User:Blacksmith|Blacksmith]] 15:42, 21 January 2008 (MST)
  
== Run-time error 713 on Windows 7 ==
+
I keep getting a runtime error (7) out of memory.
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:
+
This happens every time I click the "Custom Simulation Costs" button under the Physics and Costs tab. 07 January 2011
  
Run-time error '713': Class not registered. You need the following file to be installed on your machine. MSSTDFMT.DLL.
+
== Vista and Windows 7 ==
 +
If you are running Vista or Windows 7, you will need to '''run the installation as an Administrator'''.   Right-click on the Darwinbots install (or a shortcut to it) and choose "Run as Administrator".  This can sometimes be a problem even if you have UAC disabled. If you have problems running under Vista (missing COMDLG32.OCX), you'll need to run the program as an administrator at least once to register the proper run time libraries.
  
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.
+
== Windows 95 Trouble ==
 +
There is a report that Darwinbots might cause problems if you are running Windows 95. If you experience any such problems, please post them to the [http://forum.darwinbots.com forum].

Latest revision as of 21:58, 14 February 2014

Runtime Error

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

I keep getting a runtime error (7) out of memory. This happens every time I click the "Custom Simulation Costs" button under the Physics and Costs tab. 07 January 2011

Vista and Windows 7

If you are running Vista or Windows 7, you will need to run the installation as an Administrator. Right-click on the Darwinbots install (or a shortcut to it) and choose "Run as Administrator". This can sometimes be a problem even if you have UAC disabled. If you have problems running under Vista (missing COMDLG32.OCX), you'll need to run the program as an administrator at least once to register the proper run time libraries.

Windows 95 Trouble

There is a report that Darwinbots might cause problems if you are running Windows 95. If you experience any such problems, please post them to the forum.