[Fixed] AimingCamera 1: can't find TID 0

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

AimingCamera 1: can't find TID 0

Postby ZDL_800 » Wed Aug 26, 2020 10:42 am

Hello GZDoom community hope everyone is good.

Quite a strange issue here, the newer GZDoom mods and TC have a startup log with 'AimingCamera 1: can't find TID 0' on the beta versions of GZDoom? Seems to still work correctly but I cant figure out how to fix this?

Anyone have any ideas on what's occurring here?

Thankyou for your time and hope to speak soon.
User avatar
ZDL_800
 
Joined: 15 May 2019

Re: AimingCamera 1: can't find TID 0

Postby _mental_ » Wed Aug 26, 2020 12:41 pm

“The newer GZDoom mods” means nothing to us. Please name a few of them.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: AimingCamera 1: can't find TID 0

Postby Graf Zahl » Wed Aug 26, 2020 2:08 pm

0 is not a valid tid, that's really all here. The mods are buggy.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: AimingCamera 1: can't find TID 0

Postby AFADoomer » Wed Aug 26, 2020 5:59 pm

This error shows up since this commit back in May.

Up until that time, the warning had been commented out for about 10 years (since SVN r2973), and was carried over into ZScript still commented out.

Based on the SVN commit, I think the intent of having it commented out was so that there would be no error message if the aiming point was established after the camera was spawned (the commit note says so that it can target players, who can't spawn with a TID).

The warning is correct, but at least a few mods (Blade of Agony was one) used AimingCamera where they should have used SecurityCamera, since AimingCamera previously worked without visible problems or error messages. I can imagine that someone also used it once upon a time for the case described in the SVN commit, where it aimed to follow a player whose TID was set after spawn via ACS.
User avatar
AFADoomer
 
Joined: 15 Jul 2003

Re: AimingCamera 1: can't find TID 0

Postby _mental_ » Thu Aug 27, 2020 2:59 am

Disabled the warning for targets with zero TID.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: AimingCamera 1: can't find TID 0

Postby ZDL_800 » Thu Aug 27, 2020 11:46 am

Thanks for the replies much appreciated.

Sorry for asking but could the TID 0 camera log message cause any performance issues ie any micro stuttering or lag?

Thanks for explaining the issue clearly, I see that GZDoom beta is updated with this log disabled? So I guess that it doesn't actually cause any FPS issues?

Brilliant work as always! Thanks again.
User avatar
ZDL_800
 
Joined: 15 May 2019

Re: AimingCamera 1: can't find TID 0

Postby _mental_ » Thu Aug 27, 2020 12:47 pm

ZDL_800 wrote:Sorry for asking but could the TID 0 camera log message cause any performance issues ie any micro stuttering or lag?

No, it cannot cause any performance issues.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: AimingCamera 1: can't find TID 0

Postby ZDL_800 » Thu Aug 27, 2020 12:58 pm

That's great news! Thanks again, epic works!
User avatar
ZDL_800
 
Joined: 15 May 2019


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest