Results 1 to 7 of 7
  1. #1
    MSgt. Shooter Person
    Join Date
    Nov 2009
    Posts
    45

    Default Problems with Log

    Can anyone get the log working in the editor for stuff in your unreal script?

    I'm using the following:

    `log("Taking Shot");

    But nothing is appearing in the editor log window

  2. #2
    MSgt. Shooter Person
    Join Date
    Nov 2009
    Posts
    105

    Default

    Ninja i noticed the issue with the logs also. What you need to do is let the game play out for awhile. Sometimes the best thing is to even win the match or cause it to restart to a new match after some time of playing. Otherwise it won't show your logs it just jumps to you leaving the game in the log file.

  3. #3
    Redeemer
    Join Date
    May 2000
    Location
    between the monitor and chair
    Posts
    1,523

    Default

    `log(...) is working perfectly, if you don't see anything then the code isn't executed
    Michiel 'El Muerte' Hendriks
    Magicball Network - Little Big Adventure community
    the Unreal Admin page - Unreal server administration
    UnrealWiki - UnrealScript and UnrealEd wiki.
    UnCodeX - powerful UnrealScript tool for programmers

  4. #4
    MSgt. Shooter Person
    Join Date
    Nov 2009
    Posts
    45

    Default

    The code is definately executing... otherwise my ball wouldn't actually be moving.

  5. #5
    MSgt. Shooter Person
    Join Date
    Aug 2006
    Posts
    104

    Default

    When I run the UDK Game itself, logs always work properly. Perhaps it is an issue with using the Play-In-Editor function?

  6. #6
    Redeemer
    Join Date
    Nov 2007
    Posts
    1,207

    Default

    I would suspect that the preview-in-editor would log to somewhere else. Try using showlog in the preview's console (it doen't appear in the autocomplete but it still exists).
    Nightblade, a stealth based total conversion for UT3

  7. #7
    MSgt. Shooter Person
    Join Date
    Nov 2009
    Posts
    341

    Default

    I've noticed this too.

    It appears that the time between calling log and the actual time that it is logged is quite delayed. If you quit as soon as the log is called then it might not write to the log fast enough and just simply... stop logging wherever it was at the time of termination.

    Sometimes if I quit a game too fast the log will actually cut off midway during the standard level-loading log info.

    As Taxxem noted, best to let it play out a little bit before you check your logs.


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.