Page 30 of 35

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Tue Jan 09, 2018 23:25
by GreenXenith
Got a screenshot for ya.
Image
As you can see here, the helmet is visibly under the suit. On the right the suit levels are obviously combining all of them.
The level/heal increases as you add more, while fire and radiation decrease.
Original levels:
Hazmat: Lvl 32.4 Hl 20 Fr 4 Rad 48
Boots: Lvl 13.5 Hl 12 Fr 0 Rad 0
Chestplate: Lvl 18 Hl 12 Fr 0 Rad 0
Helmate: LvL 13.5 Hl 12 Fr 0 Rad 0
Notice I excluded the leggings, because anything after the suit doesn't get added, and putting another piece before the suit removes the suit.
Logging in and out doesn't change anything.
To reproduce this, just put any 3 pieces of armor in the first 3 slots and put the hazmat suit in the 4th (or any of the remaining) slot.

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Wed Jan 10, 2018 19:28
by stu
This may well have been possible with older versions of this mod which you are obviously using. I know this because radiation protection was broken in the current version up until a few minutes ago.

It looks like it must have been broken since at least version 0.4.8 so I'm surprised that no one has complained by now. I guess not many people bother with the technic stuff. I am planning to move technic_armor & hazmat_suit to their own repos at some point, anyway.

I strongly recommend you update to the latest version, even though the minetest form bug still exists, it does not allow you to gain any advantage.

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Wed Jan 10, 2018 19:44
by GreenXenith
Hmmm you are correct. Updating fixed it.
However, I don't know if this was intentional or not;
Image
Also, the faces on the legs/arms on your armor model are mirrored - if I use a minetest skin to make an armor/suit I have to flip some parts to get it to look right.

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Wed Jan 10, 2018 20:04
by stu
You will need to use the current git master version, not the 0.4.10 release tag. This is the bug I just pushed a fix for :)

https://github.com/stujones11/minetest- ... master.zip
GreenDimond wrote: Also, the faces on the legs/arms on your armor model are mirrored - if I use a minetest skin to make an armor/suit I have to flip some parts to get it to look right.
The armor model has always been that way, it was fixed in the MT player model but I did not update the armor to avoid breaking texture-packs and depending mods, so not really something I plan to fix, sorry.

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Mon Jan 15, 2018 21:48
by csirolli
I got an error when trying to play in a world with this mod enabled. (BTW, I just installed it)

Code: Select all

2018-01-15 16:44:05: ERROR[main]: ========== ERROR FROM LUA ===========
2018-01-15 16:44:05: ERROR[main]: Failed to load and run script from 
2018-01-15 16:44:05: ERROR[main]: /home/csirolli/.minetest/mods/minetest-3d_armor-master/3d_armor/init.lua:
2018-01-15 16:44:05: ERROR[main]: ...minetest/mods/minetest-3d_armor-master/3d_armor/init.lua:50: attempt to index field 'settings' (a nil value)
2018-01-15 16:44:05: ERROR[main]: stack traceback:
2018-01-15 16:44:05: ERROR[main]: 	...minetest/mods/minetest-3d_armor-master/3d_armor/init.lua:50: in main chunk
2018-01-15 16:44:05: ERROR[main]: ======= END OF ERROR FROM LUA ========
2018-01-15 16:44:05: ERROR[main]: Server: Failed to load and run /home/csirolli/.minetest/mods/minetest-3d_armor-master/3d_armor/init.lua
2018-01-15 16:44:05: ERROR[main]: ModError: ModError: Failed to load and run /home/csirolli/.minetest/mods/minetest-3d_armor-master/3d_armor/init.lua
2018-01-15 16:44:05: ERROR[main]: Error from Lua:
2018-01-15 16:44:05: ERROR[main]: ...minetest/mods/minetest-3d_armor-master/3d_armor/init.lua:50: attempt to index field 'settings' (a nil value)
2018-01-15 16:44:05: ERROR[main]: stack traceback:
2018-01-15 16:44:05: ERROR[main]: 	...minetest/mods/minetest-3d_armor-master/3d_armor/init.lua:50: in main chunk
2018-01-15 16:44:05: ERROR[main]: Check debug.txt for details.

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Tue Jan 16, 2018 04:52
by bell07
@csirolli, your Minetest version is to old. Please update to the current stable 0.4.16, a lot mods requires them in the meantime.

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Sat Jan 27, 2018 08:45
by Lone_Wolf
Made a mod that adds a /armor command. Will make a Github repo soon
Image
EDIT: https://github.com/LoneWolfHT/3d_armor_mobile

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Tue Jan 30, 2018 19:31
by stu
Nice, thank you for sharing this :)

