Commit Graph

155 Commits

Author SHA1 Message Date
Muhammad Nur Hidayat Yasuyoshi (MNH48.com)
d3fbe3b70f Add Malay translation 2018-02-14 10:07:44 +01:00
bell07
c6ee5c2d5b
Merge pull request #2 from bell07/pr_private_skins
Rework private skins handling
2018-01-07 20:38:34 +01:00
Alexander Weber
6a09746b90 Support for in_inventory_list attribute to hide usable skins in inventory
API-documentation update
2018-01-07 20:30:27 +01:00
Alexander Weber
429874698e Add skins.get_skinlist_with_meta(key, value) and small adjustments 2018-01-07 19:09:52 +01:00
Alexander Weber
7df6363aa0 Rework private skins handling
-add skin:is_applicable_for_player(playername) method
- hide private skins in unified_inventory since not supported
- check player assignment in skins.assign_player_skin() + inherited to skins.set_player_skin()
2018-01-07 14:50:22 +01:00
SmallJoker
71e05bbd68 Rewrite README to proper markdown and better readability 2017-10-02 10:48:57 +02:00
Alexander Weber
7791ac7fdf hide paging if 1 page only 2017-07-24 17:56:09 +02:00
Alexander Weber
e2e2927fe8 moved character_1 to character for overriding the default character 2017-07-24 17:39:16 +02:00
bell07
66043c3875 Update and rename README to README.md 2017-06-21 21:36:30 +02:00
bell07
f3d168cbd6 Create API.md 2017-06-21 21:24:41 +02:00
Alexander Weber
897ac2c97b API enhancements, player-attribute according naming convention 2017-06-19 16:37:38 +02:00
Alexander Weber
57b815f91f changes needed for character_creator support 2017-06-18 23:15:58 +02:00
Alexander Weber
920061c0f1 finished work on private player skins support 2017-06-18 17:56:24 +02:00
Alexander Weber
50e6c9e2d0 added skins.get_skinlist(listname), sfinv prepared for per player skinlist 2017-06-17 00:23:39 +02:00
Alexander Weber
077312257d get unified_inventory working again 2017-06-16 23:27:30 +02:00
Alexander Weber
8d991881aa get the new api working with sfinv and 3d_armor 2017-06-16 23:16:22 +02:00
Alexander Weber
28d28390ce started work on skin_meta_api 2017-06-16 23:00:36 +02:00
Alexander Weber
b267cf2657 renamed players.lua -> api.lua; some cleanups 2017-06-16 21:40:54 +02:00
Alexander Weber
dcd0a744cb renamed to skinsdb 2017-06-15 18:19:47 +02:00
Alexander Weber
2b6a395a49 finished work on sfinv support 2017-06-15 18:06:40 +02:00
Alexander Weber
fa54b0ec62 initial sfinv support 2017-06-15 17:18:51 +02:00
Alexander Weber
39e78a3664 added 3d_armor compatibility 2017-06-15 16:37:43 +02:00
Alexander Weber
0def2bbae1 finalized unified_inventory rework 2017-06-15 16:16:57 +02:00
Alexander Weber
adc435e66b unified inventory related updates 2017-06-15 15:10:59 +02:00
Alexander Weber
e2f90886e1 use players metadata. Enhance the API 2017-06-15 14:16:11 +02:00
Alexander Weber
8713b09348 updated reading skins list 2017-06-15 13:45:42 +02:00
Alexander Weber
2a195a7765 move skins file to world dir 2017-04-10 21:16:54 +02:00
Alexander Weber
11c39cd149 update_skins_db.sh: skip processing of already existing skins
Skip also the downloading of preview images for them
Additional parameter "all" to process all
2017-04-10 14:56:07 +02:00
Alexander Weber
d5df0d5e86 renamed back to "skins" for beter compatibility
make unified_inventory opitonal, move the UI code to an own file
2017-02-09 23:06:25 +01:00
Alexander Weber
3294c65361 cleanup empty meta+textures. Just character_1 at place.
Note, if you like to checkout more skins, have a look to the bell07/mod_with_skins branch
2016-11-10 13:53:44 +01:00
Alexander Weber
4e37471943 add dropdown for skin page selection 2016-11-10 13:31:25 +01:00
Alexander Weber
0ed683210e bugfixes and optimizations in update_skins_db.sh 2016-10-18 23:23:10 +02:00
Alexander Weber
2e6cbb1641 Git cleanup. Fix gitignore
add mod.conf for the mod
2016-09-05 21:26:51 +02:00
Alexander Weber
3ae81cec4b update README after testing the exe file on mono (does not work) 2016-09-05 21:11:24 +02:00
Alexander Weber
8aef2c19ba The u_skins is a mod, not a modpack. Moved u_skins to the root and all updater stuff to the (new) updater directory 2016-09-05 21:02:53 +02:00
Alexander Weber
be8fa19b68 intllib support, ported from not applied pull request to the new version
https://github.com/dmonty2/minetest-u_skinsdb/pull/1
2016-09-05 19:20:16 +02:00
SmallJoker
dd396bfad2 Upload C# source code, raw 2015-09-25 22:46:42 +02:00
user
f389e6bd13 More efficient python script
- Fixed pipelining
- Cleaning everything up
- Don't re-download saved characters
- Add the media to .gitignore

About pipelining:

According to python:
1) you send a request
2) you MUST get response headers for (1) (THIS IS MANDATORY)
3) you send another request
4) you get response body for (2)
5) response headers for (3)
6) response body for (5)

Only two requests can be pipelined. Surely this is an unavoidable, wait no it's just written into the code to error out if you don't do it that way.

according to reality:
1) you send a request
2) you do not get response headers for (1)
3) you repeat steps 1-2 until enough responses are queued
4) you receive those responses as header,body,header,body...

they even name it with a __ so to make it hard to override, but the state can safely go to Idle after a request has sent, whether or not response headers have come in. Sure the connection might close, but then you adjust to not pipeline, and re-send the rest of your requests over a new connection.
2015-09-25 22:43:54 +02:00
SmallJoker
e762283dec Use simple_skins if default selected 2015-04-11 15:27:41 +02:00
SmallJoker
5cb484e251 Add tooltips 2014-11-23 20:00:52 +01:00
SmallJoker
71bebbeb09 Update the stuff 2014-10-08 16:44:46 +02:00
SmallJoker
503b9a0125 StandardError -> Exception
Try to add some python codes [untested]
2014-10-08 12:20:40 +02:00
SmallJoker
a4921558f3 Fix error in update script [untested]
https://forum.minetest.net/viewtopic.php?p=156986#p156986
2014-10-05 18:26:25 +02:00
SmallJoker
8d5709661f Fix dat weird stuff. 2014-08-29 22:02:35 +02:00
SmallJoker
7c25df22dc Add default; do not use character.x 2014-07-30 17:49:51 +02:00
SmallJoker
29332b7cf3 Typo? 2014-07-23 19:09:43 +02:00
SmallJoker
343a08e44a Update - fix some errors 2014-07-23 19:06:46 +02:00
SmallJoker
4b4aa7fd4c Readme update 2014-07-23 13:53:46 +02:00
SmallJoker
88b801b2c0 Add Win32.NET updater 2014-07-23 13:48:56 +02:00
SmallJoker
dc44a8805f Update 2014-07-23 13:46:42 +02:00