SupGamer NL
SupGamer NL
- 6
- Posts
- 8
- Years
- He/Him
- The Netherlands
- Seen May 1, 2024
As the title suggest and states, I have a problem with my fan-game.
For some reason, when I try to compile my game and its plugins this happens:
![[PokeCommunity.com] NoMethodError - undefined method of 'each' for nil:NilClass [PokeCommunity.com] NoMethodError - undefined method of 'each' for nil:NilClass](https://data.pokecommunity.com/attachments/72/72096-15d989eb53129de3c839e83bf87a2609.jpg)
I don't know why it even happened, but it did. Though I have updated both Hotfixes to the latest version and Deluxe Battle Kit too, and that did not work.
Also, here is the error-log;
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.7]
Exception: NoMethodError
Message: undefined method `each' for nil:NilClass
Backtrace:
[Deluxe Battle Kit] [000] Compiler.rb:125:in `block (2 levels) in modify_pbs_file_contents_before_compiling'
[Deluxe Battle Kit] [000] Compiler.rb:106:in `each_key'
[Deluxe Battle Kit] [000] Compiler.rb:106:in `block in modify_pbs_file_contents_before_compiling'
[Deluxe Battle Kit] [000] Compiler.rb:104:in `each'
[Deluxe Battle Kit] [000] Compiler.rb:104:in `modify_pbs_file_contents_before_compiling'
Compiler:985:in `compile_pbs_files'
Compiler:1018:in `compile_all'
Compiler:1092:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
And here is a second 'error'-log;
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.7]
Exception: RuntimeError
Message: Unknown exception when compiling.
Backtrace:
Compiler:1104:in `rescue in main'
Compiler:1031:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
Main:18:in `mainFunction'
Main:45:in `block in <main>'
Main:44:in `loop'
Main:44:in `<main>'
-e:in `eval'
Please, I am in need of help!
P.S: It worked before as normal
For some reason, when I try to compile my game and its plugins this happens:
![[PokeCommunity.com] NoMethodError - undefined method of 'each' for nil:NilClass [PokeCommunity.com] NoMethodError - undefined method of 'each' for nil:NilClass](https://data.pokecommunity.com/attachments/72/72096-15d989eb53129de3c839e83bf87a2609.jpg)
I don't know why it even happened, but it did. Though I have updated both Hotfixes to the latest version and Deluxe Battle Kit too, and that did not work.
Also, here is the error-log;
Spoiler: Error-log
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.7]
Exception: NoMethodError
Message: undefined method `each' for nil:NilClass
Backtrace:
[Deluxe Battle Kit] [000] Compiler.rb:125:in `block (2 levels) in modify_pbs_file_contents_before_compiling'
[Deluxe Battle Kit] [000] Compiler.rb:106:in `each_key'
[Deluxe Battle Kit] [000] Compiler.rb:106:in `block in modify_pbs_file_contents_before_compiling'
[Deluxe Battle Kit] [000] Compiler.rb:104:in `each'
[Deluxe Battle Kit] [000] Compiler.rb:104:in `modify_pbs_file_contents_before_compiling'
Compiler:985:in `compile_pbs_files'
Compiler:1018:in `compile_all'
Compiler:1092:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
And here is a second 'error'-log;
Spoiler: 'error'-log
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.7]
Exception: RuntimeError
Message: Unknown exception when compiling.
Backtrace:
Compiler:1104:in `rescue in main'
Compiler:1031:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
Main:18:in `mainFunction'
Main:45:in `block in <main>'
Main:44:in `loop'
Main:44:in `<main>'
-e:in `eval'
Please, I am in need of help!
P.S: It worked before as normal