Comment 14 for bug 1488329

Revision history for this message
James Bradley, Jr. (jbrad1974) wrote :

It has been awhile since I visited this issue. Just attempted changing the "PickupType" value to several values between 0-9. The only two values that appear to work are 6 & 7.

With 6, the Wash Rack signal is recognized as a "Coal" pickup, giving a distance to the coal chute. However, OpenRails crashes as soon as the distance is zero.

With 7, the Wash Rack signal is recognized as a "Diesel Fuel Oil" pickup, giving a distance to the fueling point. When the distance reaches zero, OR does not crash and I get a popup that states "Fuel Oil Full". The signal itself never changed from lunar to purple (animated) as it is supposed to.

Either OR doesn't recognize any PickupType value other than 6 & 7 (i.e. 5 is not defined), or the engine type is not compatible. I suspect it is the first reason, as the activity is using a diesel but still recognized the coal pickup. This would also explain why the sand towers were not recognized as a valid pickup either. OR needs to have it's code updated to recognize all pickup types, regardless of the type of locomotive being driven.