Well, perhaps popping up some message like "AI 'Rondje' is loading, please wait ..." during run of the constructor would reduce these bug reports.Rubidium wrote:That happens when people start to file bugreports about "OpenTTD hanging" because of AIs being "creative"; people do not appreciate it if they have to wait long (without progress indication).Maninthebox wrote:Our creative use of the constructor is no longer appreciated it seems
Moderator: OpenTTD Developers
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)
It has already been "taken care of": http://hg.openttd.org/openttd/trunk.hg/rev/e05cf0afd8b0Bilbo wrote:Well, perhaps popping up some message like "AI 'Rondje' is loading, please wait ..." during run of the constructor would reduce these bug reports.Rubidium wrote:That happens when people start to file bugreports about "OpenTTD hanging" because of AIs being "creative"; people do not appreciate it if they have to wait long (without progress indication).Maninthebox wrote:Our creative use of the constructor is no longer appreciated it seems
I'm using a 512x512 map and start your AI via the console right at start of game.
edit: I also made sure I have the latest version of your AI, even deleted it from the content_download folder and downloaded it from this thread, no use. Also pressing the 'restart' button results in the same message again.
Hopefully more on this today/tomorrow.
Fanoiz has a way to do this in his library. You need to pass "this" to the valuators since they get run in another context and that's why you get those errors. I am not clear on how to do it, since my AI started after that restriction was in place.Maninthebox wrote:That was a known problem, which I fixed a while ago, but forgot to upload. But with recent (aka: today) tests I ran into some new errors: we're not allowed to call do-commands in valuators and stuff and not allowed to sleep in them either. I don't see where we are doing this yet and whether this is just an issue with nightly or also in 0.7.1.
Hopefully more on this today/tomorrow.
The game ran from 1975 to 1985. If it would have ran from 1950 to 1960 I would guess PAXLink would have got worse results since it doesn't handle the transition from small to big airports other than making sure not to land big airplanes on small airports.
Getting back to Rondje, it is not surprising that it doesn't do better compared to CluelessPlus since with passengers the benefit of only driving buses oneway is much smaller than with industries. It should have got a benefit in station rating because it used newer vehicles though and it seams to be quite good at balancing the flow of vehicles to the demand.
using version 7.3
- McIntosh & Co., 21st Nov 1944.png
- (225.96 KiB) Downloaded 1 time
BTW: bananas does not allow 0.7.3 as minimum version yet, so the minimum is set to 0.7.2, which is known to not work with rondje.
EDIT: re-loading the game the next day seemed to have failed fatally:
Code: Select all
dbg: [ai]  [S] Your script made an error: wrong number of parameters dbg: [ai]  [S] dbg: [ai]  [S] dbg: [ai] The AI died unexpectedly.
- Sem nome, 1983-03-25.png (18.64 KiB) Viewed 2770 times
Best areas of improvements now seem to be from this brief test: station rating consideration / vehicle management need some tweaks. There are stations with dozens of people waiting to be transported - but all your bus station within that town are not visited by a single bus.
Attached a screenshot which compares this AI with the best AI (AIAI) and the best train-using AI (simpleAI)
All in all: kudos, you did a great job
I think you are correct about the length of the game. It won't keep up in longer games, because it takes too much time to keep rescanning the map. I'm afraid its glory days are over, now it has to compete with train and plane AIs. Still, we had a good run
Thanks for running the tournament, and especially for taking the time for feedback!
Users browsing this forum: No registered users and 5 guests