Mop Generic NRT Road Vehicle Development (was Trolleybi)

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
Emperor Jake
Tycoon
Tycoon
Posts: 3427
Joined: 24 Apr 2007 09:37
Skype: Discord: Emperor Jake #4106
Location: Not Actually Japan
Contact:

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by Emperor Jake »

Hi, not sure if you're aware but this set somehow causes desyncs in multiplayer games when certain tram vehicles are built. Known affected vehicles so far include Kaimuki Articulated Electric Tram and Yarra Electric Light Rail Vehicle. Possibly other articulated trams, non-articulated ones didn't seem to pose a problem. I haven't tested this further but the server's desync output might help. If needed I can PM you the savegame and needed GRFs.

Code: Select all

*** Jake #1 has joined the game (Client #6)
*** Game unpaused (connecting clients)
dbg: [net] Received 32762 bytes of client desync log
dbg: [net] Received 4422 bytes of client desync log
dbg: [net] 'Jake #1' reported an error and is closing its connection (desync error)
*** Jake #1 has left the game (desync error)
Desync encountered (server), generating desync log...
dbg: [desync] vehicle cache mismatch: -c--: type 1, vehicle 24632 (24632), company 1, unit number 44, wagon 0, engine: Yarra Light Rail Vehicle, GRF: 44450602, Mop Generic NRT Vehicles 0.6.5, mops_generic_nrt_road_vehicles_-0.6.5/moprv65.grf
dbg: [desync] vehicle cache mismatch: -c--: type 1, vehicle 24633 (24632), company 1, unit number 44, wagon 1, engine: Yarra Light Rail Vehicle, GRF: 44450602, Mop Generic NRT Vehicles 0.6.5, mops_generic_nrt_road_vehicles_-0.6.5/moprv65.grf
dbg: [desync] vehicle cache mismatch: -c--: type 1, vehicle 24634 (24632), company 1, unit number 44, wagon 2, engine: Yarra Light Rail Vehicle, GRF: 44450602, Mop Generic NRT Vehicles 0.6.5, mops_generic_nrt_road_vehicles_-0.6.5/moprv65.grf
Desync log written to /home/pi/.local/share/openttd/desync-server-20191006T062540Z.log. Please add this file to any bug reports.

Desync savegame written to /home/pi/.local/share/openttd/desync-server-20191006T062540Z.sav. Please add this file and the last (auto)save to any bug reports.

*** Jake #1 has left the game (connection lost)
dbg: [net] Closed client connection 6
dbg: [net] [udp] queried (extended: 0) from 192.168.1.27
*** Jake has left the game (leaving)
dbg: [net] Closed client connection 4
Anyway, I hope this set keeps being worked on, it's got great potential :D
User avatar
supermop
Tycoon
Tycoon
Posts: 1104
Joined: 21 Feb 2010 00:15
Location: Fitzroy North - 96

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by supermop »

Emperor Jake wrote: 06 Oct 2019 06:55 Hi, not sure if you're aware but this set somehow causes desyncs in multiplayer games when certain tram vehicles are built. Known affected vehicles so far include Kaimuki Articulated Electric Tram and Yarra Electric Light Rail Vehicle. Possibly other articulated trams, non-articulated ones didn't seem to pose a problem. I haven't tested this further but the server's desync output might help. If needed I can PM you the savegame and needed GRFs.

Code: Select all

*** Jake #1 has joined the game (Client #6)
*** Game unpaused (connecting clients)
dbg: [net] Received 32762 bytes of client desync log
dbg: [net] Received 4422 bytes of client desync log
dbg: [net] 'Jake #1' reported an error and is closing its connection (desync error)
*** Jake #1 has left the game (desync error)
Desync encountered (server), generating desync log...
dbg: [desync] vehicle cache mismatch: -c--: type 1, vehicle 24632 (24632), company 1, unit number 44, wagon 0, engine: Yarra Light Rail Vehicle, GRF: 44450602, Mop Generic NRT Vehicles 0.6.5, mops_generic_nrt_road_vehicles_-0.6.5/moprv65.grf
dbg: [desync] vehicle cache mismatch: -c--: type 1, vehicle 24633 (24632), company 1, unit number 44, wagon 1, engine: Yarra Light Rail Vehicle, GRF: 44450602, Mop Generic NRT Vehicles 0.6.5, mops_generic_nrt_road_vehicles_-0.6.5/moprv65.grf
dbg: [desync] vehicle cache mismatch: -c--: type 1, vehicle 24634 (24632), company 1, unit number 44, wagon 2, engine: Yarra Light Rail Vehicle, GRF: 44450602, Mop Generic NRT Vehicles 0.6.5, mops_generic_nrt_road_vehicles_-0.6.5/moprv65.grf
Desync log written to /home/pi/.local/share/openttd/desync-server-20191006T062540Z.log. Please add this file to any bug reports.

