debug problems

Bug reports for the different beta versions of transcendence.
Post Reply
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

I'm having trouble getting dbglog statements in library functions invoked in events to work consistently.

In attached files there are dbglog statements that should be running since they're in onupdate and onshielddamage events, but there's nothing in debug.log except the usual loading stuff even when running the game in debug mode.
Attachments
Trans120.zip
Save and Extensions
(1.7 MiB) Downloaded 145 times
Literally is the new Figuratively
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Atarlost wrote:I'm having trouble getting dbglog statements in library functions invoked in events to work consistently.

In attached files there are dbglog statements that should be running since they're in onupdate and onshielddamage events, but there's nothing in debug.log except the usual loading stuff even when running the game in debug mode.
EDIT: Ignore my original theory (about debug setting). Instead, I think the problem is that <OnShieldDamage> does not report errors, unfortunately. [I've fixed this in the next release.]

Now it reports: "function AU_DirectionalShield not found". My guess is that there is a paren missmatch in <Globals> and a bunch of functions are not getting defined.
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

george moromisato wrote:
Atarlost wrote:I'm having trouble getting dbglog statements in library functions invoked in events to work consistently.

In attached files there are dbglog statements that should be running since they're in onupdate and onshielddamage events, but there's nothing in debug.log except the usual loading stuff even when running the game in debug mode.
EDIT: Ignore my original theory (about debug setting). Instead, I think the problem is that <OnShieldDamage> does not report errors, unfortunately. [I've fixed this in the next release.]

Now it reports: "function AU_DirectionalShield not found". My guess is that there is a paren missmatch in <Globals> and a bunch of functions are not getting defined.
That's the odd thing. It worked when I tested it on a playership.

Also, some of the dbglog statements that aren't working are in an <onupdate> event not <onshielddamage>.
Literally is the new Figuratively
Post Reply