饥荒联机版

饥荒联机版

FireWall (AntiGriefing protection)
Mertaan Dinosaur  [开发者] 2015 年 3 月 6 日 下午 12:57
Bugs / Suggestions
Tell me about bugs or suggestions here.
< >
正在显示第 1 - 15 条,共 32 条留言
God 2015 年 5 月 18 日 下午 4:21 
It seems I can't get it running on my server, I removed all other mods to see if any of them are conflicting, but still after putting a wall down It still doesn't allow the walls to have infinite health. It seems the mod isn't loading at all or something. I've configured it in the modinfo.lua and ran it again and still nothing.
God 2015 年 5 月 18 日 下午 4:32 
I've figure out the problem, It doesn't support Moon Walls and Thecelite Walls
Mertaan Dinosaur  [开发者] 2015 年 5 月 18 日 下午 4:49 
Thank you.
I'll see if I can find out what's bugging it.
God 2015 年 5 月 18 日 下午 6:02 
Thanks!
Also if possible, can you allow admins to destroy any walls? and edit?
最后由 God 编辑于; 2015 年 5 月 19 日 上午 7:06
TasteeOohs 2015 年 8 月 15 日 上午 8:08 
For anyone interested in protecting statues:


local old_ACTIONMINE = GLOBAL.ACTIONS.MINE.fn
--not act.doer.HasTag(tag)
GLOBAL.ACTIONS.MINE.fn = function(act)
local tag = userid
if act.target and act.target.prefab and (act.target.prefab == 'statuemaxwell' or act.target.prefab == 'statueharp' or act.target.prefab == 'statueglommer') then
if act.doer ~= nil and act.doer:HasTag("player") and act.doer.components.talker then act.doer.components.talker:Say("#NOPE") end
if act.doer ~= nil and not act.doer:HasTag("player") and act.doer.components.talker then act.doer.components.talker:Say("I made this!") end
if act.invobject and act.invobject.components.tool then act.invobject.components.tool:SetAction(GLOBAL.ACTIONS.MINE, Effectiveness2) end
if act.doer ~= nil and act.doer.components.hunger then act.doer.components.hunger:DoDelta(Hunger_Cost) end
return old_ACTIONMINE(act)
else
if act.invobject and act.invobject.components.tool then act.invobject.components.tool:SetAction(GLOBAL.ACTIONS.MINE, 1) end
return old_ACTIONMINE(act)
end

end
最后由 TasteeOohs 编辑于; 2015 年 8 月 15 日 上午 8:11
Gingercook 2015 年 8 月 25 日 上午 7:35 
i guess there is a bug with the mod about pighouses, drying racks and icebox. even tough they are added in workable section, they can be hammered easily without any hunger penalty.
Gingercook 2015 年 8 月 25 日 上午 7:40 
yes many objects added on workable section can still be hammered, whilst burnable works as charm.
Mertaan Dinosaur  [开发者] 2015 年 8 月 25 日 上午 8:42 
i'll update it when i have time.

Might be tomorrow, but no promises.

For those of you that have made custom adjustments, be sure to make a back-up in a notepad file or something so you can copy-paste it back in after the update.

I try to avoid updating because it overwrites personal changes (and because i'm lazy), but i suppose it might be time to fix some things.
最后由 Mertaan Dinosaur 编辑于; 2015 年 8 月 25 日 上午 8:50
Gingercook 2015 年 8 月 25 日 下午 3:50 
one guy told me to edit the modmain.lua's section after,

local old_ACTIONHAMMER = GLOBAL.ACTIONS.HAMMER.fn

Now the objects cannot be hammered but this time, the objects added to the file cannot be hammered down with any amount... I went to godmode used 2 hammer and could not destroy a specific object I added into the file ( I mean according to the definition, eventually it might be hammered down right?)

here is the section that he asked me to edit:

http://pastebin.com/Fm3DiVsC

Thank you for your concern.
最后由 Gingercook 编辑于; 2015 年 8 月 25 日 下午 3:51
Mertaan Dinosaur  [开发者] 2015 年 8 月 25 日 下午 5:32 
There are settings in the mod to increase or decrease the time it takes to hammer things, including an unbreakable setting.

Maybe you accidently turned on that unbreakable setting?
TasteeOohs 2015 年 9 月 1 日 上午 5:16 
@ Gingerbread - I didn't ask you to edit. I offered the custom adjustment I use for my dedicated server as an example. I provided the pastebin so you could add pighouses, drying racks and iceboxes without the author needing to update the mod.

Check the modinfo.lua for

name = "Effectiveness2",
label = "Breakable settings",
options =
{
{description = "x1", data = 1},
{description = "x20", data = 0.02},
{description = "x50", data = 0.05},
{description = "infinity", data = 0}
},
default = 1,
},

If you set it to "infinity" you won't be able to break anything. The pastebin was an example of how easy it was to add additional items and to get the mod more subscribers.


@ Mertaan - The mod isn't broken and works perfectly.
最后由 TasteeOohs 编辑于; 2015 年 9 月 1 日 上午 5:25
Mertaan Dinosaur  [开发者] 2015 年 9 月 1 日 上午 5:38 
引用自 Glenn Coco
@ Mertaan - The mod isn't broken and works perfectly.

Alright, good to hear. *goes back to sleep* ;)
ave 2015 年 10 月 4 日 上午 7:58 
Well, the price of destroying walls is VERY high. Why not make it hard for everyone except the person who put it there? Would that be a bit too hard to make?
Uads 2015 年 12 月 12 日 上午 8:39 
this mod could be ported to dont starve
Mertaan Dinosaur  [开发者] 2015 年 12 月 12 日 上午 8:40 
But the regular Don't Starve is singleplayer so there would be no point....?
< >
正在显示第 1 - 15 条,共 32 条留言
每页显示数: 1530 50