Don't Starve Together
FireWall (AntiGriefing protection)
Bugs / Suggestions
Tell me about bugs or suggestions here.
< >
Εμφάνιση 1-15 από 32 σχόλια
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.
I've figure out the problem, It doesn't support Moon Walls and Thecelite Walls
Thank you.
I'll see if I can find out what's bugging it.
Thanks!
Also if possible, can you allow admins to destroy any walls? and edit?
Τελευταία επεξεργασία από God; 19 Μαϊ 2015, 7:06
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; 15 Αυγ 2015, 8:11
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.
yes many objects added on workable section can still be hammered, whilst burnable works as charm.
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; 25 Αυγ 2015, 8: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; 25 Αυγ 2015, 15:51
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?
@ 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; 1 Σεπ 2015, 5:25
Αναρτήθηκε αρχικά από Glenn Coco:
@ Mertaan - The mod isn't broken and works perfectly.

Alright, good to hear. *goes back to sleep* ;)
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?
this mod could be ported to dont starve
But the regular Don't Starve is singleplayer so there would be no point....?
< >
Εμφάνιση 1-15 από 32 σχόλια
Ανά σελίδα: 1530 50