Exilian
Game Design and Project Resources: The Workshops Quarter => Mods, Maps & Game Add-Ons - The Bazaar => M&B Mods - The Explorer's Society => Topic started by: Skull on November 02, 2013, 11:11:49 AM
-
I doubt that anyone here will know how to help me with this,considering that not many people mod M&B around here anymore,but I guess it is worth giving the Exilian a try. ::)
When I try to build my new module,this happens:
Traceback (most recent call last):
File "process_init.py", line 2, in <module>
from process_operations import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_global_variables.py", line 12, in <module>
from process_operations import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
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 "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Exporting faction data...
Traceback (most recent call last):
File "process_items.py", line 4, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Exporting scene data...
Traceback (most recent call last):
File "process_scenes.py", line 15, in <module>
from process_operations import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_troops.py", line 4, in <module>
from module_troops import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_troops.p
y", line 965, in <module>
["kingdom_2_lord", "Faction 2", "Skull", tf_hero, 0,reserved,
fac_kingdom_2,[itm_charger, itm_courtly_outfit, itm_leather_boots,
itm_plate_boots, itm_khergit_guard_armor, itm_gauntlets,
itm_gladius, itm_roman_cavalry_shield, itm_vaegir_mask], knight_
attrib_8,wp(300),knight_skills_8|knows_trainer_7, 0x0000000ec50001400a2269f919de
e11700000000001cc57d0000000000000000, vaegir_face_old_2],
NameError: name 'itm_gladius' is not defined
Exporting particle data...
Traceback (most recent call last):
File "process_scene_props.py", line 7, in <module>
from process_operations import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_tableau_materials.py", line 8, in <module>
from process_operations import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_presentations.py", line 8, in <module>
from process_operations import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Exporting party_template data...
Traceback (most recent call last):
File "process_parties.py", line 6, in <module>
from process_operations import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
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 "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_mission_tmps.py", line 8, in <module>
from process_operations import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_game_menus.py", line 8, in <module>
from process_operations import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_simple_triggers.py", line 5, in <module>
from process_operations import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_dialogs.py", line 9, in <module>
from process_operations import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_global_variables_unused.py", line 3, in <module>
from process_operations import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\process_operati
ons.py", line 13, in <module>
from module_items import *
File "C:\Users\CS2\Downloads\modding Stuff\Module_system 1.158\module_items.py
", line 1236
^
SyntaxError: invalid syntax
Exporting postfx_params...
______________________________
Script processing has ended.
Press any key to exit. . .
The strangest thing is that I didn't even touch most of the module files that are listed here,and I am 100 % sure that the itm gladius is matching with the entry in module_items. :-\
-
What is the exact code of line 1236?
-
What is the exact code of line 1236?
I think it is the end of the file.
["items_end", "Items End", [("shield_round_a",0)], 0, 0, 1, 0, 0],
]
Notepad tells me that these are lines 1234 and 1235. Bellow is line 1236. :-\
-
That means you've missed an opening or closing bracket or " mark out somewhere, or added an extra one, almost certainly (so it's looking at the end of the file for closing the bracket and can't find it). Double-check any entries you've edited recently for correct brackets and quotation marks.
-
I don't think so,I just checked it again,and could not find anything.
Could there be something wrong with the brf files?
Also,note that,for some reason,the faction names won't change their names when I edit them in module_factions and in module_game_menus. Neither does the wellcome message that appears when you make a new character,or the music... :(
-
Isn't there a module_strings you need to edit any of those text items?
Could be a brf issue but I doubt it. Can you send me/attach to a post here the items file?
-
Isn't there a module_strings you need to edit any of those text items?
Could be a brf issue but I doubt it. Can you send me/attach to a post here the items file?
...
(http://4.bp.blogspot.com/-44GZwoRG_mE/UTOoov9-kHI/AAAAAAAAABA/u74ABm-DFhM/s1600/double_facepalm.jpg)
Good lord,I am a idiot. Sorry... :'(
OK,I shall upload it soon...
-
Here it is.
https://mega.co.nz/#!aM0HDAYJ!C9kEClzKmkqBJZOJ-7opujKsVnIsEYmKlHreFrgDMtQ (https://mega.co.nz/#!aM0HDAYJ!C9kEClzKmkqBJZOJ-7opujKsVnIsEYmKlHreFrgDMtQ)
-
Could you also give me a list of added/edited weapons so I don't have to check the whole thing? :P
-
I added Lorica Segmentata,Legion Cavalry Shield,a Gladius and Centurion Hamata.
I also made the Black Armour purchasable.
-
I can't see anything obvious; my best advice is to backup your module_items, revert to the original version temporarily (which should work for obvious reasons), then add each new item back in in turn and see which one triggers the fault.
-
It works! Thanks Jubal! But now I have another problem,a much more bizarre and stupid one,but not dangerous,just annoying... ::)
http://www.exilian.co.uk/forum/index.php?topic=2732.new#new (http://www.exilian.co.uk/forum/index.php?topic=2732.new#new)
Also,note that,in M&B Warband,you cannot edit faction names in module_strings... You have to change the factions file.