sailro / EscapeFromTarkov-Trainer

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

No Such Command #31

Closed daaaaanisssssh closed 3 years ago

daaaaanisssssh commented 3 years ago

HELP. Versions for this trial: SPTarkov: 1.4.4 EFT: 12.10.12646

I followed the steps in the readme;

  1. Copy all files in your EFT directory like C:\Battlestate Games\EFT: EscapeFromTarkov_Data\Managed\NLog.EFT.Trainer.dll (this is the compiled code for the trainer) EscapeFromTarkov_Data\outline (this is the dedicated shader we use to outline players [wallhack])

Copied, both into respective folderes. How about other files and folders i.e. EFTTarget.cs etc etc? As of now, I copied them into main game folder (EFT-live equivalent)

  1. Edited the NLog as below:
<xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<targets>
        <target name="EFTTarget" xsi:type="EFTTarget" />
        <target name="Aki.Loader" xsi:type="Aki.Loader" />
<targets>
</nlog>

Game launched perfectly however commands are not working. Help :(

sailro commented 3 years ago

If you use a release, you don't need the source code (cs files). So do not worry about 'other files and folders'

Given you are using sptarkov, your NLog.dll.nlog should be like that:

<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <targets>
        <target name="Aki.Loader" xsi:type="Aki.Loader" />
        <target name="EFTTarget" xsi:type="EFTTarget" />
    </targets>
</nlog>
daaaaanisssssh commented 3 years ago

My bad, point 2 was supposed to show my edited lines in Nlog.dll.nlog. The outcome was still the same; "No Such Command"

Could there be other possible cause?

daaaaanisssssh commented 3 years ago

I have made 2 fresh installs, however the trainer fail to load via console. Let me just update you with the files:

  1. NLog.dll.nlog location:

Nlog

  1. NLog.dll.nlog image or
    
    <?xml version="1.0" encoding="utf-8" ?>
    <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <targets>
        <target name="Aki.Loader" xsi:type="Aki.Loader" />
        <target name="EFTTarget" xsi:type="EFTTarget" />
    </targets>
    </nlog>

3. trainer.ini folder location:
![image](https://user-images.githubusercontent.com/85711945/121823081-7e0fd800-ccd5-11eb-8d11-d0019a33a457.png)

Is there any step missing? I believe I have followed your readme steps as it is. :(
sailro commented 3 years ago

1- There is no need to create trainer.ini yourself.

2- In your screenshot I cannot see the bits of the trainer in EscapeFromTarkov_Data\Managed:

image

3- And you need the outline file in EscapeFromTarkov_Data

image

All of this is clearly indicated in the docs, why is it so hard to read :)

daaaaanisssssh commented 3 years ago

Ah found it. I overlooked the NLog.EFT.Trainer.dll, all i see is the .csproj. Sorry my bad. :( and thank you. will give another try.

daaaaanisssssh commented 3 years ago

Hi Sebastien, it is unfortunate that with all the steps above, I still cant use the commands. I have followed similarly as per your screenshots above, made 2 fresh installs as well.

sailro commented 3 years ago

Hey @daaaaanisssssh, I've just published an Installer: https://github.com/sailro/EscapeFromTarkov-Trainer/releases/tag/installer-1.0

Could you try with this one?

sailro commented 3 years ago

Important: if you are using SPT-AKI, please make sure you have run the game at least once before installing the trainer. SPT-AKI is patching binaries during the first run, and we need to compile against those patched binaries. If you install this trainer on stock binaries, the game will freeze at the startup screen.

daaaaanisssssh commented 3 years ago

Hi Sebastien! Made another fresh install and the installer works just fine! Just need to readdress the install location, and everything was installed perfectly. Awesome work! Thank you so much for the assistance. :)

image

sailro commented 3 years ago

Perfect !