[Mod] Simple Skins [0.7] [simple_skins]

User avatar
TenPlus1
Member
Posts: 2839
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Post

Today's 0.4 release no longer requires Inventory Plus mod to work but will use it if available, instead the /skin command can be used to select your player texture :)

Also server admin can set custom skins by using the /setskin <player> <skin number> command. Note: custom skins are typically numbered 900 and above so the GUI does not see them for normal players to choose from...

User avatar
Samson1
Member
Posts: 94
Joined: Wed Apr 01, 2015 19:41
IRC: Samson1
In-game: Samson1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by Samson1 » Post

do you think you could make this mod compatible with this mod(http://forum.minetest.net/viewtopic.p...)?

It's just that I have had to remake the buttons to hide them, It would be so good if you could! Nice mod.
Last edited by Samson1 on Tue Nov 06, 2018 15:45, edited 1 time in total.

User avatar
TenPlus1
Member
Posts: 2839
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Post

samson1: the address you pasted doesnt lead anywhere, could you repost it...

User avatar
GunshipPenguin
Member
Posts: 94
Joined: Tue Jan 28, 2014 00:38
GitHub: GunshipPenguin
IRC: GunshipPenguin
In-game: GunshipPenguin
Location: Vancouver, BC

Re: [Mod] Simple Skins [0.4] [simple_skins]

by GunshipPenguin » Post

I believe I've found a crash bug.

To replicate, use the /skin command to open the skin selection formspec then hold down either the up arrow or down arrow key to quickly move through all the available skins. The game crashes for me with this output.

Code: Select all

2015-08-23 12:29:17: ACTION[main]:         .__               __                   __   
2015-08-23 12:29:17: ACTION[main]:   _____ |__| ____   _____/  |_  ____   _______/  |_ 
2015-08-23 12:29:17: ACTION[main]:  /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
2015-08-23 12:29:17: ACTION[main]: |  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  |  
2015-08-23 12:29:17: ACTION[main]: |__|_|  /__|___|  /\___  >__|  \___  >____  > |__|  
2015-08-23 12:29:17: ACTION[main]:       \/        \/     \/          \/     \/        
2015-08-23 12:29:17: ACTION[main]: World at [/home/rhys/Desktop/minetest-0.4.13/bin/../worlds/asdfewf]
2015-08-23 12:29:17: ACTION[main]: Server for gameid="minetest" listening on 0.0.0.0:54598.
2015-08-23 12:29:18: ACTION[ServerThread]: singleplayer [127.0.0.1] joins game. 
2015-08-23 12:29:18: ACTION[ServerThread]: singleplayer joins game. List of players: singleplayer
2015-08-23 12:29:18: ACTION[main]: Irrlicht: Could not open file of texture: character.png
2015-08-23 12:29:18: ACTION[main]: Irrlicht: Could not open file of texture: character.png
2015-08-23 12:29:32: ERROR[main]: ServerError: Runtime error from mod 'simple_skins' in callback environment_Step(): ...esktop/minetest-0.4.13/bin/../mods/simple_skins/init.lua:118: attempt to concatenate a nil value
2015-08-23 12:29:32: ERROR[main]: stack traceback:
2015-08-23 12:29:32: ERROR[main]:       ...esktop/minetest-0.4.13/bin/../mods/simple_skins/init.lua:118: in function 'update_player_skin'
2015-08-23 12:29:32: ERROR[main]:       ...esktop/minetest-0.4.13/bin/../mods/simple_skins/init.lua:167: in function 'func'
2015-08-23 12:29:32: ERROR[main]:       ...hys/Desktop/minetest-0.4.13/bin/../builtin/game/misc.lua:18: in function 'update_timers'
2015-08-23 12:29:32: ERROR[main]:       ...hys/Desktop/minetest-0.4.13/bin/../builtin/game/misc.lua:50: in function <...hys/Desktop/minetest-0.4.13/bin/../builtin/game/misc.lua:38>
2015-08-23 12:29:32: ERROR[main]:       ...Desktop/minetest-0.4.13/bin/../builtin/game/register.lua:355: in function <...Desktop/minetest-0.4.13/bin/../builtin/game/register.lua:335>
2015-08-23 12:29:32: ACTION[ServerThread]: singleplayer leaves game. List of players:
I was using minetest 0.4.13 stable and the 0.4.13 tag of minetest_game. No other mods besides simple_skins and the ones in minetest_game were installed when this bug occurred.

User avatar
TenPlus1
Member
Posts: 2839
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Post

GunshipPenguin: Bug has been fixed :) thanks for reporting it...

