Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: Undefined Method Error?
- Original author: xaasxa
- Original date: September 11, 2024
- Source thread: https://forums.rpgmakerweb.com/threads/undefined-method-error.171834/
- Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support
Summary
hii so I've been getting crashes after adding some scripts and I don't exactly understand the tracebacks, if anyone could please help me i'd be very happy, thank u ▼ battle engine:3041:in `show_attack_animation': undefined method `atk_animation_id2' for nil:NilClass, NoMethodError from Scene_Battle:654:in `show_animation' from ▼ battle engine:3104:in `invoke_item'
Archived First Post
hii so I've been getting crashes after adding some scripts and I don't exactly understand the tracebacks, if anyone could please help me i'd be very happy, thank u
▼ battle engine:3041:in `show_attack_animation': undefined method `atk_animation_id2' for nil:NilClass, NoMethodError
from Scene_Battle:654:in `show_animation'
from ▼ battle engine:3104:in `invoke_item'
from ▼ battle engine:3093:in `block (2 levels) in use_item'
from ▼ battle engine:3093:in `times'
from ▼ battle engine:3093:in `block in use_item'
from ▼ battle engine:3089:in `each'
from ▼ battle engine:3089:in `use_item'
from pbt mechanism:701:in `use_item'
from ▼ battle engine:2990:in `execute_action'
from Battle Control:281:in `process_action'
from Battle Control:246:in `update'
from Scene_Base:14:in `main'
from SceneManager:23:in `run'
from Main:10:in `block in <main>'
- Battle Command List:978:in `on_confirm_cancel': undefined method `index' for nil:NilClass, NoMethodError
from Window_Selectable:212:in `call'
from Window_Selectable:212:in `call_handler'
from - Battle Command List:558:in `process_dir4'
from - Battle Command List:547:in `process_handling'
from Window_Selectable:276:in `update'
from Scene_Base: 95:in `block in update_all_windows'
from Scene_Base:93:in `each'
from Scene_Base:93:in `update_all_windows'
from Scene_Base:49:in `update_basic'
from Scene_Battle:56:in `update_basic'
from :2576:in `update_basic'
from PBT Visual:261:in `update_basic'
from Scene_Battle:67:in `update_for_wait'
from Scene_Battle:73:in `block in wait'
from Scene_Battle:73:in `times'
from Scene_Battle:73:in `wait'
from Window_BattleLog:183:in `call'
from Window_BattleLog:183:in `wait'
from Scene_Battle:487:in `turn_start'
from Battle Control:301:in `turn_end'
from pbt mechanism:801:in `turn_end'
from Battle Control:274:in `process_action'
from Battle Control:246:in `update'
from Scene_Base:14:in `main'
from SceneManager:23:in `run'
from Main:10:in `block in <main>'
scripts used
divisionheaven.me
github.com
▼ battle engine:3041:in `show_attack_animation': undefined method `atk_animation_id2' for nil:NilClass, NoMethodError
from Scene_Battle:654:in `show_animation'
from ▼ battle engine:3104:in `invoke_item'
from ▼ battle engine:3093:in `block (2 levels) in use_item'
from ▼ battle engine:3093:in `times'
from ▼ battle engine:3093:in `block in use_item'
from ▼ battle engine:3089:in `each'
from ▼ battle engine:3089:in `use_item'
from pbt mechanism:701:in `use_item'
from ▼ battle engine:2990:in `execute_action'
from Battle Control:281:in `process_action'
from Battle Control:246:in `update'
from Scene_Base:14:in `main'
from SceneManager:23:in `run'
from Main:10:in `block in <main>'
- Battle Command List:978:in `on_confirm_cancel': undefined method `index' for nil:NilClass, NoMethodError
from Window_Selectable:212:in `call'
from Window_Selectable:212:in `call_handler'
from - Battle Command List:558:in `process_dir4'
from - Battle Command List:547:in `process_handling'
from Window_Selectable:276:in `update'
from Scene_Base: 95:in `block in update_all_windows'
from Scene_Base:93:in `each'
from Scene_Base:93:in `update_all_windows'
from Scene_Base:49:in `update_basic'
from Scene_Battle:56:in `update_basic'
from :2576:in `update_basic'
from PBT Visual:261:in `update_basic'
from Scene_Battle:67:in `update_for_wait'
from Scene_Battle:73:in `block in wait'
from Scene_Battle:73:in `times'
from Scene_Battle:73:in `wait'
from Window_BattleLog:183:in `call'
from Window_BattleLog:183:in `wait'
from Scene_Battle:487:in `turn_start'
from Battle Control:301:in `turn_end'
from pbt mechanism:801:in `turn_end'
from Battle Control:274:in `process_action'
from Battle Control:246:in `update'
from Scene_Base:14:in `main'
from SceneManager:23:in `run'
from Main:10:in `block in <main>'
scripts used
Press Turn Battle System
Press Turn Battle System Made by Yami Edited by Archeia and Fomar0153 Patreon Supported! The Press Turn Battle System (PTB) employs the Turn Icon appear in the upper right in either red (correspond…
divisionheaven.me
GitHub - Archeia/YEARepo: Yanfly Engine Ace Repository
Yanfly Engine Ace Repository. Contribute to Archeia/YEARepo development by creating an account on GitHub.
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...