Jump to content


Photo

AI Debugging


6 replies to this topic

#1 Corsix

Corsix

    Code Monkey

  • Hosted
  • 290 posts
  • Location:Berkeley, UK
  • Projects:DoW AI, DoW Mod Studio
  •  Blue Text :)

Posted 13 October 2007 - 10:16 PM

Decoda is an awesome programming for writing and debugging LUA code. The best thing is that it can debug LUA which is being run in other processes, i.e. it is able to debug DoW/WA/DC/SS AI scripts while they are running:
Posted Image

The downside is that the program costs $50USD, but as an AI debugger has been on the golden wishlist for a very long time, you'll likely to want to buy a copy like I have.
Posted Image

#2 ArkhanTheBlack

ArkhanTheBlack

    title available

  • Members
  • 814 posts

Posted 14 October 2007 - 08:37 PM

The AI is pretty much finished so it's probably not needed anymore, but I might have a look at the demo. Thanks for the hint!

#3 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 16 October 2007 - 11:03 PM

Wow damn that could be useful for SS when it shows.

Although we really need a good scar debugger to figure out why AI Donations code de-synch when AIs are involved.

What really is astonishing is that he updates Decoda every couple of days with new stuff! ;) Quite impressive. Can we get this guy to do a real-time SCAR debugger? :huh:
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#4 Corsix

Corsix

    Code Monkey

  • Hosted
  • 290 posts
  • Location:Berkeley, UK
  • Projects:DoW AI, DoW Mod Studio
  •  Blue Text :)

Posted 17 October 2007 - 03:13 PM

SCAR is lua, and this works for any flavour of lua.
Posted Image

#5 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 17 October 2007 - 04:29 PM

So this would work, well sorta, to figure out why 2 computers play online/mp with AI Donations on and the computer donates to someone causing a de-synch?
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#6 Corsix

Corsix

    Code Monkey

  • Hosted
  • 290 posts
  • Location:Berkeley, UK
  • Projects:DoW AI, DoW Mod Studio
  •  Blue Text :)

Posted 17 October 2007 - 06:28 PM

I doubt it could debug while a multiplayer game is in progess.
Posted Image

#7 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 17 October 2007 - 07:28 PM

And debugging during an All-AI skirmish game probably won't yield anything useful anyway. Hmmmm... Still.. excellent looking tool.. That tool would be excellent for detecting the reason for a CTD which never really yields the true problem (well, Arkhan's ai_log.txt does really help in that regard since it also gives which player caused the error).
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users