Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Particle errors #81

Open
tenplus1 opened this issue Nov 20, 2024 · 1 comment
Open

Particle errors #81

tenplus1 opened this issue Nov 20, 2024 · 1 comment

Comments

@tenplus1
Copy link
Member

tenplus1 commented Nov 20, 2024

When in nether and seeing fumerole particles or breaking magma block, the particles show this error in latest 5.11dev:

ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "")
ERROR[Main]: generateImagePart(): baseime == NUL for part_of_name="[colorize:#FB0:255", cancelling.
ERROR[Main]: generateImage(): Failed to generate "[colorize:#FB09:255"
ERROR[Main]: part of texture "^[colorize:#FB0:255"
ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "^[colorize:#FB0:255")

@Treer
Copy link
Collaborator

Treer commented Dec 7, 2024

Playing with the official releases, it looks like the lua api regression happened somewhere between minetest 5.8 (commit 49ce5a2, Dec 5, 2023) and 5.9 (commit 835dd01, Aug 12), and there's nothing mentioned in the lua_api.md file about it.

Replacing colorize with [fill can solve the issue, but iirc [fill is only available from 5.8 onwards, so it limits backwards compatibility.

Treer added a commit to Treer/nether that referenced this issue Dec 7, 2024
Unfortunately [fill is only available from v5.8 onwards

RROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "")
ERROR[Main]: generateImagePart(): baseime == NUL for part_of_name="[colorize:#FB0:255", cancelling.
ERROR[Main]: generateImage(): Failed to generate "[colorize:#FB09:255"
ERROR[Main]: part of texture "^[colorize:#FB0:255"
ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "^[colorize:#FB0:255")
Treer added a commit to Treer/nether that referenced this issue Dec 7, 2024
Unfortunately [fill is only available from v5.8 onwards

ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "")
ERROR[Main]: generateImagePart(): baseime == NUL for part_of_name="[colorize:#FB0:255", cancelling.
ERROR[Main]: generateImage(): Failed to generate "[colorize:#FB09:255"
ERROR[Main]: part of texture "^[colorize:#FB0:255"
ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "^[colorize:#FB0:255")
Treer added a commit to Treer/nether that referenced this issue Dec 7, 2024
Unfortunately [fill is only available from v5.8 onwards

ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "")
ERROR[Main]: generateImagePart(): baseime == NUL for part_of_name="[colorize:#FB0:255", cancelling.
ERROR[Main]: generateImage(): Failed to generate "[colorize:#FB09:255"
ERROR[Main]: part of texture "^[colorize:#FB0:255"
ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "^[colorize:#FB0:255")
Treer added a commit to Treer/nether that referenced this issue Dec 7, 2024
Somewhere between minetest v5.8 and 5.9, it stopped allowing texture modifiers without a baseimg

ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "")
ERROR[Main]: generateImagePart(): baseime == NUL for part_of_name="[colorize:#FB0:255", cancelling.
ERROR[Main]: generateImage(): Failed to generate "[colorize:#FB09:255"
ERROR[Main]: part of texture "^[colorize:#FB0:255"
ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "^[colorize:#FB0:255")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants