Page 79 of 97

Posted: 05 Nov 2005 19:41
by RailJade
Something is wrong with my 3 3/4 vehicle set.

the AI manager keeps telling me that Long Vehicles v3 Mercedes Trucs. is needed to be loaded. So I went and downloaded it and loaded it and it still keeps telling me this error.

To note I am using version a66 of the patch.

The rest of the 3 3/4 vehicles are funtioning normaly except for the AI manager.

The 3 3/4 Vehicles were funtioning normaly before I upgraded to a66.

Posted: 06 Nov 2005 07:28
by George
RailJade wrote:Something is wrong with my 3 3/4 vehicle set.
the AI manager keeps telling me that Long Vehicles v3 Mercedes Trucks. is needed to be loaded. So I went and downloaded it and loaded it and it still keeps telling me this error.
To note I am using version a66 of the patch.
The rest of the 3 3/4 vehicles are functioning normally except for the AI manager.
The 3 3/4 Vehicles were functioning normally before I upgraded to a66.
Yes, it happens since a66 and I could not understand why. I hope Josef or DaleStan can suggest a way to fix it.
The problem is with files order check. AIManager sets prop 06 of all RVs to 0, while other sets change them to 0f. That makes it necessary to check the files order. I used action 07 condition 06 for GRFIDs. It worked fine before a66. Now it has to be changed, I think. The question is – how?

Posted: 06 Nov 2005 07:57
by DaleStan
George wrote:Yes, it happens since a66 and I could not understand why. I hope Josef or DaleStan can suggest a way to fix it.
I think I've suggested this before, but I'll try it again.

Solution: Put the whole of LVs in *ONE* *SINGLE* *GRF* *FILE*.

I can find a decent reason to use up to three files: One for the vehicles (graphics, stats, &c.), one for the AI, and one for newsounds. And I'm not entirely convinced that the AI callbacks really belong in their own GRF.

Posted: 06 Nov 2005 09:53
by ISA
RailJade wrote:Something is wrong with my 3 3/4 vehicle set.

the AI manager keeps telling me that Long Vehicles v3 Mercedes Trucs. is needed to be loaded. So I went and downloaded it and loaded it and it still keeps telling me this error.

To note I am using version a66 of the patch.

The rest of the 3 3/4 vehicles are funtioning normaly except for the AI manager.

The 3 3/4 Vehicles were funtioning normaly before I upgraded to a66.
I can see yor pic that your Long Vehicles v3 3/4 Mercedes Trucs is loaded, to load other 3 3/4 try this, download all version3 vehicles what you have missing in ur AI manager http://ttd.cernun.net/newgrf/downloadsold.html , and place all v3 vehicles in newgrf file and the 3 3/4 should work fine. :wink:
If it wont work sry, but I have load all long vehicles so and no problem I use a66 too. :roll:

Posted: 06 Nov 2005 10:35
by George
DaleStan wrote:
George wrote:Yes, it happens since a66 and I could not understand why. I hope Josef or DaleStan can suggest a way to fix it.
I think I've suggested this before, but I'll try it again.

Solution: Put the whole of LVs in *ONE* *SINGLE* *GRF* *FILE*.
that is 2.25Mb in size or 720Kb in archive. That’s a very wise idea. That means, that were would be no fast updates and bug fixes, it would not be possible to choose a part of vehicles. You'll have to use them all mandatory (I doubt that I'll add a lot of parameters to choose). And the main problem it will reduce my speed of testing about two or more times.
I can only aim to repeat my suggestion to krtaylor.
DaleStan wrote:I can find a decent reason to use up to three files: One for the vehicles (graphics, stats, &c.), one for the AI, and one for new sounds. And I'm not entirely convinced that the AI call-backs really belong in their own GRF.
I do not see the reason to split the AI file if all the other are united.

But the question stays. What is wrong with actions 7 that check for loaded files?

Code: Select all

 //  Check for other files being loaded
// Check for Mercedes trucks. Skip the rest of file if will not activated
   44 * 9	 07 88 04 08 4D 65 6F 07 02
   45 * 62	 0B 02 1F FF 4C 6F 6E 67 20 76 65 68 69 63 6C 65 73 20 76 33 BE 2E 20 4D 65 72 63 65 64 65 73 20 54 72 75 63 6B 73 20 66 69 6C 65 20 68 61 73 20 74 6F 20 62 65 20 6C 6F 61 64 65 64 00 00
   46 * 6	 07 83 01 03 04 00
…
// Check for files order. Skip the rest of file if some file is already loaded
// Check for Mercedes trucks being loaded. Skip the rest of file if loaded
   94 * 9	 07 88 04 07 4D 65 6F 07 02
   95 * 77	 0B 03 1F FF 41 49 20 6D 61 6E 61 67 65 72 20 66 69 6C 65 20 68 61 73 20 74 6F 20 62 65 20 6C 6F 61 64 65 64 20 62 65 66 6F 72 65 20 61 6E 79 20 6F 66 20 4C 6F 6E 67 20 76 65 68 69 63 6C 65 73 20 76 33 BE 20 66 69 6C 65 73 21 00 00
   96 * 6	 07 83 01 03 04 00 
