(05-14-2015, 09:26 PM)evanz Wrote: ok FCC uses companion at the same time, what i did was load disco and then companion, FCC, USES companions settings and scans it, it flickers through all the systems grabbing and saving all the commodity prices FROM companion, going from and to where its sold and output into a txt file, i then import it into excel and use filters to find stuff
at the time of me doing it, only a couple of weeks back, it worked fine
Maybe your FCC works very well but it does not solve my initial problem that Freelancer Companion 2.01 no longer works + I am not sure why you are using uppercase letters in your post.
i used uppercase for FCC for the prog name, other to show how
Anyway, thank you too for sharing your file.
"It was the 23rd century, mankind's darkest hour. [...]"
(05-14-2015, 08:34 PM)Rhonkar Wrote: Our only hope (Because the author of the soft, Olivier Marcoux, seems to have abandoned the project. He even gave the source code in an open source format : http://sourceforge.net/projects/flcompanion/ If someone is motivated ~~) is that an admin reads this topic and that the problem is corrected.
Thanks, didn't know the program is open-sourced.
I did some debugging and it appears the problem is in DynEconDlg.cpp, specificaly lines 256 to 258.
The condition is always true so it would never get past line 258. All logic for the actual data import from the running game is after that, so it just gets skipped.
Commenting out the above 4 lines results in working data import but may have unknown side effects.
I was able to build the program only in Debug configuration. Building it in Release configuration didn't work and I don't have time to try and fix it.
The resulting .exe appeared to work mostly right and started up much faster. Dynamic import also worked. Only problem I noticed is that the tables are not sortable anymore.
Most of these issues are probably because the project appears to be intended for an ancient version of Visual Studio (6.0) and importing it into 2012 wasn't flawless.
Hopefully, someone with more time on their hands can make it work properly.
I can try to install myself Visual Studio 6 and debug the thing but with no guarantee of success
"It was the 23rd century, mankind's darkest hour. [...]"
(05-14-2015, 08:34 PM)Rhonkar Wrote: Our only hope (Because the author of the soft, Olivier Marcoux, seems to have abandoned the project. He even gave the source code in an open source format : http://sourceforge.net/projects/flcompanion/ If someone is motivated ~~) is that an admin reads this topic and that the problem is corrected.
Thanks, didn't know the program is open-sourced.
I did some debugging and it appears the problem is in DynEconDlg.cpp, specificaly lines 256 to 258.
The condition is always true so it would never get past line 258. All logic for the actual data import from the running game is after that, so it just gets skipped.
Commenting out the above 4 lines results in working data import but may have unknown side effects.
I was able to build the program only in Debug configuration. Building it in Release configuration didn't work and I don't have time to try and fix it.
The resulting .exe appeared to work mostly right and started up much faster. Dynamic import also worked. Only problem I noticed is that the tables are not sortable anymore.
Most of these issues are probably because the project appears to be intended for an ancient version of Visual Studio (6.0) and importing it into 2012 wasn't flawless.
Hopefully, someone with more time on their hands can make it work properly.
About sorting the tables, here is what i have found :
"Here you go, with the first open-source release of Freelancer Companion !
I couldn't release it sooner because the sources often depended on private utilities libraries that I do not wish to release open-source.
For this release, I made the effort of removing (sometimes in an ugly way, I must admit) all dependencies on my private functions.
Therefore, some features like resizing of dialogs might be non-functional.
I hope you will enjoy this release and keep on improving the program as I personally do not have as much time and will for continuing to work on it.
Wizou"
Wizou is the pseudonym of Olivier Marcoux himself. This is why I think that even with version 6 of Visual Studio the problem with the tables will remain unless a crazy dude codes this function again ^^ Well, we just need to find how to compile it with your correction in a "release" state as you said and it will be a "lesser evil".
"It was the 23rd century, mankind's darkest hour. [...]"
Finally I managed to install Microsoft Visual C++ 6.0 in a VMware but during the compilation to many errors are generated and this is under my skills. I think this is due to the fact that Marcoux has removed his own libraries.
"It was the 23rd century, mankind's darkest hour. [...]"
Problem is Freelancer Companion 2.01 is expecting a parameter that doesn't exist in those [system] blocks : "file = systems\sector01\sector1.ini", for example. This is why we get the errors. Adding lines do the trick and the soft is working again. For example :
The program will just search for those non existing files (it will slow down the start), but at least there is no more crash.
BUT, I strongly recommend to not launch the game with these modifications because the server may ban you for having modified an ini file (and the game may even just crash).
"It was the 23rd century, mankind's darkest hour. [...]"
OK I have found a temporary fix ! Actually there was two cumulated problems : the first one is the problem I have described in last posts with the missing parameter. The new one is : I discovered that for an unknown reason (perhaps the fact that since the patch 27/01/2015 : "Launcher update released (V4): - Kills FLCompanion and FLStat on start to prevent patching crash due to locked files. Gives an option to kill Freelancer.exe as well.") when the launcher is started it prevents Freelancer Companion to import live data. I will post here the procedure in few minutes.
"It was the 23rd century, mankind's darkest hour. [...]"
So here the procedure : you have to follow it in this exact order
1 - Launch the launcher
2 - Modify your universe.ini file (C:\Users\*yourname*\AppData\Local\Discovery Freelancer 4.88.1\DATA\UNIVERSE\universe.ini) like this :
Thus two lines have been added : "file = systems\sector01\sector01.ini" and "file = systems\sector02\sector02.ini"
3 - Launch Freelancer Companion 2.01 and just reduce the error window.
4 - Reverse what you have done previously in the file universe.ini. This means you now have :
The two lines have been removed : the file is now in its original state.
5 - Launch the game with the launcher and connect to one of your characters.
6 - Go back to your desktop (without closing the game) and close the launcher.
7 - Now the import function is working in your Freelancer Companion (alt+D). (in the list of systems there will be two systems in uppercase letters : just ignore them) 8 - Just play : I suggest to not launch the launcher at this point 9 - When you have finished to play just close your game and the Freelancer companion : everything is in its initial state. You will need to start the procedure from the beginning each time you want to play and use Freelancer companion.
However, to use this fix you really need to understand what you are doing to not be automatically banned from the server : no matter what you do, keep in mind that you have to keep intact any files of the discovery mod before connecting to the server + before connecting you always need to have the mod updated by the launcher to avoid wrong versions of files. I understand this solution is awful, but I don't have anything else at this time (if someone has an idea ^^). It will also need some time to see potential new problems. For example, I have found that in the Ames Research Station the commodity "Magnetic superconductors" is not imported in Freelancer Companion. If someone knows why...
Keep also in mind that with new Discovery updates this method could one day not work anymore. So again, use it only if you know what you are doing...
I hope that some day a dev will take a look at all of that.
"It was the 23rd century, mankind's darkest hour. [...]"