Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sat Apr 20, 2019 5:18 pm

All times are UTC




Post new topic  Reply to topic  [ 264 posts ]  Go to page Previous 110 11 12 13 14
Author Message
PostPosted: Tue Jan 15, 2019 5:54 am 
Offline
Engineer
Engineer

Joined: Sun May 12, 2013 10:28 pm
Posts: 93
Location: Argentina
It seems Brumi forgot to apply the fix sugested by krinn here

runningcost_limit still falls to zero when Banker.GetInflationRate() is over 6000


Top
   
PostPosted: Tue Jan 15, 2019 2:22 pm 
Offline
President
President

Joined: Sat Jul 18, 2009 5:54 pm
Posts: 899
I wish I had been using some proper version control software, I had no idea how I missed that :) The thing is, I was aware of the inflation problem in v9, and actually did something about it in v10. But why I didn't include the fix that both krinn and SirkoZ were suggesting, I have no idea. My bad! And it's not just some integer/float conversion problem, the logic itself is bad...

So I will make a new release this week, including this fix (finally!). I still have to review SirkoZ's fix for the road deletion bug though.

I really appreciate you guys not only finding bugs in my AI, but even fixing them. Apologies for the bad code though, the bulk of SimpleAI was written before I started attending university...


Top
   
PostPosted: Wed Jan 16, 2019 5:07 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1499
Location: The sunny side of Alps
No apologies are necessary as I see it, I'm just grateful for your wonderful effort of making this AI. We'll get it right. :mrgreen:

_________________
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.

Keep 'em rollin'!


Top
   
PostPosted: Sun Jan 20, 2019 2:43 pm 
Offline
President
President

Joined: Sat Jul 18, 2009 5:54 pm
Posts: 899
There is a new version out!

Two things were changed:
The inflation issue in the train engine valuator is now fixed. Thanks SirkoZ and krinn for the fix!
The AI sometimes did not remove the C-shaped road pieces when failing to build a road station. I implemented a fix for that, which should work in theory (if my assumption was correct about the root cause of the problem), but as I had no reliable reproduction of the case, I could only make a best-effort fix. (for those interested, the fix is in cBuilder::BuildRoadStation, removing the remainders when AIRoad.BuildRoadStation fails)

As usual, the AI can be downloaded from BaNaNaS or the first post.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 264 posts ]  Go to page Previous 110 11 12 13 14

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2019 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2019.
Hosted by Zernebok Hosting.