Trans AI .:19.07.23 :.
Moderator: OpenTTD Developers
- davidx123
- Traffic Manager
- Posts: 146
- Joined: 21 Feb 2008 19:05
- Location: boring city in the middle of nowhere,Israel.
- Contact:
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
why?he keeps crashing because this error:you script made an error:
cost callback has to be function pointer.
any ideas what it means?
cost callback has to be function pointer.
any ideas what it means?
-
- Engineer
- Posts: 44
- Joined: 06 Sep 2008 12:41
- Location: Hamburg, Germany
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
Hey,
seems to work stable now, but the AI still builds some weird tracks. But that should be fixable I think
And in this case the AI tries to build a depot about a million times and seems to never stop?
seems to work stable now, but the AI still builds some weird tracks. But that should be fixable I think

And in this case the AI tries to build a depot about a million times and seems to never stop?
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
This error is thrown by the Aystar library. This suggests that the rail pathfinder is not providing the _Cost() method correctly.davidx123 wrote:why?he keeps crashing because this error:you script made an error:
cost callback has to be function pointer.
any ideas what it means?
PathZilla - A networking AI - Now with tram support.
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
I tried Trans AI. But i found it really made the game unplayable because it slow it right down and at times the game would pause for about a minute or so.
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
I would like to know, what is the size of map, how many industries there, etc..wozzar wrote:I tried Trans AI. But i found it really made the game unplayable because it slow it right down and at times the game would pause for about a minute or so.

So, please :
-upload your saved game
-tell what grf in use
-how many TransAI instance run

Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
The Map size is 2048X2048
AI Nocab Bleeding Edge and Admiral
Industries and towns set on normal.
AI Nocab Bleeding Edge and Admiral
Industries and towns set on normal.
- davidx123
- Traffic Manager
- Posts: 146
- Joined: 21 Feb 2008 19:05
- Location: boring city in the middle of nowhere,Israel.
- Contact:
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
good news!after a virus hardy injured my pc,i have reinstalled the windows on my computer.
and woilla!trans ai works!a very nice ai,if ottd would have a default no_ai,your ai will be the best(it good for every one,exeprts and begginers alike!) choise.
cheers,david the ottd kid.
and woilla!trans ai works!a very nice ai,if ottd would have a default no_ai,your ai will be the best(it good for every one,exeprts and begginers alike!) choise.
cheers,david the ottd kid.
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
davidx123:
Im glad to see it finally work in your pc.
Joke mode : on.
Thanks to the virus?
Joke mode : off.
however, current code need to be optimized due to bugs reported by wozzar and deepblue2k8.
Thanks for all reports have been made.
Im glad to see it finally work in your pc.
Joke mode : on.
Thanks to the virus?

Joke mode : off.
however, current code need to be optimized due to bugs reported by wozzar and deepblue2k8.
Thanks for all reports have been made.
- davidx123
- Traffic Manager
- Posts: 146
- Joined: 21 Feb 2008 19:05
- Location: boring city in the middle of nowhere,Israel.
- Contact:
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
i got a small(yet funny) idea.
you avatar is a face made with tt face maker.
so why ai wont use this face?only if you can do it.
since all congficurations has numbers(like paramets:2 3 4 5 6 7 3 4 result some thiong,and 3 4 5 6 7 3 2result something ealse).
sorry for any speeling problems,mozzila acting wierd.
you avatar is a face made with tt face maker.
so why ai wont use this face?only if you can do it.
since all congficurations has numbers(like paramets:2 3 4 5 6 7 3 4 result some thiong,and 3 4 5 6 7 3 2result something ealse).
sorry for any speeling problems,mozzila acting wierd.
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
Actually, that is already in my mind, but it seem theres no API function to change current face.davidx123 wrote:i got a small(yet funny) idea.
you avatar is a face made with tt face maker.
so why ai wont use this face?only if you can do it.
since all congficurations has numbers(like paramets:2 3 4 5 6 7 3 4 result some thiong,and 3 4 5 6 7 3 2result something ealse).
sorry for any speeling problems,mozzila acting wierd.

