Autorenew and variable F2
Moderator: OpenTTD Developers
Autorenew and variable F2
It appears the contents of vehicle variable F2 (B Refit cycle, how many times refitted to the same cargo type) are not copied over when a vehicle is autorenewed. Can this be changed so it is copied to the new vehicle(s)?
Re: Autorenew and variable F2
I will look into this when I'm done with what I'm currently working on (which happens to be something else in autoreplace). Can you provide a savegame where it's quick to test this?
Re: Autorenew and variable F2
I'll have to make a test grf to make it really obvious, I'll try to get to it in the next couple of days.
Re: Autorenew and variable F2
Here is a test grf. The demonstration loco has 4 clearly identifiable liveries (different coloured and numbered rectangles
) an intro date of 1921 and a vehicle lifespan of 2 years. The title of the grf is "Cargo Refit Test".
To see the problem: build a loco, refit it to a different livery, set it going and fastforward to the autorenew. The autorenew will reset it to livery 0.

To see the problem: build a loco, refit it to a different livery, set it going and fastforward to the autorenew. The autorenew will reset it to livery 0.
- Attachments
-
- refit_test.grf
- (639 Bytes) Downloaded 96 times
Re: Autorenew and variable F2
He's like, some kind of OpenTTD developer.
- Beardie
- Tycoon
- Posts: 2029
- Joined: 12 Apr 2008 19:38
- Skype: rbeardwell91
- Location: Buckshaw Village, Lancashire, UK
Re: Autorenew and variable F2
Sorry to bring this old topic up, but i have just en counted this problem, is there going to be a fix for it in the future for OpenTTD?
Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account

Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account
Re: Autorenew and variable F2
On my TODO list for long time 
(Do you now know more than before?
)
Edit: Oh, forgot to mention: There is a FS task for this. http://bugs.openttd.org/task/2616

(Do you now know more than before?

Edit: Oh, forgot to mention: There is a FS task for this. http://bugs.openttd.org/task/2616
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
- Beardie
- Tycoon
- Posts: 2029
- Joined: 12 Apr 2008 19:38
- Skype: rbeardwell91
- Location: Buckshaw Village, Lancashire, UK
Re: Autorenew and variable F2
Sorry to bring this old thread up, but i would to add that this error has been fixed as of OpenTTD V1.0 RC1, in case anyone wanted to know 

Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account

Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account
Who is online
Users browsing this forum: No registered users and 11 guests