Done, it has been removed.Hi @jopojelly @bluemagic123, could you please do me a favor if possible and remove PokeModRed 0.4 from the mod browser? After the security update I needed to publish under a new mod, but it seems they are getting mixed up with each other and won't update properly.
Oh EDIT: I just found a bug I think, it looks like ModItem saveCustomData() is only called for items in the player's inventory. If you put the ModItem in a chest it doesn't save.
Delete Newtonsoft.Json.dll in Terraria's Steam folder.
Hi @jopojelly @bluemagic123, could you please do me a favor if possible and remove PokeModRed 0.4 from the mod browser? After the security update I needed to publish under a new mod, but it seems they are getting mixed up with each other and won't update properly.
Oh EDIT: I just found a bug I think, it looks like ModItem saveCustomData() is only called for items in the player's inventory. If you put the ModItem in a chest it doesn't save.
Fixed it and my mods are finally workingThe game crashes while reloading the example mods. I dont know more either
Sometimes the Mod Browser doesn't work for some amounts of time. It'll start working again later.Any ideas why Terraria is crashing every time I access the modbrowser? I've re-installed Terraria and re-installed Tmodloader over it twice now, ran as administrator and made it an exception in all my anti-viruses and firewalls.
This is because the default behavior is to clone new ModPlayer instances from an existing instance. With arrays, this means that the value of the array is copied and all instances will share the same array, unless you fix it.If there are 2 or more players on a PC, all players’ modPlayer custom data in the form of arrays will be the same as the last one.
I have solved the problem by setting CloneNewInstances to falseThis is because the default behavior is to clone new ModPlayer instances from an existing instance. With arrays, this means that the value of the array is copied and all instances will share the same array, unless you fix it.
You can either override the CloneNewInstances bool and use a constructor or use the Initialize hook to initialize the array to a new array.
Yes. Rename the TModloader or Terraria Executable something other than Terraria.exe. Then add shortcuts for both of them.Question: Is there a way to switch between vanilla and modloader?