Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sat May 25, 2013 10:08 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Sep 30, 2009 5:55 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Fri Sep 24, 2004 6:23 pm
Posts: 157
On large maps with much industry and smooth production change, you will get loads of news about changing production.

Most of those news have little information, and as such are simply ignored by the player. Goal of this patch is to reduce the amount of useless news.

With this patch turned on, production change is only reported if
a) production is increased, but there is no- or little transportation
b) production is decreased, but there is a lot of transportation established

This patch works both with smooth economy enabled and disabled.

Additionally, if you don't like the message history to be flooded by messages you actually turned off, there is a button to really turn off those messages. Originally those messages generate a red reminder button, and are queued into message history.


Attachments:
File comment: 2 new buttons added in the bottom of the Message Options.
improved_production_change_news.png
improved_production_change_news.png [ 11.39 KiB | Viewed 663 times ]
File comment: This patch adds both buttons into the Message Options window, as shown in the screenshot.
improved_production_change_news_r17680.diff [10.35 KiB]
Downloaded 38 times
File comment: This is only the "report off news" button. Some messages tend to flood the message history - even if they are turned off. Result: bowsing back is a pain, message history is full of rubbish. Using this button you can really turn them off.
dont_report_off_messages_r17680.diff [6.91 KiB]
Downloaded 34 times


Last edited by sulai on Wed Oct 07, 2009 8:20 am, edited 3 times in total.
Top
 Profile  
 
PostPosted: Wed Sep 30, 2009 8:07 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1463
Location: The sunny side of Alps
Interesting patch, sulai.

I have usually only enabled news messages for the industries that my company links, therefore greatly decreasing the amount of economy news.

Perhaps if it was another option apart from the current ones in the news settings window...

_________________
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
 Profile  
 
PostPosted: Fri Oct 02, 2009 1:28 am 
Offline
Traffic Manager
Traffic Manager

Joined: Fri Sep 24, 2004 6:23 pm
Posts: 157
Good idea. On smaller maps you might want to get messages for any production change. I added two buttons into the message options window. I split off the first button "Report news marked 'off'" as separate patch. See first post.


Top
 Profile  
 
PostPosted: Fri Oct 02, 2009 10:58 am 
Offline
Chief Executive
Chief Executive

Joined: Sun Nov 11, 2007 12:06 pm
Posts: 658
should not they match the settings as the abover ones

or be in the settings page

_________________
For Community Integrated Version http://code.google.com/p/civopenttd/


Top
 Profile  
 
PostPosted: Fri Oct 02, 2009 1:26 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Sep 16, 2005 12:23 pm
Posts: 1471
Location: /home
sulai,
On your Don't Report Off patch, can I suggest removing the blank line at the end? With it, the patch command thinks the file ended unexpectedly, and doesn't apply the final hunk.

Also, are you meant to apply it as the Improved Production Patch first, and then the Don't Report? or does the order not matter?

Edit: Don't worry, I just realised. I didn't realist the Don't Report patch was already included in the Improved Production. My bad.

_________________
I'm forced to wonder what causes people to be incapable of seeing the Search function.
Have patience, and don't whine - tutorials on how to compile OpenTTD on any OS can be found on the OpenTTD Wiki. Go look.
Can now be spotted periodically on IRC under the same name
catcodec, grfcodec and nforenum for Arch Linux


Top
 Profile  
 
PostPosted: Wed Oct 07, 2009 8:23 am 
Offline
Traffic Manager
Traffic Manager

Joined: Fri Sep 24, 2004 6:23 pm
Posts: 157
Gremnon wrote:
On your Don't Report Off patch, can I suggest removing the blank line at the end? With it, the patch command thinks the file ended unexpectedly, and doesn't apply the final hunk.

Thanks for that hint. I accidentally removed one line too much. I updated that patch. =)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 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-2013 phpBB Group

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