American Civil War Game Club (ACWGC)
http://www.wargame.ch/board/acwgc/

Peninsula Problem
http://www.wargame.ch/board/acwgc/viewtopic.php?f=4&t=21076
Page 1 of 1

Author:  mihalik [ Wed Oct 17, 2018 12:08 pm ]
Post subject:  Peninsula Problem

Having a problem in Peninsula sometimes. When I try to save, the program kicks me out, so I have to re-do that portion of the turn. Today it kicked me out advancing the phase from fire to melee. Anyone else experiencing this?

Author:  Joe Meyer [ Wed Oct 17, 2018 6:47 pm ]
Post subject:  Re: Peninsula Problem

What Peninsula version are you running. Mike?

Author:  mihalik [ Thu Oct 18, 2018 10:35 am ]
Post subject:  Re: Peninsula Problem

The latest, 3.0, with the new toolbar.

Author:  Berto [ Thu Oct 18, 2018 12:27 pm ]
Post subject:  Re: Peninsula Problem

If that happens again, immediately make a ZIP file of your Logs folder, then post it here.

Author:  mihalik [ Thu Oct 18, 2018 6:07 pm ]
Post subject:  Re: Peninsula Problem

Wow, I didn't even realize I had a log folder!

Thanks, Berto!

Author:  Berto [ Thu Oct 18, 2018 8:49 pm ]
Post subject:  Re: Peninsula Problem

In the Logs folder, if you see an error.log, or somewhere within engine.log, they might provide a clue.

Author:  mihalik [ Thu Oct 18, 2018 10:26 pm ]
Post subject:  Re: Peninsula Problem

Thanks again, Berto!

Looked at the engine log but all entries are for today, and all I did today was examine the battlefield! And there are a bunch.

Sometime if you ever have time I'd like a brief overview of how the logs function. Under no circumstances let it interfere with your work though!

Author:  mihalik [ Fri Oct 19, 2018 9:04 am ]
Post subject:  Re: Peninsula Problem

Berto,

Here is the log file from when it kicked me out.

Attachments:
Logs.zip [7.3 KiB]
Downloaded 361 times

Author:  Berto [ Fri Oct 19, 2018 3:59 pm ]
Post subject:  Re: Peninsula Problem

Please upload your entire Saves folder as a ZIP file also.

Author:  mihalik [ Sat Oct 20, 2018 6:06 am ]
Post subject:  Re: Peninsula Problem

Done!

Attachments:
Saves.zip [540.13 KiB]
Downloaded 345 times

Author:  Berto [ Sat Oct 20, 2018 7:17 am ]
Post subject:  Re: Peninsula Problem

The "tail" (last 10 lines) of your error.log says:

rober@B10Trto /cygdrive/c/Temp/Logs/Logs
$ tail error.log
2018-10-08 11:25:23 cpp.exe: [ERROR ID 1000] (FileM.cpp, line 945, FileMenu::OldBattle()) Saves\$pen.bte file data read error
2018-10-08 13:04:25 cpp.exe: [ERROR ID 1000] (FileM.cpp, line 945, FileMenu::OldBattle()) Saves\$pen.bte file data read error
2018-10-11 09:08:07 cpp.exe: [ERROR ID 1000] (FileM.cpp, line 945, FileMenu::OldBattle()) Saves\check.bte file data read error
2018-10-12 17:50:03 cpp.exe: [ERROR ID 1000] (FileM.cpp, line 945, FileMenu::OldBattle()) Saves\$pen.bte file data read error
2018-10-12 17:54:05 cpp.exe: [ERROR ID 1000] (FileM.cpp, line 945, FileMenu::OldBattle()) Saves\$pen.bte file data read error
2018-10-13 15:11:06 cpp.exe: [ERROR ID 1000] (FileM.cpp, line 945, FileMenu::OldBattle()) Saves\$pen.bte file data read error
2018-10-13 15:11:21 cpp.exe: [ERROR ID 1000] (FileM.cpp, line 945, FileMenu::OldBattle()) Saves\$pen.bte file data read error
2018-10-13 15:11:48 cpp.exe: [ERROR ID 1000] (FileM.cpp, line 945, FileMenu::OldBattle()) Saves\$pen.bte file data read error
2018-10-13 15:12:18 cpp.exe: [ERROR ID 107] (Window.cpp, line 256, XCWindow::ReadFile()) C:\HPS\HPS Simulations\Campaign Peninsula\Saves\$pen.bte file data error
2018-10-13 16:31:46 cpp.exe: [ERROR ID 1000] (FileM.cpp, line 945, FileMenu::OldBattle()) Saves\$pen.bte file data read error

You can see all the "data read error". (Note how the error.log records all errors far back in time. error.log is cumulative. engine.log etc. are started afresh with every game etc. program launch.)

Here is the tail of the engine.log:

rober@B10Trto /cygdrive/c/Temp/Logs/Logs
$ tail engine.log
2018-10-19 08:52:54 cpp.exe: [TRACE ID 2012] (FileM.cpp, line 1228, FileMenu::WriteData()) exiting FileMenu::WriteData()
2018-10-19 08:52:54 cpp.exe: [TRACE ID 2012] (Window.cpp, line 295, XCWindow::WriteFile()) exiting XCWindow::WriteFile()
2018-10-19 08:52:54 cpp.exe: [TRACE ID 2011] (Window.cpp, line 47, XCData::~XCData()) entering XCData::~XCData()
2018-10-19 08:52:54 cpp.exe: [TRACE ID 2012] (Window.cpp, line 53, XCData::~XCData()) exiting XCData::~XCData()
2018-10-19 08:52:54 cpp.exe: [TRACE ID 2012] (Window.cpp, line 359, XCWindow::OnFileSave()) exiting XCWindow::OnFileSave()
2018-10-19 08:56:47 cpp.exe: [TRACE ID 2011] (Window.cpp, line 350, XCWindow::OnFileSave()) entering XCWindow::OnFileSave()
2018-10-19 08:56:47 cpp.exe: [TRACE ID 2011] (Window.cpp, line 23, XCData::XCData()) entering XCData::XCData()
2018-10-19 08:56:47 cpp.exe: [TRACE ID 2012] (Window.cpp, line 38, XCData::XCData()) exiting XCData::XCData()
2018-10-19 08:56:47 cpp.exe: [TRACE ID 2011] (Window.cpp, line 272, XCWindow::WriteFile()) entering XCWindow::WriteFile()
2018-10-19 08:56:47 cpp.exe: [INFO ID 1] in XCWindow::WriteFile(), opening Saves\$pen.bte for writing

If you look at your latest $pen.bte file -- why such a strange name for your save file? -- it is gobbledygook, because encrypted.

AFAIK, somehow your .bte files got corrupted, quite a while back in fact. You can see this by looking at your error.log, where the first 'Saves\$pen.bte file data read error' dates back to

2018-08-15 11:17:46 cpp.exe: [ERROR ID 1000] (FileM.cpp, line 945, FileMenu::OldBattle()) Saves\$pen.bte file data read error

i.e., August 15 of this year.

I hate to say it, but your save games somehow got corrupted along the way, at present no telling why, and there is no fixing this situation. If we could somehow turn the clock back to August 15 and analyze the files from that time, with a lot of effort it might have been possible to analyze and fix things. But not now.

It is just one of those things, sorry.

Author:  mihalik [ Sat Oct 20, 2018 1:00 pm ]
Post subject:  Re: Peninsula Problem

Berto,

That's OK. I can live with it. And I learned something. Thanks for your help!

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/