Most logs are not shown

Discussions about Coding and Scripting
Post Reply
User avatar
PrinceOfFunky
Godlike
Posts: 1200
Joined: Mon Aug 31, 2015 10:31 pm

Most logs are not shown

Post by PrinceOfFunky »

I did nothing to the UnrealTournament.ini lately, and since two days ago, when I start UnrealTournament.exe, I cannot see most of the logs, checking them with the "showlog" console command.
I tried seeing logs with the same command, and I can see logs, at least, more than how many logs I can see now executing the same command from UT game.
I tried running "Launch.exe" and it shows logs, I tried to check differences between UnrealTournament.ini and Launch.ini, but there are not so many differences.
Do you know how I could fix this problem? Logs are one of the best ways to debug UT :(
"Your stuff is known to be buggy and unfinished/not properly tested"
Higor
Godlike
Posts: 1866
Joined: Sun Mar 04, 2012 6:47 pm

Re: Most logs are not shown

Post by Higor »

Log suppression MAH BOI.

My UT.ini has almost everything unsuppressed, you probably have more stuff in there than I do

Code: Select all

[Core.System]
PurgeCacheDays=0
SavePath=../Save
CachePath=../Cache
CacheExt=.uxx
;Suppress=DevLoad
;Suppress=DevSave
;Suppress=DevNetTraffic
;Suppress=DevGarbage
;Suppress=DevKill
;Suppress=DevReplace
Suppress=DevSound
;Suppress=DevCompile
;Suppress=DevBind
;Suppress=DevBsp
User avatar
sektor2111
Godlike
Posts: 6411
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Most logs are not shown

Post by sektor2111 »

Aside, by suppressing ScriptLog looks like detection of XC without dependencies is not possible.

I see this:

Code: Select all

;Suppress=DevBsp
With Meaning ? I wanna know more about these...
User avatar
PrinceOfFunky
Godlike
Posts: 1200
Joined: Mon Aug 31, 2015 10:31 pm

Re: Most logs are not shown

Post by PrinceOfFunky »

Higor wrote:Log suppression MAH BOI.

My UT.ini has almost everything unsuppressed, you probably have more stuff in there than I do

Code: Select all

[Core.System]
PurgeCacheDays=0
SavePath=../Save
CachePath=../Cache
CacheExt=.uxx
;Suppress=DevLoad
;Suppress=DevSave
;Suppress=DevNetTraffic
;Suppress=DevGarbage
;Suppress=DevKill
;Suppress=DevReplace
Suppress=DevSound
;Suppress=DevCompile
;Suppress=DevBind
;Suppress=DevBsp
No man, I unsuppressed everything from Core.System, still, this is what I get when starting UnrealTournament.exe :

Code: Select all

Log: WM_KILLFOCUS
Log: EndFullscreen
Log: Viewport WindowsViewport0: WM_DisplayChange
>
sektor2111 wrote:Aside, by suppressing ScriptLog looks like detection of XC without dependencies is not possible.

I see this:

Code: Select all

;Suppress=DevBsp
With Meaning ? I wanna know more about these...
"suppress" is a common term to use when you don't need to see logs from certain variables, functions etc...
"Your stuff is known to be buggy and unfinished/not properly tested"
User avatar
sektor2111
Godlike
Posts: 6411
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Most logs are not shown

Post by sektor2111 »

I was asking about ALL those SUPPRESS described terms and what you show there is only last part of log window. If you have them it's interesting how you don't have the rest.
In my quote example I was asking about DevBsp and meaning of suppressing this internal DEV. I see no answer neither at Wiki that's why I was asking. No problem, I'll check this and perhaps I'll figure what that means.
User avatar
PrinceOfFunky
Godlike
Posts: 1200
Joined: Mon Aug 31, 2015 10:31 pm

Re: Most logs are not shown

Post by PrinceOfFunky »

sektor2111 wrote:what you show there is only last part of log window. If you have them it's interesting how you don't have the rest.
Yes I only have it.
I was just programming a gametype and seeing some functions to override from the original GameInfo.uc, in the UnrealTournament.ini I only added the sections from 2 gametypes.
"Your stuff is known to be buggy and unfinished/not properly tested"
User avatar
Wormbo
Adept
Posts: 258
Joined: Sat Aug 24, 2013 6:04 pm
Contact:

Re: Most logs are not shown

Post by Wormbo »

Where did you install the game? If it resides somewhere under Program Files, you won't get proper logs unless you run it as admin.
User avatar
PrinceOfFunky
Godlike
Posts: 1200
Joined: Mon Aug 31, 2015 10:31 pm

Re: Most logs are not shown

Post by PrinceOfFunky »

Wormbo wrote:Where did you install the game? If it resides somewhere under Program Files, you won't get proper logs unless you run it as admin.
No I didn't install it under Program Files and logs were shown until last week.
"Luckily" I made a backup of some files, UnrealTournament.ini included, so I just compared both the INIs (the backup and the one I'm using) with Notepad++ plugin, and these are the changes:
<On the left there are the backup settings, on the right there are the one I'm using now>

RunCount=1491 > RunCount=1574
Everything suppressed > Nothing suppressed
EditPackages=UnrealRace_v06a > EditPackages=UnrealRace_v08a
MaxPlayers=16 > MaxPlayers=1
bWorldLog=False > bWorldLog=True
GameLog=(X=327,Y=331,XL=1209,YL=533) > GameLog=(X=711,Y=406,XL=1209,YL=533)
Preferences=(X=1062,Y=204,XL=352,YL=512) > Preferences=(X=716,Y=568,XL=352,YL=512)
EditActor=(X=936,Y=350,XL=352,YL=512) > EditActor=(X=1241,Y=375,XL=352,YL=512)
Map=UR-Again.unr > Map=DM-!!SD!!-Bistro.unr
GameType=UnrealRace_v06a.Race > GameType=BotPack.DeathMatchPlus
MutatorList=CommandSystem_v09b.CommandSystem > MutatorList=
MapNum=11 > MapNum=13
MaxLaps=3 > MaxLaps=0

And I added this section with these parameters:

Code: Select all

[UnrealRace_v08a.RacePractice]
MaxLaps=0
CPInterval=1
MaxPlayers=1
FragLimit=30
TimeLimit=0
bMultiWeaponStay=True
bForceRespawn=False
bUseTranslocator=False
MaxCommanders=0
bNoMonsters=False
bHumansOnly=False
bCoopWeaponMode=False
bClassicDeathMessages=False
Tell me, if you need to know the sections of the parameters I wrote.

EDIT: No logs are shown even when I start the game as administrator.

EDIT 2: Logs just came back, apparently for no reason.
"Your stuff is known to be buggy and unfinished/not properly tested"
Post Reply