(solved) Graphic bug with trucks February 07, 2009, 10:20:56 am Hello !Some trailer have graphic bugs with particular goods:Screenshot with graphic bug:It's happens with steel or grain goods but it normally works with consumer goods or coal. But when it's steel, it works in somes direction and bug the other direction ...Screenshot without bug:Note: Truck used => PMNV International caboverNote 2: Pak 128 1.4.4 used Quote Selected Last Edit: May 26, 2010, 07:08:28 pm by VS
Re: Graphic bug with trucks Reply #1 – February 07, 2009, 10:33:01 am I can't see any graphic issue (all seem to be similar) in the pak images. You only seen it with this truck+trailer or it also happens with other combinations?Edit: Using 101.1-2243 + 1.4.4 and everything seems to be fine... Quote Selected Last Edit: February 07, 2009, 10:41:00 am by Zeno
Re: Graphic bug with trucks Reply #2 – February 07, 2009, 11:05:48 am emaxectranspoorte said me that it also happens with high speed train ...But to me it's only with truck+trailer and not for all the goods.When I played simutrans 101 pak 128 1.4.3, the bug wasn't here ... it appears with this new version of the pak 128. Quote Selected
Re: Graphic bug with trucks Reply #4 – February 07, 2009, 01:10:41 pm Does it stay like this all the time for all of these vehicles when you buy them? (In the particular direction) Quote Selected
Re: Graphic bug with trucks Reply #5 – February 07, 2009, 01:13:05 pm It happens sometimes (high speed p****engers trains). Quote Selected
Re: Graphic bug with trucks Reply #6 – February 07, 2009, 01:24:21 pm I tested with this train and it did not happen. If it is only sometimes, it is probably program bug, not on pak level. Quote Selected
Re: Graphic bug with trucks Reply #7 – February 07, 2009, 03:49:20 pm It's all the time for the same truck with the same goods ...And I think it's the pak because the previous version didn't made this bug Quote Selected
Re: Graphic bug with trucks Reply #8 – February 07, 2009, 04:18:42 pm I can't reproduce the truck problem either... wait, does it only happen when the trucks are actually loaded?I only checked with empty ones (different image) and they seemed to work just fine...The train looks like a known problem that can happen when a signal is closer to the depot than the train's actual length. Anyway, as far as I know the graphics haven't been changed in ages on that train - so I really think that's more likely a program than a pak problem. Quote Selected
Re: Graphic bug with trucks Reply #9 – February 07, 2009, 04:21:06 pm Yes, then the truck problem is with pak. Quote Selected
Re: Graphic bug with trucks Reply #10 – February 07, 2009, 04:36:46 pm Actually the screenshots in the first post seem to show at least three different trucks. I'd say I see one Scania R500, one PMNV International Cabover and a PMNV-MHz Cabover 145... So I must ask you to please re-check and make sure you give us the exact names of all trucks and trailers where this happens (please include the info of them having to be loaded or not for the error to occur.)Remember, the more precise and detailed the bug report, the easier and quicker for us to fix things. Quote Selected
Re: Graphic bug with trucks Reply #11 – February 07, 2009, 05:04:03 pm Heh, that would take the fun out of bug reports But yes, please, if you can try all loaded&unloaded truck/trailer combinations (preferably in all directions)... just joking. But that is what will have to be done anyway. Current truck/trailer alignment is a mess. Quote Selected
Re: Graphic bug with trucks Reply #12 – February 07, 2009, 05:29:31 pm The difference is, he already knows where the problem happens. He just needs to write it down. We'd have to check and test everything just to find it (again) and then we still have to repair it. I think it's only fair to divide this work a little. We all have a limited amount of time. And people have a choice: we can spend ours on finding the problem or on correcting it. Both will get it done, eventually. But one is going to be quicker than the other. Quote Selected
Re: Graphic bug with trucks Reply #13 – February 07, 2009, 06:01:52 pm Quote from: VS – on February 07, 2009, 05:04:03 pmHeh, that would take the fun out of bug reports It seems is not OKAAY anymore. Isn't it?EDIT: Sorry, it was a spelling messtake. I mean mistake. Quote Selected Last Edit: February 07, 2009, 06:13:48 pm by emaxectranspoorte
Re: Graphic bug with trucks Reply #14 – February 07, 2009, 06:13:12 pm Oups ! Sorry guy's ... So I'll be really clear and as exact as possible ScaniaR500 Topover - Bug (with steel):ScaniaR500 Topover - No bug (with or without steel): Quote Selected
Re: Graphic bug with trucks Reply #15 – February 07, 2009, 06:35:18 pm Yes, that looks like I can work with it. Thanks!EDIT:Ok, it seems the Scania's (actually both Scanias') alignment is off. The same trailer fits just nicely on the other trucks. And it happens with the Scania in combination with just about all the other trailers, too.So, problem is located. (And in doing that I found another one.) Now comes the fixing (doing that right now). Quote Selected Last Edit: February 07, 2009, 06:50:09 pm by DirrrtyDirk
Re: Graphic bug with trucks Reply #16 – February 07, 2009, 06:43:44 pm Hope it will help you Tell me if you want more ! Quote Selected
Re: Graphic bug with trucks Reply #17 – February 07, 2009, 06:54:08 pm Thanks!Dirk, keep in mind that there might be trailers aligned to work with that Scania, so... Anyway, fix this and the other parts will resurface in time. Quote Selected
Re: Graphic bug with trucks Reply #18 – February 07, 2009, 07:11:27 pm I checked - and unless I missed one, all trailers don't fit on the Scania. Quote Selected
Re: Graphic bug with trucks Reply #19 – February 07, 2009, 07:39:41 pm I can't remember if Martin painted just trucks or some trailers, too. But as you say all else fits, so it's probably closed case. Quote Selected
Re: Graphic bug with trucks Reply #20 – February 07, 2009, 08:14:50 pm Ok, changes to both Scanias are in SVN, so they should be in the next pak128 nightly (r410 or higher), due on... monday I think. Please test things then! Quote Selected
Re: Graphic bug with trucks Reply #21 – February 07, 2009, 09:12:39 pm Any chance of letting me know where the misalignment occurs? As far as I can remember I used Napiks template for bus/truck alignment... Probably also the Volvo VN660 is misaligned. It is based on the same template.I didn't do any trailers so you don't have to look further into that. One other thing that comes to my mind is the other Scania trucks (not the R500 and R620 tractors) and the alignment with available trailers for those trucks. Quote Selected
Re: Graphic bug with trucks Reply #22 – February 07, 2009, 09:57:11 pm The changes are rather big, up to 18 (?) pixels it seems. Quote Selected
Re: Graphic bug with trucks Reply #23 – February 07, 2009, 10:04:37 pm The Scanias needed correction pretty much in all views. Some only minor (2 pixels and in only 1 direction) but most of them major, up to 12/7 pixels (or 14/2 or 0/15).The Volvo however does not show such dramatic errors. It might need a correction of a pixel or 2 in some views but not more to be "perfect". The trailers just occasionally touch the cab - they don't overlay it like they did with the Scanias.So far, I only used offset in the .dat files for the corrections, I didn't change any of the graphics themselves, so we can more easily play around with the values until we're really satisfied. Once that's the case, I'm planning to move the graphics by the determined number of pixels and clean up the dat again. Quote Selected
Re: Graphic bug with trucks Reply #24 – February 08, 2009, 07:51:56 am Quote from: DirrrtyDirk – on February 07, 2009, 04:18:42 pmThe train looks like a known problem that can happen when a signal is closer to the depot than the train's actual length. Anyway, as far as I know the graphics haven't been changed in ages on that train - so I really think that's more likely a program than a pak problem.The same bug problem also happens to me when starting this same train from the depot (without any signals near at all), but not always. Quote Selected Last Edit: February 08, 2009, 08:23:49 am by emaxectranspoorte
Re: Graphic bug with trucks Reply #25 – February 08, 2009, 10:04:08 am Hm, the problem was originally with signals, but that just means boundary of two rail blocks. With the new (well, not new any more) system some kind of boundary is also at station ends, on crossings etc. Quote Selected
Re: Graphic bug with trucks Reply #26 – February 08, 2009, 10:57:40 am Under "normal conditions", i.e. no stations, signals, etc. close to the depot, I cannot reproduce that error. Make sure you give the train (actually all of them) enough room to completely leave the depot. So it doesn't have to go through any signals, stations, tunnel portals (or just about anything but a stretch of ordinary track) before it is fully clear of the depot. Then this problem shouldn't happen. Quote Selected
Re: Graphic bug with trucks Reply #27 – February 08, 2009, 11:03:39 am Quote from: DirrrtyDirk – on February 08, 2009, 10:57:40 amUnder "normal conditions", i.e. no stations, signals, etc. close to the depot, I cannot reproduce that error. Make sure you give the train (actually all of them) enough room to completely leave the depot. So it doesn't have to go through any signals, stations, tunnel portals (or just about anything but a stretch of ordinary track) before it is fully clear of the depot. Then this problem shouldn't happen.Well it happened to me under "normal conditions" too. Quote Selected Last Edit: February 08, 2009, 12:08:02 pm by emaxectranspoorte
Re: Graphic bug with trucks Reply #28 – February 08, 2009, 11:14:20 am Does it happen all the time? Does the train come out of the depot that way? Or did it maybe happen during some loading or saving of the game? And can you show us screenshot of the depot (and the tracks it is connected to)?Because so far, it does not seem to be a problem of the pak, but of simutrans itself. Quote Selected
Re: Graphic bug with trucks Reply #29 – February 08, 2009, 12:38:08 pm I’ve got trains traveling both ways on two adjacent tracks. I’ve sent the ones with the gap problem to the depot. When I started each of them, in turn, again the gap disappears. But when one of those trains moves on track, the point where the gap was, looks like it’s trying to tear apart all the way along. Quote Selected
Re: Graphic bug with trucks Reply #30 – February 08, 2009, 01:08:42 pm That little jittering between first and second vehicle? That's a program bug(let). Happens on many (if not all trains/vehicles). However, that cannot be fixed in the pak. But it should disappear once the train changes direction (which kinda sucks on ring lines, since it never happens there.) Quote Selected