It's an issue with Marin's plugin (if you look at the crash log, their plugin is the one crashing). Looking at that plugin's discussion thread, Thunderbirdgames reported the same crash in 2022. If you're not using Arcky's region map or my Berry Core plugins, then removing those dependencies is a fine temporary fix. Otherwise, you may run into issues by removing them.
EDIT: I looked at this to diagnose the problem. Marin's plugin overwrites the Array.swap function in a way that breaks the function if used elsewhere (like when the plugin order is determined by base Essentials).
The original takes the values of an array, then defines the index of those values first:
Marin's doesn't do this, instead treating the array's value as the index, which results in the String not an Integer error.
Marin's Swap:
def swap(index1, index2)
new = self.clone
tmp = new[index2].clone
new[index2] = new[index1]
new[index1] = tmp
return new
end
So yeah, that's the plugin causing the issue, and will be an issue for any plugin that includes the Optional dependency in their plugins. It's not caused by mine.
It's an issue with Marin's plugin (if you look at the crash log, their plugin is the one crashing). Looking at that plugin's discussion thread, Thunderbirdgames reported the same crash in 2022. If you're not using Arcky's region map or my Berry Core plugins, then removing those dependencies is a fine temporary fix. Otherwise, you may run into issues by removing them.
EDIT: I looked at this to diagnose the problem. Marin's plugin overwrites the Array.swap function in a way that breaks the function if used elsewhere (like when the plugin order is determined by base Essentials).
The original takes the values of an array, then defines the index of those values first:
Marin's doesn't do this, instead treating the array's value as the index, which results in the String not an Integer error.
Marin's Swap's Swap:
def swap(index1, index2)
new = self.clone
tmp = new[index2].clone
new[index2] = new[index1]
new[index1] = tmp
return new
end
So yeah, that's the plugin causing the issue, and will be an issue for any plugin that includes the Optional dependency in their plugins. It's not caused by mine.
Berry icons and weeds should both appear by default, but are controlled in the Settings. They should appear once you start planting your own berries (note, these features do not occur with pre-planted berries you define through an event; they must be planted by the player first).
As for the crash, somehow your berry plant has pests but no berry. Not sure how that's happening... but I'll add handling to hopefully not crash when a berry isn't defined.
Do we have to restart the game in order for icons to work on the map? The console keeps saying I don't have the map(region,x,y) defined despite having them defined. Only one of my events actually show on map.
Do we have to restart the game in order for icons to work on the map? The console keeps saying I don't have the map(region,x,y) defined despite having them defined. Only one of my events actually show on map.
Did you save the game after you've entered the map with planted berries, but before you went back and added the map(region,x,y) tag? It's likely the berryplant data has already been saved off with the event without that tag. Short answer: yes you should make a new save file.
You're going to have to give me more info. Can you send me what your Settings look like for the plugin? And also the berry plant data entry in PBS for the berry facing the issue?
You're going to have to give me more info. Can you send me what your Settings look like for the plugin? And also the berry plant data entry in PBS for the berry facing the issue?
Sorry I fix It, I found an existing plugin (Item Find Description) that overwrites the pbPickBerry method, now everything seems to work perfectly thanks!
This section is for the discussion of the tutorials and resources on Eevee Expo. To find tutorials and resources, check out the Tutorial and Resource Manager for optimal navigation.