Jump to content


Photo

Dawn Of Skirmish DC v2.20 AI Mod is now LIVE!


89 replies to this topic

#81 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 08 March 2007 - 06:15 AM

Another quick update..

Results with Heroes ON, Scar ON, Annihilation on 2p_Deadman's Crossing using HARD AI:

Player0 = SM AI
Player1 = Tyranid AI

Pre-0.4 Tyranid Mod Release = No Fatal AI error whatsoever over multiple games
0.4 Tyranid Mod Release = Consistent Fatal AI error just around AI updates to Tier2 (first HQ addon)

Conclusion: I would say the Nid 0.4 release is corrupt somewhere so I would wait on making any fixes. Let the Nid team sort this out as I told them 1+ weeks ago about this so they are aware.

The Error again:
 *ALERT: [string "Heroes/Core/heroes_manager.scar"]:359: attempt to index field `?' (a nil value)
Could not execute rule: Hero_MainRule
FATAL Scar Error while running rules - Execution has been paused.

Line in question:
if (g_aUnitList[g_iPlayer][iLoop1].Modifications["ModHealthMax"][1] == nil or

Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#82 ArkhanTheBlack

ArkhanTheBlack

    title available

  • Members
  • 814 posts

Posted 08 March 2007 - 01:32 PM

I see! I guess LUA doesn't get the second array dimension. Try this instead for the bugged line:

if (g_aUnitList[g_iPlayer][iLoop1].Modifications["ModHealthMax"] == nil or

I think the check should now work correctly.

#83 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 08 March 2007 - 03:47 PM

Good news: That WORKED! No error. Tested it twice to ensure I could not reproduce it.

Is this an acceptable fix and won't break Heroes, though?
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#84 ArkhanTheBlack

ArkhanTheBlack

    title available

  • Members
  • 814 posts

Posted 08 March 2007 - 04:27 PM

Is this an acceptable fix and won't break Heroes, though?

There are no issues with this fix! I'll update my heroes at home, too and send Riker the updated version.

You should also update our heroes hotfix post.

Edited by ArkhanTheBlack, 08 March 2007 - 04:29 PM.


#85 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 08 March 2007 - 08:05 PM

Done! This is a fairly major fix as such an error is VERY reproducable almost 90% of the time on 2p_DeadmansCrossing with the Nids in Startpoint#2. Now with the squashed.. Horaaryy!
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#86 ThetaOrion

ThetaOrion

    title available

  • Members
  • 676 posts

Posted 09 March 2007 - 12:34 PM

It's so nice to see you guys kill off one crash bug after another!!

Brings a warm glow to my heart!

I just wish somebody could do the same thing with Supreme Commander and all the crash bugs that it currently has.

#87 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 09 March 2007 - 02:42 PM

I'm sure GasPowered Games will oblige.. ;)
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#88 mdcertainty

mdcertainty

    Sage-Otaku-Monk

  • Members
  • 329 posts

Posted 10 March 2007 - 08:23 AM

yeah, you guys are doing a great work here ;)
;)

ec-sig-early.gif


#89 slickmiller3

slickmiller3
  • New Members
  • 1 posts

Posted 11 March 2007 - 04:05 AM

Wow, it's great to hear you guys are fixing stuff up! GJ! :thumbsupsmiley:

Though ArkhanTheBlack, I would like to know...and I'm sorry if this has already been done but have you fixed the fatal AI error whenever a saved skirmish game is reloaded?

#90 ArkhanTheBlack

ArkhanTheBlack

    title available

  • Members
  • 814 posts

Posted 11 March 2007 - 12:05 PM

Though ArkhanTheBlack, I would like to know...and I'm sorry if this has already been done but have you fixed the fatal AI error whenever a saved skirmish game is reloaded?

Not yet! I'll do that after my exams.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users