Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sat Jul 21, 2018 3:56 am

All times are UTC




Post new topic  Reply to topic  [ 197 posts ]  Go to page Previous 16 7 8 9 10
Author Message
PostPosted: Mon Dec 17, 2012 9:45 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Jun 25, 2009 4:42 pm
Posts: 2364
Location: Location, Location
fanioz has been gone over 2 years now, i don't think he'll be coming back :(

_________________
AroAI - A really feeble attempt at an AI

It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra


Top
   
PostPosted: Sat May 04, 2013 10:00 am 
Offline
Engineer
Engineer

Joined: Sat May 04, 2013 9:55 am
Posts: 5
Bug


Attachments:
Unicorn Travel and Freight Co., 12th Apr 2021.png [134.16 KiB]
Downloaded 6 times
Top
   
PostPosted: Thu Jul 18, 2013 3:33 pm 
Offline
Engineer
Engineer

Joined: Tue Feb 23, 2010 3:44 pm
Posts: 103
Hi,
There's a new version of Trans AI on bananas and no word about it in this thread?

Time to mention it here,
but I'm sorry that my true intention was to make a bug report:
TransAI v. 130711, OpenTTD 1.3.1

Attachment:
crashTrans.png [19.92 KiB]
Downloaded 6 times


This is the line in code where the bug happens:

Code:
if (!_Mgr_B.AllowTryStation(_S_Type)) return 2;


The value of _Mgr_B could be 'null', I think it's not enough protected that this don't can happen.

And I had to disallow Planes for Trans or it bancrupts after short time because of the high infrastructure costs of airports.


Top
   
PostPosted: Mon Jul 22, 2013 1:29 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
Steffl wrote:
Hi,
There's a new version of Trans AI on bananas and no word about it in this thread?

Time to mention it here,
but I'm sorry that my true intention was to make a bug report:
TransAI v. 130711, OpenTTD 1.3.1

Attachment:
crashTrans.png


This is the line in code where the bug happens:

Code:
if (!_Mgr_B.AllowTryStation(_S_Type)) return 2;


The value of _Mgr_B could be 'null', I think it's not enough protected that this don't can happen.


Thanks :mrgreen:

Updated to v. 130722
Fix: Don't crash if no destination found (thanks to Steffl)
Fix : move to next cargo upon successful built

Steffl wrote:
And I had to disallow Planes for Trans or it bancrupts after short time because of the high infrastructure costs of airports.


which NewGrf ?

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
PostPosted: Mon Jul 22, 2013 1:38 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9035
Location: Sol d
fanioz wrote:
which NewGrf ?


Infrastructure maintenance is a new setting in OpenTTD 1.2+(?) itself. High infrastructure maintenance costs for airports might thus happen without any NewGRF being used.

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML


Top
   
PostPosted: Tue Dec 31, 2013 2:23 am 
Offline
Engineer
Engineer

Joined: Mon Feb 18, 2013 11:41 am
Posts: 24
Location: Jakarta, Indonesia
Hey man, will this AI works with CargoDist?

Steffl wrote:
And I had to disallow Planes for Trans or it bancrupts after short time because of the high infrastructure costs of airports.

And yeah, his right. Your AI always bankrupt because airport's maintenance cost.

Regards, Akip


Top
   
PostPosted: Sat Mar 08, 2014 11:35 pm 
Offline
Engineer
Engineer

Joined: Sun May 12, 2013 10:28 pm
Posts: 89
Location: Argentina
Hi Fanioz, nice to see you again.

I see you fixed the "dont call me" error at events class (by deleting the lines).

I had done my own fix some time ago, by adding the missing events that triggered the try-catch, check it (currently there are dummy actions, but maybe you can do it better if needed)

Code:
// Patch: unsupported events, keep AI running
            case AIEvent.ET_TOWN_FOUNDED:
               Warn ("Unsupported event: ET_TOWN_FOUNDED");
               break
               
            case AIEvent.ET_AIRCRAFT_DEST_TOO_FAR:
               Warn ("Unsupported event: ET_AIRCRAFT_DEST_TOO_FAR");
               break
               
            case AIEvent.ET_ADMIN_PORT:
               Warn ("Unsupported event: ET_ADMIN_PORT");
               break
            
            case AIEvent.ET_WINDOW_WIDGET_CLICK:
               Warn ("Unsupported event: ET_WINDOW_WIDGET_CLICK");
               break
            
            case AIEvent.ET_GOAL_QUESTION_ANSWER:
               Warn ("Unsupported event: ET_GOAL_QUESTION_ANSWER");
               break
// Patch end            


Actually, I think the only useful for you could be ET_AIRCRAFT_DEST_TOO_FAR, to check bad behaviour, the others are only for AI/GS that can manage interactive stuff...

BTW, your AI works pretty well when starting from early eras (tested so far from 1700), but when it gets enough money it starts buying every competitor thats goes bankrupcy, taking over more and more useless stations around the map, making the game very ugly. Also it builds a ship depot for every sea route, wich leads to blockades in small water areas, and then I am forced to restart the AI to clean the messing...


Top
   
PostPosted: Tue Jun 14, 2016 2:25 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Feb 26, 2015 12:52 am
Posts: 212
Trans crashes with Modulo by Zero error when trying to place an HQ while being Company #1 (0 in code).

Quote:
if (counter % My.ID != 0) continue;

_________________
Formerly known as Samu


Top
   
PostPosted: Thu Jul 28, 2016 5:06 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Feb 26, 2015 12:52 am
Posts: 212
crashed: it took too long to save, while testing only ships for 100 years.

Quote:
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [I] [Water Tracker] sources: 1 dests: 1
dbg: [script] [1] [I] [Water Tracker] max len: 42
dbg: [script] [1] [I] [Water Tracker] original max len: 42
dbg: [script] [1] [I] [Water Tracker] calculated multiplier: 1
dbg: [script] [1] [I] [Water Tracker] Opening tile 1
dbg: [script] [1] [I] [Water Tracker] nautical max len: 38
dbg: [script] [1] [I] [Water Tracker] path finding # -1
dbg: [script] [1] [I] [Events Check] No more event to save
dbg: [script] [1] [I] [Water Tracker] path finding succeed
dbg: [script] [1] [I] [Water Connector] est. Cost 262
dbg: [script] [1] [I] [Water Connector] Have 262 [true] -> Good Job ^_^
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [I] [Water Tracker] sources: 1 dests: 1
dbg: [script] [1] [I] [Water Tracker] max len: 44
dbg: [script] [1] [I] [Water Tracker] original max len: 44
dbg: [script] [1] [I] [Water Tracker] calculated multiplier: 1
dbg: [script] [1] [I] [Water Tracker] Opening tile 1
dbg: [script] [1] [I] [Water Tracker] nautical max len: 40
dbg: [script] [1] [I] [Water Tracker] path finding # -1
dbg: [script] [1] [I] [Events Check] No more event to save
dbg: [net] [udp] advertising to master server
dbg: [script] [1] [I] [Events Check] No more event to save
dbg: [script] [1] [E] This script took too long to Save.
dbg: [script] The script died unexpectedly.
One of the running scripts crashed. Please report this to the script author with a screenshot of the AI/Game Script Debug Window
dbg: [script] [1] [I] Please report the error to the following URL:
dbg: [script] [1] [I] http://dev.openttdcoop.org/projects/ai-trans/issues


Attachments:
File comment: last month alive
Trans Angel, 1st Dec 2016.sav [1.34 MiB]
Downloaded 27 times
File comment: already dead
Trans Angel, 1st Jan 2017.sav [1.34 MiB]
Downloaded 29 times
File comment: server config
openttdCore1.cfg [11.62 KiB]
Downloaded 25 times

_________________
Formerly known as Samu
Top
   
PostPosted: Mon Aug 01, 2016 12:15 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Feb 26, 2015 12:52 am
Posts: 212
Too long to save again.
Quote:
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [I] [Water Tracker] sources: 1 dests: 1
dbg: [script] [1] [I] [Water Tracker] max len: 20
dbg: [script] [1] [I] [Water Tracker] original max len: 20
dbg: [script] [1] [I] [Water Tracker] calculated multiplier: 1
dbg: [script] [1] [I] [Water Tracker] Opening tile 1
dbg: [script] [1] [I] [Water Tracker] nautical max len: 20
dbg: [script] [1] [I] [Water Tracker] path finding # -1
dbg: [script] [1] [W] [Water Tracker] path finding failed
dbg: [script] [1] [I] [Water Tracker] sources: 1 dests: 1
dbg: [script] [1] [I] [Water Tracker] max len: 20
dbg: [script] [1] [I] [Water Tracker] original max len: 20
dbg: [script] [1] [I] [Water Tracker] calculated multiplier: 1
dbg: [script] [1] [I] [Water Tracker] Opening tile 1
dbg: [script] [1] [I] [Water Tracker] nautical max len: 20
dbg: [script] [1] [I] [Water Tracker] path finding # -1
dbg: [script] [1] [W] [Water Tracker] path finding failed
dbg: [script] [1] [I] [Water Tracker] sources: 1 dests: 1
dbg: [script] [1] [I] [Water Tracker] max len: 39
dbg: [script] [1] [I] [Water Tracker] original max len: 39
dbg: [script] [1] [I] [Water Tracker] calculated multiplier: 1
dbg: [script] [1] [I] [Water Tracker] Opening tile 1
dbg: [script] [1] [I] [Water Tracker] nautical max len: 35
dbg: [script] [1] [I] [Water Tracker] path finding # -1
dbg: [script] [1] [I] [Events Check] No more event to save
dbg: [script] [1] [E] This script took too long to Save.
dbg: [script] The script died unexpectedly.
One of the running scripts crashed. Please report this to the script author with a screenshot of the AI/Game Script Debug Window
dbg: [script] [1] [I] Please report the error to the following URL:
dbg: [script] [1] [I] http://dev.openttdcoop.org/projects/ai-trans/issues


Attachments:
File comment: last month alive
Trans Moon, 1st Dec 2018.sav [1.17 MiB]
Downloaded 26 times
File comment: already dead
Trans Moon, 1st Jan 2019.sav [1.17 MiB]
Downloaded 22 times
File comment: server config
openttdCore2.cfg [11.62 KiB]
Downloaded 26 times

_________________
Formerly known as Samu
Top
   
PostPosted: Sat Aug 06, 2016 9:57 am 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Feb 26, 2015 12:52 am
Posts: 212
Trans is massing ships on the same route, but they get lost.

Image

_________________
Formerly known as Samu


Top
   
PostPosted: Mon Aug 08, 2016 1:06 pm 
Offline
Engineer
Engineer

Joined: Sun May 12, 2013 10:28 pm
Posts: 89
Location: Argentina
xarick wrote:
Trans crashes with Modulo by Zero error when trying to place an HQ while being Company #1 (0 in code).

Quote:
if (counter % My.ID != 0) continue;


workaround:
Code:
if (My.ID !=0 && counter % My.ID != 0) continue;


Top
   
PostPosted: Sun Feb 18, 2018 3:16 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Feb 26, 2015 12:52 am
Posts: 212
Crashed right after buying Chopper


Attachments:
Unnamed, 1963-02-17.sav [331.94 KiB]
Downloaded 19 times
Unnamed, 1963-03-09.png [358.98 KiB]
Not downloaded yet

_________________
Formerly known as Samu
Top
   
PostPosted: Tue Apr 10, 2018 10:57 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
Akip Nax Dhagadoe wrote:
Hey man, will this AI works with CargoDist?

Hello, I've not try CargoDist yet. I can't comment on this.
Akip Nax Dhagadoe wrote:
Steffl wrote:
And I had to disallow Planes for Trans or it bancrupts after short time because of the high infrastructure costs of airports.

And yeah, his right. Your AI always bankrupt because airport's maintenance cost.

Regards, Akip

I'll fix ; disallow aircraft to build if the infrastructure maintenance setting is activated

HGus wrote:
Hi Fanioz, nice to see you again.

I see you fixed the "dont call me" error at events class (by deleting the lines).

I had done my own fix some time ago, by adding the missing events that triggered the try-catch, check it (currently there are dummy actions, but maybe you can do it better if needed)
[+] Spoiler
Code:
// Patch: unsupported events, keep AI running
            case AIEvent.ET_TOWN_FOUNDED:
               Warn ("Unsupported event: ET_TOWN_FOUNDED");
               break
               
            case AIEvent.ET_AIRCRAFT_DEST_TOO_FAR:
               Warn ("Unsupported event: ET_AIRCRAFT_DEST_TOO_FAR");
               break
               
            case AIEvent.ET_ADMIN_PORT:
               Warn ("Unsupported event: ET_ADMIN_PORT");
               break
            
            case AIEvent.ET_WINDOW_WIDGET_CLICK:
               Warn ("Unsupported event: ET_WINDOW_WIDGET_CLICK");
               break
            
            case AIEvent.ET_GOAL_QUESTION_ANSWER:
               Warn ("Unsupported event: ET_GOAL_QUESTION_ANSWER");
               break
// Patch end            
Actually, I think the only useful for you could be ET_AIRCRAFT_DEST_TOO_FAR, to check bad behaviour, the others are only for AI/GS that can manage interactive stuff...

Thanks, I'll look into "ET_AIRCRAFT_DEST_TOO_FAR" to see what can I do with that. The reason for deleting "dont call me" line was because I dont want to handle every AIEvent brodcasted.
HGus wrote:
BTW, your AI works pretty well when starting from early eras (tested so far from 1700), but when it gets enough money it starts buying every competitor thats goes bankrupcy, taking over more and more useless stations around the map, making the game very ugly. Also it builds a ship depot for every sea route, wich leads to blockades in small water areas, and then I am forced to restart the AI to clean the messing...
Thanks, noted for the later-than-sooner version :D

xarick wrote:
Trans crashes with Modulo by Zero error when trying to place an HQ while being Company #1 (0 in code).
Quote:
if (counter % My.ID != 0) continue;

Thanks, fixed.

xarick wrote:
crashed: it took too long to save, while testing only ships for 100 years.
[+] Spoiler
Quote:
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [I] [Water Tracker] sources: 1 dests: 1
dbg: [script] [1] [I] [Water Tracker] max len: 42
dbg: [script] [1] [I] [Water Tracker] original max len: 42
dbg: [script] [1] [I] [Water Tracker] calculated multiplier: 1
dbg: [script] [1] [I] [Water Tracker] Opening tile 1
dbg: [script] [1] [I] [Water Tracker] nautical max len: 38
dbg: [script] [1] [I] [Water Tracker] path finding # -1
dbg: [script] [1] [I] [Events Check] No more event to save
dbg: [script] [1] [I] [Water Tracker] path finding succeed
dbg: [script] [1] [I] [Water Connector] est. Cost 262
dbg: [script] [1] [I] [Water Connector] Have 262 [true] -> Good Job ^_^
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [W] [Water Connector] failed: ERR_SITE_UNSUITABLE
dbg: [script] [1] [I] [Water Tracker] sources: 1 dests: 1
dbg: [script] [1] [I] [Water Tracker] max len: 44
dbg: [script] [1] [I] [Water Tracker] original max len: 44
dbg: [script] [1] [I] [Water Tracker] calculated multiplier: 1
dbg: [script] [1] [I] [Water Tracker] Opening tile 1
dbg: [script] [1] [I] [Water Tracker] nautical max len: 40
dbg: [script] [1] [I] [Water Tracker] path finding # -1
dbg: [script] [1] [I] [Events Check] No more event to save
dbg: [net] [udp] advertising to master server
dbg: [script] [1] [I] [Events Check] No more event to save
dbg: [script] [1] [E] This script took too long to Save.
dbg: [script] The script died unexpectedly.
One of the running scripts crashed. Please report this to the script author with a screenshot of the AI/Game Script Debug Window
dbg: [script] [1] [I] Please report the error to the following URL:
dbg: [script] [1] [I] http://dev.openttdcoop.org/projects/ai-trans/issues

Thanks, fixed. That was because it check structure of data to be saved, and run out of Ops available.

xarick wrote:
Trans is massing ships on the same route, but they get lost.

Image

Thanks, noted, Perhaps, it is time to employ buoy .. :)
xarick wrote:
Crashed right after buying Chopper

