AutoRenew Problem

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
pmht
Engineer
Engineer
Posts: 8
Joined: 31 May 2002 22:15

AutoRenew Problem

Post by pmht »

Can't find if it's already been added as a bug (have stuck this on Sourceforge too) but the autorenew option closed my company!

Was happily building a new line when suddenly I ran out of cash. Why? Because the high speed trains I had built were going into the depots at the same time and getting renewed, at nearly 4 times the price I'd paid originally. (Due to inflation)

As a result, the company nearly folded, and collapsed within 3 years!

(Saved game beforehand resulted in me being able to go back, turn off the switch, and enjoy old trains instead!)

The trains were being renewed, despite the company not being able to afford the trains. Result? Debt! They just kept getting upgraded and turning a profit into red debt!

Steve :)
Attachments
Image file
Image file
Xpress Northern Transit, 7th May 2012.JPG (346.98 KiB) Viewed 1261 times
follow
Engineer
Engineer
Posts: 55
Joined: 20 Jul 2004 02:43
Location: Warsaw, Poland
Contact:

Post by follow »

In short words: autorenew feature renews your vehicles even if players money < 0

Bug report: [ 1006715 ] AutoRenew Issue - puts your company in the red!
http://sourceforge.net/tracker/index.ph ... tid=636365
Attachments
autorenew_in_debt.sav
savegame
(82.8 KiB) Downloaded 225 times
pmht
Engineer
Engineer
Posts: 8
Joined: 31 May 2002 22:15

Post by pmht »

follow wrote:In short words: autorenew feature renews your vehicles even if players money < 0
Ok, yep! lol
follow
Engineer
Engineer
Posts: 55
Joined: 20 Jul 2004 02:43
Location: Warsaw, Poland
Contact:

Post by follow »

Or to be more precise: autorenew feature renew player's vehicle even if player's money < cost(renew)
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Post by TrueBrain »

Fix for this is in progress, will most likely be in SVN today. More info will follow ;)
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Post by TrueBrain »

As promised (was some more work then I thought), a fix for this is ready at:

https://sourceforge.net/tracker/index.p ... tid=636367


Fixes:
- Autorenew_month is added

Added:
- You can enter the amount of money needed before
autorenew is done
- When you don't have the money, you will get an error
- The 'vehicle getting old' messages are not shown
when autorenew is enabled
User avatar
denzil
Engineer
Engineer
Posts: 53
Joined: 17 Aug 2004 09:49
Location: Zagreb, Croatia

Post by denzil »

OK, I downloaded the fix from the supplied link but all I got was a .htm file..when opened looks like a code..so I gues I have to rename it?? Or maybe even compile it?? Anyway, WHAT DO I DO WITH IT?? :oops:
"He who fights with monsters should look to it that he himself doesn't become a monster.. when you gaze long into the abyss, the abyss also gazes into you"
Nietzsche
User avatar
Dribbel
Engineer
Engineer
Posts: 64
Joined: 11 Jul 2004 16:25
Location: The Netherlands - Grunn

Post by Dribbel »

1) Just click the link
2) in the new opened page download the path at the bottom (it's top one of the three files shown, the other two are old.
3) Apply the patch to your source code (using SVNTorToise on windows or patch in unix)
4) recompile the game, using your favorite compiler MSVC or gcc will do
5) Play!
Programmeren is makkelijker als je denkt - Dutch pun
[url=callto://zoekdribbel]Image[/url]
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Post by TrueBrain »

denzil wrote:OK, I downloaded the fix from the supplied link but all I got was a .htm file..when opened looks like a code..so I gues I have to rename it?? Or maybe even compile it?? Anyway, WHAT DO I DO WITH IT?? :oops:
Download the latest nightly build, it is included in there.
User avatar
denzil
Engineer
Engineer
Posts: 53
Joined: 17 Aug 2004 09:49
Location: Zagreb, Croatia

Post by denzil »

I got the Tortoise but where can I find MSVC?? been looking on Google a bit...no luck.. and, what's this Nightly Build?? And where can I download that:)???
:oops:

P.S. I'm very new at this...

PPS... found the nighly:)...
"He who fights with monsters should look to it that he himself doesn't become a monster.. when you gaze long into the abyss, the abyss also gazes into you"
Nietzsche
User avatar
Dribbel
Engineer
Engineer
Posts: 64
Joined: 11 Jul 2004 16:25
Location: The Netherlands - Grunn

Post by Dribbel »

denzil wrote:I got the Tortoise but where can I find MSVC??
Microsoft Visual C you will have to buy :)

The Nithly builds are also ok (are they avail. again?)
Programmeren is makkelijker als je denkt - Dutch pun
[url=callto://zoekdribbel]Image[/url]
User avatar
lucaspiller
Tycoon
Tycoon
Posts: 1228
Joined: 18 Apr 2004 20:27

Post by lucaspiller »

Get Cygwin, its free. I wrote half an article of what you need to get Cygwin running to compile OpenTTD, but not everything is there.

Also don't complain because its in rtf format, its only half an article, its not finished.
Attachments
compile_with_cygwin.zip
(1.82 KiB) Downloaded 215 times
No longer active here, but you can still reach me via email: luca[at]stackednotion[dot]com
User avatar
mdhowe
Route Supervisor
Route Supervisor
Posts: 446
Joined: 09 Jul 2004 07:12
Location: Hobart, Australia

Post by mdhowe »

lucaspiller wrote:Get Cygwin, its free. I wrote half an article of what you need to get Cygwin running to compile OpenTTD, but not everything is there.
This would be a handy thing to put on the wiki :)
"Set fashion, not follow. Spit vitriol, not swallow" - Marilyn Manson
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

cygwin compilation tips put on wiki, thank you lucaspiller:
http://openttd.rulez.org/wiki2/index.php/cygwin
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
lucaspiller
Tycoon
Tycoon
Posts: 1228
Joined: 18 Apr 2004 20:27

Post by lucaspiller »

Good job Darkvater, I updated it so now the instructions actually work. :D
No longer active here, but you can still reach me via email: luca[at]stackednotion[dot]com
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 23 guests