• For issues you find with the Switch and Console releases, please follow this link and give as much detail as possible. This is the speediest way to get info to Pipeworks and get a hotfix in the works.
  • 1.4 will bring many changes to the PC version. We strongly advise making plans to back up your worlds and players prior to updating your game. More details here.
  • Begin your search for Journey's End information here and here. Please report bugs and issues for Journey's End here.
  • For issues you find with the Mobile 1.3 update, please follow this link and give as much detail as possible. This is the speediest way to get info to DR Studios to look at your issue. Also, some troubleshooting hints here.

Tool [Patcher] Terraria Tweaker 2 | SUPERCHARGE YOUR TERRARIA! (1.4 compatible!)

ALacKOfLife

Terrarian
I have issues trying to compile with a regular error ("Line 73? error CS0122: 'Microsoft.Xna.Framework.Helpers' is inaccessible due to its protection level.") on the first attempt to compile, and then the weird "System.Attribute" error until I restart the tweaker so I can't compile it period. Was trying to make a quick little suicide button with custom text for the fun of it. Please don't be afraid to tell me why I'm an idiot.
 

Attachments

TiberiumFusion

Official Terrarian

Accessory Tweaks / Persistent Accessory Effect - Building
/ Extendo Grip doesn't work.
Probably Ancient Chisel and other parts of Architect Gizmo Pack also doesn't work (they are more difficult to verify)
through Accessory Tweaks / Persistent Accessory Effect - Original Set / Extendo Grip is working
In my testing, all of the persistent accessories function correctly, including the ones you listed. If you can replicate the issues reliably, please start a conversation with me (using the forums Conversations feature) to share details on the issue.
Is it possible to change stats of Architect Gizmo Pack ? (increasing of range and speed)
You can write a plugin that increases player reach and place speed.
tweak for removing spawn statues drop rate nerf
This is already on my list of suggestions and will probably be in a future update soon.

I have issues trying to compile with a regular error ("Line 73? error CS0122: 'Microsoft.Xna.Framework.Helpers' is inaccessible due to its protection level.") on the first attempt to compile, and then the weird "System.Attribute" error until I restart the tweaker so I can't compile it period. Was trying to make a quick little suicide button with custom text for the fun of it. Please don't be afraid to tell me why I'm an idiot.
As stated by CS0122, Microsoft.Xna.Framework.Helpers is not a public interface and thus you cannot use it in your plugin code.
the weird "System.Attribute" error until I restart the tweaker so I can't compile it period
This one is a head scratcher. You may have an invalid/misconfigured .net install or this result may be the byproduct of code that fails to compile with codedom. Try resolving the first issue, then see if this one goes away.
 

ALacKOfLife

Terrarian
As stated by CS0122, Microsoft.Xna.Framework.Helpers is not a public interface and thus you cannot use it in your plugin code.
Okay now fixed because it was "HHelpers" not "Helpers" and the code compiles successfully, however now when pressing OemPeriod, nothing occurs.
I admit I'm not experienced with it, but I have messed with it in the past and managed to make something similar work with TerrariaPatcher.

EDIT: I realized I didn't enable it, but it seems to still not have worked.
 
Last edited:

Gaelyte

Terrarian
Okay now fixed because it was "HHelpers" not "Helpers" and the code compiles successfully, however now when pressing OemPeriod, nothing occurs.
I admit I'm not experienced with it, but I have messed with it in the past and managed to make something similar work with TerrariaPatcher.

EDIT: I realized I didn't enable it, but it seems to still not have worked.
Make sure to enable both your plugin and the usage of plugins in your tweak list
 

Nancok

Skeletron Prime
Also,
This may have been floating around in the thread lately, but ever since pre 2.3.1405 (plugin update), I've been working on a massive tweaklist (Casually named "Interesting Mod") to somewhat change Terraria. The goal was to "tweak" (pun not intended but sure) some aspects of Terraria so it looks a bit fresh again (Don't get me wrong, Terraria's still great, the point here is to recreate that 'fresh' feeling of playing it for the first time). What I've changed in it was some stuff that we're always used to doing in a vanilla playthrough and just throwing off the player from its routine, causing them to once again improvise it's playstyle to survive (Yeah that description there may look like I'm selling the idea, but it's just necessary to explain stuff). I wouldn't call the 'mod' to be fully fleshed out as a stand-alone mod/Tweaklist, but the Tweaklist can at least "stand up" (analogy not intended but sure) as a functional concept.

