Doesn't seem to work for me, or anyone else it seems. Maybe we have to re-patch?I just tested the patcher on 1.3.0.6 and it works fine. I have plugins up and running.
Doesn't seem to work for me, or anyone else it seems. Maybe we have to re-patch?I just tested the patcher on 1.3.0.6 and it works fine. I have plugins up and running.
Well yea of course you have to repatch it lolDoesn't seem to work for me, or anyone else it seems. Maybe we have to re-patch?
There's a workaround in here but you should probably just upgrade: http://stackoverflow.com/questions/12390175/targeting-net-framework-4-5-via-visual-studio-20101.3.0.6 was just released about 30 minutes ago. And I still have VS 2010, lol. I just... like it better .
(I can't find .NET Framework 4.5 in the 'target framework' in VS 2010, even though I have it installed, that's why)
I just committed some code to the GitHub for the NPCLoot hook. You can use it to do your plugin. It will require some clever coding to get your desired behavior.. good luck. If you don't figure it out I'll do it later tonight.Hmm... I'm having trouble compiling the source code. What exactly are the steps to doing that? I'm testing out my addition of an NPCLoot() hook xD.
More info:
It's telling me that Terraria.Map.MapHelper is inaccessible due to its protection level, but I see you've got a 'MakeTypePublic' thingy. I tried adding 'using Terraria.Map;' to the top of Teleport.cs, but that doesn't work.
Am I missing something?
Also it's telling me there are doubled Guid/ComVisible/etc attributes... Am I not supposed to include the Plugins folder in the solution?
I just committed some code to the GitHub for the NPCLoot hook. You can use it to do your plugin. It will require some clever coding to get your desired behavior.. good luck. If you don't figure it out I'll do it later tonight.
i update to Terraria 1.3.0.6 then i apply the TerrariaPatcher and Terraria reverts back to 1.3.0.5
so i dont think it works with the new update very well
Did you tell it to NOT restore the backup? Sounds like this is the problem .
Did you tell it to NOT restore the backup? Sounds like this is the problem .
It even gives you a warning telling you not to restore a backup if the version is old... Sheesh.ah it may be give me a moment and i will check
[DOUBLEPOST=1437427255,1437427058][/DOUBLEPOST]
it worked totally my fault thanx smarty
No the code I have written for you is correct.Lol, I just made almost the exact same code. And then I realized that NPCLoot() is void... So wouldn't the OnNPCLoot() method in Loader.cs be void as well?
EDIT: Oh, also... Would the OnNPCLoot part in the Plugins() method in Terraria.cs have the 'Brfalse_S, firstInstr' line? It seems to me like it wouldn't...
Correct me if I'm wrong; I'm still learning this Mono.Cecil stuff.
Ldarg_0 - loads this on to the stack
Call Loader.OnNPCLoot - calls Loader.OnNPCLoot(this)
Brfalse_S - jumps past the ret instruction if the OnNPCLoot method returned false
Ret - return from the function early
Run Steam with administrator privileges, then run Terraria from it.I can't get my Terraria to launch everytime I try to launch it it says please launch the game from your steam client
Run Steam as administrator. Then run Terraria.Is this stuff Windows 8 Compatible?
I've been trying to launch the game, I've followed every instruction and all I'm getting is "Please launch the game from your Steam Client".
Geee, sounds like you've encountered a bug or perhaps user error!.. All kidding aside, I need more information than that before I can help you.Terraria never loads up when i try to lauch it. instead, it crashes and tells me random stuff, what do i do?
I did so.Run Steam as administrator. Then run Terraria.
Geee, sounds like you've encountered a bug or perhaps user error!.. All kidding aside, I need more information than that before I can help you.
here is the thing i got when i tried to run Terraria, i can't see the image, and i hope you can.Geee, sounds like you've encountered a bug or perhaps user error!.. All kidding aside, I need more information than that before I can help you.