Moderator: OpenTTD Developers
SynTrans stands for Synaptic Transportation. It can build massive road and aircraft networks. Will probably never implement train support... but oh well The AI is very good with Road and Air.
The AI features many improvements from its origionation, RoadAI:
1. Added Aircraft Support
2. Added Save/Load support (may be a buggy feature)
3. Better vehicle management
4. Better station placement (thanks GeekToo)
5. Various Bug fixes
6. And many other small improvements
--The Goals (in order of priority)--
1. To make a stable AI that works as intended in any situation
2. To make an AI that builds more realistically and is fun to play with
3. To make the AI extremely fast
4. To make the AI a good competitor
Keep in mind this AI depends on SuperLib v13.
If you find any bugs in the AI, please send them in. Feature requests are also appreciated
My code is free and Opensource, use may use any portion or change it to your hearts content!
- (51 KiB) Downloaded 842 times
seprate => separate
Code: Select all
The maximum number of seprate tranport networks for the roads SynTrans may build
tranport => transport
Tip: Many text editors suitable for editing code also have a spell checker for comments and literal strings.
The AI itself, I don't have had time to test yet. But I'm sure will do as I really like that you have taken the network approach instead of just doing point to point connections.
On a more serious note, I think you should add SynTrans to bananas.
Attatched is version 3. Sorry it took so long (I am very busy )
Here is an incomplete list of the improvements (and yes, the list will always be incomplete because I don't bother to keep track of the changes)
The AI now builds those vehicles and the appropriate stationsKogut wrote:eGRVTS in 1710 result in problems as all vehicles are articulated.
2. Fixed a few minor bugs
3. Slightly better connection building
Also, my rail stub is so long because I plan on adding somewhat extensive train support to my AI (It will be using ro-ro stations and junctions mentioned on the OTTD wiki manual, all in a network. I just wanted to start with road vehciles to alvoid confusion as I learn NoAI )
- (79.5 KiB) Downloaded 286 times
All I did was:
1. Update to SuperLib v15 (and did my things with the stuff I wanted to do with it)
2. Further developed train stub (not complete)
- (80 KiB) Downloaded 205 times
Anyway, in my tests, your AI doesn't build aircraft. I start the game in 1950, and the plane limit is 20, might that be the case?
Unfinished roads are quite a common sight when using your AI: The AI log is full of messages like "Could not find a road vehicle to use!", although there are buses running on the roads, and I cheated to give your AI 'some' money, so money shouldn't be an issue now. I have the Generic Tram Set enabled, but anyway it's the default road vehicle set. I don't know if it makes a difference...
Anyway, here is the next release.
Sorry about that. I broke my AI's ability to build aircraft with a new function I failed to test. It has been fixed in this release.Anyway, in my tests, your AI doesn't build aircraft. I start the game in 1950, and the plane limit is 20, might that be the case?
Part of the same aircraft bug it appears, but if you continue seeing those messages, let me know .The AI log is full of messages like "Could not find a road vehicle to use!", although there are buses running on the roads, and I cheated to give your AI 'some' money, so money shouldn't be an issue now. I have the Generic Tram Set enabled, but anyway it's the default road vehicle set.
This is a known bug. I have taken various steps to preventing it from happening. It seems to never happen to me, I plan on fixing it (again) in the next release (the aircraft bug was more important and I didn't have enough time)Unfinished roads are quite a common sight when using your AI
- (90 KiB) Downloaded 223 times
Here is SynTrans v6. This release features the most improvements thus far:
* Speed improvements
* Bigger networks faster
* Smarter Aircraft Support
* Builds HQ (for supporting CityDomination )
* Many other small bugfixes
Bug reports and feature requests welcome!
Side Note: Does anyone know how to load an older version of a AI using the start_ai command? I would like to show you graphs of improvements in this release.
- (100 KiB) Downloaded 238 times
Turns out my AI was trying to load SuperLib v15 Thank you for the report, it has now been fixed. You can find SynTrans v7 on bananas or the download link belowbman wrote: I get this error when it loads the AI:
"Your script made an error: couldn't find library 'util.superlib'"
I couldn't find any util.superlib file on the forums. Is there something I'm missing here?
- (97 KiB) Downloaded 284 times
Change line 236 from
Code: Select all
raildir = Tile.TurnDirClockwise90Deg(Tile.GetDirectionToAdjacentTile(site, bridge), 1);
Code: Select all
raildir = Direction.TurnDirClockwise90Deg(Direction.GetDirectionToAdjacentTile(site, bridge), 1);
Users browsing this forum: No registered users and 1 guest