AimingCamera 1: can't find TID 0

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
ZDL_800
Posts: 448
Joined: Wed May 15, 2019 3:06 am

AimingCamera 1: can't find TID 0

Post by ZDL_800 »

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.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: AimingCamera 1: can't find TID 0

Post by _mental_ »

“The newer GZDoom mods” means nothing to us. Please name a few of them.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: AimingCamera 1: can't find TID 0

Post by Graf Zahl »

0 is not a valid tid, that's really all here. The mods are buggy.
User avatar
AFADoomer
Posts: 1341
Joined: Tue Jul 15, 2003 4:18 pm
Contact:

Re: AimingCamera 1: can't find TID 0

Post by AFADoomer »

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.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: AimingCamera 1: can't find TID 0

Post by _mental_ »

Disabled the warning for targets with zero TID.
User avatar
ZDL_800
Posts: 448
Joined: Wed May 15, 2019 3:06 am

Re: AimingCamera 1: can't find TID 0

Post by ZDL_800 »

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.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: AimingCamera 1: can't find TID 0

Post by _mental_ »

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.
User avatar
ZDL_800
Posts: 448
Joined: Wed May 15, 2019 3:06 am

Re: AimingCamera 1: can't find TID 0

Post by ZDL_800 »

That's great news! Thanks again, epic works!
Post Reply

Return to “Closed Bugs [GZDoom]”