- 68
- Posts
- 5
- Years
- Seen Sep 19, 2023
I've been trying to update my game from v17 to v19. I've been uploading all the scripts, so I don't know if that has something to do with it, but it gave me this strange error.
It's in the GameData section of the scripts, but I'm not even sure what this error is. I didn't even touch this GameData script. I think the line that it's trying to get me to fix is in line 62 and 221. 62 simply says: const_set(:DATA, load_data("Data/#{self::DATA_FILENAME}"))
Before that, in line 61, it's: def load
Seems like it has something to do with what it says, but I don't know what to fix.
Then in line 221: Species.load
I really don't understand what it's trying to get me to fix here. But that's just the first few. There's also errors for StartGame and Main. If I could get some help, that would be great, thanks.
Spoiler:
[2022-06-08 19:52:21 -0400]
[Pokémon Essentials version 19.1]
Exception: TypeError
Message: instance of IO needed
Backtrace:
101:GameData:62:in `load'
101:GameData:62:in `load'
101:GameData:62:in `load_data'
101:GameData:62:in `load'
101:GameData:221:in `load_all'
031:StartGame:13:in `initialize'
401:Main:29:in `mainFunctionDebug'
401:Main:18:in `block in mainFunction'
014:Errors:70:in `pbCriticalCode'
401:Main:18:in `mainFunction'
[Pokémon Essentials version 19.1]
Exception: TypeError
Message: instance of IO needed
Backtrace:
101:GameData:62:in `load'
101:GameData:62:in `load'
101:GameData:62:in `load_data'
101:GameData:62:in `load'
101:GameData:221:in `load_all'
031:StartGame:13:in `initialize'
401:Main:29:in `mainFunctionDebug'
401:Main:18:in `block in mainFunction'
014:Errors:70:in `pbCriticalCode'
401:Main:18:in `mainFunction'
It's in the GameData section of the scripts, but I'm not even sure what this error is. I didn't even touch this GameData script. I think the line that it's trying to get me to fix is in line 62 and 221. 62 simply says: const_set(:DATA, load_data("Data/#{self::DATA_FILENAME}"))
Before that, in line 61, it's: def load
Seems like it has something to do with what it says, but I don't know what to fix.
Then in line 221: Species.load
I really don't understand what it's trying to get me to fix here. But that's just the first few. There's also errors for StartGame and Main. If I could get some help, that would be great, thanks.