Modding Q&A [For Quick Questions and Answers]

Users who are viewing this thread

Status
Not open for further replies.
I did passed out but that was only med. Progress, another error:

Traceback (most recent call last):
  File "process_init.py", line 2, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_global_variables.py", line 12, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
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\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Exporting faction data...
Exporting item data...
Traceback (most recent call last):
  File "process_items.py", line 66, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Exporting scene data...
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
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 "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_presentations.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Exporting party_template data...
Traceback (most recent call last):
  File "process_parties.py", line 4, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
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\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_mission_tmps.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_game_menus.py", line 5, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_simple_triggers.py", line 5, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_dialogs.py", line 9, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_global_variables_unused.py", line 3, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Exporting postfx_params...

______________________________

Script processing has ended.
Press any key to exit. . .
 
Knight of calradia said:
I did passed out but that was only med. Progress, another error:

Traceback (most recent call last):
  File "process_init.py", line 2, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_global_variables.py", line 12, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
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\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Exporting faction data...
Exporting item data...
Traceback (most recent call last):
  File "process_items.py", line 66, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Exporting scene data...
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
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 "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_presentations.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Exporting party_template data...
Traceback (most recent call last):
  File "process_parties.py", line 4, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
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\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_mission_tmps.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_game_menus.py", line 5, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_simple_triggers.py", line 5, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_dialogs.py", line 9, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_global_variables_unused.py", line 3, in <module>
    from process_operations import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\process_operations.py", line 22, in <module>
    from module_game_menus import *
  File "C:\Users\OEM\Desktop\M&B Warband\Modules\Coding Course\Module_system 1.1
58\module_game_menus.py", line 14535
    ("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent
Exporting postfx_params...

______________________________

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

Make sure everything lines up with eachother, you're mainly getting indentation errors.
 
Looking at this:

("camp_modding",0,"Select an option:","none",[],
    ^
IndentationError: unexpected indent

The code seems indented as stated above. Try moving it out. (to the left)
 
I did tried that but it doesn't seem to work, and I also deleted the Jik's menu and made my own but it just keep kicking me with this error.

Edit: I solved the problems and now I just have some minor errors but thanks anyway.
 
Knight of calradia said:
] # -----------------------------> move this to the last line of this file

############## MF for testing start ####################
( # ------------------------------> remove this line
("camp_modding",0,"Select an option:","none",[],
[("camp_mod_1",[],"Increase player's renown.",
[(str_store_string, s1, "@Player renown is increased by 100. "),

The IndentationError occurs because the menus list is closed above the first line of the code, so the code's not part of menus list anymore, and python considers it as new real python code line.
 
dunde said:
Knight of calradia said:
] # -----------------------------> move this to the last line of this file

############## MF for testing start ####################
( # ------------------------------> remove this line
("camp_modding",0,"Select an option:","none",[],
[("camp_mod_1",[],"Increase player's renown.",
[(str_store_string, s1, "@Player renown is increased by 100. "),

The IndentationError occurs because the menus list is closed above the first line of the code, so the code's not part of menus list anymore, and python considers it as new real python code line.

I shall try that.
 
Hello,
I am trying to make a new village improvement that increases the time it takes for enemy lords to loot the village, and is more potent than the watch tower. So I looked at the code for the watchtower, but what I see I don't understand:

Code:
 (party_slot_eq, ":village_no", slot_center_has_watch_tower, 1),
               (val_mul, ":raid_progress_increase", 2),
               (val_div, ":raid_progress_increase", 3),

Can someone explain to me what ":raid_progress_increase" means?
Thank you.
 
It indicates the raiding speed. BTW it says it increases the time it takes to finish looting by 50% in the details script anyway. You can put something like this right below it:
[...]
            (try_begin),
              (party_slot_eq, ":village_no", slot_center_has_watch_tower, 1),
              (val_mul, ":raid_progress_increase", 2),
              (val_div, ":raid_progress_increase", 3),
            (try_end),
###################################
            (try_begin),
              (party_slot_eq, ":village_no", slot_center_has_[insert the name of your improvement here], 1), #you need to add the slot first
              (val_div, ":raid_progress_increase", 2),
            (try_end),
###################################
[...]
 
@Knight of calradia let me tell you some things that most of the users active here would tell you, but they don't because they would appear as bad users: don't make double or triple posts, it is not a chat box! If someone didn't replayed to your problem in 1-2-3-hours or half a day, that doesn't mean that you need to post the same thing again. If you want your problem resolved, post a damn piece of code that is causing the error or more details that could make us to determine the possible cause of the problem, if not, simply don't ask for help because you are getting annoying.
3 comments above your's
Somebody said:
Well post the code instead of posting more crap error messages without context.
 
The_dragon said:
@Knight of calradia let me tell you some things that most of the users active here would tell you, but they don't because they would appear as bad users: don't make double or triple posts, it is not a chat box! If someone didn't replayed to your problem in 1-2-3-hours or half a day, that doesn't mean that you need to post the same thing again. If you want your problem resolved, post a damn piece of code that is causing the error or more details that could make us to determine the possible cause of the problem, if not, simply don't ask for help because you are getting annoying.
3 comments above your's
I agree.
 
He's a scener for Perisno.

Knight: All I can say is take a look at the files before asking, and when asking, post your code as well as the errors.

Example:
Knight of calradia said:
  ["captain_hook","Captain_Hook","Captain_Hook", tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_gloves|tf_guarantee_helmet,scn_town_1_tavern,reserved,fac_neutral,
    [itm_hilarious_mongo],[itm_mongolian_manga],[itm_khergit_guard_boots],[itm_khergit_guard_helmet],[itm_lamellar_gauntlets],
def_attrib|agi_18|int_12|cha_18|level(36),wp(350),knows_tracker_npc,mercenary_face_1,mercenary_face_2],

You don't need to ask for this. Take a look at Native troop code, and you can easily find the problem.
 
Hey there. I got a bit of a problem. I have paused my mod for quite a long time while I relocated and now I am trying to make it work on a new machine. The problem is my module system is v1.153 while the latest download for the game (Warband) is v1.158. So, where can I find the previous version download? It seems to me it's not on the website downloads anymore.

Thanks in advance.
 
Dawiduh said:
Hey there. I got a bit of a problem. I have paused my mod for quite a long time while I relocated and now I am trying to make it work on a new machine. The problem is my module system is v1.153 while the latest download for the game (Warband) is v1.158. So, where can I find the previous version download? It seems to me it's not on the website downloads anymore.

Thanks in advance.
You might need to modify the URL manually, for example, change the url of the download from 1.158 -> 1.153.
 
Status
Not open for further replies.
Back
Top Bottom