Page 52 of 94
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 10 Oct 2008 05:42
by George
DaleStan wrote:George wrote:Run a game with ECS basic, chemical 2 or wood vectors (beta 5)
Select the raw material industry and provide a service. The level grows 4%, 5%, 6% ... and suddenly jumps to 100%
And now for something completely different.
Csaba gave me some hints/suggestions; Belugas pointed me at OpenTTD's code, and a lot of things changed.
I actually never looked for that bug, but I watched several industries for several years with this code, and didn't see anything that looked suspicious. A couple halvings when the service suddenly went badly south, but when I looked harder, it happened because that's what callback 35 returned.
Thank you! I could not reproduce my bug. I'll make more tests later.
Could you please provide long year format too?
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 12 Oct 2008 18:55
by George
Wiki wrote:Date when industry was built in days since year 0 (46)
(From OpenTTD r13443, 2.6 r2047)
Exact same behaviour as var B0, but based on year 0, instead of year 1920
In TTDPatch, industry age is limited to 65535 days (approximately 180 years) — build date is never more than 65535 days ago.
does it mean that the code
Code: Select all
861 * 40 02 0A 6F 89
23 20 FF FF FF FF \2-
46 00 FF FF FF FF
02 6F 00 00 00 00 00 20 00 00 00
00 80 21 00 00 00 5D 00 00 00
71 00
would be always correct and allows to specify behaviour for the first months of life only?
If not, than what is the right way to test industry age?
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 12 Oct 2008 19:46
by DaleStan
Yes, once 23 and 24 appear. I think I've got them, but haven't worked up a GRF to test.
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 12 Oct 2008 20:24
by George
DaleStan wrote:Yes, once 23 and 24 appear. I think I've got them, but haven't worked up a GRF to test.
Cool, Dale

I'm waiting for testing

Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 13 Oct 2008 04:51
by George
I'd like to thank Dale for providing all the required features to use ECS beta 5 in TTDP!
Since now on ECS beta 5 can be used in TTDP. I have to Fix ECS Machinery vector now, I plan to do it today or tomorrow.
Wallyweb, you can start testing ECS vectors (except Machinery vector). The most important thing is to test year based features, like Glass works, Steel mill, power plant production, industry behaviour during first years of life, age protection.
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 13 Oct 2008 10:55
by wallyweb
George wrote:I'd like to thank Dale for providing all the required features to use ECS beta 5 in TTDP!
... Wallyweb, you can start testing ECS vectors ...

Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 13 Oct 2008 12:58
by Snail
Hi George,
did you ever get a chance to have a look at my proposals for industries' late appearance date? What do you think about it?
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 13 Oct 2008 16:56
by George
Snail wrote:Hi George, did you ever get a chance to have a look at my proposals for industries' late appearance date? What do you think about it?
Well, what do other think?
Currently Power plant accepts oil after 1950-th.
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 19 Oct 2008 12:46
by penticrack
hi. i can´t find anything useful about my problem. i´ve read the ecs wiki thread and searched this openttd forums. ecs seem to work fine here but i can´t find trains which transport the "new" wares . i.e.: sand or woodproducts. Maybe i forgot something. Here my grf-settings:
YAY ... now i found it finally

i need this ->
http://www.tt-forums.net/viewtopic.php?f=26&t=37810 (Old Wagons, New Cargos)
sometimes u have to write a thread and suddenly u find the solution after minutes ...weird
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 19 Oct 2008 13:01
by Roujin
There is an extra "ECS extension"-grf for DBsetXL that supplies the wagons with the ability to refit to the cargos used in ECS.
Since the homepage of the creator of DBSetXL is down at the moment, it's a bit hard to get, but you should be able to find it in the newgrf package from openttdcoop.org
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 19 Oct 2008 13:19
by michael blunck
The DBXL_ECS extension .grf can be found somewhere in my graphics thread here on tt-forums, erm ..., it´s here:
http://www.tt-forums.net/download/file.php?id=89362
As to "old wagons, new cargo", be aware that this .grf might be incompatible with the DB Set because it does use different vehicle IDs.
regards
Michael
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 19 Oct 2008 15:21
by George
All files were updated. Now works in TTDP r2060
I hope for 1 week testing. If no bug reports expect OTTD bugs
http://bugs.openttd.org/task/1822 (wrong fishing grounds station name) and
http://bugs.openttd.org/task/2138 (undelivered cargo appears at industry. Most affected - fishing grounds and tourists centres) would happen, I'll realize them in public.
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 19 Oct 2008 15:27
by penticrack
hm ... the ecs extension doesn´t work , but the old wagons / new cargo ...corious
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 19 Oct 2008 15:36
by michael blunck
penticrack wrote:hm ... the ecs extension doesn´t work , but the old wagons / new cargo ...corious
What does "doesn´t work" mean?
regards
Michael
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 19 Oct 2008 16:32
by Roujin
You have to use it alongside the DBsetXL grf. Try to put it right below DBsetXL.
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 19 Oct 2008 16:35
by penticrack
means ...with db_xl and old wagons / new cargo i have wagons which can transport i.e. sand or something ofthe new cargos.
with db_xl and dbxl ecs i dont have wagons which can transport the new wares.
but it´s okay. it seem to be a solution
@roujin
i tried this

but doesn´t helped
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 19 Oct 2008 16:40
by Roujin
Did you maybe try both of those train sets together? Normally you should only use one train grf at a time (unless you enable a certain advanced option available in the OpenTTD nightlies..) What happens if you try with those grfs only: ECS vector(s), DBSetXL, DBSetXL ECS extension (in that order)?
edit: oh and I just saw in your post above that you have the "newcargo set" activated - you don't need this as tourists and petrol are included in the ECS vectors, so remove it, too..
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 19 Oct 2008 17:16
by michael blunck
And what is "ECS vehicles alpha 1"? The DBXL ECS extension does not work with a couple of other .grfs or with an improper rank of DBXL and DBXL_ECS.
However, in these cases there´s an error message.
regards
Michael
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 19 Oct 2008 17:29
by Gremnon
That's a grf on George's download page that makes the default normal rail vehicles refittable to ECS cargos, I think.
Re: ECS implementation by George: ECS vectors. Beta 4 11/01/2008
Posted: 19 Oct 2008 17:42
by michael blunck
Gremnon wrote:That's a grf on George's download page that makes the default normal rail vehicles refittable to ECS cargos, I think.
Ah yes.
If it´s grf-ID 4D656FFF, the DBXL_ECS extension will not work. However, it should generate a message.
regards
Michael