Module System Errors

正在查看此主题的用户

Mustachio

Regular
Ok, so i've been trying to figure out why when i enter the arena the game thinks im in a tournament and quickly eliminates me. I found that it was the modules system after simply exporting the clean module files into a seperate module folder named "Native2" and placing the Mission_Templates file into my newly updated (to 1.127) Native folder. There's something wrong with the file that screws up the arena, even though i haven't edited it at all. Has anyone had problems like this?
 
Mustachio 说:
Ok, so i've been trying to figure out why when i enter the arena the game thinks im in a tournament and quickly eliminates me. I found that it was the modules system after simply exporting the clean module files into a seperate module folder named "Native2" and placing the Mission_Templates file into my newly updated (to 1.127) Native folder. There's something wrong with the file that screws up the arena, even though i haven't edited it at all. Has anyone had problems like this?

Did the Python System say any errors during the compiling process? Normally you can't just move one file without changing others, in a way everything is linked together...
 
Thnx for the responses

It shows up a few errors about unused variables while building the module but i thought i read elsewhere that that's nothing to worry about.

I've tested it out by trying to just build_module to a copy of my native folder, without editing anything. When I ran that module there were a few errors(OPCODE 521?), the arena was acting strangely, and it was in cheat mode for some reason.

I'm running version 1.127 of both warband and the module system.

Am I not using the correct version of python? i tried with 2.6 and 2.7 but it didn't seem to matter.

Here's the output from the module system.
Initializing...
variables.txt not found. Creating new variables.txt file
Compiling all global variables...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
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 info_page data...
Exporting scripts...
Exporting mission_template data...
Exporting game menus data...
WARNING: Usage of unassigned global variable: $g_presentation_marshall_selection
_max_renown_3
WARNING: Usage of unassigned global variable: $g_presentation_marshall_selection
_max_renown_3_troop
WARNING: Usage of unassigned global variable: $g_presentation_marshall_selection
_max_renown_3
WARNING: Usage of unassigned global variable: $g_presentation_marshall_selection
_max_renown_3_troop
exporting simple triggers...
exporting triggers...
exporting dialogs...
Checking global variable usages...
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_election_date
WARNING: Global variable never used: g_presentation_lines_to_display_begin
WARNING: Global variable never used: g_presentation_lines_to_display_end
WARNING: Global variable never used: $g_presentation_marshall_selection_max_reno
wn_3
WARNING: Global variable never used: $g_presentation_marshall_selection_max_reno
wn_3_troop
WARNING: Global variable never used: $g_presentation_marshall_selection_max_reno
wn_3
WARNING: Global variable never used: $g_presentation_marshall_selection_max_reno
wn_3_troop
Exporting postfx_params...

______________________________

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

And here's the error ingame


Uploaded with ImageShack.us
 
The warnings when compiling are normal. But you shouldn't get a party ID of 289, there are only 240 parties in native.

Edit: spawned parties have ids higher than 240.
 
Ok, i'm stupid. It seems now that the error may be due to my savegame being somehow screwed. :oops:

Thnx everyone for your help.
 
后退
顶部 底部