I'm trying to figure out how I can modify the default player equipment on my server. Specifically the commodities. Since my server ISN'T the official Discovery server, nor is it an RP server, I would like to remove the three commodities players start with by default.
I initially thought this was controlled with the mpnewcharacter.fl file in the EXE directory, and it looked like I was on the right track. That is the file referenced for new characters, however all ship related items seem to be referenced via %%PACKAGE%% and I have no idea what that is referencing or how to edit it.
Yes, that's the right file for editing the starter ship for MP. All the lines marked with %% use the default values, and if you want to change them, you'll have to edit them manually.
In case of the package, this is the same starter ship as default, but with the 3 starter items removed:
Same applies to other %% values. To change the starting cash, for example, just remove %%MONEY%% and replace it with the amount of cash you want to give your starter ship (Max safe amount is 1800000000 , putting more than that on the starter ship can corrupt the character).
What do I need to generate/list a database of those item numbers to their actual names? I'm also trying to edit some restarts without having to make a character, set it up the way I want, and then trying to find that characters files in my Accts folder on the server...
Example:
Code:
cargo = 2596081674, 37
cargo = 2911012559, 37
Common sense dictates that these are the Nanobots / Shield Batteries since they're a commodity and there are 37 of each (which you normally start with). How can I determine that 2596081674 = Nanobots (or shield batteries, see my problem)?
So here's the fun part about Freelancer: Once it's no longer being referred to in an ini, it's no longer being referred to by its name, but rather a CRC-32 of its name. The technical reason behind this is that looking up CRCs is much faster (four byte search) than looking up names (where a name's length in bytes is the number of characters in it plus one). The non-technical reason is because Digital Anvil is evil.
Thankfully, there's a CRC tool. You can point this at Discovery and have it generate a database of all the CRCs in the game and then use that to look up items by CRC and CRCs by item.
Both very helpful responses, thank you! I've already got DSAccountManager setup on my server, didn't realize that its item list showed the CRC names as well.
The CRC tool will be very helpful to generate a database to reference. Much thanks!