WOLF RPGエディター(ウディタ)/バグ・エラー【サイトトップへ戻る】
■コモンイベント呼び出しが500階層を超えたため…
(更新:2024/05/09)


このようなエラーが表示されましたか?



ショートカット
■エラーの原因
■エラーの原因元を探す
■補足


  
■エラーの原因

このエラーはイベントコマンド【イベントの挿入】多重に実行する事で発生します。



例えば…
■コモン000
■何らかの処理
■イベント挿入:コモン001

■コモン001
■何らかの処理
■イベント挿入:コモン002
■コモン002
■何らかの処理
と言った処理を実行した場合、コモン[000]→[001]→[002]とイベントを呼び出しますが、
コモン[002]の処理が終わったらコモン[001]へ処理が戻り、
コモン[001]の処理が終わったらコモン[000]へ処理が戻ります。

このように呼び出したイベントが終了して呼び出し元のイベントに処理が戻ってくる処理構造の場合は、
今回のエラーは発生しません。



しかし…
■コモン000
■何らかの処理
■イベント挿入:コモン001

■コモン001
■何らかの処理
■イベント挿入:コモン002
■コモン002
■何らかの処理
■イベント挿入:コモン000
と言ったように、コモン[000]→[001]→[002]→[000]→[001]→[002]…とイベントを呼び出し続け、
呼び出し元にイベント処理が戻る事がない処理構造の場合は、今回のエラーが発生します。


▲トップへ戻る▲


  
■エラーの原因元を探す

エラーが発生したあとにファイル「Game_ErrorLog.txt」を開いてください。



ファイル「Game_ErrorLog.txt」を開くと、
以下のようにエラーが発生するまでに呼び出された全てのイベントIDを確認する事ができます。

【エラー】コモンイベント呼び出しが500階層を超えたため、以下のイベントは呼び出されませんでした。

コモンイベント 215 []

処理地点:【マップEv 20 コモンEv 215 行 0 】 <=[ Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 Common215 line0 <- Ev20 line1 ]

--------------------


この「500階層を超えた」のエラーは、同じコモンイベントを複数回呼び出している事が主な原因なので、
上記のように「コモンイベント[215]を何度も呼び出している」と分かれば、
コモンイベント[215]を何度も呼び出さないように改善する事で、エラーが発生しなくなるでしょう。


▲トップへ戻る▲


  
■補足

エラーの原因元を探す時に一時的に「並列実行」を止めたり、イベントコマンドの設定を変更したりする場合は、
作品データの複製品を作成して、複製した作品データでエラーの原因元を探すと良いでしょう。

▼作品フォルダーをコピー&貼り付けして、複製品を作る


複製品ならば、あとで元に戻す作業が必要なくなるので、
イベントを削除したり、大量のデバッグ文を設定したりしても、
制作中の作品データに影響が出る事はありません。


▲トップへ戻る▲

YADOT-WOLFトップ  気紛れな空間へ戻る  メール