PathZilla (v6) - A networking AI

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

User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4554
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: PathZilla (v6) - A networking AI

Post by Zuu »

Zutty wrote:Plus if you like the whole considered, mathematical approach, it might interest you to know that my grand plan for PathZilla has yet to be realised. Given my lack of progress over the past couple of months I dont want to promise anything, but if all goes to plan version 8 ought to contain some interesting new features. 8)
Sounds interesting. I really like the idea with your windy rural roads. Myself I have many interesting plans including how to use some kind of local search based heuristics to improve the air links. Unfortunately you have to code your ideas too.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
User avatar
JacobD88
Chief Executive
Chief Executive
Posts: 685
Joined: 16 Aug 2008 17:51
Location: Long Eaton, Nottinghamshire. UK
Contact:

Re: PathZilla (v6) - A networking AI

Post by JacobD88 »

I've had an AI crash, a shame as i love the AI, here's the screenie :wink:

Keeps happening to me, even after rebooting the AI :(
Attachments
Chondburg Transport, 2nd Dec 1927.png
Crash
(96.66 KiB) Downloaded 1 time
User avatar
dtb1322
Traffic Manager
Traffic Manager
Posts: 132
Joined: 16 Jan 2007 13:01
Location: New Jersey, USA

Re: PathZilla (v6) - A networking AI

Post by dtb1322 »

As instructed...attached is a bug screen...The debug screen was large so I saved it in two screen shots.
Attachments
dad, 2nd Jan 1944.png
(109.15 KiB) Downloaded 1 time
dad, 3rd Jan 1944.png
(105.62 KiB) Downloaded 1 time
That's not me, that's my dog. -dtb
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: PathZilla (v6) - A networking AI

Post by petert »

Unfortunately, you didn't include the numbers at the end of the lines, so the screen is of no help.
User avatar
dtb1322
Traffic Manager
Traffic Manager
Posts: 132
Joined: 16 Jan 2007 13:01
Location: New Jersey, USA

Re: PathZilla (v6) - A networking AI

Post by dtb1322 »

:( I'll get it right yet. I haven't played in over a year and I learning things all over again including new things. If it happens again I will get another screen shot. I did upgrade to 0.7.4 RC1 and I haven't had the problem with AdmiralAI yet. :)
That's not me, that's my dog. -dtb
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: PathZilla (v6) - A networking AI

Post by petert »

No problem, as long you get those numbers. The reason they are actually useful is because they help determine what line of code caused the fault.
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4554
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: PathZilla (v6) - A networking AI

Post by Zuu »

The short lines bellow the files and line numbers are not unimportant but just the first screen is really of any interest. The short lines tells what variables that were active and their values when the AI crashed. By looking at the names of them, my guess is that the crash happened in a path finder or a function called by the path finder.

That said, if you can next time include the full lines with the line numbers next time, that would help a lot to quicker identify exactly what went wrong.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
User avatar
Zutty
Director
Director
Posts: 565
Joined: 22 Jan 2008 16:33

Re: PathZilla (v6) - A networking AI

Post by Zutty »

Thanks very much for all the bug reports. Its nice to see people still use Pathzilla. :)

It looks very much to me like they are both the same error. Dont worry about the screenshots dtb1322.

I never tested save/load with 0.7.3 but I know other AIs suffered issues. 0.7.4 may fix this, though I'm not sure. If not, I'll push out a fix in version 7.

I'm very busy at the moment (yes even geeks have real lives too!), but I'd dearly like to get another release out before 2010. I've got some new features and bug fixes in my local repo (i.e. trapped on my desktop) that I think people will enjoy.
PathZilla - A networking AI - Now with tram support.
User avatar
dtb1322
Traffic Manager
Traffic Manager
Posts: 132
Joined: 16 Jan 2007 13:01
Location: New Jersey, USA

Re: PathZilla (v6) - A networking AI

Post by dtb1322 »

I know you said I didn't have to but here are the screenshots (it happened again).
Attachments
dad, 2nd Jan 1947.png
(86.05 KiB) Downloaded 1 time
dad, 3rd Jan 1947.png
(78.6 KiB) Downloaded 1 time
That's not me, that's my dog. -dtb
User avatar
Zutty
Director
Director
Posts: 565
Joined: 22 Jan 2008 16:33

Re: PathZilla (v6) - A networking AI

Post by Zutty »

Thanks dtb1322. It definitely is the same error. I'm sorry it keeps happening!

What version of OpenTTD are you using? Could you try the 0.7.4 release version, if you haven't already?

Thanks
PathZilla - A networking AI - Now with tram support.
User avatar
JacobD88
Chief Executive
Chief Executive
Posts: 685
Joined: 16 Aug 2008 17:51
Location: Long Eaton, Nottinghamshire. UK
Contact:

Re: PathZilla (v6) - A networking AI

Post by JacobD88 »

Zutty wrote:.... It definitely is the same error. I'm sorry it keeps happening!
What version of OpenTTD are you using? Could you try the 0.7.4 release version, if you haven't already?
I myself am using the latest nighties, as of writing this is r18400 and the same error as posted in my other post occurs under the 0.7.4 stable too

Don't worry about the errors keeping on happening, it's part of the fun of designing new things :wink: and i don't think I'm alone in appreciating the work you put into this AI :D I'll look forward to the new release in the new year

Cheers

JCB
User avatar
dtb1322
Traffic Manager
Traffic Manager
Posts: 132
Joined: 16 Jan 2007 13:01
Location: New Jersey, USA

Re: PathZilla (v6) - A networking AI

Post by dtb1322 »

Zutty, it was with 0.7.4.
That's not me, that's my dog. -dtb
CTuned
Engineer
Engineer
Posts: 1
Joined: 14 Dec 2009 23:58

Re: PathZilla (v6) - A networking AI

Post by CTuned »

I am getting the same error. Also using OpenTTD 0.7.4. Mostly appears when the game automatically saves (in my case yearly).

~CT
slap head2
Engineer
Engineer
Posts: 31
Joined: 30 Jul 2009 19:13
Location: Hull or Cambridge

Re: PathZilla (v6) - A networking AI

Post by slap head2 »

I had the AI crash. I have attched the screenshot of the debug. i hope i got it all :)
Millard Hauliers, 02-02-1957#1.png
Millard Hauliers, 02-02-1957.png
Just doing what I can to help :)
SteGriff
Engineer
Engineer
Posts: 2
Joined: 29 Dec 2009 21:22