…
// Activate this file                       
  143 * 169	 08 06 4D 65 6F 0F 4C 6F 6E 67 20 76 65 68 69 63 6C 65 73 20 76 33 20 BE 2E ... 

Posted: 06 Nov 2005 18:35
by DaleStan
George wrote:
DaleStan wrote:Solution: Put the whole of LVs in *ONE* *SINGLE* *GRF* *FILE*.
that is 2.25Mb in size or 720Kb in archive.
Which is a 3 minute download at 32kbps. Seems quite reasonable to me.
George wrote:it would not be possible to choose a part of vehicles. You'll have to use them all mandatory
As if using the AI manager doesn't enforce that already?
As if the autoreplace manager (I'm assuming you're planing to implement one?) won't enforce that too?

Is there any instance whatsoever where you support or plan to support the replacement of GRF file $FOO with GRF file $BAR, where GRFID($FOO)!=GRFID($BAR)?

Posted: 07 Nov 2005 08:15
by George
DaleStan wrote:
George wrote:
DaleStan wrote:Solution: Put the whole of LVs in *ONE* *SINGLE* *GRF* *FILE*.
that is 2.25Mb in size or 720Kb in archive.
Which is a 3 minute download at 32kbps. Seems quite reasonable to me.
for 1-2 bytes of fix?
DaleStan wrote:
George wrote:it would not be possible to choose a part of vehicles. You'll have to use them all mandatory
As if using the AI manager doesn't enforce that already?
Yes. But without it you can use any combination of files
DaleStan wrote:As if the autoreplace manager (I'm assuming you're planing to implement one?) won't enforce that too?
Yes, it would.
DaleStan wrote:Is there any instance whatsoever where you support or plan to support the replacement of GRF file $FOO with GRF file $BAR, where GRFID($FOO)!=GRFID($BAR)?
Well there 2 places now where it can be done that way (but done with the same ID)
  • Cut version (no girls) vs standard version
    Truncated version of NA buses vs standard version

Posted: 07 Nov 2005 08:17
by George
As the P.S. for the previous letter.

Is it possible to have more than 256 strings for vehicles callback 19 (refit name)?

renault R312

Posted: 11 Nov 2005 15:53
by Snail
Hi George,

I'm sorry if I come now to re-open an ages-old discussion. Can you remember the Renault R312, the city bus from the Eighites I suggested you a long time ago? Well, I was able to find a technical drawing of it: apparently, Frenchy Alex posted it on the Locomotion mods thread, and it is exactly what you would need to draw that bus. I'm posting it here, too, of course you should credit him if you decide to use this.

I know you're currently very busy with stuff other that drawing buses, but it would be cool if you at least thought about drawing this bus. Together with your excellent SC10, it would be a very nice thing to have along with the forthcoming French Set.

Here I post the zipfile with the drawing, you'll find lots of pics and info earlier in this thread, when I first suggested you that bus.

Cheers

Snail

Re: renault R312