The only reason I haven't released it in this post is the plugins that's also in the 'mod'. The big issue here is that some, or as of now most of the plugins are expanded upon the plugins of other plugin authors as well, and I wanted to ask for consent if I could release their respective plugins in the mod. The authors are: @Gaelyte (RecipeHelper) and @Yo-[★]-ur NighTm-[A]-re (Homing Projectiles), as well as @Nancok 's idea (Interchangeable recipes). The initial reason I expanded the mod upon these plugins is because of my lack of complete knowledge for the Terraria assembly, and maybe also for C# in general (not so well with pointers, overloads, or even polymorphism). None of the aforementioned plugins were included for the motive of simply making the mod bigger by simply snatching the authors ideas, the plugins are at some part modified to, at an extent, become unique to the mod itself.
[To the Authors] I hope that we are able to arrange at some kind of agreement or compromise in an event of a conflict, but if you really don't want your plugin/idea to appear at the mod just tell me with a DM. You can also DM me if you want to know details about your specific plugin/idea. (I know this sounds a bit too much to say, but I just want to make this transparent and clear as possible). I hope I'm able to make most of the plugins myself, but as I said, I'm not that good (Currently learning how worldgen and spawn rates work, after that maybe study Tiberium's Complete Weapon example so I could make new items like an actual mod (and probably publish/share a more simpler plugin system to do that)).
I owe the interchangable recipee's idea to imkSushi's mod, as for anyone wanting to use """my plugin""", y'all can pretend it's yours for all i care
 

Gaelyte

Terrarian
Nancok, I don't understand your suggestion
A way of dumping Terraria’s recipes for easy modification with the plugin (specially for using with “ExistingRecipe(result item)” and maybe an example on how a working “replacement” works, for smooth brains like mine)
 

Nancok

Skeletron Prime
Nancok, I don't understand your suggestion
From what i got, you can "edit" an existing vanilla recipee, right? but don't the recipees have an specific ID? or do i just specify the item and the plugin finds the recipee for it on itself?
the example refers to a working recipee replacement to see how a working one would look like, like with the default lava charm recipee
 

Gaelyte

Terrarian
From what i got, you can "edit" an existing vanilla recipee, right? but don't the recipees have an specific ID? or do i just specify the item and the plugin finds the recipee for it on itself?
the example refers to a working recipee replacement to see how a working one would look like, like with the default lava charm recipee
As they're always put in the same order, the vanilla recipe sort of have one, but it would be impractical and unusable for the plugin recipes
 

tony100399

Terrarian
Hi there, ex- terraria patcher user here. Is there a good way to convert some of the plugins to terraria tweaker? I tried just selecting them after putting the files on the plugins folder, but the program finds some problems and doesn't run them.
I attached one of the plugins as an example
 

Attachments

Pigman Δ

Retinazer
Hi there, ex- terraria patcher user here. Is there a good way to convert some of the plugins to terraria tweaker? I tried just selecting them after putting the files on the plugins folder, but the program finds some problems and doesn't run them.
I attached one of the plugins as an example
I think it's something to do with your plugin not using the correct methods
 

TiberiumFusion

Official Terrarian
Hi there, ex- terraria patcher user here. Is there a good way to convert some of the plugins to terraria tweaker? I tried just selecting them after putting the files on the plugins folder, but the program finds some problems and doesn't run them.
I attached one of the plugins as an example
TerrariaPatcher uses TranscendPlugins. Terraria Tweaker 2 uses TTPlugins. You cannot copy and paste code for one system and expect it to work in a completely different one.
Adapting plugins from TerrariaPatcher is very simple (use the documentation) but I will create a tutorial that covers the process in full sometime soon.
 

Nancok

Skeletron Prime
As they're always put in the same order, the vanilla recipe sort of have one, but it would be impractical and unusable for the plugin recipes
So the order doesn't matter for the recipee editor? does just calling a certain item targets the correct recipee automatically? cuz some items have more than 1 recipee to obtain
 

Gaelyte

Terrarian
So the order doesn't matter for the recipee editor? does just calling a certain item targets the correct recipee automatically? cuz some items have more than 1 recipee to obtain
The editor (and deleter) will search and edit every recipe having the given result. If there are two recipes like this, it will edit both. If you want to only edit one, you just have to use AddIngredientCondition
Let's say one use wood and the other not, call this method with wood as an argument, only the recipes using wood will be edited
 

Pigman Δ

Retinazer
The editor (and deleter) will search and edit every recipe having the given result. If there are two recipes like this, it will edit both. If you want to only edit one, you just have to use AddIngredientCondition
Let's say one use wood and the other not, call this method with wood as an argument, only the recipes using wood will be edited
Ahhh that makes sense now
 

BIG_OOF

Terrarian
If I put the tweak “Add Two Extra Accessory Slots”, with the tweaks on the image, my game crash instantly just after booting the game!

edit: btw, sorry for the image quality...

edit2: I think it could more be the game it self, I just checked starting the game without tweak and it crashed...

FinalEdit: in the end it seems it was my resource pack... really sorry to have disturbed...
 

Attachments

Last edited:
Top Bottom