Patch 1.05.06.01 breaks game (Script Error)

Moderator: rbodleyscott

Post Reply
canuck97
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 52
Joined: Thu Sep 22, 2011 11:35 pm

Patch 1.05.06.01 breaks game (Script Error)

Post by canuck97 »

Hello,

I've just bought Field of Glory 2 Medieval with the first three DLC. I can install everything fine and the game runs after initial install. However, once I've patched it to the newest version, I always get a Script Error at start and the game won't launch.

I've re-installed twice already and it's always the same. Any idea what to do?

The error message is attached.

Thanks for any help!

I've just added the error.log, too.

20221007_123153
VER:10506 BUILD:10009 Jul 27 2022
PLATFORM: WINDOWS
WinVer:10.0.22621.457
0: NVIDIA GeForce GTX 1660
1: NVIDIA GeForce GTX 1660
CPU String: GenuineIntel
Stepping ID = 1
Model = 7
Family = 6
Extended model = 10
CLFLUSH cache line size = 64
APIC Physical ID = 4
CPU Brand String: 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz
Cache Size = 256K
Found DirectX Version Number: 4.09.00.0904
Creating Device.....
MonkeyInitStart
MIS: Found DD
MIS: IsHW
MIS: SetCoop
MIS: Setting Disp Mode
MIS: Done Init 3D Device
MIS: Tex Enum
MIS: SDRS
MIS: Init Decal Render
TS: Start
TS: IAPSent
Script Error in CORE/UI/LOBBY.BSF:
Failed to find variable OVERCONFIDENT_AI_MODIFIER: Did you forget to predefine it?
Context: FUNCTION MPS_SetUpBattle()

side1points = (side1points * OVERCONFIDENT_AI_MODIFIER) / 100;

