[4.0 Beta] Save game trade analyser

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Perry-Rhodan49
Posts: 11
Joined: Tue, 4. Dec 18, 16:30
x4

Re: [4.0 Beta] Save game trade analyser

Post by Perry-Rhodan49 » Sat, 5. Jun 21, 21:13

hmmmm, but x4stats.py is in the stats folder.
When I try to run it in the main folder the following message is printed
:::::::::::::::::::::::
x4stats: The term "x4stats" was not used as the name of a cmdlet, a function, a
Script file or executable program detected. Check the spelling of the
Name, or whether the path is correct (if included), and try again.
In line: 1 character: 1
+ x4stats
+ ~~~~~~~
+ CategoryInfo: ObjectNotFound: (x4stats: String) [], CommandNotFoundException
+ FullyQualifiedErrorId: CommandNotFoundException
::::::::::::::::::::::::::

harkov
Posts: 81
Joined: Mon, 12. Mar 12, 11:16
x4

Re: [4.0 Beta] Save game trade analyser

Post by harkov » Sat, 5. Jun 21, 21:24

Are you using powershell? I get the same message using powershell but it works in command prompt (cmd.exe).

The file in the stats directory is not the executable. Running the command from the main dir is the way to go.

Perry-Rhodan49
Posts: 11
Joined: Tue, 4. Dec 18, 16:30
x4

Re: [4.0 Beta] Save game trade analyser

Post by Perry-Rhodan49 » Sun, 6. Jun 21, 07:39

Yesss, you are the best, using Powershell was my mistake. Thx so much man. I'm sure that I will enjoy your great tool @harkov

Post Reply

Return to “X4: Foundations - Scripts and Modding”