Could I request that ESB should flush its log file when it finishes loading a dungeon?
It probably doesn't affect most people, but I'm still tinkering with trying to get this random dungeon generator to be better than "probably solvable" 8-)
(done) ESB log flush
Moderator: Sophia
Forum rules
Please read the Forum rules and policies before posting. You may
to help finance the hosting costs of this forum.
Please read the Forum rules and policies before posting. You may

- Sophia
- Concise and Honest
- Posts: 4306
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Re: [Feature Request] ESB log flush
By "flush" do you mean write the buffers to disk immediately, or do you mean empty the log?
I don't quite understand what you want to do.
I don't quite understand what you want to do.

Re: [Feature Request] ESB log flush
If I load a dungeon in ESB, I cannot see the logs generated in the process until ESB is closed (or enough data is generated to trigger a write). So it would be handy to have the buffers written out at that point so that I can see what is going on. (I'm dumping reams of additional data into the log file for layout debugging purposes)
I can get around it by saving to a temporary file, closing ESB, opening the log, reopening the temporary file, and making sure not to refresh my view of the logfile, but its a bit convoluted...
I can get around it by saving to a temporary file, closing ESB, opening the log, reopening the temporary file, and making sure not to refresh my view of the logfile, but its a bit convoluted...
Friends don't let friends eat worm round
- Sophia
- Concise and Honest
- Posts: 4306
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Re: [Feature Request] ESB log flush
This shouldn't be too difficult to add. I'll try to have a new version really soon.
Re: (done) ESB log flush
No great hurry- I do have a workaround for it 8-)
Friends don't let friends eat worm round
- Sophia
- Concise and Honest
- Posts: 4306
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Re: (done) ESB log flush
Sorry it took so long to get around to this.
Here's a new DSB.exe and ESB.exe for DSB 0.65. It flushes the logs more often, but if I've failed to anticipate your needs, I've also added a __flush command that you can use to manually flush the buffers.
Here's a new DSB.exe and ESB.exe for DSB 0.65. It flushes the logs more often, but if I've failed to anticipate your needs, I've also added a __flush command that you can use to manually flush the buffers.