Posted: 11 Nov 2005 20:57
by George
Snail wrote:I'm sorry if I come now to re-open an ages-old discussion.
It is Ok
Snail wrote:Can you remember the Renault R312, the city bus from the Eighites I suggested you a long time ago?
Yes
Snail wrote:Well, I was able to find a technical drawing of it: apparently, Frency Alex posted it on the Locomotion mods thread, and it is exactly what you would need to draw that bus. I'm posting it here, too, of course you should credit him if you decide to use this.
I'm afraid I can forget it. Please control me
Snail wrote:I know you're currently very busy with stuff other that drawing buses, but it would be cool if you at least thought about drawing this bus. Together with your excellent SC10, it would be a very nice thing to have along the forthcoming French Set.
Well, referring to my todo list, it will not happen soon :(
Snail wrote:Here I post the zipfile with the drawing, you'll find lots of pics and info earlier in this thread, when I first suggested you that bus.
Thank you. Pics are stored on my HDD if the bus folder.

Long Vehicles v4 realised

Posted: 25 Nov 2005 09:27
by George
Due to the new cargo representation, introduced in alpha 66, I've completely recoded Long vehicles. Now they are absolutely landscape independent, and only cargo based. That means they can be used even in toyland and with cargo mods. The cargo support is not class based, but identifier based, so, new unknown cargos are not supported yet. If LV4 do not support some cargo - let me know!.
All the trucks now transport mail by default. You can get other cargos with refitting. Not every truck supports every cargo

I've also recoded the IDs usage. That means, that LV4 is not compatible with previously saved games with LV1, LV2, LV3, LV334

On many requests, I've coded all the LV4 into one file. That may cause some errors, because it is hard to maintain the 500K NFO file. So, I hope that because I made it on your request you'll help me with reports about bugs, caused by this action.

Please, test them and give me bug reports, thank you

Known problems:
BEER cargo is not supported
Autoreplace does not work
AI management does not work
Ikarus 55/66 dos not work

Posted: 25 Nov 2005 09:43
by Prof. Frink
Dunno whether this is detection or error message that's wrong:
Error: This set is ncompatible with Cargo set. To use both this set and Cargo set put the set before cargo set in the newgrf.cfg
4longvehiclesw.grf is the first entry in the cfg.

Also, th JIuA3 677 is marked as refittable, but has only one refit option.

Posted: 25 Nov 2005 09:54
by George
Prof. Frink wrote:Dunno whether this is detection or error message that's wrong:
Error: This set is ncompatible with Cargo set. To use both this set and Cargo set put the set before cargo set in the newgrf.cfg
4longvehiclesw.grf is the first entry in the cfg.
You have to deactivate CargoSet or put LV4 after other sets in the end of the file
Prof. Frink wrote:Also, th JIuA3 677 is marked as refittable, but has only one refit option.
Will be fixed

BTW, what to do with russian names as LiAZ? Should it be transliterated (LiAZ) or emulated (JIuA3 or /|uA3)?

Posted: 25 Nov 2005 10:33
by Snail
I guess transliterating (LiAZ) would be better and would look smoother, whereas something like /|uA3 or JIuA3 would look funny... when writing in another language, it's perfectly sensible to convert text so that the recipient language's alphabet is used (for instance, in western Europe, Lada cars are sold as "Lada" with Latin characters).

Posted: 25 Nov 2005 12:42
by Prebral
George wrote:BTW, what to do with russian names as LiAZ? Should it be transliterated (LiAZ) or emulated (JIuA3 or /|uA3)?
I prefer LiAZ.

Posted: 25 Nov 2005 13:30
by goalie
no bus is refitable to toursists
because the file says there is no cargo tourists avalible
even if th new cargo file is after or before lv4

Posted: 25 Nov 2005 13:31
by goalie
@george ypour page does not work

Posted: 25 Nov 2005 17:10
by George
goalie wrote:no bus is refitable to tourists
because the file says there is no cargo tourists available
even if th new cargo file is after or before lv4
Because the old file does not define cargo identifier. The new file will be done later.
goalie wrote:@george your page does not work
do you mean the mirror?

One more bug found with Ikarus 620

2All: What to do with cut version of the buses now? I do not plan to realise the LV4 cut version. The only thing I can do is to realise the file, that changes graphics, but nothing more.

2All: Could someone check, are whose names correct for refitting? Could someone translate them into German, Spanish, France?
box van
semi-trailer tanker
platform
tarpaulin van
refrigerator
timber truck
container platform
tanker with trailer
dump truck
drop-side truck
armoured truck
low bed platform
mixer
logger
KMB
city bus
2-axle bus
3-axle bus
4-axle bus
2-doors bus
3-doors bus
4-doors bus
coach bus
double-decker bus
articulated bus
single bus
tourists version

Posted: 25 Nov 2005 19:11
by goalie
George wrote:
goalie wrote:no bus is refitable to tourists
because the file says there is no cargo tourists available
even if th new cargo file is after or before lv4
Because the old file does not define cargo identifier. The new file will be done later.
goalie wrote:@george your page does not work
do you mean the mirror?
please release the new file soon ill play with touristbusses

yes i mean the mirror(your homepage)

Posted: 25 Nov 2005 19:31
by Snail
Ok, showing off my two words of French here :P

box van = "Fourgon fermé" or "Camion fermé"
semi-trailer tanker = "Camion citerne à semi-rémorque"
platform = "Camion à plate-forme"
tarpaulin van = "Fourgon à bâche" or "Camion à bâche"
refrigerator = "Fourgon refrigérateur" or "Camion refrigérateur"
timber truck = "Camion pour transport de bois"
container platform = "Camion à plate-forme porte-containers"
tanker with trailer = "Camion citerne à rémorque"
dump truck = "Camion de décharge"
drop-side truck = "Camion à décharge latérale"
armoured truck = "Fourgon blindé" or "Camion blindé"
low bed platform = "Camion à plate-forme baisse"
mixer = what do you mean?
logger = "Camion pour transport de bois"
KMB = what do you mean?
city bus = "Autobus urbain"
2-axle bus = "Autobus à 2 essieux"
3-axle bus = "Autobus à 3 essieux"
4-axle bus = "Autobus à 4 essieux"
2-doors bus = "Autobus à 2 portes"
3-doors bus = "Autobus à 3 portes"
4-doors bus = "Autobus à 4 portes"
coach bus = "Autocar"
double-decker bus = "Autobus à 2 niveaux"
articulated bus = "Autobus articulé"
single bus = "Autobus monocaisse"
tourists version = "Version pour touristes"

Note: "Fourgon" means "van" and should work for small trucks, like the Opel Blitz, the Steyr (if you ever draw it :roll: ) etc., while "Camion" is more generic and works for larger vehicles.

Now...
George wrote:2All: What to do with cut version of the buses now? I do not plan to realise the LV4 cut version. The only thing I can do is to realise the file, that changes graphics, but nothing more.
That's a shame, I always used the cut version. What do you mean by the "file that changes graphics"?