[T2Di 1.3] _behavior0 and other Weird Echos on iPhone
by Joe Virgin · in iTorque 2D · 01/13/2010 (5:49 pm) · 12 replies
I have converted an iTGB 1.2 game to 1.3 rather successfully and am impressed. I've noticed some new weird echos that have been popping up for my game during a release build in the Xcode debugging window. I've been getting "_behavior0" everytime I load datablocks (level specific datablocks) and number echos usually between 50 to 60.2 usually in groups of twos or threes (line deliniated) every second during the game. Anybody else been getting this? What information is being displayed?
About the author
Joe Virgin is a programmer for Plainvue Software, Inc., a company producing iPhone games that teach math skills to the youth. Check out Fraction's Kitchen Lite, Fortune's Prime, and Chainshooter powered by iTGB and now available on the App Store.
#2
01/13/2010 (8:36 pm)
Do you happen to know where is the FPS being printed from? It's driving me nuts at the moment :)
#3
01/14/2010 (1:45 am)
I realize there are already metrics displays for much of this (though no 'simple' ways to display them), but instead of displaying the FPS constantly in the console (where we already rely on other debug output), why not make it something that displays in a corner of the screen unobtrusively and can be turned on/off with a quick script flag? I'm with Craig that the FPS numbers (which I didn't realize that's what they were until reading this post) are driving me nuts as well, as trying to read through them and my own debug output spawning in the middle of them is annoying.
#4
Good idea Dave, if someone feels inclined they can make a nice clean version for the users, or, it will be in a close future update.
01/14/2010 (4:13 am)
We didnt put that FPS printing intentionally, :) In fact, i dont normally have it on my end as i commented the line out in the script side. Good idea Dave, if someone feels inclined they can make a nice clean version for the users, or, it will be in a close future update.
#5
01/14/2010 (8:21 am)
Sven, you said you comment the line out on script side, where abouts is it?
#6
01/14/2010 (7:17 pm)
@Sven: I've come up with a solution to this, the lack of console, and a few other issues that seem to have both good and bad reasons, as it's a solution that is "the best of both worlds (tm)". Msg me when you have some time and I'll let you know what I've been up to.
#7
01/23/2010 (7:51 pm)
did anybody figure out where the code is to comment out the fps. It's driving me crazy!!
#8
01/26/2010 (6:32 pm)
Not sure if this is the cause, but I was able to quiet it by commenting out the following in platformiPhone/iPhonestrings.mm#ifndef TORQUE_SHIPPING
printf("%s \n", buffer);
#endif //TORQUE_SHIPPING
#9
02/10/2010 (2:28 am)
Is there a way to disable just the fps echos in script instead of source code?
#10
I was wrong. Do not apply that change, its breaks the behaviors :)
There will be a proper fix for the annoying echoes in release though!
02/10/2010 (5:43 am)
HURR : Quote:
That should take care of it without breaking anything.
I was wrong. Do not apply that change, its breaks the behaviors :)
There will be a proper fix for the annoying echoes in release though!
#11
05/10/2010 (8:02 pm)
Can we please ensure this is turned off in 1.4 - being able to use the console is important.
#12
Read this for the results : www.torquepowered.com/community/forums/viewthread/115313/1#comment-750169
05/27/2010 (4:57 am)
Read the post one above Conor's last post. The change i suggested breaks things. The real fix for the console spam will be posted as its own thread (an in release)Read this for the results : www.torquepowered.com/community/forums/viewthread/115313/1#comment-750169
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
Saves you wasting rendering performance to see them
The behavior echo though is something I would like to have gone too. Have started to look for where they are iterated on a per tick base to potentially find the corresponding code.