Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.override_item("default:nyancat_rainbow", {
tiles = { -- 300ms (from nyan.cat)
{
name = "default_nc_rb_ani.png^[transformR90",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.6,
},
},
--"default_nc_rb.png^[transformR90",
"default_nc_rb.png^[transformR90",
},
})
The animated rainbow texture:
But when l want to test it, minetest crashes and tells me a memory access error (Speicherzugriffsfehler).
lt crashes if l look for the cat in the unified inventory and/or look at it when it's placed.
I tested it with an additional inventory_image in the node definition but it didn't help.
If I remove the "^[transformR90", minetest doesn't crash.
minetest --trace just tells me following:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
12 <- 127.0.0.1:d770, size=85, data= 4f45 7403 0001 17:16:55: INFO[main]: Lazily creating item texture and mesh for "default:nyancat_rainbow"
10 -> 127.0.0.1:9b8d, size=20, data= 4f45 7403 0001 0003 061c 0100 3200 0100 0f09 00000003 061b 0100 4700 1900 0001 f400...
...
12 -> 127.0.0.1:d770, size=bSpeicherzugriffsfehler
My problem is following:
When minetest crashes it doesn't inform me enough about the mistake, it only tells me that it crashed when creating an item texture for "default:nyancat_rainbow". And it doesn't tell me the exact reason for the crash.