Author Topic: Cntrl-I "toggled line of text" bug  (Read 348 times)

Offline AAIK

  • Nickel Member
  • ***
  • Posts: 654
Cntrl-I "toggled line of text" bug
« on: February 14, 2017, 11:35:18 AM »
When you press Cntrl-I it shows up "Toggled line of text" in the middle of the screen.

If you press it repetively it fills up the screen with text.

Offline hyzer

  • Copper Member
  • **
  • Posts: 209
Re: Cntrl-I "toggled line of text" bug
« Reply #1 on: February 14, 2017, 12:33:40 PM »
Sounds like a debug line that got left in the build.  At least he used something descriptive and safe sounding. Not that I would know about anything nsfw messages left in code.   :eek:
We have clearance, Clarence. Roger, Roger. What's our vector, Victor?

Offline BowHTR

  • Gold Member
  • *****
  • Posts: 2074
AH Supporter Since Tour 35

Offline hitech

  • Administrator
  • Administrator
  • *****
  • Posts: 12398
      • http://www.hitechcreations.com
Re: Cntrl-I "toggled line of text" bug
« Reply #3 on: February 14, 2017, 04:24:13 PM »
Sounds like a debug line that got left in the build.  At least he used something descriptive and safe sounding. Not that I would know about anything nsfw messages left in code.   :eek:

I do my damnedest to always force myself to wrapper quick debug test like this just in case I forget to remove them before check in.

#ifdef syscfgDEBUG_COMMANDS
       chatclntAdd2DText("Toggled line of text", 0, 0, 0.5f, stdoGetStdFont(stdoFI_LARGE), grGREEN_RGB, 5000);
#endif

With the syscfgDEBUG_COMMANDS define.

Alas I got lazy and didn't on this one when I was creating the Timed center line system. And of course it bit me.

HiTech

Offline bustr

  • Plutonium Member
  • *******
  • Posts: 12436
Re: Cntrl-I "toggled line of text" bug
« Reply #4 on: February 14, 2017, 04:35:29 PM »
I thought you were helping me to know when I pushed the wrong button...... :cry
bustr - POTW 1st Wing


This is like the old joke that voters are harsher to their beer brewer if he has an outage, than their politicians after raising their taxes. Death and taxes are certain but, fun and sex is only now.