Mod somehow pushing gamesetting to console

Post » Tue Apr 23, 2013 3:27 am

Okay, for reasons I don't understand, whenever I activate the console, my mod is sending the following line to it over and over again:
GameSetting iSDRsDebugDetectionFilter &--#62;&--#62; 1

This is a custom game setting that is built in to my obse .dll

I have searched every single script I have for the term "iSDRsDebugDetectionFilter", and I couldn't find a single instance where that would get pushed to the console.

I also searched for every instance of PrintC and PrintToConsole, and none of them to that either.

I went into debug mode using "tdt", and during live game play, nothing happens. It only happens when I go into console mode.

Side note, I thought it might be a conscribe issue, but I disabled the script (which only runs once on startup anyway). I thought it my also be some weird issue with how my ini file is set up, I even removed all the comment lines and left just the settings, but that didn't seem to do anything either.

This bug only happens when my mod is active. :(

Any suggestions would be greatly appreciated, because whatever I type in the console gets instantly wiped out by the repeating one line and I can't figure out what's going on!

EDIT:
I think I found it:
begin MenuMode;captures debug reference    if GetGS iSDRsDebugDetectionFilter == 1        if IsConsoleOpen == 1            Let vDebugActor := GetDebugSelection            if vDebugActor.IsActor != 1                Let sdrQ.dbgSelectedSwitch := 0                Let sdrQ.vDebugActor := 0            else                Let sdrQ.dbgSelectedSwitch := 1                Let sdrQ.vDebugActor := vDebugActor            endif        endif    else        Let sdrQ.dbgSelectedSwitch := 0                    Let sdrQ.vDebugActor := 0    endifEnd

It's sending the command to get the game setting to the console, right? Rather than just getting the game setting internally. Okay, I think I can fix this now with a temp variable.
User avatar
chinadoll
 
Posts: 3401
Joined: Tue Aug 22, 2006 5:09 am

Return to IV - Oblivion