AndiS wrote:I have never seen a double forward slash. Double blackslash would be logical as \\ really just means \, because \ normally introduces a sequence like \n.
One thing I remember is that it did not work when the folder to contain the log file did not exist. No idea whether that would have some bearing here.
I dont get it ive just reverted back to using a single forward slash and now its working ok i must of done something wrong in the early stages of trying it.It even recreates the file if you delete it.I also tried to create the log file in my developer source folder like below but it doesnt work.Looks like it will only create the file if its inside the "Assets" folder.
- Code: Select all
logfile = io.open("Source/Newbouy/Debug_Logs/logfile.txt", "a")
Regarding double slash`s heres a snip-it of Rudolf Heijink`s script which lead me to try the double slash idea.
- Code: Select all
scriptpath=".\\assets\\RudolfJan\\luadev\\"
dofile(scriptpath .. "common.lua")
dofile(scriptpath .. "debug.lua")
mydebug=DebugTS.new()
dofile(scriptpath .. "Guard.lua")
AndiS wrote:I use Crimson and Notepad++ and both tell you that the file has been modified but you have to confirm that.
Thanks for that info i will try that and see how it performs
JamesLit wrote:LM being open will cause TS to crash when it goes from the loading screen into the scenario or editor (route or scenario editor).
If you set the LogMate switch -SetLogFilters="All" and then set the switch -RemoveLogFilters to remove all the tabs that you didnt need you could actually run Logmate easily along side the game.If you just ran LogMate with no switches it would try to monitor everything and cause your PC to grind to a halt.I personally think its a shame they have disabled all of its features ,i seem to remember in the early days you could actually close the tabs you didnt require with a simple mouse click in one of the pull down menus.
Thanks alot Newbouy