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
373 views
in Crash by (550 points)
closed by

I just updated my PSDK to 26.0 and imported the project to Studio following the tutorials, but I'm getting a crash with no error.log. I have this from the cmd console anyways:

PS: The crash occurs just after the splash.

Here's the cmd text: CMD on google drive

closed with the note: solved

2 Answers

0 like 0 dislike
by (14.8k points)

Hey!

First of all, you have a lot of warnings due to the fact that when you monkey patch a constant (for example EXCLAMATION_PARTICLE_DURATION) you have to do that before each one:

remove_const :EXCLAMATION_PARTICLE_DURATION

EXCLAMATION_PARTICLE_DURATION = xxxx

So if we go to the end of your CMD file, we can find:

Command: Error

Error type : NoMethodError

Error message : undefined method `all' for GameData::Item:Class

D:/POKEMON PRO 25.9/pokemonsdk PRO 26.0 Definitivo/scripts/00103 Bag/00001 PFM/00300 Bag.rb:23:in `initialize'

D:/POKEMON PRO 25.9/pokemonsdk PRO 26.0 Definitivo/scripts/00103 Bag/00001 PFM/00300 Bag.rb:160:in `new'

D:/POKEMON PRO 25.9/pokemonsdk PRO 26.0 Definitivo/scripts/00103 Bag/00001 PFM/00300 Bag.rb:160:in `block in <class:Pokemon_Party>'

So, as we said in the psdk-info channel:

DON'T UPDATE PSDK OR IMPORT YOUR PROJECT IN STUDIO IF YOU DIDN'T FIX YOUR CUSTOM SCRIPTS TO THE NEW WAY OF CALLING DATA

You have to fix your custom scripts before. For now, just follow this documentation and that should be ok: # Data.md · development · pokemonsdk / pokemonsdk · GitLab

0 like 0 dislike
by (28.0k points)
This project is heavilly customized (new pocket, new system tags). Studio cannot handle this right now but I helped making the import to studio and fixing some crashes.
...