PDA

View Full Version : SCAR Error



Frikkenpro
28th Feb 09, 7:31 PM
Right so, im not hugely technically minded so although scar error provide a description of where the fault lies, i have no idea where to find the .lua files for SOW2 or how to edit them.etc.

Anyway, on the follow up mission to the angel gate one (cant remember name, the one where orks are raiding a warehouse north of angel gate). All loads nicely, but as soon as i take control of the units:


FATAL SCAR Error while running rules - Execution has been paused!
-- FATAL SCAR Error! --
SGroup_GetSpawnedSquadAt: Invalid Spawned SquadGroupObs index 1
Lua AngelForge_ObjReliquary.scar Ln 644 (Reliquary_TarkusReallyWorking)

Now i tried paying through the level, but the SCAR error appears to wipe the objectives or something, because even when completing all the objectives i could think of (by constantly clicking resume - the error pops up again .5 seconds after i resume each time) it doesn't finish, leaving me unable to progress and having lost Tarkus + a set of term armor he was wearing.

Let me know if there's anything else i need to provide.etc

Regards

FP

Croak
28th Feb 09, 7:38 PM
You need to make sure you haven't already earned the terminator armour, and you need to make sure that for whatever reason, Tarkus isn't deploying in that mission.

We're getting this report a lot, and in every case so far, it's been due to people modding the save game files.

If you're not modding your save game file, let me know.

Frikkenpro
28th Feb 09, 7:39 PM
Hmm, yes i am modding save files, but as far as i can tell tarkus isnt deploying in this mission. He is an unavailable unit in the squad loadout screen or whatever, and i cant see him anywhere on the map.

Croak
28th Feb 09, 7:43 PM
Make sure you don't have anyone else wearing terminator armour, and it might progress.

I didn't put in any error trapping logic in that mission to avoid a SCAR error in the event of cheating. I may add that as a patch fix in the distant future, but for obvious reasons, it's of very low priority to us.

Frikkenpro
28th Feb 09, 7:53 PM
uhhh why isn't is a priority?

Anyway, thanks ill try taking the term armor off avitus.

Apologies for double post -

Removing term armor from avitus.co didn't allow it to progress, i think it is because tarkus has gone walkies with the other set so it is permanently locked onto him. Is there any way to alter my sav file and change the gear tarkus has on him?

Croak
28th Feb 09, 7:56 PM
Had you not ended Angel Gate with Tarkus wearing terminator armour, you might have had a chance.

Exactly what did you do to mod the files? How many times have you played through Angel Gate/Angel Forge?

Frikkenpro
28th Feb 09, 8:23 PM
File changes = Added a ton of wargear into the mission 1 rewards

I think i only played through angel gate once, but yeah im thinking that because i had the term armor on tarkus its buggered it up.

Front44
1st Mar 09, 9:45 AM
Dear Croak, please, at least, tell to us, how to remove the Terminator Armour from Tarkus (or change it to another armour) by editing the save game file?

In Windows Vista we have saved games here: C:\Users\USER_NAME\Documents\My Games\Dawn of War 2\Saved Games

There is a *.sav file, which can be edited.

We can find such strings there, where Tarkus wargear can be edited:


sbps\campaign\playable\race_marine\troops\sm_tactical_marine_tarkus>›СE      L wargear\wargear\campaign\playable\race_marine\sm_acc_strat_intel_bombing_run  M wargear\wargear\campaign\playable\race_marine\sm_acc_cyclone_missile_launcher  U wargear\wargear\campaign\playable\race_marine\sm_acc_purity_seal_rite_of_marksmanship  V wargear\wargear\campaign\playable\race_marine\sm_arm_terminator_armour_crusade_eternal       F

So, by editing the last line, we could simply solve the problem!

We need just to change the string:

\wargear\campaign\playable\race_marine
sm_arm_terminator_armour_crusade_eternal

to any other armour, for example to
sm_arm_power_armour_cuirass_of_prathios


But when we edit the file with Notepad, it's becoming corrupted and do not visible in the game's Campaign Menu. We do not know, what is the encoding of this file.

