• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Fusion Mechanics

Resource Fusion Mechanics 1.1

Rot8er_ConeX

Trainer
Member
Joined
May 17, 2023
Posts
57
Rot8er_ConeX submitted a new resource:

Fusion Mechanics - Fuse Pokémon without adding the individual fusions to the PBS files!

Merry Christmas!

This plugin allows players the ability to fuse any two Pokémon and combine their attributes, without requiring you to include each fusion as its own species within the pokemon.txt PBS file. This is accomplished by the creation of a new FusedPokemon subclass of the Pokemon class, that stores the two Pokémon as attributes, and then calculating its stats dynamically from those pieces.

This plugin does generate sprites on-the-fly when you need them. Rather than using the...

Read more about this resource...
 

dpertierra

Novice
Member
Joined
Feb 20, 2024
Posts
19
For the new sprites have you tried running this command System.reload_cache after generating the image? Just keep in mind this reloads all the game's cache so it might take some time
 

Rot8er_ConeX

Trainer
Member
Joined
May 17, 2023
Posts
57

gamemonkei

Novice
Member
Joined
Dec 31, 2022
Posts
14
I'm getting an error that tells me "Invalid byte sequence in UTF-8" how do I fix?
 

mynameisumbreon

Novice
Member
Joined
Nov 11, 2021
Posts
21
I'm having the same issue. It's only when it tries to compile the plugin files does it give me the error. Something might have the wrong syntax somewhere?
 

Rot8er_ConeX

Trainer
Member
Joined
May 17, 2023
Posts
57
I'm getting an error that tells me "Invalid byte sequence in UTF-8" how do I fix?
Try the download now.

I code in Visual Studio, which doesn't like the Pokémon é. I've changed all instances except two to a regular e now, and the two that I left behind are there for compatibility with Ludicius's animated sprite plugin
 

gamemonkei

Novice
Member
Joined
Dec 31, 2022
Posts
14
Try the download now.

I code in Visual Studio, which doesn't like the Pokémon é. I've changed all instances except two to a regular e now, and the two that I left behind are there for compatibility with Ludicius's animated sprite plugin
I'm still getting the same error. Would you like me to send it?
 

Rot8er_ConeX

Trainer
Member
Joined
May 17, 2023
Posts
57
I'm still getting the same error. Would you like me to send it?
No need. UTF-8 errors exist because Visual Basic doesn't like the word Pokémon - namely, the letter in the exact center.

If you're not using Luduicious's Animated Pokémon System, you can go in and replace the two é with a regular e. One is found in meta.txt (on line 14) and the other in 10_Sprites.rb (on line 89).

If you are using Ludicious's Animated Pokémon System, then you could do what I said above, but that would break the Summary Screen.
 

mynameisumbreon

Novice
Member
Joined
Nov 11, 2021
Posts
21
So, I DO use Ludicious' Animated Pokemon System, and I had to implement your fix to stop the UTF-8 error. I believe their plugin has been updated to no longer contain é. However, I am now receiving an error where it just says it can't open the icon graphic, then crashes. I will keep tinkering, but I'm not 100% sure what's going on.

Edit: I got it to fuse my pokemon, but it still displays no graphic and crashes when I try to look at the pokemon summary. It appears to be with the plugin not properly creating sprites.
 
Last edited:

Rot8er_ConeX

Trainer
Member
Joined
May 17, 2023
Posts
57
So, I DO use Ludicious' Animated Pokemon System, and I had to implement your fix to stop the UTF-8 error. I believe their plugin has been updated to no longer contain é. However, I am now receiving an error where it just says it can't open the icon graphic, then crashes. I will keep tinkering, but I'm not 100% sure what's going on.

Edit: I got it to fuse my pokemon, but it still displays no graphic and crashes when I try to look at the pokemon summary. It appears to be with the plugin not properly creating sprites.
So, normally, the plugin creates the sprite, but the sprite it creates is not in the game's cache so it sends errors to the console but continues playing (which leads to the first reply in this thread).

The bitmap wrapper that Ludicious adds in their Animated Pokemon System is a lot stricter, and causes crashes when you try to load a sprite that doesn't exist and/or isn't cached. I tried to fix it, but because Ludicious uses the official spelling of Pokémon within the name of the plugin, detecting the need for the fix breaks UTF-8.
 
Back
Top