@bell07 good catch :3

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Tue Jan 30, 2018 23:11
by RSLRedstonier
love this mod
I haven't found any mods that use the 3d armor api to make special armors(except the scuba mod)
I use this mod as a depends for skytest and have mad tons of special armors (most grant different privs while wearing like the wings which grant fly, running boots that grant fast, so on and so on)

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Tue Jan 30, 2018 23:52
by Lone_Wolf
RSLRedstonier wrote:love this mod
I haven't found any mods that use the 3d armor api to make special armors(except the scuba mod)
I use this mod as a depends for skytest and have mad tons of special armors (most grant different privs while wearing like the wings which grant fly, running boots that grant fast, so on and so on)
Ethereal adds crystal armor. Which allows you to swim in lava

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Wed Jan 31, 2018 00:34
by RSLRedstonier
skytest adds neptunium armor that's crystal armor on steroids
its even better than admin armor on basic things like radiation, heal, and prot
not to mention it allows the player to fly, run fast, reduces gravity, no fall damage, no fire damage, no water drowning, and a ton of other things

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Wed Jan 31, 2018 22:01
by stu
RSLRedstonier wrote:love this mod
I haven't found any mods that use the 3d armor api to make special armors(except the scuba mod)
I use this mod as a depends for skytest and have mad tons of special armors (most grant different privs while wearing like the wings which grant fly, running boots that grant fast, so on and so on)
Cool, it's nice to see that servers are making good use of the api, though I would be interested to know how you implemented the armor activated privileges. That was something I found surprisingly non-trivial last time I tried.

Related topic: viewtopic.php?f=5&t=17383

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Wed Jan 31, 2018 22:10
by RSLRedstonier
stu wrote:
RSLRedstonier wrote:love this mod
I haven't found any mods that use the 3d armor api to make special armors(except the scuba mod)
I use this mod as a depends for skytest and have mad tons of special armors (most grant different privs while wearing like the wings which grant fly, running boots that grant fast, so on and so on)
Cool, it's nice to see that servers are making good use of the api, though I would be interested to know how you implemented the armor activated privileges. That was something I found surprisingly non-trivial last time I tried.

Related post: viewtopic.php?f=5&t=17383
0_0
I hade NO clue there was a on equip function
I have had to deal with constantly revoking privs of the players without the armor
and granting it to those with it
using this

Code: Select all

minetest.register_globalstep(function(dtime)
	for _,player in ipairs(minetest.get_connected_players()) do
		local inv = player:get_inventory()
		for i=1, 6 do
			local stack = inv:get_stack("armor", i)
			local item = stack:get_name()
            if item == "skytest:ptd" then
-executed while waering the armor over and over
				return
			else 
-executed while not wearing the armor over and over
end
		end
	end
end)
I many times just wished there was a way to only detect when the armor gets added or removed instead of having to constantly revoke/grant

Re: [Modpack] 3D Armor [0.4.10] [minetest-3d_armor]

Posted: Sun Feb 11, 2018 12:57
by micheal65536
It has come to my attention that there is an item duplication vulnerability in this mod. I consider this a serious vulnerability as this mod is used on a large number of servers, and I urge server owners to update immediately. I have submitted a pull request to the original developers but in the meantime you can get the fixed version from my fork.

More details regarding the vulnerability can be requested via private message.

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Sun Feb 11, 2018 17:39
by stu
Version Update: 0.4.11
  • Allow armor stands to use any item from the fence group by @orbea
  • Auto-refresh missing armor stand entities by @ChimneySwift
  • Add Malay translation by @MuhdNurHidayat
  • Fix registered group level display by @stujones11
  • Fix item duplication vulnerability by @micheal65536
  • Update licenses to current year
  • Move technic_armor & hazmat_suit to separate repos
Special thanks to @micheal65536 for pointing out and fixing a potentially serious vulnerability.

Note that both the MT_0.5.0-dev and multiskin feature branches have also been re-based/patched.

