Login

russian armor

Singleplayer mission scripts working

5 Sep 2018, 13:14 PM
#1
avatar of de111de

Posts: 17

I'm trying to create a singleplayer mission scenario. The map itself works just fine, but the scripts I made for it don't appear to actually run when the mission is started.:help:
5 Sep 2018, 22:12 PM
#2
avatar of Lugie
Senior Modmaker Badge

Posts: 327

Well, it depends on 2 things mainly.

1. Is the name of the main scar-file correct? It should be the same as your map name. If it is, how are you doing your scripts? Do you have them as modular separate scar files or is it all included in the main scar file?

2. How are you playing your scenario? Have you made it into a scenario pack in the mod maker or are you just exporting it from world-builder? I highly recommend using the mod builder, as exporting directly from world-builder leaves out some files.
6 Sep 2018, 18:09 PM
#3
avatar of de111de

Posts: 17

1. The map file is entitled "op_0.sgb", the main scar file is entitled "op_0.scar". In addition to that I've got
  • op_0.options
  • op_0_obj_firstObjective.scar
  • op_0_obj_secondObjective.scar
  • op_0_ID.scar
  • op_0_encounters.scar
  • op_0.info
  • op_0.events
  • op_0.prefabdata
  • op_0.scenariomarker

as seperate files in one folder.

2. I'm using the mod builder. I've set my mod up like this:
10 Sep 2018, 01:51 AM
#4
avatar of Lugie
Senior Modmaker Badge

Posts: 327

Sorry for the late reply, could you give me the first few lines of your main SCAR file? I think it might be either that you're not importing the extra files correctly or the way you're building your mod is wrong.
14 Sep 2018, 17:10 PM
#5
avatar of de111de

Posts: 17

import("ScarUtil.scar")
import("ScriptSetup.scar")
import("op_0_obj_firstObjective.scar")
import("op_0_obj_secondObjective.scar")
import("op_0_obj_thirdObjective.scar")
import("op_0_encounters.scar")

function Mission_SetupPlayers()
player1 = World_GetPlayerAt(1)
player2 = World_GetPlayerAt(2)
end
16 Sep 2018, 09:34 AM
#6
avatar of Lugie
Senior Modmaker Badge

Posts: 327

Ah, it might be that you haven't done an on-init function to actually call the scripts.
This is something from one of my scenarios. Put this under the setup-players, and just change the function names to what you have, and it should execute.


function OnInit()
print("Initializing mission...")

--[[ SET RESTRICTIONS ]]
Mission_Restrictions()

--[[ SET MODIFIERS ]]
Mission_Modifiers()

--[[ SET ABILITIES ]]
Mission_Abilities()

--[[ MISSION START ]]
Mission_Start()

--[[ REGISTER OBJECTIVES ]]
-- Main obj
INIT_MainOBJ()
-- Sub objectives
INIT_TakeBeachSOBJ()

print("Mission initialization finished.")
end

Scar_AddInit(OnInit)

16 Sep 2018, 19:47 PM
#7
avatar of de111de

Posts: 17

I've now set it up like this
import("ScarUtil.scar")
import("ScriptSetup.scar")
import("op_0_obj_firstObjective.scar") --(For each objective file)
import("op_0_obj_secondObjective.scar")
import("op_0_encounters.scar")

function Mission_SetupPlayers()
player1 = World_GetPlayerAt(1)
player2 = World_GetPlayerAt(2)
end

function OnInit()
print("Initializing mission...")

Mission_SetupPlayers() -- Called by OnGameSetup() on frame1
Mission_SetupVariables()
Mission_SetDifficulty()
Mission_SetupRestrictions()
Mission_Preset()
--Objectives are registered
Mission_Start()
INIT_ObjFirstObjective()

print("Mission initialization finished.")
end

Scar_AddInit(OnInit)

but nothing changed. It might also be worth telling that when I start the mission everything is frozen and FOW is disabled until I pause and de-pause the game.
17 Sep 2018, 16:04 PM
#8
avatar of Lugie
Senior Modmaker Badge

Posts: 327

jump backJump back to quoted post16 Sep 2018, 19:47 PMde111de

but nothing changed. It might also be worth telling that when I start the mission everything is frozen and FOW is disabled until I pause and de-pause the game.


Ahhhh there it is. Thats important, that means there's an error in one of your scripts. You can see where in the console. Press control-shift-tab all at the same time, and use page up/down on the numpad to scroll. Look for something along the lines of (Check script syntax!). In that report, it should tell you the line of your code the error is present.
19 Sep 2018, 14:05 PM
#9
avatar of de111de

Posts: 17

Here are the results





