You should consider joining our Discord to ask for support.

We created a support channel using the new Discord Forum feature!

You can also visit our new website, it has a help section in English and French

0 like 0 dislike
549 views
in Crash by (520 points)
closed by
*Followed what is on here: https://gitlab.com/pokemonsdk/project/-/commit/634ac10e96b77593b87f9fc44142686344b1431f#c9c44a80ece482c1ad8f55b2a05226895445b318

================================Erreur de script================================

Message :

wrong number of arguments (given 6, expected 7)

Type : ArgumentError

Script : 01450 Systems/00105 Options/00003 GamePlay/00011 Options_Helper.rb (PSDK)

Ligne : 17

Date : 28/11/2021 10:43:44

Game Version : 256

Logiciel : Pokémon SDK 25.8

Script used by eval command :

pick_item(:exp_share, 1)

===================================Backtraces===================================

[33] : 01450 Systems/00105 Options/00003 GamePlay/00011 Options_Helper.rb (PSDK) | ligne 17 add_option

[32] : 01450 Systems/00105 Options/00003 GamePlay/00012 Options Scene.rb (PSDK) | ligne 56 load_options

[31] : 01450 Systems/00105 Options/00003 GamePlay/00012 Options Scene.rb (PSDK) | ligne 55 each

[30] : 01450 Systems/00105 Options/00003 GamePlay/00012 Options Scene.rb (PSDK) | ligne 55 load_options

[29] : 01450 Systems/00105 Options/00003 GamePlay/00012 Options Scene.rb (PSDK) | ligne 17 initialize

[28] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 189 new

[27] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 189 call_scene

[26] : 01450 Systems/00000 General/00100 GamePlay.rb (PSDK) | ligne 219 open_options

[25] : 01450 Systems/00100 Menu/00003 GamePlay/00100 Menu.rb (PSDK) | ligne 226 open_option

[24] : 01450 Systems/00100 Menu/00003 GamePlay/00100 Menu.rb (PSDK) | ligne 182 action

[23] : 01450 Systems/00100 Menu/00003 GamePlay/00100 Menu.rb (PSDK) | ligne 51 update_inputs

[22] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 468 update

[21] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 504 update

[20] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 260 main_process

[19] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 153 main

[18] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 190 call_scene

[17] : 01450 Systems/00000 General/00100 GamePlay.rb (PSDK) | ligne 23 open_menu

[16] : 01450 Systems/00003 Map Engine/00003 GamePlay/00201 Scene_Map calling.rb (PSDK) | ligne 148 call_menu

[15] : 01450 Systems/00003 Map Engine/00003 GamePlay/00201 Scene_Map calling.rb (PSDK) | ligne 71 update_scene_calling

[14] : 01450 Systems/00003 Map Engine/00003 GamePlay/00201 Scene_Map calling.rb (PSDK) | ligne 69 each

[13] : 01450 Systems/00003 Map Engine/00003 GamePlay/00201 Scene_Map calling.rb (PSDK) | ligne 69 update_scene_calling

[12] : 01450 Systems/00003 Map Engine/00003 GamePlay/00200 Scene_Map.rb (PSDK) | ligne 24 update

[11] : 00060 Weather.rb (user) | ligne 130 update

[10] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 260 main_process

[9] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 153 main

[8] : tools/GameLoader/Z_main.rb (PSDK) | ligne 17 <top (required)>

[7] : tools/GameLoader/3_load_extensions.rb (PSDK) | ligne 34 rgss_main

[6] : tools/GameLoader/50_load_game_uncompiled.rb (PSDK) | ligne 32 <top (required)>

[5] : ScriptLoad.rb (PSDK) | ligne 131 require

[4] : ScriptLoad.rb (PSDK) | ligne 131 load_tool

[3] : tools/GameLoader/Z_load_uncompiled.rb (PSDK) | ligne 10 <top (required)>

[2] : ScriptLoad.rb (PSDK) | ligne 131 require

[1] : ScriptLoad.rb (PSDK) | ligne 131 load_tool

[0] : Game.rb (RMXP) | ligne 8 <main>

===================================Fin du log===================================
closed with the note: Problem solved

1 Answer

0 like 0 dislike
by (28.0k points)
selected by
 