Desync savegame written to /home/pi/.local/share/openttd/desync-server-20191006T062540Z.sav. Please add this file and the last (auto)save to any bug reports.

*** Jake #1 has left the game (connection lost)
dbg: [net] Closed client connection 6
dbg: [net] [udp] queried (extended: 0) from 192.168.1.27
*** Jake has left the game (leaving)
dbg: [net] Closed client connection 4
Anyway, I hope this set keeps being worked on, it's got great potential :D
Whoa, I must be in way over my head, not sure what I messed up to cause desyncs! I have not touched this in over a year but I do still dearly want to keep working on it. I imagine it's going to take a lot of IRC time to figure out what is going on, but many of the trams have non-deterministic liveries so maybe that is part of the issue?
Diesel Power wrote: 02 Aug 2019 23:36 Can we have articulated open trucks in the next release (as and when)? There are only open ridgids available and and open RVs are the only ones that can carry plant fibres in FIRS 3. So it's either ridgids or trams, it kinda limits our options.
Great set!
The open trucks are my favorite, but I always sort of saw them as the expedient/backcountry/developing world runabout rather than a proper specialized truck (I even wanted them to be refittable to passengers). The idea was less capacity but greater flexibility. I never got around to open trailers when expanding to semi-trucks as they seemed redundant and lacking a compelling prototype, but I must have missed that plant fibers were un-served. Is there a truck bed type that seems better suited to plant fibers? If I have to make 4-12 new trucks anyway, they might as well be something more interesting!
Diesel Power
Traffic Manager
Traffic Manager
Posts: 222
Joined: 18 Jun 2016 19:05

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by Diesel Power »

Plant fibres in the covered hopper (shredded maize) or Flat trucks (straw bales) would suit best. speaking of which... I'm getting some strange graphical glitches on some of the trucks. Seems to mainly affect the covered hoppers. I'm using JGR PP 0.32 rc5
Attachments
The Snow Shifters, 23rd Feb 2027.png
(161.37 KiB) Not downloaded yet
Lesarthois
Engineer
Engineer
Posts: 61
Joined: 29 Apr 2017 19:49

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by Lesarthois »

Hello!

I upgraded from the version of RATT I was using to OpenTTD nightly, since it now support RATT.
And I run into an issue with trolleybus/trolley vehicles, as they does not appears in-game.

Other vehicles appears in game fine, along with ratt-modified HEQS and Road Hog vehicles, so I know that the RATT specific functionnalities are working.
Am I missing something?
I tried this with OpenTTD nightly 20190908 and the more recent, 20191011. Same thing either way, so I have to assume it's on my end.
Is there something specific like a NewGRF for trolley roads I need to add, or an option in-game?
The electric road vehicles are activated in-game (in the MOP GRF options at least).
I use Country Roads and SUV, but even with both those NewGRF disabled (had to try in case they were causing weird conflicts) trolley vehicles and roads still doesn't appears.
I added the RATT roads NewGRF but still no luck.

I'm not sure this is the best place to ask, but I'll gladly take my question to a better topic if pointed to me.
User avatar
kamnet
Moderator
Moderator
Posts: 8582
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by kamnet »

Lesarthois wrote: 12 Nov 2019 16:01 Is there something specific like a NewGRF for trolley roads I need to add, or an option in-game?
Yes, you need to use a NewGRF road set that that support electrified road vehicles. IIRC right now that is only Docklands, found here: viewtopic.php?f=67&t=75941
Lesarthois
Engineer
Engineer
Posts: 61
Joined: 29 Apr 2017 19:49

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by Lesarthois »

