View Full Version : -DDD output
Huzurdaddi
October 9th, 2007, 02:27 AM
I ran a game with the -DDD option enabled and I'm looknig for information about which provinces are owned by each player. Does anyone know if that is in there or if I need to persue other methods if I want that type of data.
Cor2
October 9th, 2007, 04:08 AM
I don't understand.
Huzurdaddi
October 9th, 2007, 04:12 AM
-DDD is a command line switch for dominions. It enables debug level log file spew which is quite verbose. I would like to know if I can grep this file for information about which nation controls which province.
Or if there is another way of determining province control information that would be great.
llamabeast
October 9th, 2007, 08:49 AM
Pretty sure it's in there somewhere, though Gandalf's really the man to ask.
By the way you can go all the way to -ddddd.
Gandalf Parker
October 9th, 2007, 11:44 AM
Its not really meant for us. Its a "debug" switch for Johan. So it doesnt actually put out reports like say who owns what dominion. However, you can track the combats, and who wins, and keep a record of the province changes that way. To double-check your work you can take the province number from the scores.html to compare with your totals.
Huzurdaddi
October 10th, 2007, 02:38 AM
Gandalf Parker said:
However, you can track the combats, and who wins, and keep a record of the province changes that way. To double-check your work you can take the province number from the scores.html to compare with your totals.
That is going to be twichy, but it should do the trick.
Gandalf Parker
October 10th, 2007, 12:31 PM
I had an idea once of choosing a good large map and making a version of it that was just the province lines. Then tracking the provinces, using something like Gimp or ImageMagick to drop colors into the province and make it viewable online. That way a long running game could have a map like other games have which shows everyones growth in more than just numbers.
I know that everyone wouldnt like that kindof game but it would be an interesting option
Huzurdaddi
October 10th, 2007, 12:34 PM
You nailed on the head exactly what I am going to do.
Having to maintain my own state is a little drag though.
Tuidjy
October 10th, 2007, 12:43 PM
You will have to track the "our forces met no resistance" messages, too.
Huzurdaddi
October 10th, 2007, 12:59 PM
Good point. I'll have to see how that works out in the log file.
Gandalf Parker
October 10th, 2007, 05:31 PM
Have fun reading the logs.
Everytime I do it for a project like this I get distracted by other things in it and thinking "now what can I do with that knowledge".
Setup a postexec or preexec to copy the log to another file. If you let it keep running into the same file it will fill your machine fast
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.