2 participantes

    Problema con el Module_System

    LordGabriel99
    LordGabriel99
    Miliciano
    Miliciano


    Mensajes : 2

    Problema con el Module_System Empty Problema con el Module_System

    Mensaje por LordGabriel99 Miér Mar 30, 2022 11:36 pm

    Hola, llevo varios años jugando al M&B Warband y siempre eh querido crear algun mod, de entre todas las herramientas el Module_System me esta dando bastante problemas, porque no me funciona el build_module.

    La dirección que copie en el module_info.py es la siguiente "D:/Steam/steamapps/common/MountBlade Warband/Modules/Mod de Pruebas".

    Cuando ejecuto el build_module sale el siguiente error:

    Código:
     File "process_init.py", line 5
        print "Initializing..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Initializing...")?
      File "process_global_variables.py", line 23
        add_variable(varb, variable_list, variable_uses)
                                                       ^
    TabError: inconsistent use of tabs and spaces in indentation
      File "process_strings.py", line 24
        print "Exporting strings..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting strings...")?
      File "process_skills.py", line 30
        print "Exporting skills..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting skills...")?
      File "process_music.py", line 21
        print "Exporting tracks..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting tracks...")?
      File "process_animations.py", line 58
        print "Exporting animations..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting animations...")?
      File "process_meshes.py", line 23
        print "Exporting meshes..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting meshes...")?
      File "process_sounds.py", line 49
        print "Exporting sounds..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting sounds...")?
      File "process_skins.py", line 104
        print "Exporting skins..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting skins...")?
      File "process_map_icons.py", line 32
        print "Exporting map icons..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting map icons...")?
      File "process_factions.py", line 27
        print "ERROR faction not found: "+ rel_name
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("ERROR faction not found: "+ rel_name)?
      File "process_items.py", line 60
        print "Exporting item data..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting item data...")?
      File "process_scenes.py", line 12
        print "Exporting scene data..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting scene data...")?
      File "process_troops.py", line 104
        print "Exporting troops data"
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting troops data")?
      File "process_particle_sys.py", line 60
        print "Exporting particle data..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting particle data...")?
      File "process_scene_props.py", line 26
        print "Exporting scene props..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting scene props...")?
      File "process_tableau_materials.py", line 25
        print "Exporting tableau materials data..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting tableau materials data...")?
      File "process_presentations.py", line 27
        print "Exporting presentations..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting presentations...")?
      File "process_party_tmps.py", line 28
        print "Error! NUMBER OF TEMPLATE MEMBERS EXCEEDS 6 " + party_template[0]
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Error! NUMBER OF TEMPLATE MEMBERS EXCEEDS 6 " + party_template[0])?
      File "process_parties.py", line 28
        print "Error: Unable to find menu-id :" + menu_param
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Error: Unable to find menu-id :" + menu_param)?
      File "process_quests.py", line 29
        print "Exporting quest data..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting quest data...")?
      File "process_info_pages.py", line 25
        print "Exporting info_page data..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting info_page data...")?
      File "process_scripts.py", line 34
        print "Exporting scripts..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting scripts...")?
      File "process_mission_tmps.py", line 29
        print "ERROR: Too many item_overrides!"
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("ERROR: Too many item_overrides!")?
      File "process_game_menus.py", line 41
        print "Exporting game menus data..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting game menus data...")?
      File "process_simple_triggers.py", line 19
        print "exporting simple triggers..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("exporting simple triggers...")?
      File "process_dialogs.py", line 95
        print sentence[ipt_token_pos]
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print(sentence[ipt_token_pos])?
      File "process_global_variables_unused.py", line 6
        print "Checking global variable usages..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Checking global variable usages...")?
      File "process_postfx.py", line 26
        print "Exporting postfx_params..."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Exporting postfx_params...")?
    No se pudo encontrar D:\Steam\steamapps\common\MountBlade Warband\Modules\Mod de Pruebas\Module_system 1.171\*.pyc


    Si lo ejecuto como administrador el error es el siguiente:

    Código:
    python: can't open file 'process_init.py': [Errno 2] No such file or directory
    python: can't open file 'process_global_variables.py': [Errno 2] No such file or directory
    python: can't open file 'process_strings.py': [Errno 2] No such file or directory
    python: can't open file 'process_skills.py': [Errno 2] No such file or directory
    python: can't open file 'process_music.py': [Errno 2] No such file or directory
    python: can't open file 'process_animations.py': [Errno 2] No such file or directory
    python: can't open file 'process_meshes.py': [Errno 2] No such file or directory
    python: can't open file 'process_sounds.py': [Errno 2] No such file or directory
    python: can't open file 'process_skins.py': [Errno 2] No such file or directory
    python: can't open file 'process_map_icons.py': [Errno 2] No such file or directory
    python: can't open file 'process_factions.py': [Errno 2] No such file or directory
    python: can't open file 'process_items.py': [Errno 2] No such file or directory
    python: can't open file 'process_scenes.py': [Errno 2] No such file or directory
    python: can't open file 'process_troops.py': [Errno 2] No such file or directory
    python: can't open file 'process_particle_sys.py': [Errno 2] No such file or directory
    python: can't open file 'process_scene_props.py': [Errno 2] No such file or directory
    python: can't open file 'process_tableau_materials.py': [Errno 2] No such file or directory
    python: can't open file 'process_presentations.py': [Errno 2] No such file or directory
    python: can't open file 'process_party_tmps.py': [Errno 2] No such file or directory
    python: can't open file 'process_parties.py': [Errno 2] No such file or directory
    python: can't open file 'process_quests.py': [Errno 2] No such file or directory
    python: can't open file 'process_info_pages.py': [Errno 2] No such file or directory
    python: can't open file 'process_scripts.py': [Errno 2] No such file or directory
    python: can't open file 'process_mission_tmps.py': [Errno 2] No such file or directory
    python: can't open file 'process_game_menus.py': [Errno 2] No such file or directory
    python: can't open file 'process_simple_triggers.py': [Errno 2] No such file or directory
    python: can't open file 'process_dialogs.py': [Errno 2] No such file or directory
    python: can't open file 'process_global_variables_unused.py': [Errno 2] No such file or directory
    python: can't open file 'process_postfx.py': [Errno 2] No such file or directory
    No se pudo encontrar C:\WINDOWS\system32\*.pyc


    No se que podria estar pasando, me descargue e instale el Python 27, pero antes tenia la version 3.5, no se si tendra algo que ver.

    Espero que alguien me pueda ayudar y pido disculpas de antemano por si hay algun problema con la publicación
    Blas de Perifas
    Blas de Perifas
    Miliciano
    Miliciano


    Mensajes : 2

    Problema con el Module_System Empty Re: Problema con el Module_System

    Mensaje por Blas de Perifas Jue Mayo 18, 2023 5:35 pm

    Buenas, estoy teniendo el mismo problema. ¿Lo has solucionado? y si es así, ¿cómo?

    Gracias de todas formas.
    LordGabriel99
    LordGabriel99
    Miliciano
    Miliciano


    Mensajes : 2

    Problema con el Module_System Empty Re: Problema con el Module_System

    Mensaje por LordGabriel99 Vie Sep 15, 2023 4:07 am

    En principio si, basicamente el problema es que aunque tenga instalado Python 2.7 me toma la version 3.8, que ya la tenia con anterioridad, lo que hay que hacer es cambiar de version.

    Contenido patrocinado


    Problema con el Module_System Empty Re: Problema con el Module_System

    Mensaje por Contenido patrocinado


      Fecha y hora actual: Miér Feb 28, 2024 5:47 pm