[Mod] Wardrobe [wardrobe]

User avatar
indriApollo
Member
 
Posts: 144
Joined: Fri Sep 26, 2014 11:34
GitHub: indriApollo
IRC: indriApollo
In-game: SudoAptGetPlay

Re: [Mod] Wardrobe [wardrobe]

by indriApollo » Tue Jun 30, 2015 17:22

I made a quick fix for you. Replace the code within wardrobe/init.lua with https://gist.github.com/indriApollo/600 ... d5a5f8623b .
You may also remove the previous patch ( gist8a8669d12b2d2c69400c ) from your mods directory.
I created an issue : https://github.com/prestidigitator/mine ... e/issues/4
Last edited by indriApollo on Tue Jun 30, 2015 19:16, edited 1 time in total.
 

KCoombes
Member
 
Posts: 278
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt or Rudilyn

Re: [Mod] Wardrobe [wardrobe]

by KCoombes » Tue Jun 30, 2015 17:41

The patch is good, the engine no longer crashes when using the wardrobe - now I just have to figure out why it's still doing this:

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
13:37:49: ACTION[main]: |__|_|  /__|___|  /\___  >__|  \___  >____  > |__| 
13:37:49: ACTION[main]:       \/        \/     \/          \/     \/       
13:37:49: ACTION[main]: World at [C:\Minetest\minetest-0.4.12\bin\..\worlds\LandClaim]
13:37:49: ACTION[main]: Server for gameid="minetest" listening on 0.0.0.0:57912.
Unified Inventory. inventory size: 1194
Irrlicht log: PNG warning: Interlace handling should be turned on when using png_read_image
13:38:16: ERROR[main]: generateImage(): Could not load image "small_mithril_ore.png" while building texture
13:38:16: ERROR[main]: generateImage(): Creating a dummy image for "small_mithril_ore.png"
13:38:28: ACTION[ServerThread]: singleplayer [127.0.0.1] joins game.
13:38:28: ACTION[ServerThread]: singleplayer joins game. List of players: singleplayer
13:38:33: ACTION[ServerThread]: lifetimer expired, removed mobs:stone_monster
Irrlicht log: Could not open file of texture: defense_paniki.png
13:38:38: ACTION[ServerThread]: lifetimer expired, removed turtle:seaturtle
13:38:45: ERROR[main]: generateImage(): Could not load image "skin_emerald_princess" while building texture
13:38:45: ERROR[main]: generateImage(): Creating a dummy image for "skin_emerald_princess"
compassgps writing settings
[plants_lib] Stand by, playing out the rest of the aircheck mapblock log
(there are 0 entries)...
[plants_lib] Stand by, playing out the rest of the no-aircheck mapblock log
(there are 0 entries)...
 

User avatar
stu
Member
 
Posts: 737
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11

Re: [Mod] Wardrobe [wardrobe]

by stu » Wed Jul 01, 2015 18:50

indriApollo wrote:I made a quick fix for you. Replace the code within wardrobe/init.lua with https://gist.github.com/indriApollo/600 ... d5a5f8623b .
You may also remove the previous patch ( gist8a8669d12b2d2c69400c ) from your mods directory.
I created an issue : https://github.com/prestidigitator/mine ... e/issues/4

Thank you for your support here, I was sure I had included the support for this mod in multiskin
https://github.com/stujones11/minetest- ... c1e19f3bbf
Maybe I messed something up during the last rebase, there were a lot of conflicts :/

Either way I would like to encourage other skin changing mods to adopt this approach as there are now so many that it's becoming a bit of a nightmare to cater for them all.
 

User avatar
indriApollo
Member
 
Posts: 144
Joined: Fri Sep 26, 2014 11:34
GitHub: indriApollo
IRC: indriApollo
In-game: SudoAptGetPlay

Re: [Mod] Wardrobe [wardrobe]

by indriApollo » Wed Jul 01, 2015 23:24

@stu : you should make an api which allows external skin mods to supply the current skin to your mod and allows to register an update callback when the skin is changed.
That way you can remove mod integration code and leave that to mod maintainers :)
 

User avatar
Faalagorn
New member
 
Posts: 5
Joined: Mon Mar 09, 2015 20:22
GitHub: faalagorn

Re: [Mod] Wardrobe [wardrobe]

by Faalagorn » Tue Nov 17, 2015 04:51

I was having trouble figuring out why after clicking "next" and "prev" buttons the form was closing by using original wardrobe.lua file and not the modified version from dgm5555 and then I figured it was that the buttons were button_exit instead of simply button, so I edited it and it worked.

I never really used github other than downloading source codes, but I made a pull request with the patch (accidentially forking indriApollo's fork, but it shouldn't matter as both are the same revision) to https://github.com/prestidigitator/mine ... d-wardrobe
 

User avatar
jan6
Member
 
Posts: 55
Joined: Wed Dec 02, 2015 17:58
GitHub: jan69
IRC: jan6
In-game: jan6

