[4.0 Beta] Save game trade analyser
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: [4.0 Beta] Save game trade analyser
I'm not sure what the problem could be. The only thing that comes to mind is that the command prompt pauses when you right click it. Then it's in select mode. Does the title of the command prompt mention 'select'?
-
- Posts: 11
- Joined: Tue, 4. Dec 18, 16:30
Re: [4.0 Beta] Save game trade analyser
no, its in the same mode. e.g. "pip install -e ." is working just fine. I don't want to take up too much of your time, especially since you don't play X4 anymore, don't worry.
Re: [4.0 Beta] Save game trade analyser
No worries, I've been playing X games of and on for ten years now. I'll check whether I can get it to run on 4.0 tomorrow night.
-
- Posts: 11
- Joined: Tue, 4. Dec 18, 16:30
Re: [4.0 Beta] Save game trade analyser
Very kind of you, I'm curious if it works for you
Re: [4.0 Beta] Save game trade analyser
I just tested it and I think I know what's up.
You're trying to launch the file in the x4stat\stats dir. What you should be doing is simply typing "x4stats" in the top directory
So let's say D:\x4stats is your main directory, do this:
Then wait for it to start and point your browser to http://localhost:2992/stats
You're trying to launch the file in the x4stat\stats dir. What you should be doing is simply typing "x4stats" in the top directory
So let's say D:\x4stats is your main directory, do this:
Code: Select all
D:\x4stats> .\venv\Scripts\activate.bat
D:\x4stats> x4stats
-
- Posts: 11
- Joined: Tue, 4. Dec 18, 16:30
Re: [4.0 Beta] Save game trade analyser
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
::::::::::::::::::::::::::
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
::::::::::::::::::::::::::
Re: [4.0 Beta] Save game trade analyser
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.
The file in the stats directory is not the executable. Running the command from the main dir is the way to go.
-
- Posts: 11
- Joined: Tue, 4. Dec 18, 16:30
Re: [4.0 Beta] Save game trade analyser
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