Thanks, fixed. That was because Valuator need either bool or integer return value from a function

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
PostPosted: Wed Apr 11, 2018 5:32 am 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
Bump.....
Version 180411 is available on BaBaNaNaS, as well as on first post. :D

* 180411
Fixes: Not connecting air route with infrastructure maintenance setting activated. Thanks Steffl
Fixes: crashes with Modulo by Zero error when trying to place an HQ while being Company #1 (0 in code). Thanks xarick
Fixes: Crashed due to return value of a function is neither bool nor integer, when being used as Valuator. Thanks xarick
Fixes: AI forced to be stopped due to it took too long to save. Thanks xarick

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
PostPosted: Sun May 06, 2018 8:17 am 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
Bump for the new version. We are now at 180506. Trans is available on BaNaNaS, as well as on first post.
Now, the the ships has buoys in their route. And I re-introduce the rail service. But now only build one train, on one rail.
Let see the changelog.

* 180506
General: Moving repository to git and uses GitHub as issue tracker
Bundling: Now using PowerShell script to bundling package for Bananas
CodeChange: General Pathfinder Optimization
CodeChange: General code CleanUp
Codechange:[Load/Save]:Refactoring service route table
Codechange: Optimize water pathfinder for buoys
Feature: Trans.Rail is back online (alpha stage). Right now we only support for running one train
Feature: Trans.Water now can build buoys
Feature: Closing route if it was not producing/accepting anymore
Feature: If infrastructure maintenance activated in game, we would close the aircraft route
Feature: [Debug] Add option to "break" in game
Feature: [Debug] Make a distinct between build sign for path finding and other sign
Fixes:[Save] max. 25 levels deep
Fixes: Do not deleting station if being used by other route
Fixes:Find nearby depot should be reachable (now for Road & Water)
Fixes:Checking AITile.HasTransportType should be done on next iteration
Fixes: Build depot for water now inline
Fixes: Put a limit distance to find a depot

And more logs can be seen at the repository. :D

And... Happy Bhirtday to me :mrgreen:

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
PostPosted: Thu Jun 21, 2018 11:56 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
We are at 180622. Check it out at Bananas or first post :D
Introducing some features and fixes some bugs, here are the highlights:

Trans.Rail now could handle two train on single track
Trans.Rail will try to build the second track
Trans.Rail now could handle more train on double track
Trans.Rail Uses Dual line Terminus station
Continue building current train route if loaded from a save game

Fixes:[PF] Rail PT cannot detect existing bridge/tunnel
Fixes: GetReplacement() should build a replacement vehicle
Fixes: Save the route built state
Fixes: Don't build station entry if not built station
Fixes: Re-order priority for closing route and adding vehicle
Fixes: Don't crash if got an invalid industry ID
Fixes: Don't Crash if only have one depot
Fixes: Don't crash if Airport first tiles was hangar. (When uses heliport depot type airport)
Fixes: Don't go thru back of rail signal
Fixes: Crash due to no start/end point saved
Fixes: Build rail depot on the same level
Fixes: Rail not removed if depot is not built near station

Check out more at changelog.txt

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 197 posts ]  Go to page Previous 16 7 8 9 10

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-2018 phpBB Limited

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