Page 1 of 1

[AI] Making game unplayable #2

Posted: 08 Dec 2006 21:37
by Tucalipe
I know that nightlies tend to have problems, but I will describe it anyway:

Sometimes OpenTTD gets laggy, like when it's loading a map. WHat could be causing this?

Oh, and BTW, I have the latest Nightly version.

Posted: 10 Dec 2006 00:18
by RiTi
Sometimes?

Please be more specific. Is it happening with one kind of savegame? When you make a scenario or a new game? When playing on a network? Etc, etc, etc....

Posted: 10 Dec 2006 00:26
by CasB
Maybe it's when the game is autosaving?

Posted: 10 Dec 2006 11:46
by Tucalipe
No. It's from time to time, aproximately 20 days in fast speed worth. Before it just happened in temperate landscape. Now it happens also in Tropical landscape.

Posted: 11 Dec 2006 19:15
by RiTi
Can you post a savegame?

Posted: 12 Dec 2006 01:02
by Tucalipe
Here it is

Posted: 12 Dec 2006 19:34
by RiTi
Strange indeed. The game is laggy for some days, then normal, again laggy and so on. I don't know what's wrong. I tried several settings and nothing seems to help. At the forum I found a topic with possible the same problem. You can take a view and maybe a Dev can help you more.

http://www.tt-forums.net/viewtopic.php?t=28593

Posted: 12 Dec 2006 21:32
by Darkvater

Code: Select all

openttd.exe             97.061  96.477  4987  4957
AiFindRandomIndustry    63.274  63.274  3251  3251
GetRandomTown           9.537   9.498   490   488
TileLoopWaterHelper     3.951   3.951   203   203
@RunTileLoop@0          12.982  3.445   667   177
@TileLoopClearHelper@4  2.686   2.686   138   138
Don't think the AI likes that too much ;p. AiFindRandomIndustry() using 63% of all CPU time. Enabling the new AI in the patches window should "fix" your problem.