Vaporeon Character

by Buwwet

This mod adds my favorite Pokémon: Vaporeon, to Factorio with the help of the CharacterModHelper mod. NOTE: This mod does not work by its own, you require a character selector mod such as miniMAXIme or RitnCharacters.

1 year, 5 months ago
1.1 - 2.0
3.82K

b load error

a month ago

Failed to load mods: CharacterModHelper/images.lua:148: This function must be called during data-final-fixes!
stack traceback:
[C]: in function 'error'
CharacterModHelper/images.lua:148: in function 'map_armors_to_char_anims'
CharacterModHelper/data.lua:140: in function 'check_my_prototypes'
vaporeon-character/data.lua:17: in main chunk

I don't know what changed. it used to work fine

a month ago

I don't know what changed. it used to work fine

Sorry for the inconvenience! I had defined all functions provided by CharacterModHelper in data.lua, so modders could see all relevant definitions in one place. However, some mods exploited that by calling function check_my_prototypes() during data or data-updates instead of waiting until data-final-fixes (as pointed out in the documentation). In version 2.0.6, I've made some changes that require the function to be called in data-final-fixes. This change has been documented in the changelog, along with a fix (basically same thing as your error message: call check_my_properties during data-final-fixes).

25 days ago

Got a fix for us!

The Character Mod Helper mod updated and broke the Vaporeon mod here.
Version 2.0.6 of Character Helper Mod is incompatible with our beloved Vaporeon Character mod.

The fix is to download Character Helper Mod versin 2.0.5 (Linked here https://mods.factorio.com/mod/CharacterModHelper/downloads) and replace it your new Character Helper Mod version 2.0.6 with the old version.

25 days ago
(updated 24 days ago)

Got a fix for us!

Why? I've already mentioned the real fix in the last sentence of my previous post: "This change has been documented in the changelog, along with a fix (basically same thing as your error message: call check_my_properties during data-final-fixes."

The fix is to download Character Helper Mod versin 2.0.5 (Linked here https://mods.factorio.com/mod/CharacterModHelper/downloads) and replace it your new Character Helper Mod version 2.0.6 with the old version.

No. The real fix is:

  • Remove the last 2 lines from data.lua
  • Create a new file data-final-fixes.lua with this contents:
    -- Work without a character selector mod (if there is no other working character mod)
    CharModHelper.check_my_prototypes(vaporeon.new_characters["Vaporeon_character_skin"])
    

(Edit: corrected argument of function call.)

17 days ago

Got a fix for us!

Why? I've already mentioned the real fix in the last sentence of my previous post: "This change has been documented in the changelog, along with a fix (basically same thing as your error message: call check_my_properties during data-final-fixes."

The fix is to download Character Helper Mod versin 2.0.5 (Linked here https://mods.factorio.com/mod/CharacterModHelper/downloads) and replace it your new Character Helper Mod version 2.0.6 with the old version.

No. The real fix is:

  • Remove the last 2 lines from data.lua
  • Create a new file data-final-fixes.lua with this contents:
    -- Work without a character selector mod (if there is no other working character mod)
    CharModHelper.check_my_prototypes(vaporeon.new_characters["Vaporeon_character_skin"])
    

(Edit: corrected argument of function call.)

Because idiots like me don't know how to do that. ;-;

17 days ago

Got a fix for us!

Why? …

The fix is to download Character Helper Mod versin 2.0.5 …

No. The real fix is:

Because idiots like me don't know how to do that. ;-;

Go to your mods folder, unzip file vaporeon-character_0.1.8.zip and change to the newly created folder vaporeon-character. Use the text editor of your choice to edit file data.lua and create file data-final-fixes.lua with the specified contents. Restart Factorio! (You don't need to update vaporeon-character_0.1.8.zip: If the same version of a mod is available both as zip file and as unpacked folder, the folder version will be preferred when you start up the game.)

New response