Best answer
Are you sure you did not forgot any line in project_identity.yml?
by (520 points)
--- !ruby/object:ScriptLoader::PSDKConfig
game_title: Project Galaxmon
game_version: 256
default_language_code: en
choosable_language_code:
- en
- fr
- es
- it
- de
- kana
choosable_language_texts:
- English
- Français
- Español
- Italiano
- Deutsch
- にほんご
maximum_saves: 3
mouse_skin:
native_resolution: 320x240
window_scale: 2
running_in_full_screen: false
smooth_texture: false
vsync_enabled: true
pokemon_max_level: 100
player_always_centered: false
mouse_disabled: false
tilemap: !ruby/object:ScriptLoader::PSDKConfig::TilemapConfig
  tilemap_class: Yuki::Tilemap
  tilemap_size_x: 22
  tilemap_size_y: 17
  character_tile_zoom: 1
  center_x: 546
  center_y: 416
  maplinker_offset_x: 10
  maplinker_offset_y: 7
  autotile_idle_frame_count: 6
  character_sprite_zoom: 1
options: !ruby/object:ScriptLoader::PSDKConfig::OptionsConfig
  order:
  - :message_speed
  - :message_frame
  - :volume
  - :battle_animation
  - :battle_style
  - :screen_scale
  - :language
  options:
  - - :message_speed
    - :choice
    - - 1
      - 2
      - 3
    - - - :text_get
        - 42
        - 4
      - - :text_get
        - 42
        - 5
      - - :text_get
        - 42
        - 6
    - - :text_get
      - 42
      - 3
    - - :text_get
      - 42
      - 7
    - :message_speed
  - - :message_frame
    - :choice
    - GameData::Windows::MESSAGE_FRAME
    - GameData::Windows::MESSAGE_FRAME_NAMES
    - - :ext_text
      - 9000
      - 165
    - - :ext_text
      - 9000
      - 166
    - :message_frame
  - - :volume
    - :slider
    - :min: 0
      :max: 100
      :increment: 1
    - "%d%%"
    - - :ext_text
      - 9000
      - 29
    - - :ext_text
      - 9000
      - 30
    - :master_volume
  - - :battle_animation
    - :choice
    - - true
      - false
    - - - :text_get
        - 42
        - 9
      - - :text_get
        - 42
        - 10
    - - :text_get
      - 42
      - 8
    - - :text_get
      - 42
      - 11
    - :show_animation
  - - :battle_style
    - :choice
    - - true
      - false
    - - - :text_get
        - 42
        - 13
      - - :text_get
        - 42
        - 14
    - - :text_get
      - 42
      - 12
    - - :text_get
      - 42
      - 15
    - :battle_mode
  - - :screen_scale
    - :choice
    - - 1
      - 2
      - 3
      - 4
      - - - :ext_text
        - 9008
        - 2
      - - :ext_text
        - 9008
        - 3
      - - :ext_text
        - 9008
        - 4
      - - :ext_text
        - 9008
        - 5
    - - :ext_text
      - 9008
      - 1
    - - :ext_text
      - 9008
      - 0
    - :screen_scale
  - - :language
    - :choice
    - PSDK_CONFIG#choosable_language_code
    - PSDK_CONFIG#choosable_language_texts
    - - :ext_text
      - 9000
      - 167
    - - :ext_text
      - 9000
      - 168
    - :language
layout: !ruby/object:ScriptLoader::PSDKConfig::LayoutConfig
  general: !ruby/object:ScriptLoader::PSDKConfig::LayoutConfig::General
    supports_pokemon_number: true
    ttf_files:
    - :id: 0
      :name: arkpixel10
      :size: 10
      :line_height: 16
    - :id: 1
      :name: arkpixel10
      :size: 10
      :line_height: 16
    - :id: 20
      :name: arkpixel10
      :size: 10
      :line_height: 13
    alt_sizes:
    - :id: 2
      :size: 22
      :line_height: 26
    - :id: 3
      :size: 13
      :line_height: 13
  messages:
    :any: !ruby/object:ScriptLoader::PSDKConfig::LayoutConfig::Message
      windowskin:
      name_windowskin:
      line_count: 2
      border_spacing: 2
      default_font: 0
      default_color: 0
      color_mapping: {}
    Battle::Scene: !ruby/object:ScriptLoader::PSDKConfig::LayoutConfig::Message
      windowskin:
      name_windowskin:
      line_count: 2
      border_spacing: 2
      default_font: 0
      default_color: 0
      color_mapping: {}
  choices:
    :any: !ruby/object:ScriptLoader::PSDKConfig::LayoutConfig::Choice
      windowskin:
      border_spacing: 2
      default_font: 0
      default_color: 0
      color_mapping: {}
always_use_form0_for_evolution: false
use_form0_when_no_evolution_data: true
by (28.0k points)
I think there's is an indentation mistake on the following part:
      - 4
      - - - :ext_text
        - 9008
        - 2
      - - :ext_text
Try remove a space before - - - :ext_text
by (520 points)
Thank you. Works like a charm now.
...