Page 44 of 154
Re: Cargo Distribution
Posted: 11 Nov 2009 14:01
by jub
Hello,
here is a save which throws an assertion in about a month (flowmapper.cpp:25). I'm not sure which exact revision I have compiled, the version in title is "OpenTTD g72af1236-(no branch)". It is not the latest one, so maybe it's already fixed.
Regards,
jub
Re: Cargo Distribution
Posted: 11 Nov 2009 14:18
by fonso
jub wrote:here is a save which throws an assertion in about a month (flowmapper.cpp:25). I'm not sure which exact revision I have compiled, the version in title is "OpenTTD g72af1236-(no branch)". It is not the latest one, so maybe it's already fixed.
This is the same as el koeno's problem from the last page. It has been fixed. Thanks for the report. You can apply the attached little patch to your current version to solve the problem. But please tell me about it when posting further reports.
Re: Cargo Distribution
Posted: 11 Nov 2009 17:32
by petert
Wow! What happened to this page?
http://fickzoo.com/fonsinchen/patches/current/ Where is smallmap zoomin for trunk?
Re: Cargo Distribution
Posted: 11 Nov 2009 18:06
by NekoMaster
fonso wrote:jub wrote:here is a save which throws an assertion in about a month (flowmapper.cpp:25). I'm not sure which exact revision I have compiled, the version in title is "OpenTTD g72af1236-(no branch)". It is not the latest one, so maybe it's already fixed.
This is the same as el koeno's problem from the last page. It has been fixed. Thanks for the report. You can apply the attached little patch to your current version to solve the problem. But please tell me about it when posting further reports.
Now how would I apply that, Im on Windows 7 with a fresh install of Visual Studio 2005 Pro (I need it mainly for school so I can't get 2008 or 2010)
Re: Cargo Distribution
Posted: 11 Nov 2009 18:12
by fonso
Oops ... it seems there is a glitch in my patch creation system. Mind that you can always find various versions of various patches agains trunk here:
http://fickzoo.com/fonsinchen/patches/against_trunk/ .
The ones in
http://fickzoo.com/fonsinchen/patches/current/ are in fact only symlinks to those from the latest push. Now at times I don't push the whole tree and then some of those symlinks disappear ...
Re: Cargo Distribution
Posted: 11 Nov 2009 21:58
by Gremnon
NekoMaster wrote:fonso wrote:jub wrote:here is a save which throws an assertion in about a month (flowmapper.cpp:25). I'm not sure which exact revision I have compiled, the version in title is "OpenTTD g72af1236-(no branch)". It is not the latest one, so maybe it's already fixed.
This is the same as el koeno's problem from the last page. It has been fixed. Thanks for the report. You can apply the attached little patch to your current version to solve the problem. But please tell me about it when posting further reports.
Now how would I apply that, Im on Windows 7 with a fresh install of Visual Studio 2005 Pro (I need it mainly for school so I can't get 2008 or 2010)
So, you can't for example, install both - leaving you with 2005 Pro for school, and 2008 for OTTD?
Last time I checked you could.
Re: Cargo Distribution
Posted: 11 Nov 2009 22:48
by Chico008
hi
i got a problem, i got the last version of the patch file, applied it succesfully, but when compiling, i have the demand_settings.cpp file missing.
does anyone had the same problem ?
thx
Re: Cargo Distribution
Posted: 11 Nov 2009 22:56
by fonso
Chico008 wrote:I got a problem, i got the last version of the patch file, applied it succesfully, but when compiling, i have the demand_settings.cpp file missing.
does anyone had the same problem ?
That file doesn't exist. Can I see the exact error message, please?
Re: Cargo Distribution
Posted: 12 Nov 2009 00:01
by Chico008
Code: Select all
e:\compil_ttd\ttd_CD\src\settings_type.h(20) : fatal error C1083: Impossible d'ouvrir le fichier include : 'linkgraph/demand_settings.h' : No such file or directory
yapf_ship.cpp
got this for several files.
Re: Cargo Distribution
Posted: 12 Nov 2009 00:17
by bigos
First check if you have that folder linkgraph and files in it. Second think is try to rebuild solution - sometimes such errors happens if you change folders project name.
Re: Cargo Distribution
Posted: 12 Nov 2009 01:44
by petert
Well, sometimes I look in the main directory for cargodist, and the file is 0kb, so since then I always download from /patches/current.
Re: Cargo Distribution
Posted: 12 Nov 2009 01:53
by fonso
petert wrote:Well, sometimes I look in the main directory for cargodist, and the file is 0kb, so since then I always download from /patches/current.
That's the wrong one. You need to look in
http://fickzoo.com/fonsinchen/patches/against_trunk/ , not
http://fickzoo.com/fonsinchen/patches/ . Yes, I know, that's somewhat confusing ...
Re: Cargo Distribution
Posted: 12 Nov 2009 02:01
by petert
What is the
warning sign patch that you had just added?
Re: Cargo Distribution
Posted: 12 Nov 2009 09:57
by fonso
It shows the following warning where applicable:
You have set at least one cargo class to be automatically distributed in "Avanced Settings -> Link Graph" and disabled "New orders are 'non-stop' by default" in "Advanced Settings -> Vehicles". This is a BAD idea.
Someone had requested this here and I'm sick of those questions like: "Why are my vehicles loading cargo they're not supposed to load?"
Re: Cargo Distribution
Posted: 12 Nov 2009 11:52
by jub
fonso wrote:
This is the same as el koeno's problem from the last page. It has been fixed. Thanks for the report. You can apply the attached little patch to your current version to solve the problem. But please tell me about it when posting further reports.
Thank for your marvelous cargodist patch and thanks for the diff. Now I don't have to start a new game yet

Re: Cargo Distribution
Posted: 12 Nov 2009 15:44
by Chico008
bigos wrote:First check if you have that folder linkgraph and files in it. Second think is try to rebuild solution - sometimes such errors happens if you change folders project name.
the folder is here, but not the file needed.
Re: Cargo Distribution
Posted: 12 Nov 2009 16:20
by fonso
Chico008 wrote:bigos wrote:First check if you have that folder linkgraph and files in it. Second think is try to rebuild solution - sometimes such errors happens if you change folders project name.
the folder is here, but not the file needed.
Are you sure you have the correct patch? Also don't try to apply it with Tortoise. Tortoise doesn't like patches from git.
Re: Cargo Distribution
Posted: 12 Nov 2009 17:34
by NekoMaster
Hmm, could some body please make a win32 build? I would do it my self but VS 2005 keeps saying im missing something or theres a error. I dont need one right now, the next time someone decides to make a build please post a copy.
Re: Cargo Distribution
Posted: 13 Nov 2009 03:37
by petert
I'm watching south park right now, but I promise I will make a win32 build tomorrow, if you don't mind waiting that long? I will make it for r18056. Thanks

Re: Cargo Distribution
Posted: 13 Nov 2009 04:20
by NekoMaster
petert wrote:I'm watching south park right now, but I promise I will make a win32 build tomorrow, if you don't mind waiting that long? I will make it for r18056. Thanks

Sure :3 though I wish someone would have made a build with 18000 cause that seams like a number that doesnt happen often, a solid number like that ;3
I wonder if it will get up to 20000 :3