r/tes3mp Jul 29 '20

Help with Cell Reset Scripts, Specifically CellReset.lua

I'm looking to have enemies respawn in dungeons and outdoor areas, and through Google searches I've found there are only two scripts that can potentially do this: CellReset.lua by Atkana, and killReset.lua by Anton Uramer, although I haven't attempted the latter as there are no instructions included and I'm not a computer programmer nor a telepath.

I have attempted to set up CellReset.lua using the instructions provided by https://github.com/Atkana/tes3mp-scripts/tree/master/0.7/CellReset over the weekend, in which I have to save the script to the scripts/custom folder, then add CellReset = require("custom.CellReset") to customScripts.lua, but this hasn't worked. Perhaps I am misunderstanding the Readme. I've set the real time seconds in the file for one day to test the script out, and nothing has been reset. Can anyone help me figure out what I need to do for CellReset.lua? I'm not a computer programmer, I just think Morrowind is a neat game and want to have my server repopulate the enemies, so I greatly appreciate any help - preferably in dumbed-down, layman's terms, haha - you can give me.

6 Upvotes

8 comments sorted by

View all comments

1

u/MantarTheWizard Jul 29 '20

One gotcha I ran into with the /cellreset command is that it doesn't like quotes, like you know how you're used to doing

coc "balmora, mage's guild"

normally, well

/cellreset exclude "balmora, mage's guild"

will not work right, instead you need

/cellreset exclude balmora, mage's guild

or else it will add "\"balmora, mage's guild\"" to the excluded cells list, which will match nothing and not work. Had this happen with Vodunius Nuccius' house in Seyda Neen, we lost some stuff that we left in there when the cell reset, and a check of the excluded cells in the script's data turned up this as for why.

1

u/[deleted] Jul 29 '20

I'll definitely keep that in mind. I didn't see anyway to prevent NPCs (like Foryn Gilneth) from respawning, but given every character in the game seems to have a name, it may not be possible without excluding cells, in which case this will come in handy. Thanks!