1.1+ does not run dbglog

Found a bug in the game? Post it in one of the applicable sub forums depending on the version you are using. Tech support is also available in the Tech Support subforum.
Post Reply
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Since 1.1, any line with dbglog doesn't get run.
Is it possible to get that functionality back?
It breaks lots of old mods, and even mods that are prefaced with the right API version.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

dbglog causes a lot of disc churning and lag because it opens and closes the file each time. Even if it's made to run the code wrapped in the dbglog statement for backwards compatibility it probably shouldn't actually log it outside debug mode.
Literally is the new Figuratively
FourFire
Militia Captain
Militia Captain
Posts: 567
Joined: Sun Aug 12, 2012 5:56 pm

Could you please explain which sorts of mods use this dbglog?
(func(Admin Response)= true){
if(admin func(amiable) = true)
Create func(Helpful Posts)
else func(Keep Calm and Post derisive topics)}
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

I made this ticket because some people are still using dbglog and code that should be working is not working for them.

Atarlost: What you're suggesting is that we should keep things the way they are and that I should update mods I can't fix.

Here are some mods that I *can't* fix on Xelerus because they use dbglog:
Fellow Pilgrims
Salvagers Upgrade
Weapons Labs

If you want to fix them so that they fit the status quo, fine. But I'm sure that you won't do that, so I'm proposing the easier alternative: make dbglog run so that these mods work.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

No, I suggested that the dbglog execute the code inside, but not actually write to the log file unless the game is running in debug mode.
Literally is the new Figuratively
Post Reply