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.
Sorry to bombard the forum with posts! Think of it as me keeping you guys on your toes.
I've tried the NoAI universal Mac binary from the website (well done on getting that working by the way! ) on Mac OS X 10.5.5. When I call start_ai there I see the following error and the game locks up...
Morloth has experienced the same problem (also on Mac OS X) and wrote a patch for it. You can try to get in contact with him for the patch.
There are still several thread problems in noai, that is a known problem and will be fixed as soon as squirrel is replaced by NAIL. TrueBrain is making good progress on that, but I have no idea on an ETA.
If TrueBrain is working on it thats good enough for me!
A patch sounds good but I don't have anything setup to compile on the mac. I know that sounds lazy, but I'd rather spend the time I have working on my AI.
I'll wait for an official solution. I can stick to developing on Windows for now.
This is my first post to the forum. Now that my PhD thesis is done I'd like to start a new time sink. And developing a AI seems a perfect for that.
However the bug mentioned in this thread is still not fixed in the current version r14579 and so the MAC OS X binary always crashes as soon as an AI is started.
Is the patch in the previous post already commited or did somebody already make their own binaries?
This is my first post to the forum. Now that my PhD thesis is done I'd like to start a new time sink. And developing a AI seems a perfect for that.
However the bug mentioned in this thread is still not fixed in the current version r14579 and so the MAC OS X binary always crashes as soon as an AI is started.
Is the patch in the previous post already commited or did somebody already make their own binaries?
Congratulations with your PhD! I hope to start my own next year . To reply to your post: The patch posted here isn't implemented in the current implementation. Basically the OpenTTD team wants to step away from a threaded AI system so this will phase out eventually, but it might take quite a while .
The best thing to do is the get the latest SVN version, apply the posted patch and compile it yourself. There are no binaries somewhere on the internet with this fix. However, if you would like to I could post the latest version with this patch on the web.