Jinjaba (Jinjaba is not just another bus AI) [V1.0 is here!]

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
User avatar
paullb
Traffic Manager
Traffic Manager
Posts: 129
Joined: 19 May 2008 13:11

Jinjaba (Jinjaba is not just another bus AI) [V1.0 is here!]

Post by paullb »

This is a thread for Jinjaba (Jinjaba is not just another bus AI)

Lastest code is v1.0 (comaptible is r13823 with the adjant stations fix)
http://www.tt-forums.net/viewtopic.php? ... 35#p712035

Major things added for V1.0
-Better networking capabilities
-Capable of selling off vehicules
-Generally improved alorithm

Todo
- Work on failures when building things
- reoptimize routes when more cache is available later (tunnels etc)
- build city bypasses
Last edited by paullb on 27 Jul 2008 13:07, edited 2 times in total.
User avatar
paullb
Traffic Manager
Traffic Manager
Posts: 129
Joined: 19 May 2008 13:11

Re: Jinjaba (Jinjaba is not just another bus AI)

Post by paullb »

Roujin wrote:
I noticed something that probably went wrong with your AI on the tournament server by TrueLight. See e.g. this overview: http://devs.openttd.org/~noai/tournamen ... erview.gif
Look at the right end of the map, after some time your AI appearently builds a heap of roads(?) all around that town.

It can also be seen in this overview: http://devs.openttd.org/~noai/tournamen ... erview.gif


Maybe you could make an own thread for your AI, even if you won't publish it until after the contest?
Yes, the building roads around the town is a known issue. It is the result of the town authority rejecting me and it keeps on trying to build entrances to the bus stops or depots. If you look at http://devs.openttd.org/~noai/tournamen ... erview.gif it first builds to the next town over which is larger.

EDIT : Image no longer seems to exist.
User avatar
paullb
Traffic Manager
Traffic Manager
Posts: 129
Joined: 19 May 2008 13:11

Re: Jinjaba (Jinjaba is not just another bus AI)

Post by paullb »

I am releasing the code as Jinjaba v0.2

The TODOs mainly focus around :
- changing arbitrary contants that I have chosen to stuff more reasonable
- early game play
- checks, backups and redundancy
Attachments
Jinjaba.tar
(33 KiB) Downloaded 172 times
User avatar
paullb
Traffic Manager
Traffic Manager
Posts: 129
Joined: 19 May 2008 13:11

Re: Jinjaba (Jinjaba is not just another bus AI) [code released]

Post by paullb »

Significant modications have been made so I am releasing this as Jinjaba v1.0.

I have been using Convoy as a benchmark and have been able to fairly consistently beat it using the standard tournament rules.

Any comments are highly appreciated!
Attachments
Jinjaba.rar
(7.94 KiB) Downloaded 217 times
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 40 guests