Commit Graph

145 Commits

Author SHA1 Message Date
3cf80c9272 skinlist: Allow textures containing '-' characters
Fixes issue #110
Thanks to Bastrabun for the code suggestion
2024-09-28 11:12:31 +02:00
df62f2042d skinlist: avoid 'Too many open files' errors
Due to application-specific file descriptor limits,
the garbage collector cannot close the descriptors in time,
resulting in unexpected file open errors.
2024-07-22 18:41:15 +02:00
b7cd514cea API: make skins.register_skin public (#106) 2024-07-07 18:51:48 +02:00
11bb5bad0e Add migration code to player skins using '.' delimiters (#105)
Previously, the players would have their selected skin reset after renaming
the skin textures to the dot separator. This commit implements skin name
migration to ease the transition for server owners.

See 'skins.__fuzzy_match_skin_name' for a detailed explanation.
2024-06-15 15:16:52 +02:00
71f803e2fb Fix private skin variations not showing up
'player.playername.43.png' skins were not recognized
2024-06-10 18:30:25 +02:00
312780c82e Clean up skin listing (#100)
Supersedes the 'fsep' setting by automatically detecting
the texture name in both, the skin list and the updater
scripts.
New, automatically fetched skins will now always use the
'.' delimiter to avoid player name issues.
In case of ambiguous texture names, a warning is logged.
2024-06-05 17:55:55 +02:00
cd27e24b6f Added Esperanto (eo) translation 2024-01-06 12:26:52 +01:00
58739e9f9f Make command parameters translatable 2024-01-06 12:26:52 +01:00
e1cd937470 Fix typo privat -> private (#94) 2023-12-21 17:08:17 +01:00
616262de4b Update instructions for downloading skins (#93)
Corrected URL and updater instructions.
2023-12-17 10:05:53 +01:00
271c109073 Replace skinsdb API source (#91)
The old API is no longer reachable, thus got replaced.
This also removes the obsolete skin preview download because the mod is capable of generating them automatically.

Co-authored-by: CallMeDax <142984237+CallMeDax@users.noreply.github.com>
2023-09-06 16:39:11 +02:00
d3c7fa71c0 Filename seperator setting to fix #54 (#83)
Adds a filename split seperator setting that lets you choose between old style `_` and `.` because dot is the only char that isn´t allowed in playername but in texturenames.
Default value is `_` to keep it compatible with older versions, while `.` offers a solution to fix #54.
2023-05-10 21:41:35 +02:00
1d1053dbc2 Remove mesh hand node when player exits (#84) 2023-02-15 21:07:27 +01:00
b49907c4b1 Add hand_monoid support (#81) 2023-01-15 14:16:44 +01:00
6db9a55f0c Add compatibility w/ animations of the emote mod (#82) 2023-01-15 14:15:45 +01:00
c0b6f761dc Add portuguese Brazilian language (#76)
Adds to the mod a language that translates to Portuguese
2022-12-15 18:48:51 +01:00
e275159dd0 Add uv wrapped 1.8 hand model (#74) 2022-10-05 21:15:03 +02:00
b769824d24 Add Continuous Integration and LuaCheck (#71)
All warnings have been fixed as well.
2022-06-16 12:06:35 +02:00
03d424fea7 fix hand node not respected the range 2022-03-31 08:14:33 +02:00
c9fa5d92df fix Undeclared global variable "unified_inventory" accessed 2022-03-06 11:51:20 +01:00
af5e6fcecc adjustments from code review 2022-03-06 11:51:20 +01:00
2e39651821 implement skinned 1st person view hand 2022-03-06 11:51:20 +01:00
da820d06cb fix skin list without sort key or name 2022-02-16 10:19:47 +01:00
cf712e5b54 fix skins.set_player_skin call with skin name parameter
this fix the homedecor_wardrobe compatibility
2022-02-15 14:29:45 +01:00
c51905d44b Added russian (ru) translation 2022-02-02 18:58:21 +01:00
b3ea5a9e1f Added ukrainian (uk) translation 2022-02-02 18:58:21 +01:00
e479e8e745 Log player skin changes (#64) 2022-02-02 18:58:06 +01:00
716a9a3f9a fix get_string() on wrong variable 2021-07-02 07:42:10 +02:00
c53158d159 Update to work with Unified Inventory v2
i.e. the formspec v4 rewrite
Requires UI "version-2" tag or commit a7556c50 or later and
and Minetest v5.4.0 or later

This also makes it work properly in UI's "lite" mode.
2021-03-27 16:09:38 +01:00
da6905fd02 Mention i3 support (#55) 2021-01-03 09:36:20 +01:00
8048cb08f1 change default dependency to player_api 2020-09-22 16:03:00 +02:00
77c00a0823 update_skins.py
Remove leading zeros again
2020-09-10 14:25:01 +02:00
8799ba0bd5 updater/update_skins.py: Do not download preview files by default 2020-09-10 14:25:01 +02:00
b5ba66deca api.lua: Fix deprecation warnings 2020-07-29 20:27:09 +02:00
1fcd3c4a8c Add python skin update script (#48) 2020-06-07 13:39:57 +02:00
55704e1657 fix chrash when using /skinsdb set without parameter or /skinsdb list public 2020-05-25 12:15:09 +02:00
ec30267223 Fix corrupted data in Windows systems (#47)
The base64 data from the decoder to the file writer is in binary, using only the "w" flag would work in most unix systems but its incorrect and for all systems with crazy line_feed/Carrier_return or any character conversion the right way to save a binary data is using the "wb" flag.
2020-05-23 08:56:30 +02:00
55dc55f2dd revert texture name parsing change 2020-02-12 08:09:17 +01:00
ada930c099 translate unified_inventory button mouseover text 2020-02-08 19:12:09 +01:00
918df53f3b Autogenerate skin previews and other @GreenDimond changes 2020-02-08 19:12:09 +01:00
664a4a8d81 Add traditional Chinese translation 2020-02-08 18:37:15 +01:00
9525b87c4d move dependencies to mod.conf 2020-01-16 16:50:57 +01:00
abb5422948 Update skinsdb.zh_CN.tr 2020-01-15 07:25:33 +01:00
aa82f804b8 add translation 2020-01-15 07:25:33 +01:00
165c20fcad fix translation for unified_inventory
Take sfinv "Skins" page name translateable
2020-01-14 14:57:45 +01:00
555d682f04 remove MT-0.4 support 2020-01-08 08:07:20 +01:00
e5714f272c fix missed adjustments for MT5 game translation 2020-01-08 08:00:44 +01:00
fa92207f14 MT 5 game translation (#37) 2020-01-08 07:45:05 +01:00
8054293c2c zh_CN: Update translations (#36) 2019-11-19 19:58:45 +01:00
2d39375bc2 Create zh_CN.txt (#35) 2019-11-03 15:53:29 +01:00