Hard lags in beginning of each month (8.2) September 21, 2010, 12:30:43 pm Tested on two systems:#1. C2D 6850(@3600), 4 Gb DDR3, GF8800 GTS 320Mb (1680*1050), onboard sound (always off in game), Windows 7 ultimate x32 on SSD Intel x38 ~lag about 7-10 sec#2. P4 D 3000, 1 Gb DDR2, GF8600 512Mb (1280*1024), onboard sound (always off in game), Windows XP SP3 x32 on WD 1600AAJS ~lag about 20-40 secwhat happens:In the first days of each month, the game stops responding to commands from the mouse and keyboard. If you repeatedly click on the game screen, the image freezes and the window title shows "not responding". The problem starts to appear after about 7 years. Number of vehicles does not exceed 50.Options are standard, even max_route_steps = 100000 and max_hops = 1000. All components (standart + experimental + config + Britain-Ex) were downloaded by following links from this forum. Autosave off (autosave = 0). In "standart simutrans" all is well.I really like this game, please help solve this problem)) Quote Selected Last Edit: September 25, 2010, 03:32:09 pm by 6OPMEHTAJIb
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #1 – September 21, 2010, 05:15:38 pm Dumb question, or am I??))) Why no one answers?I have an idea:Maybe somebody will give me 100% working SE + Britain-ex? It would be great if you give me last set of compiled nightly SE + Britain-ex. I could do it myself, just do not know where to get Visual Studio and I'm afraid not enough knowledge. Waiting for your help)) Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #2 – September 21, 2010, 05:35:59 pm Autosave? Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #3 – September 21, 2010, 05:45:08 pm Quote from: 6OPMEHTAJIb – on September 21, 2010, 12:30:43 pmAutosave off (autosave = 0)In "Simutrans experimental \ config \ simuconf.tab" I wrote "autosave = 0" and start the game again. I agree, very similar to the autosave. Maybe something else to check? Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #4 – September 21, 2010, 06:51:32 pm Oops, I should have actually read your post :-/ You on the other hand checked for common issues before posting. Sorry...Unfortunately I don't use exp., so I can't help you :-( The most common problem fit your pattern so I just tried that. Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #5 – September 21, 2010, 08:57:28 pm autosave=0 under 8.2ex shouldn't cause the game to autosave every month.have you manually deleted any factories or cities under public player?actually, it's best if you upload your save game to have one of the expert debuggers look at it. Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #6 – September 21, 2010, 10:36:38 pm AEO is correct - if you upload your saved game, I can run it in a debugger and, if I can reproduce the problem, try to find the cause. Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #7 – September 22, 2010, 10:40:06 am Quote from: AEO – on September 21, 2010, 08:57:28 pmhave you manually deleted any factories or cities under public player?Yes, I delete and build many things under public player. In attach saved game and two configs. Thank you that responded.By the way, I load saved games from "standard" in "experimental" and lags appear.http://ifolder.ru/19423484 Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #8 – September 24, 2010, 09:44:34 am Same lags on pak192.comic Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #9 – September 24, 2010, 11:55:15 pm I tried to download that file, but got an incomprehensible page in Russian that I could not understand. Can you upload it elsewhere, perhaps? Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #10 – September 25, 2010, 06:23:22 am Sorry, I think they have an English page too.http://www.megaupload.com/?d=PHD0QIOD Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #11 – September 25, 2010, 10:48:47 am Thank you for the upload - I can't reproduce any lags, however: the month March to April transitioned without any noticeable delay at all with the released version of 8.2. My system is very similar to your no. 2 in specifications. I'm struggling to think what this could be - do you get this with Standard? Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #12 – September 25, 2010, 11:22:57 am Quotedo you get this with Standard?QuoteIn "standart simutrans" all is well. Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #13 – September 25, 2010, 12:30:59 pm In which case, moving to the Standard bug board :-) Quote Selected
Re: Hard lags in beginning of each month (8.2 + pak.Britain-Ex 0.7) Reply #14 – September 25, 2010, 12:54:05 pm Please re-read Colin's answer The answer was: "in standard all is well" instead of "in standard all is well". Quote Selected
Re: Hard lags in beginning of each month (8.2) Reply #15 – September 25, 2010, 03:54:02 pm I corrected the title, because the problem is not in a graphic package.Quotethe month March to April transitioned without any noticeable delayNow I several times load this save game and you right, March always normal change to April, sometimes working fine in the next few months. But always come lags and do not p****. Please, run game at least six months and probably you'll see them. Quote Selected
Re: Hard lags in beginning of each month (8.2) Reply #16 – September 26, 2010, 11:50:17 am Ahh, sorry: I was mislead by the title referring to "each" month. Is it deterministic? In other words, if you save just before the change of a particular month, on reloading, will that month always lag? Quote Selected
Re: Hard lags in beginning of each month (8.2) Reply #17 – September 26, 2010, 12:37:59 pm I tested it and I can say that determinism in that if you save just before the change of a particular month, on reloading the lag is always gone! But they begin again after a few months and then we can all repeat))Maybe I record a video of this process? Or will you give me a working version of the game is certainly for testing? Quote Selected
Re: Hard lags in beginning of each month (8.2) Reply #18 – September 26, 2010, 12:48:47 pm What do you mean by the last sentence there?QuoteOr will you give me a working version of the game is certainly for testing? Quote Selected
Re: Hard lags in beginning of each month (8.2) Reply #19 – September 26, 2010, 01:36:16 pm When I installed the game, did all the instructions, but maybe something went wrong. To exclude this possibility it would be good to try professionally ****embled version. Even better would be to try the latest compiled version. Quote Selected
Re: Hard lags in beginning of each month (8.2) Reply #20 – September 26, 2010, 03:59:40 pm I may have found the problem. When I looked at the game, the lags at the beginning of the months were caused by new industries being built - what took the time was, it seems, finding somewhere to put them, as much of the land was already taken up by industry. Investigating why so many industries were being built, I found that, when loading a saved game, the actual number of industries in the game were not calculated correctly, which error I have now fixed (for the next release). I can't make the industry finding routine any faster (it is unmodified from Standard), but I can at least fix the bug that called it to be invoked too often! Quote Selected
Re: Hard lags in beginning of each month (8.2) Reply #21 – September 27, 2010, 07:13:22 am Many thanks for your research. But this means that the error is at all, but suffer from it just me? At least, I did not find similar posts on this forum.Can I myself fix bug? Quote Selected
Re: Hard lags in beginning of each month (8.2) Reply #22 – September 27, 2010, 07:45:25 am Quote from: 6OPMEHTAJIb – on September 27, 2010, 07:13:22 amCan I myself fix bug?Get current 9.x and compile it. it is not hard. It will help us debug 9.x too. Quote Selected