Project site for AI libraries and AIs

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

svetovoi
Engineer
Engineer
Posts: 87
Joined: 12 Oct 2007 14:07

Re: Project site for AI libraries and AIs

Post by svetovoi »

fanioz wrote:Hi ac84,The idea of AICommon library was come before this Project site. Since :
1. now every body can get account here and manage their AI/Lib.
2. Your lib event is looks like a complete/indepent, has his own class (like pathfinder/queue)
So, IMHO, It would better to register as : Lib:Event, that is separate project wich you can manage it better.
Yeah, looks like I mixed up things, just saw "Library: Common.*" at the Project Site and thought that you AICommon Lib has moved into there.
So name my stuff as "Library:Event", after all this can be changed later.

Edit: Ok, it's already there.
User avatar
Xander
Route Supervisor
Route Supervisor
Posts: 485
Joined: 18 May 2007 12:47
Location: Oxford
Contact:

Re: Project site for AI libraries and AIs

Post by Xander »

Right now the project site is returning 504 Gateway Time-out errors

EDIT: Came back around 9:45 am (forum time)

EDIT EDIT: Has been dead for a while around 3:19 pm (forum time)
Real Tycoons do it on Trains!

JAMI: Just Another Moronic Intelligence
User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: Project site for AI libraries and AIs

Post by Bilbo »

Dustin wrote: ... my companies policy is that software engineers are to avoid inspecting (so using binaries is OK) open source code that has any kind of viral license. Therefore any open source code I myself author must have a BSD type license.
Are you sure the policy is valid also outside the company, in your free time? It is reasonable to have such policies while working on company code, but for outside?

If yes, then if your superiors are reasonable, they maybe will allow you some exception, especially if openttd is (probably) unrelated to your company activities.
If you need something, do it yourself or it will be never done.

My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility

Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Re: Project site for AI libraries and AIs

Post by TrueBrain »

Yexo wrote:
ac84 wrote:I've send an email to noai@openttd.org a couple of days ago, now posting information here
I haven't read my openttd email for 2 days or so. I'll see tonight if I have your email and otherwise bug TrueBrain to fix the redirect ;).
(..)
You do realise you should check your mailbox every second of the day? This is important stuff ;) :)
The only thing necessary for the triumph of evil is for good men to do nothing.
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Project site for AI libraries and AIs

Post by Yexo »

TrueBrain wrote:You do realise you should check your mailbox every second of the day? This is important stuff ;) :)
:D

Of course the email has arrived just fine. I should remember in the future that "a few days ago" means "exactly 48 hours". :P
User avatar
Dustin
Transport Coordinator
Transport Coordinator
Posts: 272
Joined: 07 Dec 2005 19:22

Re: Project site for AI libraries and AIs

Post by Dustin »

Bilbo wrote:
Dustin wrote: ... my companies policy is that software engineers are to avoid inspecting (so using binaries is OK) open source code that has any kind of viral license. Therefore any open source code I myself author must have a BSD type license.
Are you sure the policy is valid also outside the company, in your free time? It is reasonable to have such policies while working on company code, but for outside?

If yes, then if your superiors are reasonable, they maybe will allow you some exception, especially if openttd is (probably) unrelated to your company activities.
This is the last time I will comment on this issue in order to keep the topic more or less on track. My company has made a reasonable arguement to me that working on open source with a "sticky" license, even in my spare time, could adversly impact the company. Since I can't segment my mind, I stick with the policy.

More on topic: I would like to hear why more "free beer" style licenses won't also be accepted, but mostly out of curiosity.
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Project site for AI libraries and AIs

Post by Yexo »

Dustin wrote:More on topic: I would like to hear why more "free beer" style licenses won't also be accepted, but mostly out of curiosity.
Because OpenTTD is licences as GPL v2, and to make bundling AIs with OpenTTD as easy as possible, we've decided to only allow GPL v2. Of course there are several licences that are more or less compatible, but since most of the time it isn't the other way around that can still cause problems.
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Re: Project site for AI libraries and AIs

Post by TrueBrain »

Yexo wrote:
Dustin wrote:More on topic: I would like to hear why more "free beer" style licenses won't also be accepted, but mostly out of curiosity.
Because OpenTTD is licences as GPL v2, and to make bundling AIs with OpenTTD as easy as possible, we've decided to only allow GPL v2. Of course there are several licences that are more or less compatible, but since most of the time it isn't the other way around that can still cause problems.
And because nobody in the Developers team claims to be any lawyer-degree-like person, and because we can't trust the words of other people who are neither, the most safe way to walk is only using the license you know for sure will be valid at all times to pack with OpenTTD. Hence: (L)GPLv2 only :)