Those using the technic armor or hazmat suit, will now need to install these mods separately to avoid unknown items and missing texture warnings. I apologise for any inconvenience this may cause but it is simply not worth including these when it is clear that very few people actually use them.

Technic Armor | Hazmat Suit

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Wed Feb 14, 2018 22:10
by scottwolff
The response from players I get when I add in mobs but not 3D armor XD

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Fri Feb 16, 2018 10:34
by PolySaken
-

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Sun Feb 25, 2018 11:59
by ektor
I'm sorry if this question already have been answered, but I can't find it.

I have a pb with the formspec.
I use the inventory_plus and I have a big problem : sometimes players see the tabs, and bags are'nt visibles, sometimes we can see the "back" button, and bags already accessibles...

I understand it's in the conf file, but witch conf file, the armor one's or the minetest.conf? And how?
you said in the readme file :
Compatible with sfinv, inventory plus or unified inventory by enabling the appropriate
inventory module, [3d_armor_sfinv], [3d_armor_ip] and [3d_armor_ui] respectively.
Also compatible with [smart_inventory] without the need for additional modules.
How can I choose witch inventory mod the 3d_armor use, please.

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Sun Feb 25, 2018 18:14
by Lone_Wolf
ektor wrote:I'm sorry if this question already have been answered, but I can't find it.

I have a pb with the formspec.
I use the inventory_plus and I have a big problem : sometimes players see the tabs, and bags are'nt visibles, sometimes we can see the "back" button, and bags already accessibles...

I understand it's in the conf file, but witch conf file, the armor one's or the minetest.conf? And how?
you said in the readme file :
Compatible with sfinv, inventory plus or unified inventory by enabling the appropriate
inventory module, [3d_armor_sfinv], [3d_armor_ip] and [3d_armor_ui] respectively.
Also compatible with [smart_inventory] without the need for additional modules.
How can I choose witch inventory mod the 3d_armor use, please.
Delete [3d_armor_sfinv] and [3d_armor_ui]. ui = unified inventory and ip = inventory_plus

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue Feb 27, 2018 11:26
by ektor
Lone_Wolf wrote:Delete [3d_armor_sfinv] and [3d_armor_ui]. ui = unified inventory and ip = inventory_plus
It's what I do in urgence, but the README file explain there is a possibility of configuration. It's what's I want to be able to do :)

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue Feb 27, 2018 11:47
by bell07
Usually only one inventory is used in game. So 3d_armor detects the used inventory and enables the corresponding compatibility module. Therefore no configuration necessary.
There is still an incompatibility in tenplus1/inventory_plus with sfinv, that is minetest_game part.

I created an issue for this now: https://github.com/tenplus1/inventory_plus/issues/4

It's not a 3d_armor fault

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue Feb 27, 2018 16:26
by GreenXenith
I'd like to set an armor texture to a vertical frames animation, but the `gsub` on L229 in the api.lua prevents me. Is there some way I can use minetest.override_item to set `self.textures[name].armor` to the texture I want?
This doesn't work:

Code: Select all

minetest.override_item("mymod:shield_mymod", {
	self.textures[name].armor = {
		{
            name = "mymod_shield_mymod_anim.png",
            animation = {
                type = "vertical_frames",
                aspect_w = 3,
                aspect_h = 3,
                length = 1,
            },
        },
    },)
})

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue Feb 27, 2018 17:26
by ektor
bell07 wrote:Usually only one inventory is used in game. So 3d_armor detects the used inventory and enables the corresponding compatibility module. Therefore no configuration necessary.
There is still an incompatibility in tenplus1/inventory_plus with sfinv, that is minetest_game part.

I created an issue for this now: https://github.com/tenplus1/inventory_plus/issues/4

It's not a 3d_armor fault
Thanks for your answer bell07, but it's the cornernote's inventory_plus I use...

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue Feb 27, 2018 20:59
by bell07
Same issue on the cornernote's version. There is no sfinv disabling implemented so the mod is not compatible to minetest_game

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Mon Mar 12, 2018 12:31
by bell07
ok, tenplus closed the issue without changes. Seems the inventory_plus requires sfinv for creative.
Now I created new issue on 3d_armor site with solution proposal: https://github.com/stujones11/minetest- ... issues/134