ModMerger problem

Users who are viewing this thread

Hey everyone,

I'm trying to merge Freelancer into my mod using ModMerger, but when I build the module, I get this:

    modmerge_game_menus(orig_game_menus)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 442, in modmerge_game_menus
    codeblock = GameMenuWrapper(orig_game_menus[find_i]).GetMenuOption("action_modify_banner").GetConditionBlock()
AttributeError: 'tuple' object has no attribute 'GetConditionBlock'
Exporting faction data...
Exporting item data...
S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\util_scripts.py:84:
UserWarning: Error injecting code into: party_give_xp_and_gold
  warnings.warn("Error injecting code into: %s" % (cur_directive[1]) )
Injecton 4 failed: 'tuple' object has no attribute 'GetConditionBlock'
Traceback (most recent call last):
  File "process_items.py", line 66, in <module>
    from process_operations import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\process_oper
ations.py", line 22, in <module>
    from module_game_menus import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\module_game_
menus.py", line 18346, in <module>
    modmerge(var_set)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 239, in modmerge__
    _temp.__dict__[mergefn_name](var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 486, in modmerge
    modmerge_game_menus(orig_game_menus)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 442, in modmerge_game_menus
    codeblock = GameMenuWrapper(orig_game_menus[find_i]).GetMenuOption("action_modify_banner").GetConditionBlock()
AttributeError: 'tuple' object has no attribute 'GetConditionBlock'
Exporting scene data...
S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\util_scripts.py:84:
UserWarning: Error injecting code into: party_give_xp_and_gold
  warnings.warn("Error injecting code into: %s" % (cur_directive[1]) )
Injecton 4 failed: 'tuple' object has no attribute 'GetConditionBlock'
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\process_oper
ations.py", line 22, in <module>
    from module_game_menus import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\module_game_
menus.py", line 18346, in <module>
    modmerge(var_set)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 239, in modmerge__
    _temp.__dict__[mergefn_name](var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 486, in modmerge
    modmerge_game_menus(orig_game_menus)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 442, in modmerge_game_menus
    codeblock = GameMenuWrapper(orig_game_menus[find_i]).GetMenuOption("action_modify_banner").GetConditionBlock()
AttributeError: 'tuple' object has no attribute 'GetConditionBlock'
Exporting troops data
Exporting particle data...
S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\util_scripts.py:84:
UserWarning: Error injecting code into: party_give_xp_and_gold
  warnings.warn("Error injecting code into: %s" % (cur_directive[1]) )
Injecton 4 failed: 'tuple' object has no attribute 'GetConditionBlock'
Traceback (most recent call last):
  File "process_scene_props.py", line 7, in <module>
    from process_operations import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\process_oper
ations.py", line 22, in <module>
    from module_game_menus import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\module_game_
menus.py", line 18346, in <module>
    modmerge(var_set)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 239, in modmerge__
    _temp.__dict__[mergefn_name](var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 486, in modmerge
    modmerge_game_menus(orig_game_menus)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 442, in modmerge_game_menus
    codeblock = GameMenuWrapper(orig_game_menus[find_i]).GetMenuOption("action_modify_banner").GetConditionBlock()
AttributeError: 'tuple' object has no attribute 'GetConditionBlock'
S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\util_scripts.py:84:
UserWarning: Error injecting code into: party_give_xp_and_gold
  warnings.warn("Error injecting code into: %s" % (cur_directive[1]) )
Injecton 4 failed: 'tuple' object has no attribute 'GetConditionBlock'
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\process_oper
ations.py", line 22, in <module>
    from module_game_menus import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\module_game_
menus.py", line 18346, in <module>
    modmerge(var_set)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 239, in modmerge__
    _temp.__dict__[mergefn_name](var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 486, in modmerge
    modmerge_game_menus(orig_game_menus)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 442, in modmerge_game_menus
    codeblock = GameMenuWrapper(orig_game_menus[find_i]).GetMenuOption("action_modify_banner").GetConditionBlock()
AttributeError: 'tuple' object has no attribute 'GetConditionBlock'
Traceback (most recent call last):
  File "process_presentations.py", line 4, in <module>
    from module_presentations import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\module_prese
ntations.py", line 14539, in <module>
    modmerge(var_set)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 237, in modmerge__
    _temp = __import__( src_module_name ,{} , {}, [mergefn_name],-1)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_p
resentations.py", line 18, in <module>
    ("taragoth_lords_report", 0, mesh_background_general, [
NameError: name 'mesh_background_general' is not defined
Exporting party_template data...
Injecton 4 failed: 'tuple' object has no attribute 'GetConditionBlock'
Traceback (most recent call last):
  File "process_parties.py", line 4, in <module>
    from module_game_menus import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\module_game_
menus.py", line 18346, in <module>
    modmerge(var_set)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 239, in modmerge__
    _temp.__dict__[mergefn_name](var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 486, in modmerge
    modmerge_game_menus(orig_game_menus)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 442, in modmerge_game_menus
    codeblock = GameMenuWrapper(orig_game_menus[find_i]).GetMenuOption("action_modify_banner").GetConditionBlock()
AttributeError: 'tuple' object has no attribute 'GetConditionBlock'
Exporting quest data...
Exporting info_page data...
S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\util_scripts.py:84:
UserWarning: Error injecting code into: party_give_xp_and_gold
  warnings.warn("Error injecting code into: %s" % (cur_directive[1]) )
Injecton 4 failed: 'tuple' object has no attribute 'GetConditionBlock'
Traceback (most recent call last):
  File "process_scripts.py", line 7, in <module>
    from process_operations import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\process_oper
ations.py", line 22, in <module>
    from module_game_menus import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\module_game_
menus.py", line 18346, in <module>
    modmerge(var_set)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 239, in modmerge__
    _temp.__dict__[mergefn_name](var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 486, in modmerge
    modmerge_game_menus(orig_game_menus)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 442, in modmerge_game_menus
    codeblock = GameMenuWrapper(orig_game_menus[find_i]).GetMenuOption("action_modify_banner").GetConditionBlock()
AttributeError: 'tuple' object has no attribute 'GetConditionBlock'
S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\util_scripts.py:84:
UserWarning: Error injecting code into: party_give_xp_and_gold
  warnings.warn("Error injecting code into: %s" % (cur_directive[1]) )
Injecton 4 failed: 'tuple' object has no attribute 'GetConditionBlock'
Traceback (most recent call last):
  File "process_mission_tmps.py", line 8, in <module>
    from process_operations import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\process_oper
ations.py", line 22, in <module>
    from module_game_menus import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\module_game_
menus.py", line 18346, in <module>
    modmerge(var_set)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 239, in modmerge__
    _temp.__dict__[mergefn_name](var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 486, in modmerge
    modmerge_game_menus(orig_game_menus)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 442, in modmerge_game_menus
    codeblock = GameMenuWrapper(orig_game_menus[find_i]).GetMenuOption("action_modify_banner").GetConditionBlock()
AttributeError: 'tuple' object has no attribute 'GetConditionBlock'
Injecton 4 failed: 'tuple' object has no attribute 'GetConditionBlock'
Traceback (most recent call last):
  File "process_game_menus.py", line 5, in <module>
    from module_game_menus import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\module_game_
menus.py", line 18346, in <module>
    modmerge(var_set)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 239, in modmerge__
    _temp.__dict__[mergefn_name](var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 486, in modmerge
    modmerge_game_menus(orig_game_menus)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 442, in modmerge_game_menus
    codeblock = GameMenuWrapper(orig_game_menus[find_i]).GetMenuOption("action_modify_banner").GetConditionBlock()
AttributeError: 'tuple' object has no attribute 'GetConditionBlock'
S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\util_scripts.py:84:
UserWarning: Error injecting code into: party_give_xp_and_gold
  warnings.warn("Error injecting code into: %s" % (cur_directive[1]) )
Injecton 4 failed: 'tuple' object has no attribute 'GetConditionBlock'
Traceback (most recent call last):
  File "process_simple_triggers.py", line 5, in <module>
    from process_operations import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\process_oper
ations.py", line 22, in <module>
    from module_game_menus import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\module_game_
menus.py", line 18346, in <module>
    modmerge(var_set)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 239, in modmerge__
    _temp.__dict__[mergefn_name](var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 486, in modmerge
    modmerge_game_menus(orig_game_menus)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 442, in modmerge_game_menus
    codeblock = GameMenuWrapper(orig_game_menus[find_i]).GetMenuOption("action_modify_banner").GetConditionBlock()
AttributeError: 'tuple' object has no attribute 'GetConditionBlock'
Traceback (most recent call last):
  File "process_dialogs.py", line 6, in <module>
    from module_dialogs import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\module_dialo
gs.py", line 41003, in <module>
    modmerge(var_set)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 239, in modmerge__
    _temp.__dict__[mergefn_name](var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_d
ialogs.py", line 214, in modmerge
    pos = FindDialog_i(orig_dialogs, anyone|plyr, "lord_talk", "lord_leave_prison")
NameError: global name 'FindDialog_i' is not defined
S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\util_scripts.py:84:
UserWarning: Error injecting code into: party_give_xp_and_gold
  warnings.warn("Error injecting code into: %s" % (cur_directive[1]) )
Injecton 4 failed: 'tuple' object has no attribute 'GetConditionBlock'
Traceback (most recent call last):
  File "process_global_variables_unused.py", line 3, in <module>
    from process_operations import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\process_oper
ations.py", line 22, in <module>
    from module_game_menus import *
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\module_game_
menus.py", line 18346, in <module>
    modmerge(var_set)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\modmerger.py
", line 239, in modmerge__
    _temp.__dict__[mergefn_name](var_dict)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 486, in modmerge
    modmerge_game_menus(orig_game_menus)
  File "S:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\CaitlynsMod - Diplomacy_v4.2_sources\src\freelancer_g
ame_menus.py", line 442, in modmerge_game_menus
    codeblock = GameMenuWrapper(orig_game_menus[find_i]).GetMenuOption("action_modify_banner").GetConditionBlock()
AttributeError: 'tuple' object has no attribute 'GetConditionBlock'
Exporting postfx_params...

______________________________

Script processing has ended.
Press any key to exit. . .

Does anybody know what's going on, and how I fix it?
 
I did this with the ModMerger files and the Freelancer files in my Module System folder (that is, the folder with all the .py scripts). I'm not sure if that's how it's supposed to work.
 
Back
Top Bottom