-Ignorak-
Regular

Im playing arround witht he module system, and guess what! Errors D:
I've installed from the usefull scripts thread, the open source bridge battles, and more with complete success with NO compiling errors, except for the battle ratio bar link: http://forums.taleworlds.com/index.php/topic,53062.0.html
Alright heres what it said when compiling.
EDIT: I think i got this part wrong, it wasn't clearly explained imo
common_battle_order_panel = (
0, 0, 0, [],
[
(game_key_clicked, gk_view_orders),
(start_presentation, "prsnt_battle"),
(0, 0, ti_once, [], [(start_presentation, "prsnt_troop_ratio_bar")]),
])
I've installed from the usefull scripts thread, the open source bridge battles, and more with complete success with NO compiling errors, except for the battle ratio bar link: http://forums.taleworlds.com/index.php/topic,53062.0.html
Alright heres what it said when compiling.
插入代码块:
Initializing...
Compiling all global variables...
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Exporting faction data...
Exporting item data...
Exporting scene data...
Exporting troops data
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting scripts...
Exporting mission_template data...
Traceback (most recent call last):
File "process_mission_tmps.py", line 64, in <module>
save_mission_templates(variables,variable_uses,tag_uses,quick_strings)
File "process_mission_tmps.py", line 48, in save_mission_templates
save_triggers(file,convert_to_identifier(mission_template[mission_template_n
ame_pos]), mission_template[mission_template_triggers_pos],variables,variable_us
es,tag_uses,quick_strings)
File "process_mission_tmps.py", line 23, in save_triggers
save_statement_block(file, 0, 1, trigger[trigger_consequences_pos], variable
_list,variable_uses,tag_uses,quick_strings)
File "C:\Users\Administrator\Saved Games\M&B Mods\ModuleSystem\process_operati
ons.py", line 449, in save_statement_block
save_statement(ofile,opcode,no_variables,statement,variable_list,variable_us
es,local_vars, local_var_uses,tag_uses,quick_strings)
File "C:\Users\Administrator\Saved Games\M&B Mods\ModuleSystem\process_operati
ons.py", line 401, in save_statement
ofile.write("%d "%operand)
TypeError: %d format: a number is required, not list
Exporting game menus data...
exporting simple triggers...
exporting triggers...
exporting dialogs...
Checking global variable usages...
WARNING: Global variable never used: training_fight_won
WARNING: Global variable never used: g_village_raid_evil
WARNING: Global variable never used: g_siege_sallied_out_once
WARNING: Global variable never used: g_arena_training_max_opponents
WARNING: Global variable never used: tutorial_1_finished
WARNING: Global variable never used: tutorial_2_finished
WARNING: Global variable never used: tutorial_3_finished
WARNING: Global variable never used: tutorial_4_finished
WARNING: Global variable never used: tutorial_5_finished
WARNING: Global variable never used: g_training_ground_training_num_gourds_to_de
stroy
WARNING: Global variable never used: g_training_ground_ranged_distance
______________________________
Script processing has ended.
Press any key to exit. . .
common_battle_order_panel = (
0, 0, 0, [],
[
(game_key_clicked, gk_view_orders),
(start_presentation, "prsnt_battle"),
(0, 0, ti_once, [], [(start_presentation, "prsnt_troop_ratio_bar")]),
])