- davidx123
- Traffic Manager
- Posts: 146
- Joined: 21 Feb 2008 19:05
- Location: boring city in the middle of nowhere,Israel.
- Contact:
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
it seems you ai got a small problem:
when it build a nice rout from a to b,and later he upgrade to electric,he upgrade every rail part.
but you cannot convert if there is a train on that part of the rail's later when he replace the trains with electric,they stuck in some points.since i care about the ongoing of other ai,i switched company and tried to fix it,but i was thinking it some thing with signals so i told him to ignore,and well,you know.
boom(or as i love to describe braniac:science bang)
when it build a nice rout from a to b,and later he upgrade to electric,he upgrade every rail part.
but you cannot convert if there is a train on that part of the rail's later when he replace the trains with electric,they stuck in some points.since i care about the ongoing of other ai,i switched company and tried to fix it,but i was thinking it some thing with signals so i told him to ignore,and well,you know.
boom(or as i love to describe braniac:science bang)
- davidx123
- Traffic Manager
- Posts: 146
- Joined: 21 Feb 2008 19:05
- Location: boring city in the middle of nowhere,Israel.
- Contact:
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
You know?your ai is just a little child.it know how to do it,but the details just don't bother him.
i wish i could test this ai against the old AI!
anyway,i have another idea.you ai should build two rail stations from two large towns,and not buses,since over time they become over-fulled.
i recommend to use something like"if town has more than 1500 inhabitants build rail" or something.
that way he will get hinger ratings,and pays.
he also needs to consider the distance bettween.so add "if distance is 300" or whatever you use in sqireal.
i wish i could test this ai against the old AI!
anyway,i have another idea.you ai should build two rail stations from two large towns,and not buses,since over time they become over-fulled.
i recommend to use something like"if town has more than 1500 inhabitants build rail" or something.
that way he will get hinger ratings,and pays.
he also needs to consider the distance bettween.so add "if distance is 300" or whatever you use in sqireal.
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
Thanks..
Current code (090426) will only uses buses for Town->Town cargo, Right now I'm working to improve many things here
Current code (090426) will only uses buses for Town->Town cargo, Right now I'm working to improve many things here

Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
Since TransAI does not seem to work correctly with 0.7.1, we've set the maximum version in bananas to something just before 0.7.1, so users with 0.7.1 can't download Trans AI via bananas anymore. The acall/pcall/call changes have broken this AI unfortunately. I hope you'll be able to update your AI soon.
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
Ups... forgetYexo wrote:Since TransAI does not seem to work correctly with 0.7.1, we've set the maximum version in bananas to something just before 0.7.1, so users with 0.7.1 can't download Trans AI via bananas anymore. The acall/pcall/call changes have broken this AI unfortunately.

Yup, I'm still work on thisYexo wrote: I hope you'll be able to update your AI soon.
Re: Trans AI :: 09-04-26 (a.k.a Fan AI)
Hello all,
Here TransAI have LTR for Long Time Release.
As known that the latest version of TransAI was 090426, now we have 090619. Wich is (hopefully) fix amount of bug reported.
Whats New ?
- Task management should fix what is wozzar reported. Although steel there are lag for a second or twice while pathfinding.
- Re-base on rail pathfinder, so you may not seen again an old-AI-style rail route
- Actually check OTTD version. It is required at least minor ver 7 and build 1 (0.7.1) or rev16537
- Improvement in many areas (included but not limited to): cargo, industries, towns, and vehicles handling.
What about performance (in term of money maker) ?
- I'd prefer you test your self, as the result will vary and depend on map settings.
(I just so shy, because still can't compete with other AI
)
Just keep report if I miss something in this release
Download is available on Bananas and 2nd post of this thread
Here TransAI have LTR for Long Time Release.

As known that the latest version of TransAI was 090426, now we have 090619. Wich is (hopefully) fix amount of bug reported.
Whats New ?
- Task management should fix what is wozzar reported. Although steel there are lag for a second or twice while pathfinding.
- Re-base on rail pathfinder, so you may not seen again an old-AI-style rail route
- Actually check OTTD version. It is required at least minor ver 7 and build 1 (0.7.1) or rev16537
- Improvement in many areas (included but not limited to): cargo, industries, towns, and vehicles handling.
What about performance (in term of money maker) ?

- I'd prefer you test your self, as the result will vary and depend on map settings.


Just keep report if I miss something in this release

Download is available on Bananas and 2nd post of this thread
- Attachments
-
- Better track
- BetterTrack(no old AI again).png (149.08 KiB) Viewed 2098 times
Re: Trans AI :: 09-06-19 ::
Nice to see this AI being improved and updated.
That LTR factor was getting in the way indeed.
I'll go test it some.
That LTR factor was getting in the way indeed.

I'll go test it some.

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'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Re: Trans AI :: 09-06-19 ::
Nice work,
Would be nice if you could add a switch to enable/disable debug signs. Just copy the code from AdmiralAI or PAXLink and you'll get the same string for the switch as those two AIs. (I copied the settings switch code from AdmiralAI)
Also, it would be cool if you can support the advanced settings for enable/disable trains/road vehicles/ships/airplanes of AIs.
Would be nice if you could add a switch to enable/disable debug signs. Just copy the code from AdmiralAI or PAXLink and you'll get the same string for the switch as those two AIs. (I copied the settings switch code from AdmiralAI)
Also, it would be cool if you can support the advanced settings for enable/disable trains/road vehicles/ships/airplanes of AIs.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
- davidx123
- Traffic Manager
- Posts: 146
- Joined: 21 Feb 2008 19:05
- Location: boring city in the middle of nowhere,Israel.
- Contact:
Re: Trans AI :: 09-06-19 ::
oh,finally!
in Israel we finished the study year,and we out for a nice 61 days of freedom,so i got more that enough time to test the AI.
anyway,I just happy it works with 0.7.1.
AI to the max!
in Israel we finished the study year,and we out for a nice 61 days of freedom,so i got more that enough time to test the AI.
anyway,I just happy it works with 0.7.1.
AI to the max!

Re: Trans AI :: 09-06-19 ::
Thanks sirkoz (for the 1st comment to TransAI) , davidx123, and zuu..
I didnt mean to annoyin any body with sign, so I always clear sign after building things. However your idea seems to be good. It will done in the next version.
I didnt mean to annoyin any body with sign, so I always clear sign after building things. However your idea seems to be good. It will done in the next version.

Who is online
Users browsing this forum: No registered users and 6 guests