// v1.7.0 (Medieval) addition - adjust side 1 points for either side potentially having fortifications
FFmodifier = MPS_Side1PointsModifierForFF(provinc
Script Error in CORE/UI/LOBBY.BSF:
Failed to find variable OVERCONFIDENT_AI_MODIFIER: Did you forget to predefine it?
Context: FUNCTION MPS_SetUpBattle()

side1points = (side1points * OVERCONFIDENT_AI_MODIFIER) / 100;

// v1.7.0 (Medieval) addition - adjust side 1 points for either side potentially having fortifications
FFmodifier = MPS_Side1PointsModifierForFF(provinc
######## EXCEPTION: 0x80000003 at address: 0x773BAB82
Starting Debugger
SEARCHING: C:\Spiele\Field Of Glory II - Medieval;C:\Spiele\Field Of Glory II - Medieval;C:\WINDOWS
C:\Spiele\Field Of Glory II - Medieval;C:\Spiele\Field Of Glory II - Medieval;C:\WINDOWS
SGA: DebugBreak
DebugBreak
SGA: CScriptHelper::VarIndex
CScriptHelper::VarIndex
c:\dev\archon\util\scripthelper.cpp(434) : +18 bytes (CScriptHelper::VarIndex) 0
SGA: CScriptHelper::MakeExpression
CScriptHelper::MakeExpression
c:\dev\archon\util\scripthelper.cpp(1641) : +18 bytes (CScriptHelper::MakeExpression) 0
SGA: CScriptHelper::MakeExpression
CScriptHelper::MakeExpression
c:\dev\archon\util\scripthelper.cpp(1726) : +19 bytes (CScriptHelper::MakeExpression) 0
SGA: CScriptHelper::MakeExpression
CScriptHelper::MakeExpression
c:\dev\archon\util\scripthelper.cpp(1576) : +20 bytes (CScriptHelper::MakeExpression) 0
SGA: CScriptHelper::ParseAssignment
CScriptHelper::ParseAssignment
c:\dev\archon\util\scripthelper.cpp(1264) : +17 bytes (CScriptHelper::ParseAssignment) 0
SGA: CCScript::ParseBlock
CCScript::ParseBlock
c:\dev\archon\util\c_script.cpp(1586) : +31 bytes (CCScript::ParseBlock) 0
SGA: CCScript::ParseBlock
CCScript::ParseBlock
c:\dev\archon\util\c_script.cpp(1413) : +45 bytes (CCScript::ParseBlock) 0
SGA: CCScript::ParseBlock
CCScript::ParseBlock
c:\dev\archon\util\c_script.cpp(1526) : +29 bytes (CCScript::ParseBlock) 0
SGA: CCScript::ParseBlock
CCScript::ParseBlock
c:\dev\archon\util\c_script.cpp(1368) : +32 bytes (CCScript::ParseBlock) 0
SGA: CCScript::ParseScript
CCScript::ParseScript
c:\dev\archon\util\c_script.cpp(3477) : +0 bytes (CCScript::ParseScript) 0
SGA: CCScript::CCScript
CCScript::CCScript
c:\dev\archon\util\c_script.cpp(255) : +0 bytes (CCScript::CCScript) 0
SGA: CCScriptManager::Load
CCScriptManager::Load
c:\dev\archon\util\c_scriptmanager.cpp(565) : +75 bytes (CCScriptManager::Load) 0
SGA: CUIObject::LoadScript
CUIObject::LoadScript
c:\dev\archon\ui\uicomponents.cpp(1081) : +47 bytes (CUIObject::LoadScript) 0
SGA: CUIScriptManager::LoadScreen
CUIScriptManager::LoadScreen
c:\dev\archon\ui\uiscript.cpp(1962) : +0 bytes (CUIScriptManager::LoadScreen) 0
SGA: CUIScriptManager::LoadScreens
CUIScriptManager::LoadScreens
c:\dev\archon\ui\uiscript.cpp(132) : +0 bytes (CUIScriptManager::LoadScreens) 0
SGA: CUIScriptManager::CUIScriptManager
CUIScriptManager::CUIScriptManager
c:\dev\archon\ui\uiscript.cpp(81) : +0 bytes (CUIScriptManager::CUIScriptManager) 0
SGA: CGame::CGame
CGame::CGame
c:\dev\ba2_tile_shader\game\game.cpp(455) : +45 bytes (CGame::CGame) 0
SGA: StartApp
StartApp
c:\dev\ba2_tile_shader\game\system.cpp(871) : +37 bytes (StartApp) 0
SGA: EntryPoint
EntryPoint
c:\dev\ba2_tile_shader\game\system.cpp(1617) : +5 bytes (EntryPoint) 0
SGA: WinMain
WinMain
c:\dev\archon\platform_windows.cpp(568) : +9 bytes (WinMain) 0
SGA: __tmainCRTStartup
__tmainCRTStartup
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c(578) : +29 bytes (__tmainCRTStartup) 0
SGA: BaseThreadInitThunk
BaseThreadInitThunk
SGA: RtlInitializeExceptionChain
RtlInitializeExceptionChain
SGA: RtlClearBits
RtlClearBits
Debugger Cleanup
Attachments
Screenshot 2022-10-07 124021.png
Screenshot 2022-10-07 124021.png (13.65 KiB) Viewed 520 times
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28323
Joined: Sun Dec 04, 2005 6:25 pm

Re: Patch 1.05.06.01 breaks game (Script Error)

Post by rbodleyscott »

This means that you have an old version of the file /Data/scripts/Macros.bsf from prior to v1.4.x of the game.

Unless you are using an out of date mod, that means that something has gone wrong with your installation and update.

If you are using a global mod, turn that off.

If not, then you may have installed the game with an old version of the installer. (The updater will only correctly update the game from the previous release version, not from a version earlier than that). You should uninstall the game and reinstall using the latest full installer, FOG2Medieval-SetupRelease-v1.05.06.01.exe. You will find a zipped version of this on the File Downloads page on Field of Glory 2 Medieval on My Page on Slitherine.com.

You do not need to run the updater as well.


Downloads1.jpg
Downloads1.jpg (344.6 KiB) Viewed 510 times


Downloads2.jpg
Downloads2.jpg (246.02 KiB) Viewed 510 times
Richard Bodley Scott

Image
canuck97
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 52
Joined: Thu Sep 22, 2011 11:35 pm

Re: Patch 1.05.06.01 breaks game (Script Error)

Post by canuck97 »

Thank you for your quick reply and help. I haven't installed any mods. The problem was indeed that I've downloaded the main game some time ago and therefore the installer wasn't up to date. I didn't think that would be a problem since the patch installed without any problems. But after re-installing with the newest installer everything's working fine as it seems. So thanks again for the quick help!
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28323
Joined: Sun Dec 04, 2005 6:25 pm

Re: Patch 1.05.06.01 breaks game (Script Error)

Post by rbodleyscott »

Glad to hear it.
Richard Bodley Scott

Image
Post Reply

Return to “Field of Glory II: Medieval Tech Support”