Page 1 of 1

Crash after playing on a different computer

Posted: Tue Mar 28, 2023 3:19 pm
by DefiantXYX
Hello there,

I sometime play on my laptop when I am not at home. This time is finished AO 1943 on my laptop, but when I try to import the core on my pc the game is crashing when I try to buy or upgrade anything.
Is there anythig I could do to solve the problem? I can continue on my laptop, no problem. No mods enabled.


Fatal error!

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000058

0x00007ff7a02932f7 PanzerCorps2-Win64-Shipping.exe!std::_Hash<std::_Uset_traits<enum UnitTrait,std::_Uhash_compare<enum UnitTrait,std::hash<enum UnitTrait>,std::equal_to<enum UnitTrait> >,std::allocator<enum UnitTrait>,0> >::emplace<enum UnitTrait const &>() [C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\INCLUDE\xhash:584]
0x00007ff7a0645b96 PanzerCorps2-Win64-Shipping.exe!UShop::Setup() [C:\Projects\PanzerCorps2\SVN\trunk\Source\Gui\Shop.cpp:192]
0x00007ff7a061d966 PanzerCorps2-Win64-Shipping.exe!UShop::Initialize() [C:\Projects\PanzerCorps2\SVN\trunk\Source\Gui\Shop.cpp:174]
0x00007ff7a07105ab PanzerCorps2-Win64-Shipping.exe!LocalPlayer::MyTurn::OpenShop() [C:\Projects\PanzerCorps2\SVN\trunk\Source\PanzerCorps2\LocalPlayerController.cpp:1061]
0x00007ff7a062edc5 PanzerCorps2-Win64-Shipping.exe!SweetButton::Press() [C:\Projects\PanzerCorps2\SVN\trunk\Source\Gui\Sweets.cpp:113]
0x00007ff7a0c3fe9b PanzerCorps2-Win64-Shipping.exe!SButton::OnMouseButtonDown() []
0x00007ff7a06270e5 PanzerCorps2-Win64-Shipping.exe!SweetButton::OnMouseButtonDown() [C:\Projects\PanzerCorps2\SVN\trunk\Source\Gui\Sweets.cpp:158]
0x00007ff7a0b7fede PanzerCorps2-Win64-Shipping.exe!SButton::FArguments::OnClicked<SWindowTitleBar>() []
0x00007ff7a0bba243 PanzerCorps2-Win64-Shipping.exe!FSlateApplication::RoutePointerDownEvent() []
0x00007ff7a0bb0da6 PanzerCorps2-Win64-Shipping.exe!FSlateApplication::ProcessMouseButtonDownEvent() []
0x00007ff7a0baa2d2 PanzerCorps2-Win64-Shipping.exe!FSlateApplication::OnMouseDown() []
0x00007ff7a0ac6440 PanzerCorps2-Win64-Shipping.exe!FWindowsApplication::ProcessDeferredMessage() []
0x00007ff7a0abd773 PanzerCorps2-Win64-Shipping.exe!FWindowsApplication::DeferMessage() []
0x00007ff7a0ac7f09 PanzerCorps2-Win64-Shipping.exe!FWindowsApplication::ProcessMessage() []
0x00007ff7a0abae58 PanzerCorps2-Win64-Shipping.exe!FWindowsApplication::AppWndProc() []
0x00007ffbfa64e7e8 USER32.dll!UnknownFunction []
0x00007ffbfa64e229 USER32.dll!UnknownFunction []
0x00007ff7a0ac8a54 PanzerCorps2-Win64-Shipping.exe!FWindowsPlatformApplicationMisc::PumpMessages() []
0x00007ff79fca8725 PanzerCorps2-Win64-Shipping.exe!FEngineLoop::Tick() []
0x00007ff79fcaeddc PanzerCorps2-Win64-Shipping.exe!GuardedMain() []
0x00007ff79fcaee4a PanzerCorps2-Win64-Shipping.exe!GuardedMainWrapper() []
0x00007ff79fcb90ef PanzerCorps2-Win64-Shipping.exe!WinMain() []
0x00007ff7a2b88bbe PanzerCorps2-Win64-Shipping.exe!__scrt_common_main_seh() [d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
0x00007ffbf9607614 KERNEL32.DLL!UnknownFunction []
0x00007ffbfa8826a1 ntdll.dll!UnknownFunction []

Re: Crash after playing on a different computer

Posted: Tue Mar 28, 2023 4:01 pm
by Grondel
DefiantXYX wrote: Tue Mar 28, 2023 3:19 pm No mods enabled.
obviously u had mods enabled when starting that campaign. reenable them to prevent the crash.

sers,
Thomas

Re: Crash after playing on a different computer

Posted: Tue Mar 28, 2023 4:45 pm
by Sequester Grundleplith, MD
There is some weird purchase screen crash that happens to me when I start a new AO with an imported core that has mods enabled, even if the new AO campaign has the same mods enabled.

The way I have solved that in the past is to start that same campaign with no imported core or mods enabled, get to the deployment screen for the first mission, and then exit to main menu, enable the correct mods and then start again with the imported core

Re: Crash after playing on a different computer

Posted: Thu Mar 30, 2023 1:23 pm
by DefiantXYX
Damn, indeed on my second comp the PC1 Campgain-Mod was enabled. I did some testing, with and without the mod enabled, nothing worked so far. I will give it another try at the weekend.

Re: Crash after playing on a different computer

Posted: Thu Mar 30, 2023 2:00 pm
by Grondel
DefiantXYX wrote: Thu Mar 30, 2023 1:23 pm Damn, indeed on my second comp the PC1 Campgain-Mod was enabled. I did some testing, with and without the mod enabled, nothing worked so far. I will give it another try at the weekend.
i corrected some issue with the StuGIIIb from an earlier patch that might cuase crashes. be sure to remove all StuGIIIb from ur core and stock before ending a scenario. after loading a new scenario the issue is removed and StuGIIIb can be used again.

sers,
Thomas

Re: Crash after playing on a different computer

Posted: Fri Mar 31, 2023 5:50 am
by DefiantXYX
I dont like the STUGIIIB, so no problem with that.

Ok, I enabled the mod on my main computer, reloaded a savegame in 1943, went to 1944 and now everything is working fine. But strange, I thought I already did this some days ago, but who cares :)