sailro / EscapeFromTarkov-Trainer

Escape from Tarkov (EFT) Trainer - Internal
MIT License
610 stars 138 forks source link

The trainer is no longer loaded automatically - after 0.13.0.21523 #270

Closed saiss048 closed 1 year ago

saiss048 commented 1 year ago

I tried it a day before wipe and it worked fine but as soon as the update happened, the trainer doesn't load. I press RightAlt and nothing happens and the commands don't work either. I tried looking at the EFT instance and couldn't find anything out of ordinary. Installer works fine but I'm not sure what's wrong.

Capture

saiss048 commented 1 year ago

^Playing on live tarkov btw

ducksquaddd commented 1 year ago

Having this issue as well

Vanadier commented 1 year ago

A) The project is not meant for use on live, and will get you banned neigh immediately.

B) The project this code is meant to be used on has not even supported patch 0.13 stably yet, why would you expect this to be updated for said patch?

saiss048 commented 1 year ago

A) no shit I can read the README

B) idk nobody else commented on it other than me so I asked

ducksquaddd commented 1 year ago

A > ive read the documentation

B > Dont know

solareon commented 1 year ago

BSG has patched out the loading of NLog* files by removing the methods under NLog.Internal.AssemblyHelpers called LoadFromPath, LoadFromName, and IsAssemblyMatch. Under NLog.Config.ConfigurationItemFactory the method LoadNLogExtensionAssemblies had all of it's code removed as well. You can use dnSpy and a previous version of the 0.12.12 NLog.dll to patch the methods back in and the trainer appears to work then but almost 100% a new method to hook the trainer dll will need to be found or a way to dynamically patch the NLog.dll to restore the previous methods. This also covers #271

Hope this helps @sailro

sailro commented 1 year ago

Thanks @solareon

I did not have the time to check but I exactly thought of that when I saw this issue.

sailro commented 1 year ago

We can probably find a way to write a spt-aki module like discussed here initialy.

It's now probably different given they moved to BepInEx during 3.x, but that's a way to load the trainer easily, instead of IL patching assemblies.