Oh, that was the missing link :)
As I said, I upgraded from RATT to nightlies about last week and at first I didn't noticed the lack of electrobusses.
Perfect :) Dockland as a bit too much roads for my tastes, but better than nothing :]
User avatar
Emperor Jake
Tycoon
Tycoon
Posts: 3427
Joined: 24 Apr 2007 09:37
Skype: Discord: Emperor Jake #4106
Location: Not Actually Japan
Contact:

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by Emperor Jake »

kamnet wrote: 12 Nov 2019 16:34
Yes, you need to use a NewGRF road set that that support electrified road vehicles. IIRC right now that is only Docklands, found here: viewtopic.php?f=67&t=75941
There is also Unspooled and U&RATT :wink:
Lesarthois
Engineer
Engineer
Posts: 61
Joined: 29 Apr 2017 19:49

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by Lesarthois »

More choices, good to know :)
Diesel Power
Traffic Manager
Traffic Manager
Posts: 222
Joined: 18 Jun 2016 19:05

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by Diesel Power »

I've spotted a gap in the roster. The piece goods road train between the Tama and the Du Nord is missing.
User avatar
JGR
Tycoon
Tycoon
Posts: 2559
Joined: 08 Aug 2005 13:46
Location: Ipswich

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by JGR »

Are the sources for this GRF available (in particular 0.6.5)?
This GRF appears to be doing something unusual and It would be useful to see what the intended behaviour is.
Ex TTDPatch Coder
Patch Pack, Github
User avatar
JGR
Tycoon
Tycoon
Posts: 2559
Joined: 08 Aug 2005 13:46
Location: Ipswich

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by JGR »

supermop wrote: 09 Oct 2019 03:04
Emperor Jake wrote: 06 Oct 2019 06:55 Hi, not sure if you're aware but this set somehow causes desyncs in multiplayer games when certain tram vehicles are built. Known affected vehicles so far include Kaimuki Articulated Electric Tram and Yarra Electric Light Rail Vehicle. Possibly other articulated trams, non-articulated ones didn't seem to pose a problem. I haven't tested this further but the server's desync output might help. If needed I can PM you the savegame and needed GRFs.

Code: Select all

*** Jake #1 has joined the game (Client #6)
*** Game unpaused (connecting clients)
dbg: [net] Received 32762 bytes of client desync log
dbg: [net] Received 4422 bytes of client desync log
dbg: [net] 'Jake #1' reported an error and is closing its connection (desync error)
*** Jake #1 has left the game (desync error)
Desync encountered (server), generating desync log...
dbg: [desync] vehicle cache mismatch: -c--: type 1, vehicle 24632 (24632), company 1, unit number 44, wagon 0, engine: Yarra Light Rail Vehicle, GRF: 44450602, Mop Generic NRT Vehicles 0.6.5, mops_generic_nrt_road_vehicles_-0.6.5/moprv65.grf
dbg: [desync] vehicle cache mismatch: -c--: type 1, vehicle 24633 (24632), company 1, unit number 44, wagon 1, engine: Yarra Light Rail Vehicle, GRF: 44450602, Mop Generic NRT Vehicles 0.6.5, mops_generic_nrt_road_vehicles_-0.6.5/moprv65.grf
dbg: [desync] vehicle cache mismatch: -c--: type 1, vehicle 24634 (24632), company 1, unit number 44, wagon 2, engine: Yarra Light Rail Vehicle, GRF: 44450602, Mop Generic NRT Vehicles 0.6.5, mops_generic_nrt_road_vehicles_-0.6.5/moprv65.grf
Desync log written to /home/pi/.local/share/openttd/desync-server-20191006T062540Z.log. Please add this file to any bug reports.

Desync savegame written to /home/pi/.local/share/openttd/desync-server-20191006T062540Z.sav. Please add this file and the last (auto)save to any bug reports.

