Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Empty DLL problem (doubled-p numbers!)

The general place to discuss MOD''ing Freelancer!

Post Fri Feb 04, 2005 2:32 pm

Empty DLL problem (doubled-p numbers!)

Well, I used the empty dll from Giskard for my MOd of course, already had added a bunch of names for planets, moons etc. until I found a problem. The first IDS_name and IDS_info entries have the same numbers! That resulted, for example, in the Mercury "system", when you had a char there in the char selection screen it would show "start here" since I hadn't added any infocards yet and those words were still in the info entry with the same number 458753.
Now, that is a real problem, making this IDS entry empty destroyed my DLL sort of, as I could not open that IDS_info anymore...
And in the char screen, the field was just blank, where it should have said "Mercury".

Well, the question is, how to deal with this, except copying all stuff from the ids_name to the ids_info with the same number? Which pretty muhc doubles up the time required to make the resources. It's really annoying since this already screwed my dll and I have to make about 20 new names again into the empty dll, while having no idea how I could solve the ids_info problem then...

My only idea is to leave the "start here" alone, start with the next entry for a name and then use some numbers for idsname, some for idsinfo, that means some have to be left out there.

Actually, I had hoped that the start values would have been like 458753 for ids_name and 459753 for ids_info or so, similar to the scheme of the original files...

Post Fri Feb 04, 2005 4:25 pm

My suggestion... go download WOS B1, and see how I did that with XML.

Some things won't work with XML/FLMM (Factions in particular), but names of Objects work just fine, along with the relevant entries in Mbases.ini.

Post Fri Feb 04, 2005 11:18 pm

Hehe, good ol' xml macros... Well, I have used them often before, but for this TC I decided it will be easier to create my own dll.
I have decided to leave the starting names "start here" alone and start with the next entry, and seperating the name and info entries into different numbers, i.e. if I create an infocard I first check i there's not an ids_name with the same resource ID.
After a certain amount of names and infocards loading the mod become slower with xml. Copying an single DLL file is way faster that that, and with just the scenery there will be over 100 names and infocards, which does not include stations, ships, equipment etc. which will all be new, too. Too long loading times in the end with that amount.

Post Sat Feb 05, 2005 1:24 pm

A simple way to keep from having an IDS_name and IDS_info entry in the same dll (BAD, very BAD) is simply to make all the ids_name entries odd and all the ids_name entries even.

BTW, you can open a dll with something like the MS .NET IDE and delete entries properly.

Post Sat Feb 05, 2005 2:35 pm

Even and odd... good idea. But I won't make my dll from scratch again.

I think I will just, well, estimate how many names I will need, and then go up like 3 times the amount in the resource IDS numbers and start infocards there, so there's still plenty of space to add something if needed. or do it like the stock dll scheme, where theinfocards for something were usually 1000 up the ladder.

Btw, nice to see you show up here some time Furious. If you read a bit more you know why I have not played TW for some time...

Post Sat Feb 05, 2005 4:12 pm

I tend to read more than I write here.

Yeah, I see you have been busy. Lookin' good!

You should come back and visit tho... the Rogues have been shredding Liberty (200+ transport kills vs. 50 for the Hessians).

Post Mon Feb 07, 2005 4:34 am

I just used the given number for ids_name and 468735 for ids_name as start.
But I was confused about the already exsisting entries.

Post Mon Feb 07, 2005 10:58 am

InfoCards.dll is empty from 66616 to 13107, so you can add over 60,000 entries to Infocards.dll

Return to Freelancer General Editing Forum