AIAI
Moderator: OpenTTD Developers
Re: AIAI epsilon (38) version
Hmmm. Savegame? Is it problem with all maglevs or only sometimes?
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: AIAI epsilon (38) version
sorry,
it's only sometimes (only 1 on this game)
just the station length code needs to be limited to 2, or at least check the train length first
it's only sometimes (only 1 on this game)
just the station length code needs to be limited to 2, or at least check the train length first
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
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
Re: AIAI epsilon (38) version
Special for you 

- Attachments
-
- Tanpa nama, 7 Apr 1975.png (202.57 KiB) Viewed 2804 times
-
- aiai, 7 Apr 1975.sav
- (429.94 KiB) Downloaded 323 times
Re: AIAI epsilon (38) version
Thanks!fanioz wrote:Special for you
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: AIAI epsilon (38) version
Most of bugs (including that emailed) are connected with invalid order lists and following suicide of AIAI. I will try to fix it.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: AIAI epsilon (38) version
New version
DONE: fixed bug with too long trains (probably also with too short maglevs)
DONE: ignore helis during autoreplace
DONE: better strategy
DONE: better debug output
DONE: fixed bug with too long trains (probably also with too short maglevs)
DONE: ignore helis during autoreplace
DONE: better strategy
DONE: better debug output
- Attachments
-
- AIAI-epsilon(39b).zip
- (62.1 KiB) Downloaded 311 times
-
- FIRS_UKRS_TBRS.PNG (349.51 KiB) Viewed 2804 times
Last edited by Kogut on 11 Nov 2010 19:43, edited 1 time in total.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: AIAI epsilon (39b) version
And next version, with improved railtypes handling:
- Attachments
-
- AIAI.PNG (10.82 KiB) Viewed 7926 times
-
- AIAI-epsilon(40).zip
- (62.14 KiB) Downloaded 303 times
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: AIAI epsilon (40) version
DONE: NoAI api updated to 1.0.4
DONE: eyecandy - stations are placed closer to industry.
Result:
DONE: eyecandy - stations are placed closer to industry.
Code: Select all
list.Valuate(AIMap.DistanceSquare, industry_location); //pure eyecandy (station near industry)
list.Sort(AIAbstractList.SORT_BY_VALUE, AIAbstractList.SORT_ASCENDING);
- Attachments
-
- Przechwytywanie.PNG (92.91 KiB) Viewed 7916 times
-
- AIAI-epsilon(41).zip
- (62.24 KiB) Downloaded 261 times
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: AIAI epsilon (41) version
Oh, so you've also started to use the station names as a storage location?
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: AIAI epsilon (41) version
No, I name it to allow sorting by age without implementing this: http://www.tt-forums.net/viewtopic.php?f=32&t=47535Zuu wrote:Oh, so you've also started to use the station names as a storage location?
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: AIAI epsilon (41) version
AIAI crash. I loaded MegaRail, a TTD save game and I got this error.
- Attachments
-
- MegaRail, 1960-11-13.sav
- (128.93 KiB) Downloaded 301 times
-
- MegaRail, 1960-11-13.png
- (199.97 KiB) Downloaded 2 times
Re: AIAI epsilon (41) version
It looks like company of another ai. Is it possible to protect ai from being loaded as replacement ai?Samu wrote:AIAI crash. I loaded MegaRail, a TTD save game and I got this error.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: AIAI epsilon (41) version
No, not really, if I remember, it was a save game provided in TTD CD, the company is named Happy Buses, so a human player was there.
Re: AIAI epsilon (41) version
In other words: the company was not originally created by AIAI.Samu wrote:No, not really, if I remember, it was a save game provided in TTD CD, the company is named Happy Buses, so a human player was there.
No.Kogut wrote:Is it possible to protect ai from being loaded as replacement ai?
Re: AIAI zeta (45) version
DONE: Error handling for RV order appending. It probably fixes long going problem with invalid orders.
DONE: Unused station deleting now impossible between station construction and vehicle construction. It fixes root cause of errors during order appending.
DONE: Bug reporting page (that thread) showed as http://tinyurl.com/ottdaiai in crash message and menager name. (Thanks Orudge!)
DONE: More statues
DONE: Unused station deleting now impossible between station construction and vehicle construction. It fixes root cause of errors during order appending.
DONE: Bug reporting page (that thread) showed as http://tinyurl.com/ottdaiai in crash message and menager name. (Thanks Orudge!)
DONE: More statues
- Attachments
-
- AIAI-zeta(45).zip
- (62.35 KiB) Downloaded 329 times
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: AIAI zeta (45) version
Known problems:
- train engines are not replaced
- adding trains to route is not working
- AIAI with enabled trains have worse start than with disabled
- not AI friendly brake vans in Japan Set
So version 45 will go to bananas with disabled trains.
- train engines are not replaced
- adding trains to route is not working
- AIAI with enabled trains have worse start than with disabled
- not AI friendly brake vans in Japan Set
So version 45 will go to bananas with disabled trains.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: AIAI epsilon (41) version
Fixed in 46.Kogut wrote:It looks like company of another ai. Is it possible to protect ai from being loaded as replacement ai?Samu wrote:AIAI crash. I loaded MegaRail, a TTD save game and I got this error.
Code: Select all
if((AICompany.GetName(AICompany.COMPANY_SELF)!="AIAI")&&(AIVehicleList().Count()>0)){
while(true){
Sleep(1000);
Info("Company created by other ai. In result it is not possible for AIAI to menage that company.");
Info("Zzzzz...")
}
}
Known problems:
- train engines are not replaced
- adding trains to route is not working
- AIAI with enabled trains have worse start than with disabled
- not AI friendly brake vans in Japan Set
- stupid rail builder builds depot in stupid place
- too high pf time limit for second track
- Attachments
-
- AIAI-zeta(46).zip
- (62.54 KiB) Downloaded 330 times
Last edited by Kogut on 21 Nov 2010 08:53, edited 1 time in total.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
-
- Engineer
- Posts: 1
- Joined: 21 Nov 2010 08:28
Re: AIAI zeta (46) version
I had to report this bug.
- Attachments
-
- openttd - report.JPG (93.08 KiB) Viewed 2804 times
Re: AIAI zeta (46) version
It is fixed in development version (soon on bananas). You can save game and load to get aiai working again.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: AIAI zeta (46) version
Bananas updated with version 46 (showed as 40) with disabled trains.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Who is online
Users browsing this forum: No registered users and 12 guests