Regarding Modules

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
ThePrivateer
Militia Captain
Militia Captain
Posts: 943
Joined: Tue Oct 12, 2010 5:12 am
Location: Starton Australia

I've just started porting Hell's Trinity into neatly defined little modules, but Transcendence won't let me run the Adventure. It crashes, claiming it can't create a System (it doesn't say which) because of an unknown UNID (0xDAFC1011).

Said UNID is defined initially within Hell'sTrinity.xml, (within the <!DOCTYPE TranscendenceAdventure [ ).

However the actual station is listed in a seperate XML with a <TranscendenceModule> tag.

The Adventure Extension does have the Modules Defined, so has anyone had any similar troubles to this?
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

could you pastebin said code pls?
Image
Image
Image
Image
"Dash_Merc - George is a genius, in that he created this game engine that is infinitely extendable"
"<@sheepluva>Good night everybody, may the source be with you." <-- FOSG dev
"You only need THREE tools in life - WD-40 to make things go, Duct Tape to make things stop And C-4 to make things go away"
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

Try changing the adventure to an extension file, just to see what happens. I noticed that Extensions w/ modules seem to be VASTLY more stable than Adventures w/ modules. Probably because of how Adventures have more places to make mistakes in.
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
ThePrivateer
Militia Captain
Militia Captain
Posts: 943
Joined: Tue Oct 12, 2010 5:12 am
Location: Starton Australia

sdw195 wrote:could you pastebin said code pls?
Umm. That's a bit hard to do considering it's all in Modules now. >.>

(don't you even mention dropbox. Don't even think about it :P )

I'm uploading to Xelerus under a Bug-Testing Category. Digdug please read the message first before deleting it -- give it two days or so and I will PM you if my issue has been solved. Thanks!

http://xelerus.de/index.php?s=mod&id=878

Thanks in advance for any assistance!
User avatar
ThePrivateer
Militia Captain
Militia Captain
Posts: 943
Joined: Tue Oct 12, 2010 5:12 am
Location: Starton Australia

Wolfy wrote:Try changing the adventure to an extension file, just to see what happens. I noticed that Extensions w/ modules seem to be VASTLY more stable than Adventures w/ modules. Probably because of how Adventures have more places to make mistakes in.
Hm. I notice that Drako did that with the Network - it is part-Extension, part-Adventure -- I will give that a shot!

EDIT: Nope - no worky. :(
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

I have had absolutely no problems with adventure extensions and their modules... Here is how I work with them:

The adventure module (the main file)

Code: Select all

<?xml version="1.0" ?>
<!DOCTYPE TranscendenceAdventure
[
    <!ENTITY modSyrtianWar                  "0xD5127800">
]>
<TranscendenceAdventure
  UNID="&modSyrtianWar;"
  name="The Syrtian War"
  version="1.0">

  <Modules>
    <Module filename="Player.xml" />
  </Modules>

</TranscendenceAdventure>
Then, in Player.xml is the following

Code: Select all

<?xml version="1.0" ?>
<TranscendenceModule>
  <!-- Whatever I Want -->
</TranscendenceModule>
Note, that ALL UNIDs that the entire mod uses are defined in the header of the TranscendenceAdventure. It is the only place to define UNIDs.
User avatar
ThePrivateer
Militia Captain
Militia Captain
Posts: 943
Joined: Tue Oct 12, 2010 5:12 am
Location: Starton Australia

Alterecco - mine looks like yours. Please download the Xelerus mod here and see if you can spot the issue - it looks fine to me, but for some reason it's not working. :(
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

The ShipClass you defined right above stHellOutpost is not closed properly. Add </ShipClass>
User avatar
ThePrivateer
Militia Captain
Militia Captain
Posts: 943
Joined: Tue Oct 12, 2010 5:12 am
Location: Starton Australia

alterecco wrote:The ShipClass you defined right above stHellOutpost is not closed properly. Add </ShipClass>
:mrgreen:

That seems like it works! I'll have to try it out more later this afternoon but then I'll remove the mod from Xelerus!

Thanks again alterecco! :D
User avatar
ThePrivateer
Militia Captain
Militia Captain
Posts: 943
Joined: Tue Oct 12, 2010 5:12 am
Location: Starton Australia

OK, I'd say this is all fixed up, so I'm removing the broken mod from Xelerus - however as it's name suggested, work has resumed on Hell's Trinity 0.9|Beta.

Thank you to everyone who helped fix this embarrassing error - amazing how one wrongly placed tag can destroy an entire mod.. >.>
Post Reply