Editing the file in HEX code also doesn't help.


Dear Croak, please, we ask to help us to finish the mission! Any help is appreciated!

Thank you very much!

Front44
1st Mar 09, 11:35 AM
OMG! I have solved the problem by myself!

I have modified the mission script, so the mission is successfully ended just after the gates are opened (before Tarkus squad spawn)!

Who wants to finish the mission, download this file:
rapidshare.com/files/204091359/angelforge_objreliquary.scar

and put it in this folder (create folders by yourself in the game directory, if you don't have them):

Steam\SteamApps\common\dawn of war 2\GameAssets\Data\simulation\scar\campaignmissions\angelforge_missiond2\


Thats all! Mission ends successfully just after the intro (when gates are opened)! And you will have Tarkus selectable after that in Planetary Map.

In the file, I have modified just one function:

function Reliquary_TarkusReallyWorking ()

-- You win


-- Unlock Tarkus again so we see him in the squad summary
Campaign_SetSquadLocked

("sbps\\campaign\\playable\\race_marine\\troops\\sm_tactical_marine_tarkus", false)
Rule_EndQuest()
Rule_RemoveMe ()


end

Frikkenpro
1st Mar 09, 9:33 PM
This works, thanks a bunch man

shawnishere
2nd Mar 09, 8:59 PM
I downloaded the scar file that you made, and I noticed I still got errors but with different messages, so I ended up trying to change up the armors of tarkus in sav file, and now I can't even get into the campaign menu. It just closes down. So note to self: never do that again. hahaha. If you guys have a sav file or anything by any chance, I would be grateful. And if it was near angel forge, that'd be perfect. Thanks.

Front44
3rd Mar 09, 12:10 AM
shawnishere, because of Windows Live anti-statistics-cheat protection, saves will work only on the PC, where they done. No way to modify them, no way to transfer them to another PC. So you should have done the backup before experiments :)

GeoffS
3rd Mar 09, 1:03 AM
Since the cause of these problems is people modding the files, and the suggested solutions involve further modding, it would be better to discuss this in the DoW2 modding forums. Moving it there now.

fuggles
3rd Mar 09, 2:28 AM
lol, My heart goes out to you croak! That'll teach you not to error trap other people's meddlings and now you have to support them :p

Cmdr_Stryker
3rd Mar 09, 4:16 AM
The fix to playing this mission with a Terminator-armored Tarkus is actually rather simple. Just open "angelforge_objreliquary.scar", and do a quick search for "sm_tactical_marine_tarkus". Once found, change it to "sm_terminator_tarkus". This enables the mission script to find your squad and place it in the mission successfully, instead of returning an error.

Mike000
3rd Mar 09, 9:49 AM
In the game there should be 3 planets, and around Day 20 i should go to the thrid planet called meridian, but i cant see it on the starmap. It just not there. I have read many forums and there were some people having this kind of problem too but without any solution. I have alredy updated the game to 1.1.2. Maybe if someone could mod the starmap and upload it or something like that, Just like in this topic Frikkenpro did.
Thanks in advance!

shawnishere
3rd Mar 09, 4:41 PM
I do have a PC though?