And the following is the script which includes the error:
1function INIT_ObjFirstObjective()
2
3 print("Initializing ObjExample...")
4 OBJ_FirstObjective = {
(Here's the "{")

5 --Info
6 Title = LOC("Capture the points"), --The objective's text
7 TitleEnd = LOC("well done"), -- The the message displayed on completion
8 TitleFail = nil, -- The message displayed on failure
9 Type = OT_Primary, -- This defines the type of objective (and by extension how it is displayed to the player)
10 Parent = nil, -- If this objective has a parent, the parent objective is put here
11 subObjectives = {}, --Any subobjectives to a parent objective
12
13 --Intel
14 Intel_Start = nil,
15 Intel_Start_SkipFunc = nil,
16 Intel_Complete = nil,
17 Intel_Complete_SkipFunc = nil,
18 Intel_Fail = nil,
19 Intel_Fail_SkipFunc = nil
20
21 --Functions
22 SetupUI = function() --A function to setup any UI elements for the objective
(Here is where the console tells me to close the "{" in line 4)

23 end,
24 PreStart = nil, --A function called to setup anything required for the objective, before the objective is kicked off
25 OnStart = function() --A function called when the objective is started
26 Event_PlayerOwnsTerritory(EventHandler_ObjectiveComplete, {objective = OBJ_FirstObjective}, player1, eg_objTerritoryPoint, 1) -- The event system can be used in conjunction with handlers. Handlers give preset functionality (in this case completing the given objective)
27 end,
28 IsComplete = nil, -- A function that returns a boolean describing when the objective is complete
29 PreComplete = nil, --A function called immediately prior to completing an objective
30 OnComplete = function() --A function called when the objective is complete
31 EGroup_SetPlayerOwner(eg_playerBase, player1)
32 World_IncreaseInteractionStage()
33 Objective_Start(OBJ_SecondObjective)
34 end,
35 IsFailed = nil, -- A function that returns a boolean describing when the objective is failed
36 PreFail = nil, --A function called immediately prior to failing an objective
37 OnFail = nil, --A function called when the objective is failed
38 }
39 end
40 Scar_AddInit(INIT_ObjFirstObjective)


But if I closed the "{" in line 22, how would the rest of the objective be defined?
19 Sep 2018, 18:52 PM
#10
avatar of Lugie
Senior Modmaker Badge

Posts: 327

Its a bit hard to read this way. Could you send me both the main scar file and the objective file so I could take a proper look at it?
19 Sep 2018, 20:11 PM
#11
18 Apr 2019, 01:57 AM
#12
avatar of jcbarth

Posts: 24

Running into this same issue. Was there ever a solution?
18 Apr 2019, 09:29 AM
#13
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

jump backJump back to quoted post18 Apr 2019, 01:57 AMjcbarth
Running into this same issue. Was there ever a solution?


SCAR files are not being loaded?
19 Apr 2019, 18:13 PM
#14
avatar of jcbarth

Posts: 24

Yeah, when I add

import("City_Centre_2_obj_FirstObjective.scar") --(For each objective file)

or

import("City_Centre_2_Encounters.scar")

I get a failed to import message.

The two files are in the same directory and share the name of the map scar file.
19 Apr 2019, 18:37 PM
#15
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

jump backJump back to quoted post19 Apr 2019, 18:13 PMjcbarth
Yeah, when I add

import("City_Centre_2_obj_FirstObjective.scar") --(For each objective file)

or

import("City_Centre_2_Encounters.scar")

I get a failed to import message.

The two files are in the same directory and share the name of the map scar file.


Well, first I will have to ask if you can load the game and just get a frozen screen? If so then I will ask you to use the console and search for the error there from that point we can progress with the problem resolving.

Also if you would be so kind could you drop here your warnings file here right after your bugged game?

The warnings file is located: DRIVE:\...\Documents\My Games\Company of Heroes 2
19 Apr 2019, 18:53 PM
#16
avatar of jcbarth

Posts: 24

Yeah, when I launch, the game is frozen. I have to press resume in order for it to start up, but without any of my spawns.

Here's the warnings log. The lines for the error show:

 SCAR ERROR Callstack: 
C [C] Ln -1 (import)
main city_centre_2.scar"] Ln 8 ((null))
11:46:59.29 GameObj::OnFatalScarError: [failed to import 'City_Centre_2_obj_FirstObjective.scar', file failed to open
main city_centre_2.scar"] Ln 8 ((null))

]
11:46:59.29 GAME -- SimulationController::Pause 0
11:46:59.29 MUTING SOUNDS
11:46:59.29 SCAR ERROR Callstack:
No callstack found
11:46:59.29 GameObj::OnFatalScarError: [Error loading script file (DATA:Scenarios\sp_mod\community\city_centre_2\city_centre_2.scar). Check script syntax!]
11:46:59.29 GAME -- SimulationController::Pause 1
11:46:59.29 MUTING SOUNDS


Here's the full warnings log:
RELICCOH2 started at 2019-04-19 11:45
OS NT 6.1 (sp1.0) x64, 8130MB Physical Memory, 3436 Physical Available, 4095 Virtual Total, 3917 Virtual Available, 8128 Page file.
RUN-OPTIONS [-dev]
WORKING-DIR [C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2]
USER [Jace]
LOCALE [ENU]

11:45:35.48 GAME -- Current Steam name is [Jcbarth]
11:45:35.48 GAME -- steam returned language 'english'
11:45:35.49 Primary CPU is a 3201MHz [Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz]
11:45:35.49 Architecture [0], Level [6], Revision [14857].
11:45:35.49 4 logical processor(s) detected.
11:45:35.49 4 physical processor(s) detected.
11:45:35.49 1 processor(s) nodes detected.
11:45:35.49 MATHBOX -- Version=6, Mode=SSE
11:45:35.49 Using [C:\Users\Jace\Documents\My Games\Company of Heroes 2\] as base writable folder
11:45:35.49 Game -- System temp path is [C:\Users\Jace\AppData\Local\Temp\]
11:45:35.49 MOD -- Initializing mod 'RelicCoH2'.
11:45:35.52 ARC -- CoH2\Archives\Data.sga 934867443 B [ID:3f9691c3371ee5335e5869d3a0d93406] [Ver:0878d9106acdf3af40397c0bbd1d3b36] [Sig:11962531175086863863]
11:45:35.55 ARC -- CoH2\Archives\Sound.sga 228830651 B [ID:9246d5cc8bf2de31ead8251719e1e576] [Ver:a62c90bd9b13a9d8ec24fd92726e5a27] [Sig:9159029397235684367]
11:45:35.55 ARC -- CoH2\Archives\SoundXP1.sga 21693342 B [ID:9246d5cc8bf2de31ead8251719e1e576] [Ver:9d448119eea20f8d46d7ca91ec744b64] [Sig:11623608031005062619]
11:45:35.56 ARC -- CoH2\Archives\ArtArmies.sga 57561496 B [ID:d4ab83d0ba0afd4850bbc4c68b0de2be] [Ver:6a7adf9c6b782d562a7ce98505a6212b] [Sig:307359238297693783]
11:45:35.57 ARC -- CoH2\Archives\ArtEnvironment.sga 1261847418 B [ID:4f6a38d9c40d3e11956b769b00d6e689] [Ver:50030ee3ee413a65c8d3d0364aa34541] [Sig:935373842154107406]
11:45:35.57 ARC -- CoH2\Archives\ArtGermanEF.sga 2933248415 B [ID:fb66b7917c474a33e86456a40dbf2c3a] [Ver:e909877c7b4e2d605c8e49f262f3e7f2] [Sig:3240392060855148107]
11:45:35.58 ARC -- CoH2\Archives\ArtSovietEF.sga 3874094419 B [ID:b0e52e8ac61727b4a5101571c7e7110f] [Ver:976c9a69b3294977d70e89da4aa778b4] [Sig:5020970475956725480]
11:45:35.58 ARC -- CoH2\Archives\ArtAEF.sga 1140832185 B [ID:fd7aa5f8e53fa6a558246d44bedd4cfe] [Ver:617a55cd2f871b32d4124bd456052ca7] [Sig:3313722928638974782]
11:45:35.59 ARC -- CoH2\Archives\ArtAEFSkins.sga 4286146719 B [ID:ab441482fcc7ddcd25e040085b81d68f] [Ver:5ba6637defd1e13e8211c8a92d80a917] [Sig:14343080035008738518]
11:45:35.59 ARC -- CoH2\Archives\ArtWestGerman.sga 3677233660 B [ID:9ff4d0503a24bdca4dbe1104f7ff37f2] [Ver:315bae389d6025b8ac05fb88278dd166] [Sig:6062728216243966232]
11:45:35.59 ARC -- CoH2\Archives\SoundXP2.sga 199001 B [ID:9246d5cc8bf2de31ead8251719e1e576] [Ver:f366468fa94af97a5c1162b6e2d15048] [Sig:10774136334522067768]
11:45:35.60 ARC -- CoH2\Archives\ArtBritish.sga 1881461583 B [ID:391ad53485bf023c2e0f5d508470e0ef] [Ver:cb2c161333db0ed9212ba949c0890689] [Sig:12617967752288510203]
11:45:35.60 Archive 'CoH2\Archives\Autotest' is missing! Skipping.
11:45:35.61 ARC -- CoH2\Archives\MPScenarios.sga 1632196527 B [ID:f361bb544d19f9ad0702abba3ec58d36] [Ver:38a8608969d2e5d84c96a26dc9d9eb42] [Sig:9135391577228088548]
11:45:35.61 ARC -- CoH2\Archives\MPXP1Scenarios.sga 269107424 B [ID:8a2c949c3e230925cf294a12321e9211] [Ver:6e00723cbbcabcae99bb70db9300fd0c] [Sig:13611089875024519889]
11:45:35.62 ARC -- CoH2\Archives\SPScenariosEF.sga 340823046 B [ID:4a2cbc10218aac5e8be4aa494ef1f3ca] [Ver:0d44f2e4ee3f7b9265e7b6ecb3b825a1] [Sig:6605551588555955872]
11:45:35.62 ARC -- CoH2\Archives\TOWScenarios.sga 202972788 B [ID:035c09486ef2563f69e781962b46c2e4] [Ver:4af5f9991f7439515903c4e823eb6d5b] [Sig:15664664613644561291]
11:45:35.63 ARC -- CoH2\Archives\DLC1Scenarios.sga 57382901 B [ID:afbdc084e5c98c193cae218ca8e468c8] [Ver:835075f6a5f1e80e222870afaa2dba63] [Sig:2003273899295354318]
11:45:35.64 ARC -- CoH2\Archives\DLC2Scenarios.sga 77535344 B [ID:61eefbc53442d10441d77bbd23b1bc36] [Ver:2a89f0387fad0a4511b4cff6e31dad70] [Sig:7602096073382315002]
11:45:35.65 ARC -- CoH2\Archives\DLC3Scenarios.sga 47253904 B [ID:48c74893c09599be2d61b911563bcab9] [Ver:0d32db24ed4fe982dd70a7b408127123] [Sig:14104588085748238941]
11:45:35.65 Archive 'CoH2\Archives\SPScenariosAA' is missing! Skipping.
11:45:35.65 ARC -- CoH2\Archives\UIHigh.sga 69958234 B [ID:097c8294ec5ed0723b16d8e06f606718] [Ver:f119f13dfa223aa423e1818946ed1ec1] [Sig:5351253395574199171]
11:45:35.67 ARC -- CoH2\Archives\ArtHigh.sga 315847340 B [ID:d3bf60728712cf58911b326bde74de8f] [Ver:847622c90833749464691f53f5551808] [Sig:5409437059135526689]
11:45:35.67 ARC -- CoH2\Archives\ArtHighXP1.sga 38526653 B [ID:d3bf60728712cf58911b326bde74de8f] [Ver:492a236c5c9b8d70491763cec03b4772] [Sig:3557666920090964639]
11:45:35.67 ARC -- CoH2\Archives\ArtHighXP2.sga 19687049 B [ID:d3bf60728712cf58911b326bde74de8f] [Ver:06478f3805ceebd8fb602339a6ba9c37] [Sig:15122607373192102247]
11:45:35.68 ARC -- CoH2\Archives\SoundHigh.sga 1031467146 B [ID:3730f31a8f731e6cbc26a00244f571cc] [Ver:a12e581cdaa369cbc269c9ecce6390f7] [Sig:18214921420031089867]
11:45:35.69 ARC -- CoH2\Archives\SoundHighXP1.sga 89990965 B [ID:3730f31a8f731e6cbc26a00244f571cc] [Ver:1cc1bf361529d9db2191610baac4fa3e] [Sig:5801087545420265863]
11:45:35.69 ARC -- CoH2\Archives\SoundHighXP2.sga 37088744 B [ID:3730f31a8f731e6cbc26a00244f571cc] [Ver:4cfa3cc7075c50a459ea894027042002] [Sig:10443542780852497330]
11:45:35.73 ARC -- CoH2\Archives\SoundSpeechEnglish.sga 560293192 B [ID:527dd6c09d9403281e2886d358abf509] [Ver:9a7462132b8b852d1d72cb0b257d179c] [Sig:1825285703711461]
11:45:35.75 ARC -- CoH2\Archives\SoundSPSpeechEFEnglish.sga 156636969 B [ID:9347118f8eb48257082ac67d7e00c15b] [Ver:54dde0af87a44506b2be5ba79188c95a] [Sig:1272187853708733765]
11:45:35.76 ARC -- CoH2\Archives\SoundSpeechDLCEnglish.sga 32966778 B [ID:d37d3bfe48368bcdb2c411ff42ef8710] [Ver:b433112008e82a573ba71d453775932d] [Sig:334711823410206087]
11:45:35.80 ARC -- CoH2\Archives\SoundSpeechXP1English.sga 707027968 B [ID:a1f1b169de1b782d9d5b7311ab866728] [Ver:1b2ae23d21ac080b04a8e4d3583b3243] [Sig:850014712724766770]
11:45:35.81 Archive 'CoH2\Archives\SoundSpeechAAEnglish' is missing! Skipping.
11:45:35.82 ARC -- CoH2\Archives\SoundSpeechXP2English.sga 153241711 B [ID:8bb786e9b6bc36e64e1a83cb83e26f4a] [Ver:3e936bc4ca5d3d43ac80ba8a1b0a5d80] [Sig:2614238819969098953]
11:45:35.84 ARC -- CoH2\Archives\AttribArchive.sga 27968340 B [ID:abe931d3adfbab4e871d2dacd29916d3] [Ver:9a9d1f3a15ae13ba221812f59c286b86] [Sig:17873826844024183351]
11:45:35.97 GAME -- Resetting fp control word.
11:45:37.89 WW2Mod -- PropertyBagManager Loaded in 1.919000s
11:45:37.89 ARC -- C:\Users\Jace\Documents\My Games\Company of Heroes 2\mods\scenarios\City_Centre_2.sga 468178 B [ID:cb7127119f8b5fc3816ebf69c76eb83d] [Ver:6f3c1effdfb54e121d419fac4a86dd03] [Sig:0]
11:45:37.89 ARC -- C:\Users\Jace\Documents\My Games\Company of Heroes 2\mods\scenarios\subscriptions\1074710684.sga 11434011 B [ID:ee16d759228f7a3fc96ab28ea609bbb1] [Ver:971ffe0c9b3bdd075cd3296196864a9c] [Sig:0]
11:45:37.89 ARC -- C:\Users\Jace\Documents\My Games\Company of Heroes 2\mods\scenarios\subscriptions\464057381.sga 2621605 B [ID:251cd96e73d74746ab5eb7505409e218] [Ver:95884b8f68a474bf5574ddb8f4ae6be2] [Sig:0]
11:45:37.89 ARC -- C:\Users\Jace\Documents\My Games\Company of Heroes 2\mods\scenarios\subscriptions\471901240.sga 11273444 B [ID:e2e7a17e036c452a9213f242dc463258] [Ver:a160cad3b19bdc892e8d83a8a57ef1ac] [Sig:0]
11:45:37.96 GameApp::InitSteam: steam already initialized
11:45:37.96 SteamApps->BGetDLCDataByIndex - failed, index: 1/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 42/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 44/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 45/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 46/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 47/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 48/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 49/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 50/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 51/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 52/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 57/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 58/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 59/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 60/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 62/64
11:45:37.98 SteamApps->BGetDLCDataByIndex - failed, index: 63/64
11:45:37.98 NetworkManager::Create - creating network manager
11:45:39.13 WorldwideLoginService::WorldwideLoginService - initializing
11:45:39.14 Opened the CA system store.
11:45:39.14 Certificate for Microsoft Root Certificate Authority has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Thawte Timestamping CA has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Microsoft Root Authority has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Microsoft Root Certificate Authority 2011 has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Microsoft Authenticode(tm) Root Authority has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Microsoft Root Certificate Authority 2010 has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Copyright (c) 1997 Microsoft Corp. has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for NO LIABILITY ACCEPTED, (c)97 VeriSign, Inc. has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for thawte Primary Root CA - G3 has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for UTN-USERFirst-Object has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for DigiCert Global Root G2 has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for GeoTrust Global CA has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for DST Root CA X3 has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for GlobalSign has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Baltimore CyberTrust Root has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Equifax Secure Certificate Authority has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Starfield Root Certificate Authority - G2 has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Entrust Root Certification Authority has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for GlobalSign Root CA has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for COMODO RSA Certification Authority has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Starfield Class 2 Certification Authority has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for DigiCert Global Root CA has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for GTE CyberTrust Global Root has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for thawte Primary Root CA has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Microsoft Root Certificate Authority 2011 has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Entrust Root Certification Authority - G2 has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for SecureTrust CA has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for VeriSign Trust Network has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for GlobalSign has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Class 3 Public Primary Certification Authority has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Thawte Premium Server CA has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for DigiCert High Assurance EV Root CA has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Entrust.net Certification Authority (2048) has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for VeriSign Class 3 Public Primary Certification Authority - G5 has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Go Daddy Root Certificate Authority - G2 has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for StartCom Certification Authority has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for VeriSign Universal Root Certification Authority has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for USERTrust RSA Certification Authority has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Go Daddy Class 2 Certification Authority has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for Certum Trusted Network CA has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for DigiCert Assured ID Root CA has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for GeoTrust Primary Certification Authority - G3 has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 Certificate for AddTrust External CA Root has been retrieved.
11:45:39.14 successfully decoded into x509
11:45:39.14 43 certificates loaded
11:45:39.14 RLink::WorldwideLoginService::LongPoller::ThreadFunction - Entering network thread function...
11:45:39.14 WinTransport - CreateSocket exclusive broadcast socket was available.
11:45:39.14 WinTransport - CreateSocket listening for broadcasts on default port
11:45:39.18 WinTransport - Host Name: Jace-PC, aliases: , type=AF_INET, len=4
11:45:39.18 WinTransport - Host IP Address #0: 192.168.1.72
11:45:39.18 WinTransport - Interface #0: ip:192.168.1.72, broadcast:192.168.1.72, flags=IFF_UP IFF_BROADCAST IFF_MULTICAST
11:45:39.18 WinTransport - Interface #1: ip:127.0.0.1, broadcast:127.0.0.1, flags=IFF_UP IFF_LOOPBACK IFF_MULTICAST
11:45:39.18 Transport::OpenInternal request to WINaddr:255.255.255.255:6112;
11:45:39.18 SessionManager - Peer Header Size = 15 bytes
11:45:39.18 SessionManager - Game Data overhead = 4 bytes
11:45:39.18 SessionManager - Proxy overhead = 7 bytes
11:45:39.18 RLink::ThreadFunction - Entering network thread function...
11:45:39.20 Not able to open the offline items file
11:45:39.20 AutomatchInternal: Instantiating
11:45:39.20 MessageInternal::CreateChannel: Created channel fffffffe
11:45:39.20 MessageInternal::CreateChannel: Created channel fffffffb
11:45:39.20 MessageInternal::CreateChannel: Created channel fffffffd
11:45:39.21 Not able to open the offline items file
11:45:39.21 MessageInternal::CreateChannel: Created channel 00000001
11:45:39.21 MessageInternal::CreateChannel: Created channel 00000002
11:45:39.21 MessageInternal::CreateChannel: Created channel 00000003
11:45:39.21 MessageInternal::CreateChannel: Created channel 00000004
11:45:39.21 MessageInternal::CreateChannel: Created channel 00000005
11:45:39.21 MessageInternal::CreateChannel: Created channel 00000006
11:45:39.21 MessageInternal::CreateChannel: Created channel 00000007
11:45:39.21 MessageInternal::CreateChannel: Created channel 00000008
11:45:39.21 MessageInternal::CreateChannel: Created channel 00000009
11:45:39.21 MessageInternal::CreateChannel: Created channel 0000000a
11:45:39.40 GAME -- Company Of Heroes 2, Build [4.0.0.23163], Language [english]
11:45:39.41 Plat::Win32 -- Desktop PPI 96, DPI Scaling: 1.000000
11:45:39.68 SPDx11 -- Adapter [NVIDIA GeForce GTX 680MX]: 1979MB dedicated video memory, 0MB dedicated system memory and 2116MB shared system memory.
11:45:39.68 OPTION -- effectsdensity: 0
11:45:39.68 OPTION -- effectsfidelity: 0
11:45:39.68 OPTION -- modeldetail: 0
11:45:39.68 OPTION -- postprocessing: 0
11:45:39.68 OPTION -- raindetail: 0
11:45:39.68 OPTION -- reflections: 0
11:45:39.68 OPTION -- ambocclquality: 0
11:45:39.68 OPTION -- shadows: 0
11:45:39.68 OPTION -- shrubsdetail: 0
11:45:39.68 OPTION -- terraindetail: 0
11:45:39.68 OPTION -- snowdetail: 1
11:45:39.68 OPTION -- antialiasing: 0
11:45:39.68 OPTION -- verticalsync: 1
11:45:39.68 OPTION -- physics: 3
11:45:39.68 OPTION -- texturedetail: 3
11:45:39.68 OPTION -- worldviewquality: 2
11:45:39.68 OPTION -- modelanimationdetail: 1
11:45:39.69 SPOOGE - Driver[DirectX11_Rendering_Device] version[4,37]
11:45:39.69 GAME -- Desktop refresh rate is 59.000000Hz
11:45:39.69 GAME -- Configuration selected refresh rate is (59.951000Hz) 59951/1000
11:45:39.69 GAME -- Final selected refresh rate 59.951000Hz
11:45:39.69 GAME -- Resolution set to 2560x1440 @ (59.951000Hz) 59951/1000 (fullscreen).
11:45:39.77 SPDx11 -- New Device RefCount [2], New DeviceContext RefCount [1]
11:45:39.77 SPDx11 -- Adapter Description = NVIDIA GeForce GTX 680MX
11:45:39.77 SPDx11 -- Driver Vendor = 0x000010de Device = 0x000011a3 SubSys = 0x010d106b Rev = 0x000000a1
11:45:39.77 SPDx11 -- Driver Version Product = 23 Version = 21 SubVersion = 0 Build = 391.01
11:45:39.77 SPDx11 -- Driver LUID = 0x00000000-0x000075bd
11:45:39.77 SPDx11 -- 1979MB dedicated video memory, 0MB dedicated system memory and 2116MB shared system memory available.
11:45:39.78 SPDx11 -- [1] GPUs found.
11:45:39.78 ShaderDatabase: using shader profile [ps50]
11:45:39.84 Unable to load shader [coh2_impostor_billboard] so replacing with [defaultshader]
11:45:39.98 SPDx11 -- CreateSwapChain: 2560x1440 @ 59951/1000Hz (59.951000Hz). Sample count/quality: 1/0. Back buffers: 2.
11:45:40.67 SPDx11 -- Actual SwapChain buffer set by DXGI: 2560x1440 @ 59951/1000Hz = Refresh Rate: 59.95
11:45:40.67 SPDx11 -- ResizeTarget: 2560x1440 @ 59951/1000Hz = Refresh Rate: 59.95
11:45:41.20 SPDx11 -- Setting SwapChain State to: FULLSCREEN
11:45:41.20 SPDx11 -- Actual SwapChain buffer set by DXGI: 2560x1440 @ 59951/1000Hz = Refresh Rate: 59.95
11:45:41.20 SPDx11 -- Resizing target to make sure Refresh rate is set properly after FullScreen mode change
11:45:41.20 SPDx11 -- ResizeTarget: 2560x1440 @ 0/0Hz = Refresh Rate: 0.00
11:45:41.31 SPDx11 -- Actual SwapChain buffer set by DXGI: 2560x1440 @ 59951/1000Hz = Refresh Rate: 59.95
11:45:41.32 SPDx11 -- Gamma Caps - Scale/Offset supported: no, Max: 1.00, Min: 0.00, Number of Control Points: 1024.
11:45:41.47 SPDx11 -- Gamma Caps - Scale/Offset supported: no, Max: 1.00, Min: 0.00, Number of Control Points: 1024.
11:45:41.48 SPDx11 -- device requires no additional virtual address space textures.
11:45:41.48 SPDx11 -- Setting SwapChain State to: FULLSCREEN
11:45:41.49 SPDx11 -- Actual SwapChain buffer set by DXGI: 2560x1440 @ 59951/1000Hz = Refresh Rate: 59.95
11:45:41.49 SPDx11 -- Resizing target to make sure Refresh rate is set properly after FullScreen mode change
11:45:41.49 SPDx11 -- ResizeTarget: 2560x1440 @ 0/0Hz = Refresh Rate: 0.00
11:45:41.73 SPDx11 -- Actual SwapChain buffer set by DXGI: 2560x1440 @ 59951/1000Hz = Refresh Rate: 59.95
11:45:41.85 SPDx11 -- GPU can do [9645] pixels per usecond. At [2560x1440x1] this is [2616] screens per second. with a CPU overhead of [0.000000] ms, GPU Usage Time [10.319489] ms, QueryWaitCPU time [11.000001] ms
11:45:42.32 SPDx11 -- GPU can do [110] pixels per usecond. At [1024x1024x1] this is [105] screens per second. with a CPU overhead of [0.000000] ms, GPU Usage Time [37.937153] ms, QueryWaitCPU time [39.000000] ms
11:45:42.32 FILESYSTEM -- filepath failure, missing alias 'TOOLSDATA:autoloddecimator.lua'
11:45:42.43 SOUND -- Initializing ...
11:45:42.54 INNIMapDCA Key not found: tiger_radio_fuzz::objectdistance
11:45:42.56 INNIMapDCA Key not found: Reverb_Forest_Subtle::Distance
11:45:42.59 INNIMapDCA Key not found: metamap_result
11:45:42.88 INNIMapDCA Key not found: rudders_rotation
11:45:43.33 SOUND -- Initialization completed!
11:45:43.43 SCENARIO -- Failed to open stream for Scenario 'DATA:scenarios\tow\challenges\1942_airfield\allied_airfield.info'
11:45:43.44 SCENARIO -- Failed to open stream for Scenario 'DATA:scenarios\tow\scenarios\1941_moscow\1941_moscow_art_v1_ro.info'
11:45:43.44 SCENARIO -- Failed to open stream for Scenario 'DATA:scenarios\sp\coh2_campaign\m02-scorched_earth\scorched_earth_02_03nis.info'
11:45:43.46 SCENARIO -- Failed to open stream for Scenario 'DATA:scenarios\mp\2p_cheneux\2p_cheneux_temp.info'
11:45:43.52 SCENARIO -- Failed to open stream for Scenario 'DATA:scenarios\mp\4p_gelsenkirchen_refinery\4p_gelsenkirchen_refinery_temp.info'
11:45:43.55 SCENARIO -- Failed to open stream for Scenario 'DATA:scenarios\mp\6p_across_the_rhine\6p_across_the_rhine_temp.info'
11:45:43.57 SCENARIO -- Failed to open stream for Scenario 'DATA:scenarios\mp\8p_port_of_hamburg\8p_port_of_hamburg_2.info'
11:45:43.58 SCENARIO -- Failed to open stream for Scenario 'DATA:scenarios\mp\outsourcing_winter\outsourcing_winter.info'
11:45:46.65 GameObjLoader 12deb948 - resetting counters
11:45:46.65 GameObjLoader 12deb948 - Created loader
11:45:46.65 GameObjLoader 12debae8 - resetting counters
11:45:46.65 GameObjLoader 12debae8 - Created loader
11:45:47.72 CRC & Version Info : exe 0x00005a7b:data 0x8be658b9
11:45:47.72 Initializing Scaleform D3D11 HAL
11:45:50.38 Ignoring replay [PLAYBACK:temp_campaign.rec] as it is version [23142] and current build is [23163]
11:45:50.38 GAME -- Error reading header for recorded game PLAYBACK:temp_campaign.rec
11:45:51.56 Ignoring replay [PLAYBACK:temp_campaign.rec] as it is version [23142] and current build is [23163]
11:45:51.56 GAME -- Error reading header for recorded game PLAYBACK:temp_campaign.rec
11:45:51.69 SFLoader -- UI DATA:UI\Bin\COH2UI.gfx loaded in 3.956000s
11:45:51.69 MUTING SOUNDS
11:45:52.32 NetworkManager::DispatchEvents() - Warning - Time between calls was 8911 ms
11:45:52.32 Requesting ticket
11:45:52.32 SteamAuthManager::GetAuthToken state ID : 1
11:45:52.47 SteamAuthManager::GetAuthToken state ID : 1
11:45:52.53 OnRequest app ticket returned N
11:45:52.53 SteamAuth received ticket at t=13349
11:45:52.53 SteamAuthManager::GetAuthToken state ID : 2
11:45:55.09 Found 1 profiles for account /steam/76561198025846220
11:45:55.09 Found profile: /steam/76561198025846220
11:45:55.09 RelicLinkListener::OnAccountEvent - AET_Login - Result [0]
11:45:58.78 GetAutomatchMaps: Got [435] maps
11:45:58.83 Ignoring replay [PLAYBACK:temp_campaign.rec] as it is version [23142] and current build is [23163]
11:45:58.83 GAME -- Error reading header for recorded game PLAYBACK:temp_campaign.rec
11:45:59.77 ExtensionDoExternalCallEvent (https://garry.sgaas.net:443/event) - response good: 0 bytes,
11:46:03.53 Some of the ItemPrices received from the server were removed. Size changed from 9135395440722 to 5428047392046893044
11:46:05.39 Some of the ItemPrices received from the server were removed. Size changed from 9135395440722 to 5428047392046893044
11:46:23.92 starting offline hosting
11:46:24.00 OnlineHostAsync success
11:46:24.00 Session::Initialize - info, initializing session object, using threads.
11:46:24.00 SessionManager::RegisterSession - Registering RL_NEW session 17bfa260
11:46:24.00 Created Matchinfo for sessionID 18446744073709551614
11:46:24.00 OnJoinAdvertisementSuccess - joined online match, server leave notification required
11:46:24.00 starting local hosting
11:46:24.00 Transport::OpenInternal request to WINaddr:255.255.255.255:6112;
11:46:24.00 Allocated route ID=0 for PeerID 1 at WINaddr:192.168.1.72:6112;
11:46:24.00 Transport::OpenInternal request to WINaddr:192.168.1.72:6112;
11:46:24.00 Session::Host sid = FFFFFFFFFFFFFFFE, hostURL = , local addresses = WINaddr:192.168.1.72:6112;
11:46:24.00 Session::GetState - info, session [-2]'s state changed to [2:STATE_CONNECTING].
11:46:24.00 ValidateCustomData: called with 409 bytes of custom data
11:46:24.00 Host accepted Peer 1 into the match at address list=WINaddr:192.168.1.72:6112;, routes=WINaddr:192.168.1.72:6112;
11:46:24.00 WorldwideAdvertisementService::Process - EVENT_NEWPEER
11:46:24.01 Sending matchinfo change #2
11:46:24.04 local host PeerID 1 CONN ack= 0 ( 0ms~0) unack= 0, retry= 0, highwaterOOS=0 @WINaddr:192.168.1.72:6112; (ping=0ms) 100.00%, pending=0, dead=0, RS#=0/0
11:46:24.04 MessageCounts: inval=0/0, seek=0/0, join=0/0, ichk=0/0, sk_r=0/0, deny=0/0, Padd=0/0, Pdel=0/0, drop=0/0, data=0/0, mdat=0/0, voip=0/0, rchk=0/0, nudg=0/0, Thdr=0/0, Peer=0/0, PPrx=0/0, ping=0/0, Pfrg=0/0, rely=0/0, lb_p=0/0, lb_c=0/0, cast=0/0, cdat=0/0, sorq1=0/0, sorp=0/0, acto=0/0, spob=0/0, sorq2=0/0, setp=0/0, actr=0/0, lsim=0/0
11:46:24.05 Session Connection Event - ReasonID: 0 ReasonDebug: SessionOperationInfo::SUCCESS
11:46:24.05 HostAsync - got operation info 0:SessionOperationInfo::SUCCESS
11:46:24.09 hosting - Session is connected
11:46:24.12 HostAsync - completed with HostResult = 0
11:46:24.12 Session::GetState - info, session [-2]'s state changed to [3:STATE_CONNECTED].
11:46:24.12 WorldwideAutomatch2Service::OnHostComplete - we're not polling at the moment, ignoring
11:46:24.12 WorldwideAutomatchService::OnHostComplete - automatcher is no longer active - stopPollPending 0 automatchPollID 18446744073709551615
11:46:24.15 Sending matchinfo change #8
11:46:24.15 WorldwidePartyService::SetMatchState - state 1 not an online game, no server call necessary
11:46:24.37 Sending matchinfo change #9
11:46:24.37 WorldwideAutomatchService::OnStartComplete - detected successful game start
11:46:24.37 Match Started - [00000000:0024eddb /steam/76561198025846220], slot = 0, ranking = -1
11:46:24.37 WorldwidePartyService::SetMatchState - state 1 unchanged ignoring
11:46:24.39 WorldwidePartyService::SetMatchState - state 1 unchanged ignoring
11:46:24.41 WorldwidePartyService::SetMatchState - state 1 unchanged ignoring
11:46:24.42 WorldwidePartyService::SetMatchState - state 1 unchanged ignoring
11:46:24.47 WorldwidePartyService::SetMatchState - state 1 unchanged ignoring
11:46:24.50 WorldwidePartyService::SetMatchState - state 1 unchanged ignoring
11:46:24.54 WorldwidePartyService::SetMatchState - state 1 unchanged ignoring
11:46:24.57 WorldwidePartyService::SetMatchState - state 1 unchanged ignoring
11:46:24.60 Sending matchinfo change #10
11:46:24.60 MOD - Setting player (0) race to: 0
11:46:24.60 MOD - Setting player (1) race to: 0
11:46:24.60 GAME -- Scenario: DATA:Scenarios\sp_mod\community\city_centre_2\city_centre_2
11:46:24.60 GAME -- Win Condition Qualified Name: 00000000000000000000000000000000:2486585725
11:46:24.60 GAME -- Win Condition Name: no_win_condition
11:46:24.60 GAME -- Human Player: 0 Jcbarth 2420187 0 soviet
11:46:24.60 GAME -- AI Player: 1 CPU - Standard -1 1 german
11:46:27.63 GameObj::StartGameObj - info, network session GUID set to [531297258].
11:46:27.86 OBJECTSCAR -- Initialization failed - could not load scar type BP list.
11:46:28.41 INNIMapDCA Key not found: tinitus::time
11:46:28.68 PHYSICS -- Created node factory 'HVOK'
11:46:28.68 PHYSICS -- Created node factory 'DMMY'
11:46:28.70 GameObjLoader - upgrading load_count from 0 to 2400
11:46:31.84 Dx11Program : Unable to find shader script for 'max_alphablend' in the ShaderDatabase.
11:46:31.84 Unable to load shader [max_alphablend] so replacing with [defaultshader]
11:46:34.85 GameObjLoader 12deb948 - resetting counters
11:46:34.85 GameObjLoader 12deb948 - LOAD_DONE
11:46:40.00 Transport - median kBPS [hi/cur] sent = 0.0/0.0, recvd = 0.0/0.0, #p/sec = 0.0/0.0, max unsent 0, version err 0, merge 0
11:46:58.21 GAME - SessionSetup
11:46:58.21 MUTING SOUNDS
11:46:58.28 SkyObjectOverride- can't get 'atmosphericSkyAlpha' variable in material [warning]
11:46:58.28 SkyObjectOverride- can't get 'atmosphericSkyAlpha' variable in material [warning]
11:46:58.36 TChunkManagerIO::Load version 2001l
11:46:58.37 TERRAINTEXTURE -- compositor added RenderTarget of size 4480 x 2520
11:46:59.16 GAME - CreateGEWorld in 944 ms
11:46:59.18 GAME - SessionSetup finished in 961 ms
11:46:59.19 GAME - WaterReflectionManagerSetup
11:46:59.19 GAME - WaterReflectionManagerSetup finished in 0 ms
11:46:59.20 GAME -- Recording game
11:46:59.29 SCAR ERROR Callstack:
C [C] Ln -1 (import)
main city_centre_2.scar"] Ln 8 ((null))
11:46:59.29 GameObj::OnFatalScarError: [failed to import 'City_Centre_2_obj_FirstObjective.scar', file failed to open
main city_centre_2.scar"] Ln 8 ((null))

]
11:46:59.29 GAME -- SimulationController::Pause 0
11:46:59.29 MUTING SOUNDS
11:46:59.29 SCAR ERROR Callstack:
No callstack found
11:46:59.29 GameObj::OnFatalScarError: [Error loading script file (DATA:Scenarios\sp_mod\community\city_centre_2\city_centre_2.scar). Check script syntax!]
11:46:59.29 GAME -- SimulationController::Pause 1
11:46:59.29 MUTING SOUNDS
11:46:59.31 SimWorld::LoadWinCondition: - [DATA:Scar/WinConditions/None.scar] succeeded.
11:46:59.43 MOD -- Player (unused player) (frame 0) (KillPlayer)
11:46:59.43 MOD -- Player (unused player) (frame 0) (KillPlayer)
11:46:59.43 MOD -- Player (unused player) (frame 0) (KillPlayer)
11:46:59.43 MOD -- Player (unused player) (frame 0) (KillPlayer)
11:46:59.43 MOD -- Player (unused player) (frame 0) (KillPlayer)
11:46:59.43 MOD -- Player (unused player) (frame 0) (KillPlayer)
11:46:59.58 SPEECHMANAGER -- Loaded in 0.026001 seconds
11:46:59.61 TwoPop sound file 'dev/440hz' not loaded
11:46:59.87 GameObjLoader - upgrading load_count from 0 to 1342
11:47:00.34 GameObjLoader 12debae8 - resetting counters
11:47:00.34 GameObjLoader 12debae8 - LOAD_DONE
11:47:00.37 Releasing [125]MB of Staging texture data
11:47:00.37 PreloadResources took 0ms.
11:47:00.44 SIM -- Setting SyncErrorChecking level to None
11:47:07.56 DeferredView - Start creating view [ WaterView ] textures
11:47:07.56 SPDx11 -- 1979MB dedicated video memory, 0MB dedicated system memory and 2116MB shared system memory available.
11:47:07.57 SPDx11 -- 1979MB dedicated video memory, 0MB dedicated system memory and 2116MB shared system memory available.
11:47:07.57 DeferredView - Finished creating view [ WaterView ] textures
11:47:07.57 DeferredView - Start creating view [ WorldView ] textures
11:47:07.57 SPDx11 -- 1979MB dedicated video memory, 0MB dedicated system memory and 2116MB shared system memory available.
11:47:07.57 SPDx11 -- 1979MB dedicated video memory, 0MB dedicated system memory and 2116MB shared system memory available.
11:47:07.57 DeferredView - Finished creating view [ WorldView ] textures
11:47:07.57 PerformanceRecorder::StartRecording for game size 2
11:47:07.57 GAME -- Starting mission: DATA:Scenarios\sp_mod\community\city_centre_2\city_centre_2
11:47:07.75 MEM -- heap use 1387 mb, heap uncommitted 31 mb, heap total 1418 mb, available virtual 2078 mb, total virtual 4095 mb
11:47:25.00 local host PeerID 1 CONN ack= 0 ( 0ms~0) unack= 0, retry= 0, highwaterOOS=0 @WINaddr:192.168.1.72:6112; (ping=0ms) 100.00%, pending=0, dead=0, RS#=0/0
11:47:25.00 MessageCounts: inval=0/0, seek=0/0, join=0/0, ichk=0/0, sk_r=0/0, deny=0/0, Padd=0/0, Pdel=0/0, drop=0/0, data=0/0, mdat=0/0, voip=0/0, rchk=0/0, nudg=0/0, Thdr=0/0, Peer=0/0, PPrx=0/0, ping=0/0, Pfrg=0/0, rely=0/0, lb_p=0/0, lb_c=0/0, cast=0/0, cdat=0/0, sorq1=0/0, sorp=0/0, acto=0/0, spob=0/0, sorq2=0/0, setp=0/0, actr=0/0, lsim=0/0
11:47:41.00 Transport - median kBPS [hi/cur] sent = 0.0/0.0, recvd = 0.0/0.0, #p/sec = 0.0/0.0, max unsent 0, version err 0, merge 0
11:47:52.14 SPDx11 -- Setting SwapChain State to: FULLSCREEN
11:47:53.12 SPDx11 -- Actual SwapChain buffer set by DXGI: 2560x1440 @ 59951/1000Hz = Refresh Rate: 59.95
11:47:53.12 SPDx11 -- Resizing target to make sure Refresh rate is set properly after FullScreen mode change
11:47:53.12 SPDx11 -- ResizeTarget: 2560x1440 @ 0/0Hz = Refresh Rate: 0.00
11:47:53.59 SPDx11 -- Actual SwapChain buffer set by DXGI: 2560x1440 @ 59951/1000Hz = Refresh Rate: 59.95
19 Apr 2019, 19:10 PM
#17
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

jump backJump back to quoted post19 Apr 2019, 18:53 PMjcbarth
Yeah, when I launch, the game is frozen. I have to press resume in order for it to start up, but without any of my spawns. ...


"file failed to open main" can mean the naming is wrong so I would double check the naming and I would keep the file names in lowercase characters or there is a problem with the encoding of the main SCAR file.
19 Apr 2019, 20:28 PM
#18
avatar of jcbarth

Posts: 24

Thanks!

Janne252 mentioned that the files probably aren't in the .sga file, which I've check using the archive viewer and can confirm. However, I am not sure how to add the missing scar files to the .sga. Any ideas?
19 Apr 2019, 21:31 PM
#19
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

jump backJump back to quoted post19 Apr 2019, 20:28 PMjcbarth
Thanks!

Janne252 mentioned that the files probably aren't in the .sga file, which I've check using the archive viewer and can confirm. However, I am not sure how to add the missing scar files to the .sga. Any ideas?


Yes, all SCAR files need to be in .sga format. What do you mean by missing files? If you mean the other SCAR files you just need to import them in the main SCAR file and it should be all ready to go.
19 Apr 2019, 21:56 PM
#20
avatar of jcbarth

Posts: 24

If I view the .sga file in the archive viewer, I can see that my objectives scar file is not included for some reason. I imagine due to "export packages" in world builder overwriting it. Without the objectives scar file in my .sga, I am unable to import it with my main scar file. Not 100% sure how to add my missing scar files to the .sga for the main scar file to import.

I've seen that you can create a scenario pack in Mod Builder and manually add in the files, however, I am running into errors doing it that way as well.

I see the following error with my mod in the warnings file:

Code
MOD -- Error loading mod pack 'C:\Users\Jace\Documents\My Games\Company of Heroes 2\mods\scenarios\CityCentre.sga': invalid file structure.


Also, when I try to build my mod I get the following error:

Code
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\Archive.exe failed with exit code 2.
Error copying C:\Users\Jace\Documents\My Games\Company of Heroes 2\mods\scenarios\City_Centre_2.sga: The process cannot access the file 'C:\Users\Jace\Documents\My Games\Company of Heroes 2\mods\scenarios\City_Centre_2.sga' because it is being used by another process.
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

374 users are online: 2 members and 372 guests
Crecer13, donofsandiego
14 posts in the last 24h
40 posts in the last week
94 posts in the last month
Registered members: 44643
Welcome our newest member, Leiliqu96
Most online: 2043 users on 29 Oct 2023, 01:04 AM