Re: [Mod] Wardrobe [wardrobe]

by jan6 » Wed Dec 02, 2015 18:32

really cool and very natural!
Pixel art & music 4daWin!
I'm usually late for *great* things...
Growing up on Linux...
I know ,exept what I know...
I have a secret..it's so secret even I don't know what it is
 

User avatar
Faalagorn
New member
 
Posts: 5
Joined: Mon Mar 09, 2015 20:22
GitHub: faalagorn

Re: [Mod] Wardrobe [wardrobe]

by Faalagorn » Wed Mar 02, 2016 17:53

Made a break from minetest, so replying after rather a long time, but I think I didn't post the link to my repo, so here's the patch: https://github.com/Faalagorn/minetest-m ... ee/patch-1
 

sofar
Member
 
Posts: 781
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [Mod] Wardrobe [wardrobe]

by sofar » Thu Mar 03, 2016 01:51

Faalagorn wrote:Made a break from minetest, so replying after rather a long time, but I think I didn't post the link to my repo, so here's the patch: https://github.com/Faalagorn/minetest-m ... ee/patch-1


Please consider moving your mod to [url]minetest-mods.github.io[/url], just in case you need a longer break but are OK with others merging PRs and making sure your mod keeps working in the future without your presence!
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] Wardrobe [wardrobe]

by Don » Thu Mar 03, 2016 02:41

Please consider sofars request. Your mod is very popular and should be maintained. Sofars github is the place for this mod.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [Mod] Wardrobe [wardrobe]

by amadin » Sun Mar 06, 2016 10:46

Will be good if you will add preview for skins.
 

User avatar
AnxiousInfusion
Member
 
Posts: 146
Joined: Sun Aug 02, 2015 05:43
GitHub: AnxiousInfusion[GitLab]
IRC: AnxiousInfusion
In-game: AnxiousInfusion

Re: [Mod] Wardrobe [wardrobe]

by AnxiousInfusion » Sat Aug 20, 2016 05:24

+1 This mod fits my design philosophy in that such a feature should not be crammed into a crowded menu. Rather, a dedicated node to do the job. Greak work!

Edit: Just a note, the "Could not load image while building texture, creating dummy" error seems have to do with the way the .png file is formatted. A downloaded MT compatible skin will cause the error but when I copy/paste the texture over a copy of Minetest's default character.png everything seems to work nicely.
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Wardrobe [wardrobe]

by azekill_DIABLO » Mon Aug 22, 2016 14:09

it may be a missing or not in place file. normally the size doesn't count.
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
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

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

Re: [Mod] Wardrobe [wardrobe]

by xisd » Tue Oct 04, 2016 00:58

I like the idea of a wardrobe node that bring up a change skin interface but I also prefer the simple_skin mod interface so I made a wardrobe node into simple_skin mod ( used texture from this mod and adapted a bit of code from it to put at the end of simple skin mod )
I posted the file in the simple_skin topic
viewtopic.php?f=11&t=9100&start=25#p235311
and ... I hope thats ok to do that
 

User avatar
AnxiousInfusion
Member
 
Posts: 146
Joined: Sun Aug 02, 2015 05:43
GitHub: AnxiousInfusion[GitLab]
IRC: AnxiousInfusion
In-game: AnxiousInfusion

Re: [Mod] Wardrobe [wardrobe]

by AnxiousInfusion » Mon Nov 14, 2016 00:05

I had been using indriApollo's version of wardrobe but wanted to share a simple customization I made in case anyone finds it useful: The skins are displayed next to their respective buttons. Not pretty but it works.

Change the "5" to a "7" in line 17:
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
local fs = "size[7,10]";


Add this line below line 23:
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
      fs = fs.."image[5,"..slot..";2,1;"..skin.."]";


Result:
Image
 

Minetest_Neko_
New member
 
Posts: 9
Joined: Thu Nov 17, 2016 01:26
GitHub: GitMee
IRC: Roc
In-game: Neko_

Re: [Mod] Wardrobe [wardrobe]

by Minetest_Neko_ » Thu Nov 17, 2016 01:32

I've downloaded all those files, by accident, So im going to,see if it works :D I hope it does, Me and my sister have spent hours trying to get these skins mods :3
 

Minetest_Neko_
New member
 
Posts: 9
Joined: Thu Nov 17, 2016 01:26
GitHub: GitMee
IRC: Roc
In-game: Neko_

Re: [Mod] Wardrobe [wardrobe]

by Minetest_Neko_ » Fri Nov 18, 2016 02:32

Hey so i get a error that says ''Something something This thing has disallowed characters only characters [a-z0-9_] Are aloud'' Pls help em fix this, Neko_
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod] Wardrobe [wardrobe]

by Nathan.S » Fri Nov 18, 2016 02:48

Remove the _master from the folder name.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

Previous

Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 37 guests

cron