Yup. So if you call AddGlobalItem if you're already autoloading it, you'll end up with double the effect.Woot, updating to new version now.
[DOUBLEPOST=1438970300,1438969913][/DOUBLEPOST]So wait, autoload now loads all global hooks as well?
Yup. So if you call AddGlobalItem if you're already autoloading it, you'll end up with double the effect.Woot, updating to new version now.
[DOUBLEPOST=1438970300,1438969913][/DOUBLEPOST]So wait, autoload now loads all global hooks as well?
Ah alright Way easier. Also, projectiles are just overriding ModProjectile?Yup. So if you call AddGlobalItem if you're already autoloading it, you'll end up with double the effect.
Can confirm, my old PC blocked downloaded DLL filesLet me try again
[DOUBLEPOST=1438967445,1438967395][/DOUBLEPOST]I didn't get anything in there
Hm, you might have to unblock some of the files in all of the folders. The computer sometimes blocks every file from the Internet.
Did you go through the folder, right click all the files, click in Properties, and see whether or not they're blocked?ok I have absolutely no idea what I'm doing wrong, am I using the wrong vanilla terraria file?
Theoretically yes. Haven't tested it (like how I didn't test dll references) yet though so I don't know whether it will actually work.Ah alright Way easier. Also, projectiles are just overriding ModProjectile?
Ill try doing that thenDid you go through the folder, right click all the files, click in Properties, and see whether or not they're blocked?
Did you go through the folder, right click all the files, click in Properties, and see whether or not they're blocked?
Theoretically yes. Haven't tested it (like how I didn't test dll references) yet though so I don't know whether it will actually work.
Theoretically yes. Haven't tested it (like how I didn't test dll references) yet though so I don't know whether it will actually work.
Could not load file or assembly 'GIMJsOverhaul, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at GIMJsOverhaulEvents.GIMJsOverhaulEvents.Load()
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
Is this for loading the mod?I'm going to test .dll right now. My own .dll is a base of my overhaul mods, which makes my life easier.
[DOUBLEPOST=1438970823,1438970647][/DOUBLEPOST]
Nope. Getting error, .dll file is only in dllreferences folder.
Code:Could not load file or assembly 'GIMJsOverhaul, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. at GIMJsOverhaulEvents.GIMJsOverhaulEvents.Load() at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
Yes.Is this for loading the mod?
Ah, guess that means the dll files still need to be in the same folder as Terraria.exe. Looks like I actually need to try Googling about this now.Yes.
Alright.Ah, guess that means the dll files still need to be in the same folder as Terraria.exe. Looks like I actually need to try Googling about this now.
Method not found: 'Void Terraria.ModLoader.Mod.SetGlobalNPC(Terraria.ModLoader.GlobalNPC)'.
at GIMJsOverhaulEvents.GIMJsOverhaulEvents.Load()
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
I checked all of the files and everything was allowed so I'm still confused why I can't get this to workIll try doing that then
Running everything as admin?I checked all of the files and everything was allowed so I'm still confused why I can't get this to work
Can you edit the .bat file and add the following at the end of the file (new line) then run it againI ran the patch file as an admin
pause
It looks like the overhaul mod is still calling SetGlobalNPC. You said you removed those though, so not really sure what's happening. I would double-check, save, and rebuild just in case.Alright.
I'm also getting this (I removed all global add hooks as autoload=true) This Events mod uses multiple global npc and item hooks. My other mod only uses 1 hook and loads fine with no errors (using autoload)
Code:Method not found: 'Void Terraria.ModLoader.Mod.SetGlobalNPC(Terraria.ModLoader.GlobalNPC)'. at GIMJsOverhaulEvents.GIMJsOverhaulEvents.Load() at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
So, to summarize things so far, you've unblocked all of the files in all the subfolders, you're putting the vanilla Terraria.exe file (not the shortcut) in the vanilla folder, you're running the bat file as admin, and the modded Terraria.exe still isn't appearing in the tModLoader folder?I checked all of the files and everything was allowed so I'm still confused why I can't get this to work
C:\Users\cjayt\Downloads\tModLoader v0.3.1\ModLoader v0.3.1>mkdir tModLoader
A subdirectory or file tModLoader already exists.
C:\Users\cjayt\Downloads\tModLoader v0.3.1\ModLoader v0.3.1>"bsdiff4.3-win32/bspatch" Vanilla/Terraria.exe tModLoader/Terraria.exe patch_info
C:\Users\cjayt\Downloads\tModLoader v0.3.1\ModLoader v0.3.1>pause
Press any key to continue . . .
It looks like the overhaul mod is still calling SetGlobalNPC. You said you removed those though, so not really sure what's happening. I would double-check, save, and rebuild just in case.
It seems the bat is still in downloads. You didn't move these files to The terraria folder did you?
[DOUBLEPOST=1438971812,1438971753][/DOUBLEPOST]
no I left it in the downloads