On a side note: remember that this website is an extra service from OpenTTD towards our NoAI authors. In no way we force users to use it, or make users who don't use it less equal than others. It is an extra, nothing more. BaNaNaS, our main distribution system, allows all kinds of licenses. In fact: all licenses, even custom ones, as long as you give us (OpenTTD) permission to distribute free of charge.
The only thing necessary for the triumph of evil is for good men to do nothing.
User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: Project site for AI libraries and AIs

Post by fanioz »

I've noticed that all account have been be integrated into one system (Bugs, Bananas, Translator) would this Project site too ? :D
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image
Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: Project site for AI libraries and AIs

Post by Roujin »

I guess that is their plan.
Yexo (previous page) wrote:Unfortunately you'll have to create another account for now.
notice the "for now".
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Re: Project site for AI libraries and AIs

Post by TrueBrain »

Is on my todo list, but won't be this week :)
The only thing necessary for the triumph of evil is for good men to do nothing.
User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: Project site for AI libraries and AIs

Post by fanioz »

These days, I've got this message when check-out repositories, (example for admiral)
svn: Server sent unexpected return value (502 Bad Gateway) in response to OPTIONS request for 'http://noai.openttd.org/svn/ai-admiralai/trunk'
But I can do svn up at svn.openttd.org , so is there any problem with noai.openttd.org
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Project site for AI libraries and AIs

Post by Yexo »

Problem with the svn was fixed this morning by TrueBrain.
User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: Project site for AI libraries and AIs

Post by fanioz »

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

**[OpenTTD AI]** Image
***[NewGRF] *** Image
User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: Project site for AI libraries and AIs

Post by fanioz »

Bump.. :)
To ask about :

(1)
branch_failed
branch_failed
branch_failed.PNG (17.87 KiB) Viewed 3188 times
Yexo on previous page wrote: Known issue: svn copy doesn't work. If you need svn copy to make a branch or tag, just drop me a pm / email with the file / directory you want copied and also the commit message.
Yes it doesn't work, but we could pm/email you, and that mean it's work ( for admin only :?: )
So, what is the reason behind this restriction ? Just would like to know :)

(2) and shouldn't this thread to be sticky ?
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Project site for AI libraries and AIs

Post by Yexo »

fanioz wrote:
Yexo on previous page wrote: Known issue: svn copy doesn't work. If you need svn copy to make a branch or tag, just drop me a pm / email with the file / directory you want copied and also the commit message.
Apparently at the time I wrote that I knew how to work do an svn copy on the server, unfortunately I don't know anymore. TrueBrain and Rubidium can still do it though.
Yes it doesn't work, but we could pm/email you, and that mean it's work ( for admin only :?: )
So, what is the reason behind this restriction ? Just would like to know :)
I have no idea. You'll have to ask TrueBrain or Rubidium, but I doubt it would be easy to fix.
(2) and shouldn't this thread to be sticky ?
Done.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Project site for AI libraries and AIs

Post by Rubidium »

fanioz wrote:So, what is the reason behind this restriction ?
The proxy, which is in front of the svn repository for some reason which we have not been figure out fails to properly pass all data of the copy svn command to the svn backend. As I've got very little knowledge of these proxies it's basically something I can't fix and requires TrueBrain, and even then it's likely a lot of work and testing stuff (basically) requires restarting the proxy which would influence all webservices at openttd.org (together with me not knowing much about proxies not something I fancy).

In any case, doing the manual copy seems like a reasonable workaround; there are some other ideas, but again... they take time to implement which is scarce. Again TrueBrain knows most about the stuff running on the website; I'm a Python novice and lots actually runs on Python.
User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: Project site for AI libraries and AIs

Post by fanioz »

Well, so the reason is not a kind of policy :D , but technically. :(
and, yes it was easy to do "branch" by manual copy the files and svn merge them later to keep it sync with trunk.

Thanks for confirming
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image
zupa
Engineer
Engineer
Posts: 9
Joined: 16 Mar 2011 11:01

Re: Project site for AI libraries and AIs

Post by zupa »

If it is possible I would like to have one of these for my new AI :)
  • Long project name: SPRING
  • Short project name: ai-spring
  • Reasonable AI competitor.
  • Your account name @noai.openttd.org: zupa
  • GPLv2/3 (I don't know the difference)
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Project site for AI libraries and AIs

Post by Zuu »

zupa wrote:If it is possible I would like to have one of these for my new AI :)
  • GPLv2/3 (I don't know the difference)
I'd say, go for "GPL v2 only" if you want to have the largest base of AI code to reuse from. (Though, you might be able to split your AI in a GPL2 and a GPL3 part if the GPL2 part is a library that would be a separate entity (an AI Library) which your AI would load at run-time.)
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 7 guests