LaraWonder
New member
Posts: 3
Joined: Sat Jan 23, 2016 12:16

Re: [Mod] Simple Skins [0.4] [simple_skins]

by LaraWonder » Post

I'm new, and I have a problem: I've installed the mod and all that stuff, but Mintest's telling me there's an error. I think it's because of the name, I don't know how should I call the archive. Any name?

User avatar
TenPlus1
Member
Posts: 2839
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Post

Make sure that the mod folder name is called 'simple_skins' and it's enabled in the mods tab, any further errors please copy and paste what it says.
Last edited by TenPlus1 on Sat Mar 19, 2016 18:20, edited 1 time in total.

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Simple Skins [0.4] [simple_skins]

by mahmutelmas06 » Post

Could you add preview image which been choosen ?
Like in zeg9's one.
My Mods:

Beverage

User avatar
TenPlus1
Member
Posts: 2839
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Post

The reason simple skins was made is so that no preview images were needed, only the actual skins... The player can press F7 to view themselves before changing skin to see what they look like.

xisd
Member
Posts: 52
Joined: Sun Oct 02, 2016 22:38
GitHub: xisd

Re: [Mod] Simple Skins [0.4] [simple_skins]

by xisd » Post

I like the simple_skin simplicity but I also liked the idea from wardrobe mod to access to the menu via a wardrobe block, so I added some code adapted from wardrobe at the end of simple_skin init.lua (it use texture from wardrobe too)
I attach the file in case it could be useful
and here is the link to wardrobe mod :
viewtopic.php?f=9&t=9680

EDIT : I posted it on github and made a pull request : https://github.com/tenplus1/simple_skins/pull/2
Attachments
simple_skins_wardrobe.tar.gz
simple skin mod plus wardrobe interact node
(29.01 KiB) Downloaded 140 times

User avatar
Napiophelios
Member
Posts: 1018
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod] Simple Skins [0.4] [simple_skins]

by Napiophelios » Post

Latest Minetest engine dev release for Windows
seems to nix all versions of the skins mods for inventory++
with nothing in the debug.txt. The game won't even start.

All other inventory++ mods work fine,
just this one causes a problem.

Unified_inventory and u_skins still work properly.

User avatar
maikerumine
Member
Posts: 1376
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: [Mod] Simple Skins [0.4] [simple_skins]

by maikerumine » Post

Just a heads up:

Code: Select all

