Page 7 of 7

Re: open MT-Skin Database

PostPosted: Sun Apr 12, 2015 06:23
by addi
Alt. Tester wrote:Thanks working fine! now I only have on Question left to ask. where is the max byte size upload, part at? since I can't upload my skin on mine but can on yours. and it is 15kb. so I was wondering where can I change it to 50kb? thanks again too.

currently there is no limitation to file-size. the upload.php only checks if it is a valid .png file with a resolution 64x32.
if its not the case, you should get a error message: "ERROR: NOT a valid Skin file." do you get any error message?

Alt. Tester wrote:Edit: Oh and also am I suppose to set the Engine to something for the MySQL? or do MySQL use InnoDB?

InnoDB is a MySql Storage engine like MyIsam. InnoDB is a bit faster for fetching entries than myIsam so i choosed this one. but normaly it should not care.

difficult to say where the error is.Does javascript call the upload funktion? Does the browser sent it to server? Does the server get the file? does the server insert entries to the MySql Database?

Re: open MT-Skin Database

PostPosted: Fri Jun 12, 2015 20:14
by ADFENO
Not sure if you'll pay attention to this post, but since I'm one of the various free software activists, I also consider JavaScript to be software at some point, specially for client-side/browser execution. And I have noticed that a user currently can't use that site without non-free JavaScript. I'm not telling to remove it entirely, just to release it as free software in a way that the machine can read.

We could address this in two ways:

Method 1:

Based on: https://www.gnu.org/philosophy/javascript-trap.html

- Try to remove nontrivial JavaScript, that is, those which: 1. Make AJAX requests, or are loaded along scripts which do such things. 2. Load external scripts dynamically or are loaded with scripts that do so. 3. Define functions or methods and either load an external script (from HTML) or are loaded as such. 4. Use dynamic JavaScript constructs that are difficult to analyze without interpreting the program, or are loaded along with scripts that use such constructs. These include the eval function, calling methods with the square bracket notation, and any other construct than a string literal with methods like Obj.write and Obj.createElement.

- Insert data which tells the user (and non-free JavaScript detection software like GNU LibreJS) the license of the JavaScript being executed, as well as where to get the source code for the current script. Like using the multiline comments "// @source" and "@licstart The following is the entire license notice for the JavaScript code in this page. ... License goes here ... @licend The above is the entire license notice for the JavaScript code in this page." .

- If possible, we could embed the script in the HTML pages through server-side includes, this allows us to make it available through a single line, in all HTML pages, and focus on the JavaScript development, and still load it in all pages, but we must talk to the site host to enable SSI. It's better than rellying on PHP and JavaScript includes.

Method 2 (more drastic):

- Could make the site use only CSS, basic HTML and PHP, without javascript or images for menus or other important buttons. The user could of course have a button to load the HTML5 version of the site.

Re: open MT-Skin Database

PostPosted: Fri Jun 12, 2015 20:31
by rubenwardy
What non free js are you talking about?

addi wrote:The code is aviable as git repo and the licence is lgpl v3

Re: open MT-Skin Database

PostPosted: Fri Jun 12, 2015 21:00
by ADFENO
Hm.... So it seems we just need to add the license and source code in a machine-readable manner.

Respectufully, Adonay.
Have a nice day.

Re: open MT-Skin Database

PostPosted: Sat Jun 13, 2015 10:07
by addi
I added now the information "// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later" to the website.
I hope your machine can read it. (I can not read it :-) ) Im using x3dom libwich is dual licensed under the MIT and GPL licenses. I cannot change their behaviour, may you have to add it to your whitelist.

Re: open MT-Skin Database

PostPosted: Sun Jun 14, 2015 18:40
by ADFENO
Well... Perhaps a direct approach (since JavaScript itself is it's own source), where any JavaScript is executed, we could do:

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
/*
 @licstart  The following is the entire license notice for the
 JavaScript code in this page.

 Copyright (C) YYYY  Developer

 The JavaScript code in this page is free software: you can
 redistribute it and/or modify it under the terms of the GNU
 General Public License (GNU GPL) as published by the Free Software
 Foundation, either version 3 of the License, or (at your option)
 any later version.  The code is distributed WITHOUT ANY WARRANTY;
 without even the implied warranty of MERCHANTABILITY or FITNESS
 FOR A PARTICULAR PURPOSE.  See the GNU GPL for more details.

 As additional permission under GNU GPL version 3 section 7, you
 may distribute non-source (e.g., minimized or compacted) forms of
 that code without the copy of the GNU GPL normally required by
 section 4, provided you include this license notice and a URL
 through which recipients can access the Corresponding Source.

 @licend  The above is the entire license notice
 for the JavaScript code in this page.
*/


Note: The forum probably broke the text indentation.

Respectfully, Adonay.
Have a nice day.

Re: open MT-Skin Database

PostPosted: Tue Jun 16, 2015 13:23
by cd2
+1

Re: open MT-Skin Database

PostPosted: Thu Jul 30, 2015 18:49
by Inocudom

Re: open MT-Skin Database

PostPosted: Fri Aug 07, 2015 00:52
by benrob0329
Maybe its a problem with the u_skinsdb mod, but some skins uploaded by a friend don't show up in the sync...

Re: open MT-Skin Database

PostPosted: Sun Aug 09, 2015 14:49
by addi
are that skins visible on the online webpage?
witch program do you use to sync, the python script (.py) the .exe file or the .sh script?

Re: open MT-Skin Database

PostPosted: Sun Aug 09, 2015 23:12
by benrob0329
The .py script, it syncs everything else. Just not bropower57's skins...

Re: open MT-Skin Database

PostPosted: Sun Nov 15, 2015 15:51
by benrob0329
Anyone know of an MT compatible skin creator? Last time I checked Miners Need Cool Shoes was giving weirdly formated textures...

Re: open MT-Skin Database

PostPosted: Sun Nov 15, 2015 16:34
by rubenwardy
You need a skin editor which can edit older than MC 1.8 skins. Maybe an old version of the editor you mention.

Re: open MT-Skin Database

PostPosted: Wed Nov 25, 2015 23:17
by bbaez
Just started creating skins and ran into the issue I think was last reported. So MT uses the first 64x32 and not what the new MC skins editors are creating that are 64x64? This was racking my brain since found no mention of it after searching the web.

Thanks

Re: open MT-Skin Database

PostPosted: Wed Nov 25, 2015 23:23
by bbaez
Of course, once I post I find a helpful page. This explains the differences between the different Minecraft skin formats.

http://minecraft.gamepedia.com/Skin

Re: open MT-Skin Database

PostPosted: Fri Nov 27, 2015 18:31
by Hybrid Dog
Using imagemagick, you could make a mc→mt skin converter.

Re: open MT-Skin Database

PostPosted: Wed Mar 30, 2016 21:43
by TG-MyinaWD
Can you make this into a .zip trying add to my site and can't open .7z atm.

Re: open MT-Skin Database

PostPosted: Sun Apr 03, 2016 04:16
by addi
Sorry for my late response.
Here is he actual SkinDB is as .zip in attachment

Re: open MT-Skin Database

PostPosted: Sun Apr 10, 2016 13:10
by prof-turbo
This database is really cool, but the problem is it contains too much garbarge. It's a problem since mods like u_skins don't check what skins it contains and just use them all (well ok that's more like u_skins problem)

Re: open MT-Skin Database

PostPosted: Sun Apr 10, 2016 15:54
by addi
Yes, thats sadly true. I tried to solve that issue with the tags-system. My plan was to add tags like "Human", "Animal", "Mob", "withCape", "fromMinecraft", "Medival", ...
Then the fetching tool could only fetch "Human" skins, or "Human or Animal" but I had not the time to finisch it.
If somebody could finish it for me I would be very grateful.

Re: open MT-Skin Database

PostPosted: Sun Apr 10, 2016 16:45
by Hybrid Dog
prof-turbo wrote:This database is really cool, but the problem is it contains too much garbarge. It's a problem since mods like u_skins don't check what skins it contains and just use them all (well ok that's more like u_skins problem)

sorry for the nude Sam skin

Re: open MT-Skin Database

PostPosted: Mon Apr 11, 2016 16:21
by prof-turbo
It's more a problem with monochromatic skins...

I find your sam really sexy

Re: open MT-Skin Database

PostPosted: Thu Jun 02, 2016 11:59
by TG-MyinaWD
I successfully installed the script and SQL database.

Now, only question is.. How I have no skins? Since there already skins on it.. Really looks like as if the url jut iframe the original site.. So Is there config or something?

Re: open MT-Skin Database

PostPosted: Thu Jun 02, 2016 13:22
by addi
did you change 'var serverAddress = "http://minetest.fensta.bplaced.net";' of main.js line 1 to your server address?

Re: open MT-Skin Database

PostPosted: Thu Jun 02, 2016 13:51
by TG-MyinaWD
Nope. but will fix that now thanks.

Re: open MT-Skin Database

PostPosted: Sun Aug 07, 2016 20:43
by SporeTheSaiyan
I uploaded a skin, but it does not appear on the in-game skins list. Is this some kind of delay?

Re: open MT-Skin Database

PostPosted: Wed Aug 10, 2016 04:51
by addi
Sorry for late answer, I'm on holiday. You may have to ask the server owner to sync the skins.