Danyel
4th Mar 09, 2:12 PM
after the 1st mission in "Angel Forge" i cant deploy in any mission ((( every time there is SCAR Error (SCAR Error calling init function <>/ Execution has been terminated)
i tried to do all that was talld about it here, nothing changed ((
here is my SCAR-trace.txt
----
-- Starting Mission SCAR --
FOUND CAMPAIGN QUEST
PC: Mission added.
QUEST: QuestType:
QUEST: Quest is Primary.
QUEST: We dont have primary yet... Setting this one to primary
QUEST: Quests:SetupPlayers()
QUEST: Using default player setup for quest:
QUEST: Quests:Initial()
PC: scar is go
SCAR Init: Setting Up Regions
PC: Initialize Regions starting
QUEST: GetMarkerName
PC: Looking for player markers mkr_PlayerStart2
PC: CHECK 1: N = 1
PC: Region: city Assigned to enemy
QUEST: Quests:InitializeRegions()
PC: Discovery system initiating.
PC: Initialize Regions complete
SCAR Init: Searching for Stratagems
World Entities: 2665
SCAR Init: Starting Quests
QUEST: Quests:Start()
done Reliquary_InitializeObjective
done Eldar_InitializeObjective
done Supply_InitializeObjective
done Forge_InitializeObjective
done Tarkus_InitializeObjective
SCAR Init: Populating Encounters
ENCOUNTER: mkr_Chaff29
ENCOUNTER: ChooseEncounter( table: 5BF46960 eldar region table: 5BF46870 )
ENCOUNTER: FilterEncounters() markerType = smlArtillery maxRadius = 70 nearestEncounter = 100000
ENCOUNTER: 2 encounter definitions found.
-- FATAL SCAR Error! --
World_GetRand: Invalid parameters. min 1 must be less than or equal to max 0
Lua Procedural-Functions.scar Ln 68 (PC_Rand)
Lua Encounters.scar Ln 232 (ChooseEncounterByWeight)
Lua Encounters.scar Ln 184 (ChooseEncounter)
Lua Encounters.scar Ln 60 (SpawnChaffUnits)
Lua ProceduralBackend.scar Ln 343 (Rule_Populate)
Lua ProceduralBackend.scar Ln 266 (Rule_StartMeUp)
Lua ProceduralBackend.scar Ln 119 ((null))

-- FATAL SCAR Error! --
FATAL Scar Error calling init function <>. Execution has been terminated!
-- Shutting Down Mission SCAR --
---------

IS THERE SOME WAY TO SKIP THIS MISSION?!?!?!
or to edit something in the SCAR files?

...my Campaign-trace.txt
---
CampaignManager - random seed is 428583
-- CAMPAIGNSTATE: BEGIN UPDATE --
CAMPAIGNSTATE: Middle of day 37
-- CAMPAIGNSTATE: END UPDATE --
CAMPAIGNSTATE: User is deploying to mission "md2" on location "mission_d".
CampaignManager - SaveCampaignState
CAMPAIGNSTATE: Failed to load atmosphere: DATA:/MAPS/Atmospheres/missiond_TYR_01.atmospherepreset
CampaignManager - SaveCampaignState

Danyel
7th Mar 09, 4:33 AM
is there anybody ???

Zetrial
7th Mar 09, 4:40 AM
Restart the campaign and don't have Tarkus equipped with terminator armour.

Danyel
8th Mar 09, 4:43 PM
2 Zetrial - i didnt. None of my squad usin' term.armor

guri_fx
20th Mar 09, 10:30 AM
The fix to playing this mission with a Terminator-armored Tarkus is actually rather simple. Just open "angelforge_objreliquary.scar", and do a quick search for "sm_tactical_marine_tarkus". Once found, change it to "sm_terminator_tarkus". This enables the mission script to find your squad and place it in the mission successfully, instead of returning an error.

this works guys and the scar file is in the simultaion folder

thanks alot shanishere you saved me alot of headache

boomix
23rd Mar 09, 4:08 PM
I've extracted "angelforge_objreliquary.scar" and placed it in appropriate path. However game doesn't use it and I am stuck with an error message. Any ideas?

Thanks

z3phir
16th Apr 09, 9:13 AM
same problem here extracted and placed corectly but the error remains the same

Clonesa
16th Apr 09, 12:50 PM
Game needs -dev command line parameter to read files locally outside of SGAs.

R3T
7th Jul 09, 8:23 PM
Hello. I am getting a SCAR error on the second mission of Angel's Gate. I have not done any modding of any type and found it odd that I was supposed to replay this level again. I have terminator armor on Tarkus and think that is why the level isn't loading. I attempted to extract and modify the SCAR file but whenever I edit my rev.ini to include the -dev function, the game crashes. Any help would be appreciated.

Clonesa
7th Jul 09, 8:43 PM
Rev.ini only exists in warez versions of the game so you won't get any help there. I don't think this should be possible without a modded game.

Croaxleigh
7th Jul 09, 9:47 PM
Closing this down due to thread necromancy and warez investigation.