Jump to content

Recommended Posts

I've had this issue before and I believe if I try this method again, I'll get the same outcome. Basically, lets say I take the Deerclops' script, which has all of its loot in it. If I take that file, copy it into my mod in corresponding folder, edit some stuff in the copied file and run and enable the mod, then disable it, the loot or whatever I've edited will still be in the game until I reinstall it. How would I make sure that this does not happen? Keep everything in modmain or do something else entirely? How would I know when to write something inside modmain or have a new/copied script in corresponding folder placed with edited/new code information?

You are literally the only person that suffered from this. Ever.

 

And I just did what you said.

1) Make mod. Create scripts/prefabs folder in mod folder.

2) Put deerclops.lua in prefabs folder.

3) Edit loot of deerclops.lua in the mod's prefabs folder.

4) Enable mod.

5) Host server.

6) Kill deerclops, see changed loot.

7) Disconnect.

8) Disable mod.

9) Resume server.

10) Kill deerclops, see loot returned to normal.

 

I dare you to make your mod and upload it here. Break my game.

Ooh I've had something like this happen before.

For me, I just had to restart the game and then disable the mod again (Server's mod list said it was still active, despite me disabling it)

as for what your problem is:

 

lol idk

Tested it and it works just like for you, @DarkXero! I guess it was just me editing the original files accidentally. Thanks for help!

Edited by EuedeAdodooedoe

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...