Karsontr
Regular

I want to add the codes in this thread to my mod, but I'm getting this error. What am I doing wrong?
forums.taleworlds.com

OSP - Code - QoL - Trade Screen Replacer (WIP Code)
Native Trade Screen is a hard-coded presentations with very limited functionality/"editability". Therefore I decided to replace it... First, a video of what was done by now: It's a custom presentation. Second, what I do on this video: Third, the code of the presentation: Forth, what else...

Code:
Traceback (most recent call last):
File "process_init.py", line 2, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Traceback (most recent call last):
File "process_global_variables.py", line 8, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Traceback (most recent call last):
File "process_map_icons.py", line 6, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Exporting faction data...
Exporting item data...
Traceback (most recent call last):
File "process_items.py", line 66, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Exporting scene data...
Traceback (most recent call last):
File "process_scenes.py", line 15, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Exporting troops data
Exporting particle data...
Traceback (most recent call last):
File "process_scene_props.py", line 7, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Traceback (most recent call last):
File "process_tableau_materials.py", line 8, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Traceback (most recent call last):
File "process_presentations.py", line 4, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Exporting party_template data...
Traceback (most recent call last):
File "process_parties.py", line 6, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Exporting quest data...
Exporting info_page data...
Traceback (most recent call last):
File "process_scripts.py", line 7, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Traceback (most recent call last):
File "process_mission_tmps.py", line 8, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Traceback (most recent call last):
File "process_game_menus.py", line 8, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Traceback (most recent call last):
File "process_simple_triggers.py", line 5, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Traceback (most recent call last):
File "process_dialogs.py", line 9, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Traceback (most recent call last):
File "process_global_variables_unused.py", line 3, in <module>
from process_operations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\process_operations.py", line 26, in <module>
from module_presentations import *
File "D:\Games\Mount.Blade.Warband.v1.173.Inclu.DLC.GOG\mb_warband_module_system_1171\Module_system 1.171\module_presentations.py", line 13681, in <module>
(try_begin), (eq, ":imod", imod_cracked), (assign, ":armor_mod", -4),
NameError: name 'imod_cracked' is not defined
Exporting postfx_params...
______________________________
Script processing has ended.
Press any key to exit. . .
Last edited by a moderator: