As a script above Main. Regardless of where I place it above Main, too. Directly above, or above every script that references it.
Edit: ooh la la, I just found out that BOTH the script AND the plugin were installed... Is removing the plugin as simple as removing the folder for it under /Plugins/? If so, I did that. I've never used plugins before.
The error still happens, sadly. Could you test the exact version I have of Essentials v19.1? Maybe you didn't cover a specific version...
I already tested this in V19.1, and it worked as intended. reread Everything from the original post to and compare it to your game. the nomethod error means the thing being called is "Missing" and I know if the base script is actually in the project it should function properly.
attr_accessor :$game_system.disc
Here's an album showing that I made sure it was done correctly: https://imgur.com/a/3Fvc5qJ
There appear to be no errors with how I pasted everything as well. The error I'm having is the only one left. I've fixed a few errors in your formatting, such as a missing ')' in one of your replacements you say to do. After I did that, I ran into this error.
What I believe the error is saying is that $PokemonTemp cannot access 'disc' in the Game_System class. I tried adding
to the PokemonTemp class, but then I get a syntax error.Code:attr_accessor :$game_system.disc
I am diagnosing this error, and got everything working except for this error:
Code:[Pokémon Essentials version 19.1] [Generation 8 Project v1.0.4] [v19.1 Hotfixes 1.0.1] Exception: NoMethodError Message: undefined method `disc' for nil:NilClass Backtrace: 124:MiscPBSData:104:in `pbLoadMapInfos' 373:Compiler_MapsAndEvents:17:in `import_new_maps' 370:Compiler:809:in `main' 378:Main:31:in `mainFunctionDebug' 378:Main:18:in `block in mainFunction' 015:Errors:70:in `pbCriticalCode' 378:Main:18:in `mainFunction' 378:Main:47:in `block in <main>' 378:Main:46:in `loop' 378:Main:46:in `<main>'
...
This is the affected area of MiscPBSData:
Code:def pbLoadMapInfos $PokemonTemp = PokemonTemp.new if !$PokemonTemp if !$PokemonTemp.mapInfos $PokemonTemp.mapInfos = load_data(sprintf("Data/%sMapInfos.rxdata", $game_system.disc)) end
The affected line is 104 of MiscPBSData.
Edit: What is that line supposed to look like?
you coded that right. I'm unsure how to help you anymore. if you can contact me on discord I might be able to help further
Hi, what was the fix you guys got for this problem, I am having it as well.
Does this script make your secondary disks have map connections and the like as well? I seem to be having trouble getting it working.
if you have two very different map_connections.dat in their proper folder then yes, it should. everything works under the assumption that if you have two very similar projects with identical "Global Data" then placing the "Regional Data" in another disc then it should work properly
We tried to make it work on the latest v19.1 and it didn't work properly, maybe there are some issues that neeeds to be fixed? Im not that good in rgss1 coding so i can't help myself in this situation.
edit: I saw the older threads now and you said it works on 19.1 is it possible to get in contact with you over discord for further help?