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

Problem with my custom DLL

The general place to discuss MOD''ing Freelancer!

CW

Post Sat Apr 12, 2003 12:57 pm

Problem with my custom DLL

I was trying to add the entries for my new ship. The name was added to DLL 7 (my custom DLL) table 1 entry 6 (supposed to be 458758), and the four infocards to the next four slots (resource type 23, resource name 7-10, language 1033, which are supposed to be 458759-458762). In shiparch.ini I put in this:

ids_name = 458758
ids_info = 458759
ids_info1 = 458760
ids_info2 = 458761
ids_info3 = 458762

But in the game I got "IDS?" for the ship name and none of the infocards appeared. I need some advise please.

By the way, what's resource type 23? If I manage to use up the first table and need to go to the second should I create type 24?

-----------------------------------------------------------
War does not decide who is right, only who is left.

Edited by - CW on 12-04-2003 13:58:21

CW

Post Sat Apr 12, 2003 1:55 pm

Oh shiit... just discovered that all of my existing custom records are broken!

-----------------------------------------------------------
War does not decide who is right, only who is left.

Edited by - CW on 12-04-2003 14:55:49

Post Sat Apr 12, 2003 2:40 pm

Type 23 = HTML resources and they don't use the concept of "tables", that's just for the strings.

CW

Post Sat Apr 12, 2003 5:05 pm

How come you can have a string AND an infocard for the same IDS number?

-----------------------------------------------------------
War does not decide who is right, only who is left.

Post Sun Apr 13, 2003 4:29 am

okies CW from what ive read in Zen-Eryu's threads on this, the game handles the XML resources differently to the normal Text Strings
and thats the reason you can have resources with the same name...
the XML sheets in the resource are all stored under the resource type 23, and use hex references, dont quote me on this, cos ihavent actually played around with them much as yet

I suggest reading Zen's posts


- All we see or seem, is but a dream within a dream. -

CW

Post Sun Apr 13, 2003 10:25 am

Just got my problem solved... somehow my custom DLL got corrupted (how did that happen?!?) and I rebuilt it from the ground up. Luckily I had backup copies for all the custom infocard entries.

-----------------------------------------------------------
War does not decide who is right, only who is left.

Post Sun Apr 13, 2003 10:53 am

Its surprisingly easy to corrupt the dll, 1 false entry and the whole thing can go belly up on ya

Glad ya got it sorted though

Zen,
Even the greatest of whales is helpless in middle of desert.
DuwX.com

Post Mon Apr 14, 2003 8:28 am

I had the same problem, now I back up my dll regularly. I'm using the dll you have for download zen! now it's all working again...

but what exactly causes a corrupting entry? invalid xml? certain characters?

thanks

Edited by - carl on 14-04-2003 09:34:09

Return to Freelancer General Editing Forum