Re: PathZilla (v6) - A networking AI

Post by SteGriff »

Got a similar bug to the guy above.
I've only captured the top of the debug console, because I don't know much about this stuff. There should be the option to export the AI debug as text file. Ah well, two seperate crashes:
Attachments
Griff Transport, 3rd Jun 1955.png
Griff Transport, 3rd Jun 1955.png (15.9 KiB) Viewed 3489 times
Griff Transport, 4th Mar 1953.png
Griff Transport, 4th Mar 1953.png (45.67 KiB) Viewed 3489 times
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: PathZilla (v6) - A networking AI

Post by petert »

The numbers at the very end of each line are the most important. They tell which line the AI crashed on. Can you please try to get a shot with the numbers?
Grolandi
Engineer
Engineer
Posts: 6
Joined: 07 Sep 2004 17:52

Re: PathZilla (v6) - A networking AI

Post by Grolandi »

Hello,

Just started playing OpenTTD, and loving it. Been mostly using Pathzilla v6 but am seeing crashes when loading a saved game. Every Pathzilla AI company in the game will crash not long after loading a saved game. I'm running OpenTTD 1.0.0 beta 1. Also, not sure if it is a bug, but I have yet to see Pathzilla use anything but busses and trucks so far.

Attached is a AI debug screen shot taken right after the latest crash.

(Off to post about problems with Admiral AI -- makes stations but no vehicles, except planes.)

Thanks! Hope you can find the problem since I'm enjoying Pathzilla except the crashes! Good competition.
Attachments
Slenfingway Transport, 10th Mar 1949.png
Rick D
Engineer
Engineer
Posts: 36
Joined: 08 Jan 2010 19:50

Re: PathZilla (v6) - A networking AI

Post by Rick D »

Pahtzilla crashed on me, here is the screenshot
Deacon Transport, 1st Aug 1932.png
User avatar
Zutty
Director
Director
Posts: 565
Joined: 22 Jan 2008 16:33

Re: PathZilla (v6) - A networking AI

Post by Zutty »

Thanks for all the bug reports everyone. Its nice to see people are still interested in a mouldy old RV-only AI! :D

It seems I really need to fix this bug, however my PC is out of action at the moment. I'll try to get v7 out as soon as I get my machine up and running again.
PathZilla - A networking AI - Now with tram support.
rait
Engineer
Engineer
Posts: 1
Joined: 23 Jan 2010 15:46

Re: PathZilla (v6) - A networking AI

Post by rait »

not sure if already reported, but i got some crashes too. 2 crashes happened at same time, debug looks different, so posting both.
http://irx.pri.ee/openttd/Fruntwood%20T ... 2059.png?2
http://irx.pri.ee/openttd/Fruntwood%20T ... %231.png?2
using version 1.0.0-beta3
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 3 guests