*** Jake #1 has left the game (connection lost)
dbg: [net] Closed client connection 6
dbg: [net] [udp] queried (extended: 0) from 192.168.1.27
*** Jake has left the game (leaving)
dbg: [net] Closed client connection 4
Anyway, I hope this set keeps being worked on, it's got great potential :D
Whoa, I must be in way over my head, not sure what I messed up to cause desyncs! I have not touched this in over a year but I do still dearly want to keep working on it. I imagine it's going to take a lot of IRC time to figure out what is going on, but many of the trams have non-deterministic liveries so maybe that is part of the issue?
Diesel Power wrote: 02 Aug 2019 23:36 Can we have articulated open trucks in the next release (as and when)? There are only open ridgids available and and open RVs are the only ones that can carry plant fibres in FIRS 3. So it's either ridgids or trams, it kinda limits our options.
Great set!
The open trucks are my favorite, but I always sort of saw them as the expedient/backcountry/developing world runabout rather than a proper specialized truck (I even wanted them to be refittable to passengers). The idea was less capacity but greater flexibility. I never got around to open trailers when expanding to semi-trucks as they seemed redundant and lacking a compelling prototype, but I must have missed that plant fibers were un-served. Is there a truck bed type that seems better suited to plant fibers? If I have to make 4-12 new trucks anyway, they might as well be something more interesting!
The GRF (I've only tested 0.6.5) changes the value of the custom cargo ageing period (RV property 22 via callback 36) depending on how full the vehicle is (vehicle variables BA and BC).
I haven't found anything in the spec which explicitly states that this is not allowed, but it is highly inadvisable as it will cause desyncs and so makes the GRF unsuitable for any sort of multiplayer use.
Ex TTDPatch Coder
Patch Pack, Github
User avatar
Emperor Jake
Tycoon
Tycoon
Posts: 3427
Joined: 24 Apr 2007 09:37
Skype: Discord: Emperor Jake #4106
Location: Not Actually Japan
Contact:

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by Emperor Jake »

Ahh that would explain it! That's why the affected trams can work without problems for a while before the desyncs start. For the record we havent' had any further problems with this set simply by not building any articulated passenger trams (which is a shame because they do look nice) :)
User avatar
Gadg8eer
Traffic Manager
Traffic Manager
Posts: 190
Joined: 14 Dec 2019 14:22

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by Gadg8eer »

supermop wrote: 09 Oct 2019 03:04 ,..
Found a bug in the fourth-gen covered hopper trucks:
Attachments
Funtburg Springs Transport, 2200-01-01.png
Funtburg Springs Transport, 2200-01-01.png (34.74 KiB) Viewed 3076 times
I have Asperger's, please be easy on me about stuff. My apologies if I've been a problem for you in the past.
User avatar
supermop
Tycoon
Tycoon
Posts: 1104
Joined: 21 Feb 2010 00:15
Location: Fitzroy North - 96

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by supermop »

This new update removes cargo aging-by-load percentage and replaces it with a fixed parameter, as apparently this feature was causing desyncs. I am not exactly sure why, as the changes were deterministic, and it doesn't seem like NewGRFs should be able to cause desyncs at all. Nevertheless, it seemed safest to remove it.

This update does not fix sprite alignment issues with covered hopper and livestock trucks, as it is going to take me more time to figure out what is going wrong with those.
moprv66.grf
(2 MiB) Downloaded 80 times
User avatar
supermop
Tycoon
Tycoon
Posts: 1104
Joined: 21 Feb 2010 00:15
Location: Fitzroy North - 96

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by supermop »

Hello,

A new update, 0.6.7 is available now on Bananas. This update fixed the broken covered hopper trailer sprites, and adds a few other small changes.

Best,
moprv67.grf
(2.01 MiB) Downloaded 88 times
User avatar
supermop
Tycoon
Tycoon
Posts: 1104
Joined: 21 Feb 2010 00:15
Location: Fitzroy North - 96

Re: Mop Generic NRT Road Vehicle Development (was Trolleybi)

Post by supermop »

New Version 0.6.9 and a proper release thread are available here: viewtopic.php?f=67&t=88559

Various fixes and a few more surprises added, also on Bananas.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Amazon [Bot], GarryG and 37 guests