Freelancer Best Profit Calc
-
awesome i know c++ as well so porting it wouldnt be bad i would love to get a nother guy or 2 that code as well that would make it a bit easier but you really dont want to see this code yet lol … 13 hours of extra black coffee no sleep and oragel (for my toothache) lol .0001% error checking and ugly stuff like
for(int jk=0;jk <=traderoutecount; jk++)
{
int bob= 0; // lol seriously
}the jk var was due to me running out of single char ones lol
ohh and dont forget the misuse of public elements in structs and
the temp1-1000000 variables
-
There’s one problem I STILL see with apps like these, and that’s…
Ok, you can see the best routes from one system to another, but what if you, say, want to see the best route in the mod?
I’ve never seen this feature in Freelancer Companion and I must say, it bugs me like hell.
-
defiantly want to add a range feature even if its simple like adding a column called range so you can sort by how many systems away it is and i remember seeing a file that had connection in it so i think i will work on that and showing the best 20 or so runs when any system is selected today.
but if anyone has a good algorithm for finding a simple best path i can hack up for it that would save me a headache i am sure lol
-
You could use the C# code from DAM to parse the names, etc. It’s all done for you and loaded into a DataSet ready to display. The parser also is pretty much guaranteed to work with discovery because I wrote it for it. You can find the DAM source code on the starport-forge project page.