2016-11-20 12:08:17: ERROR[Main]: ServerError: Lua: Runtime error from mod 'simple_skins' in callback on_playerReceiveFields(): ...t-0.4.14-e403115-win64\bin\..\mods\simple_skins\init.lua:128: attempt to concatenate a nil value
2016-11-20 12:08:17: ERROR[Main]: stack traceback:
2016-11-20 12:08:17: ERROR[Main]: 	...t-0.4.14-e403115-win64\bin\..\mods\simple_skins\init.lua:128: in function 'update_player_skin'
2016-11-20 12:08:17: ERROR[Main]: 	...t-0.4.14-e403115-win64\bin\..\mods\simple_skins\init.lua:178: in function <...t-0.4.14-e403115-win64\bin\..\mods\simple_skins\init.lua:152>
2016-11-20 12:08:17: ERROR[Main]: 	...st-0.4.14-e403115-win64\bin\..\builtin\game\register.lua:412: in function <...st-0.4.14-e403115-win64\bin\..\builtin\game\register.lua:392>
2016-11-20 12:08:17: ACTION[Server]: maikerumine leaves game. List of players: 
2016-11-20 12:08:37: [#0x2220]: INFO: event_handler(): Ctrl+C, Close Event, Logoff Event or Shutdown Event, shutting down.
This mod is not compatable with newest builds of minetest. I was currently using sfans latest build.
minetest-0.4.14-e403115
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
TenPlus1
Member
Posts: 2839
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Post

maikerimine: Simple Skins works fine with latest version of minetest but the mod security feature messes around with too many mods and causes problems so you have to disable it first... Add this line to minetest.conf:

secure.enable_security = false

User avatar
maikerumine
Member
Posts: 1376
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: [Mod] Simple Skins [0.4] [simple_skins]

by maikerumine » Post

TenPlus1 wrote:maikerimine: Simple Skins works fine with latest version of minetest but the mod security feature messes around with too many mods and causes problems so you have to disable it first... Add this line to minetest.conf:

secure.enable_security = false
Thank you! It works!
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

Minetest_Neko_
Member
Posts: 11
Joined: Thu Nov 17, 2016 01:26
GitHub: GitMee
IRC: Roc
In-game: Neko_

Re: [Mod] Simple Skins [0.4] [simple_skins]

by Minetest_Neko_ » Post

Hello! This looks like a amazing mod!! But one small problem.... I get a error that says failed to load amd run script from /home/---/.minetest/mods/simple_skins/init.lua So therefore i can use the mod, Also Cannot open /home/---/.minetest/mods/simple_skins/init.lua: No such file or directory


Pls help!!

User avatar
TenPlus1
Member
Posts: 2839
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Post

Seems that security is enabled, go to minetest.conf file and add this line:

secure.enable_security = false

User avatar
Pitchumi
New member
Posts: 6
Joined: Sun Nov 20, 2016 14:56
GitHub: Pitchumi
In-game: Pitchumi

Re: [Mod] Simple Skins [0.4] [simple_skins]

by Pitchumi » Post

Really nice work, i like it!

RinLen
Member
Posts: 11
Joined: Fri Dec 16, 2016 01:07
In-game: RinLen

Re: [Mod] Simple Skins [0.4] [simple_skins]

by RinLen » Post

It crashes for me :C

Im on Elementary OS 0.3.2 Freya
whenever i Choose Next on the Inventory it crashes :<

OOPS . sorry . didn't know OP already answered the question >_<

edit: OP may have answered it already. but where do i put the

Code: Select all

security.enable_security = false
??? im on linux btw and have not found it. if game.conf is it then i am afraid it is not working :C

Minetest_Neko_
Member
Posts: 11
Joined: Thu Nov 17, 2016 01:26
GitHub: GitMee
IRC: Roc
In-game: Neko_

Re: [Mod] Simple Skins [0.4] [simple_skins]

by Minetest_Neko_ » Post

Hi~ Okay so i've had a bit of a problem.. I ran into a error that says.:
Failed to load and run script from /home/lozen/.minetest/mods/simple_skins/Init.lua: cannot open /home/lozen/.minetest/mods/simple_skins/init.lua: No such file or directory Check debug.txt for details.
If you're wondering, i checked debug.txt And found nothing, please help me~!

User avatar
TenPlus1
Member
Posts: 2839
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Post

Download latest and re-install to make sure nothing is missing or corrupt. github.com/tenplus1/simple_skins

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Simple Skins [0.4] [simple_skins]

by texmex » Post

Would you consider adding sfinv tab support, TenPlus1?
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
Lone_Wolf
Member
Posts: 2361
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: [Mod] Simple Skins [0.4] [simple_skins]

by Lone_Wolf » Post

Image
Last edited by Lone_Wolf on Wed Jul 26, 2017 01:34, edited 1 time in total.

User avatar
Lone_Wolf
Member
Posts: 2361
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: [Mod] Simple Skins [0.4] [simple_skins]

by Lone_Wolf » Post

texmex wrote:Would you consider adding sfinv tab support, TenPlus1?
That would be great!

User avatar
TenPlus1
Member
Posts: 2839
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Post

sfinv doesnt seem to allow the transparent formspec so you can see your character as you try on skins, that's why inventory_plus isnt required and you can use the /skin command to change your player skin when needed... Will look into it though incase something new crops up.

Lone_Wolf: the error you showed above, the line in question doesn't have a get_modpath statement in it ? are you using a fork or edited version of the mod ?

User avatar
Lone_Wolf
Member
Posts: 2361
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: [Mod] Simple Skins [0.4] [simple_skins]

by Lone_Wolf » Post

TenPlus1 wrote:sfinv doesnt seem to allow the transparent formspec so you can see your character as you try on skins, that's why inventory_plus isnt required and you can use the /skin command to change your player skin when needed... Will look into it though in case something new crops up.

Lone_Wolf: the error you showed above, the line in question doesn't have a get_modpath statement in it ? are you using a fork or edited version of the mod ?
Oops. Just realized my text didn't save. I've got it all fixed now. I had gone and edited some code blindy trying to find an error I didn't understand. (Don't know anything about lua) Turns out I accidentally saved something that wasn't supposed to be there. All good now.
Also: I had to Quit&Relog into my singleplayer server for my custom skin to show.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests