open MT-Skin Database

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: open MT-Skin Database

by addi » Sun Apr 12, 2015 06:23

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?
 

User avatar
ADFENO
New member
 
Posts: 9
Joined: Wed Jan 02, 2013 14:58
IRC: ADFENO
In-game: AdonayFN

Re: open MT-Skin Database

by ADFENO » Fri Jun 12, 2015 20:14

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.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: open MT-Skin Database

by rubenwardy » Fri Jun 12, 2015 20:31

What non free js are you talking about?

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

User avatar
ADFENO
New member
 
Posts: 9
Joined: Wed Jan 02, 2013 14:58
IRC: ADFENO
In-game: AdonayFN

Re: open MT-Skin Database

by ADFENO » Fri Jun 12, 2015 21:00

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.
 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: open MT-Skin Database

by addi » Sat Jun 13, 2015 10:07

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.
 

User avatar
ADFENO
New member
 
Posts: 9
Joined: Wed Jan 02, 2013 14:58
IRC: ADFENO
In-game: AdonayFN

Re: open MT-Skin Database

by ADFENO » Sun Jun 14, 2015 18:40

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.
 

User avatar
cd2
Member
 
Posts: 552
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
IRC: freenode - cd2 InchraNet - cd
In-game: cd cd2

Re: open MT-Skin Database

by cd2 » Tue Jun 16, 2015 13:23

+1
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: open MT-Skin Database

by Inocudom » Thu Jul 30, 2015 18:49

 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: open MT-Skin Database

by benrob0329 » Fri Aug 07, 2015 00:52

Maybe its a problem with the u_skinsdb mod, but some skins uploaded by a friend don't show up in the sync...
 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: open MT-Skin Database

by addi » Sun Aug 09, 2015 14:49

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?
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: open MT-Skin Database

by benrob0329 » Sun Aug 09, 2015 23:12

The .py script, it syncs everything else. Just not bropower57's skins...
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: open MT-Skin Database

by benrob0329 » Sun Nov 15, 2015 15:51

Anyone know of an MT compatible skin creator? Last time I checked Miners Need Cool Shoes was giving weirdly formated textures...
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: open MT-Skin Database

by rubenwardy » Sun Nov 15, 2015 16:34

You need a skin editor which can edit older than MC 1.8 skins. Maybe an old version of the editor you mention.
 

bbaez
Member
 
Posts: 50
Joined: Wed Jul 09, 2014 15:24

Re: open MT-Skin Database

by bbaez » Wed Nov 25, 2015 23:17

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
Attachments
Hinata.png
Hinata.png (1.49 KiB) Viewed 4946 times
 

bbaez
Member
 
Posts: 50
Joined: Wed Jul 09, 2014 15:24

Re: open MT-Skin Database

by bbaez » Wed Nov 25, 2015 23:23

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
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: open MT-Skin Database

by Hybrid Dog » Fri Nov 27, 2015 18:31

Using imagemagick, you could make a mc→mt skin converter.
 

User avatar
TG-MyinaWD
Member
 
Posts: 355
Joined: Thu May 08, 2014 21:22
GitHub: Maddie-Myina
IRC: Maddie-Myina
In-game: .

Re: open MT-Skin Database

by TG-MyinaWD » Wed Mar 30, 2016 21:43

Can you make this into a .zip trying add to my site and can't open .7z atm.
I'm a Transgender no shame about it.
I prefer to be considered as a "Girl/Lady/Miss/Madam/Female" for now on.
 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: open MT-Skin Database

by addi » Sun Apr 03, 2016 04:16

Sorry for my late response.
Here is he actual SkinDB is as .zip in attachment
Attachments
SkinDB.zip
(1022.05 KiB) Downloaded 129 times
 

User avatar
prof-turbo
Member
 
Posts: 518
Joined: Mon May 07, 2012 17:02

Re: open MT-Skin Database

by prof-turbo » Sun Apr 10, 2016 13:10

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)
 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: open MT-Skin Database

by addi » Sun Apr 10, 2016 15:54

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.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: open MT-Skin Database

by Hybrid Dog » Sun Apr 10, 2016 16:45

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
 

User avatar
prof-turbo
Member
 
Posts: 518
Joined: Mon May 07, 2012 17:02

Re: open MT-Skin Database

by prof-turbo » Mon Apr 11, 2016 16:21

It's more a problem with monochromatic skins...

I find your sam really sexy
 

User avatar
TG-MyinaWD
Member
 
Posts: 355
Joined: Thu May 08, 2014 21:22
GitHub: Maddie-Myina
IRC: Maddie-Myina
In-game: .

Re: open MT-Skin Database

by TG-MyinaWD » Thu Jun 02, 2016 11:59

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?
I'm a Transgender no shame about it.
I prefer to be considered as a "Girl/Lady/Miss/Madam/Female" for now on.
 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: open MT-Skin Database

by addi » Thu Jun 02, 2016 13:22

did you change 'var serverAddress = "http://minetest.fensta.bplaced.net";' of main.js line 1 to your server address?
 

User avatar
TG-MyinaWD
Member
 
Posts: 355
Joined: Thu May 08, 2014 21:22
GitHub: Maddie-Myina
IRC: Maddie-Myina
In-game: .

Re: open MT-Skin Database

by TG-MyinaWD » Thu Jun 02, 2016 13:51

Nope. but will fix that now thanks.
I'm a Transgender no shame about it.
I prefer to be considered as a "Girl/Lady/Miss/Madam/Female" for now on.
 

SporeTheSaiyan
New member
 
Posts: 3
Joined: Mon Sep 16, 2013 19:54

Re: open MT-Skin Database

by SporeTheSaiyan » Sun Aug 07, 2016 20:43

I uploaded a skin, but it does not appear on the in-game skins list. Is this some kind of delay?
 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: open MT-Skin Database

by addi » Wed Aug 10, 2016 04:51

Sorry for late answer, I'm on holiday. You may have to ask the server owner to sync the skins.
 

Previous

Return to Minetest-Related

Who is online

Users browsing this forum: No registered users and 33 guests

cron