Company of Heroes: Eastern Front

Author Topic: SCAR error at beginning of game  (Read 1513 times)

Offline Zoinkity

  • Ingenery
  • *
  • Posts: 2
    • View Profile
SCAR error at beginning of game
« on: February 04, 2011, 05:40:30 PM »
  This isn't a crash bug, but it does leave the game unplayable on anything but skirmish.  Attached the scar and general warnings files, though you likely only need the former.  Playing CoH (no expansions) fully patched to 2.601.  Double-checked and did a redownload and reinstall of Eastern Front just in case.

  There's two recoverable scar errors right at the beginning of the game so any matchup will start paused.  Unpausing will resume just fine and everything works fine afterward.  Both errors occur in EFUtil.scar and both appear to have to do with using data before its declaration.

  The first occurs when the current wincondition file, regardless what it is, imports EFUtil.scar.  It will fail on the line "loadfile("FactionFix.dll", "PrepareHook")()", claiming a nil value.  After searching around, I could't find a reference to factionfix.dll anywhere or a file to represent it.  Is it bundled up someplace or is this really a bad reference?

  The second occurs in OnInit() when calling ModifyStartingResourcesForRewardFactions(), returning a nil value.  Just goofing around, I moved the function just above the OnInit() function and it will then work fine.  Makes sense though, since you're using the function before declaring it later on. 

  By moving the function and commenting out the reference the game will run without errors, but is there some reason why this occured in the first place?

  Incidentally, why don't the russians have any race-specific data in the vptickerwin file?

Offline Rikard Blixt

  • Administrator
  • Mr. Spam
  • *
  • Posts: 1930
  • 'The Fixer'
    • View Profile
    • Eastern Front
Re: SCAR error at beginning of game
« Reply #1 on: February 04, 2011, 05:43:59 PM »
Updating to 1.301 should solved it. Either by launcher or from the stickied thread in this forum.
Valar Morghulis
Quote
[CoH:EF-Dev]Walki: BULLSHIT
[CoH:EF-Dev]Walki: I'll eat a tree if this won't work now
[CoH:EF-Dev]Rizz: ok
[CoH:EF-Dev]Rizz: I'll hold you to it
<10 minutes later>
[CoH:EF-Dev]Walki: I think I really gotta eat a tree...
[CoH:EF-Dev]Walki: got a decent one?

Offline Zoinkity

  • Ingenery
  • *
  • Posts: 2
    • View Profile
Re: SCAR error at beginning of game
« Reply #2 on: February 04, 2011, 09:17:10 PM »
Thanks!  Don't have an internet connection at home so didn't realize there were updates.