Refuelling distance shows 32,000m (X2534)

Bug #1379253 reported by Edward Keenan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Medium
Edward Keenan

Bug Description

Since V2534, a bug was introduced where if you use the refueling key within proximity of the fueling station, you will get a message with the distance showing over 32,000 meters. This was never an issue before this version.

Edward K.

James Ross (twpol)
summary: - WorldLocation change bug & refueling.
+ Refuelling distance shows 32,000m (X2534)
Revision history for this message
Edward Keenan (edwardk) wrote :

I found the problem. All of the fixes after the change required changing "something == null" to "something== WorldLocation.None". There was one item that needed to changed in MSTSLocomotiveViewer.cs. Fix will be submitted shortly.

Edward K.

Revision history for this message
Edward Keenan (edwardk) wrote :

James,

 I have a question. While searching for "Location =" or "== null", I did manage to find additional items under "AuxActionRef.cs". "Location" is part of WorldLocation so I just wanted to know if these items should be changed as well? If you want, I leave that part for you since my initial find fixed the meter value shown in the screen message, but for some reason, the refueling process is not working. I checked the release before X2534 and it worked so there must be another item connected with the WorldLocation fix that is preventing it from working.

Edward K.

Revision history for this message
Edward Keenan (edwardk) wrote :

Disregard my previous post. The fix for the refueling issue has been found and it works. The other items I brought up is just me under the influence of the mandatory 6 day work week.

Edward K.

James Ross (twpol)
Changed in or:
status: New → In Progress
importance: Undecided → Medium
milestone: none → 1.0
assignee: nobody → Edward Keenan (edwardk)
Revision history for this message
Edward Keenan (edwardk) wrote :

I have submitted a fix as of X2575 and the issue has been resolved. Keep in mind that refilling process in OR is still a work in progress.

Edward K.

Revision history for this message
rohitrkrishnan (rohitrkrishnan88) wrote :

I think this only is the bug pending with the release of OR v 1.0.

Revision history for this message
rohitrkrishnan (rohitrkrishnan88) wrote :

But why it is not seen declared as resolved?

Revision history for this message
Edward Keenan (edwardk) wrote :

The fix for this particular issue was resolved. The extra step to declare this bug report as resolved was not done. As of now, this has been officially resolved.

Edward K.

Changed in or:
status: In Progress → Fix Released
Revision history for this message
rohitrkrishnan (rohitrkrishnan88) wrote :

Ok.

James Ross (twpol)
Changed in or:
status: Fix Released → Fix Committed
James Ross (twpol)
Changed in or:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.