Closed Bastrabun closed 4 weeks ago
- After update everyone will have default skin unless we fix that on the database. Could you please add a migration?
The problem here is that the internal name was also ambiguous. To fix this particular issue, we'd have to resort to guesswork, which might result in false-positive matches. If that's an acceptable trade-off, I can provide a patch for that.
- Could you make process_skin_texture public so that other mods can add skins as well?
This should belong into a separate issue. Trivial to add, though.
- (hand property)
This also belongs into a separate issue. Relevant code:
Unfortunately this can be tricky to fix because .
is not an accepted node name character: https://github.com/minetest/minetest/blob/master/doc/lua_api.md?plain=1#L302
I created new issues for 2 and 3, let's continue in this issue exclusively on 1. After update everyone will have default skin unless we fix that on the database. Could you please add a migration?
Since skinsdb writes into modstorage, I could fix on the database, but - just guessing - not many will want to do that. of course, if you detect ambiguity where the guesswork doesn't suffice, a log message during migration will have to do.
2. Could you make process_skin_texture public so that other mods can add skins as well?#1023. The#103_hand
property removes all separators and simply concatenates the text, that again creates ambiguity. Example:character.my_name.my_skin.png
VScharacter.my.name_my_skin.png
, both lead toskinsdb:charactermynamemyskinpng
For my reference 6918