Draconium and crash to desktop

User-to-user help and troubleshooting.
Post Reply
pkk
Posts: 5419
Joined: Tue Jul 01, 2003 7:00 am
Location: Germany, Munich

Post by pkk »

ACSS uses a different mechanic to update files.

While we had ASGS, you use overwrote the sounddef.mdl every time a new file was pushed via AU, this no longer works.

Please use a QC menu without custom QC sounds.

You find the original quickchat.mdl here (right click and download):
http://svn.alleg.net/svn/Installer_Client/...k/quickchat.mdl
Last edited by pkk on Thu Sep 05, 2013 7:41 pm, edited 1 time in total.
The Escapist (Justin Emerson) @ Dec 21 2010, 02:33 PM:
The history of open-source Allegiance is paved with the bodies of dead code branches, forum flame wars, and personal vendettas. But a community remains because people still love the game.
ThePhantom032
Posts: 836
Joined: Sat May 09, 2009 11:00 am
Location: Germany

Post by ThePhantom032 »

To specify the issue, the update for draconium requires a change to sounddef.mdl.

ACSS currently only supports changes to files on AU if the file is put "under protection", meaning no modifications are allowed anymore. This means that a custom quickchat.mdl (which uses entries of sounddef.mdl), may now crash Allegiance when it starts, as the custom sounddef.mdl that worked with it is overwritten. Not all custom quickchat.mdl will cause a crash though, which is why this file is not put on AU.

Easiest solution if you crash is to use the default quickchat.mdl linked above; otherwise you have to edit it and find the offending entries that crash alleg and change/remove them.

If you wish to edit your quickchat.mdl, the offending entry can be found in the logfile allegiance creates when it crashes. Look for a file called "xxxyyyyyyyy", where xxx is first 3 letters of the current month, and y is 8 numbers relating to the time: 2 for each of day, hour, minute and second. Conveniently, the error is in the last line of the log, something like
"assertion failed: 'Parsing error - Undefined identifier <name of not defined sound>' (..\src\zlib\token.cpp:11)"

Look for that name in quickchat.mdl and replace it with "voOopsSound" - this will result in getting an "oops, wrong voice chat" sound whenever that custom vc is triggered. Simply deleting the line instead is probably not going to work, as this line is needed to have other stuff work later on - simply using another sound is the easiest option to keep your custom quickchat pack.

You may have to go through these steps multiple times - the logfile will only give you one error at a time, even if there are multiple issues.
Still ready to teach anyone who asks nicely whatever they want to know about playing alleg. Contrary to popular opinion I do not eat newbies. Voobs taste much better.
Post Reply