Development Thread

So where is the user's nickname?

You can name your settings on the regular Civ4 Options screen (Profile Name), but mine is just "Default Profile" as I never changed it (no reason to).

There is of course the Leader name, but this will be shared for all players in an SG.

Am I missing a place where players enter their name separate from these two places?

Isn't it possible to re-use the code you wrote for the file name? I think, it's line 40 onwards in autologEventManager.py.
And don't forget to add the colon (should look like this: "Player name: bla"). :D

Edit: btw: A switch for Dresden's Improved Foreign Advisor Info Screen could be added to the options screen. :)
 
Just wanted to remind everyone that we're aiming for a release date of October 12th, 2008. That means a new feature code freeze starting this weekend. It will be Sunday morning at 3am Pacific Time. That's Saturday Night.;) All commits will be bug fixes so we need as much testing next week as we can get. That means no coding, but some playing only.:p

Cam, we need the help files updates so if you can finish your formating changes you made to the english help file, that would be awesome. What is the current state of the Italian and German files?
 
So where is the user's nickname?

You can name your settings on the regular Civ4 Options screen (Profile Name), but mine is just "Default Profile" as I never changed it (no reason to).

There is of course the Leader name, but this will be shared for all players in an SG.

Am I missing a place where players enter their name separate from these two places?
The default leadername for a new game comes from the following CivilizationIV.ini setting (in the [GAME] section)
Code:
; In-game Alias
Alias = Dave
But I don't know what most people have this set to (or even how I managed to originally set mine) nor do I know how (or even if) it is accessible from Python.
 
Isn't it possible to re-use the code you wrote for the file name?

Not my code, but I already looked there and can tell you that it's using the Leader name that you enter when you start a new game or set in Your Details in the main (ESC) menu. This is what I meant when I said that it would be the same for every player in an SG.

The default leadername for a new game comes from the following CivilizationIV.ini setting . . .

I knew I had seen that somewhere. However, I also don't know how to access that from Python, nor if any users will have changed it. I changed mine when I first edited that file to enable logging and set chipotle, but I suspect very few users know about it.

Edit: btw: A switch for Dresden's Improved Foreign Advisor Info Screen could be added to the options screen. :)

Yes, it could be added, if Dresden modified his changes to be optional (assumption on my part that they are not).
 
Yes, it could be added, if Dresden modified his changes to be optional (assumption on my part that they are not).
They are not currently optional but it shouldn't be too hard for me to go back and make them so since it's pretty much contained to two functions in the EFA.
 
They are not currently optional but it shouldn't be too hard for me to go back and make them so since it's pretty much contained to two functions in the EFA.

Yes, I would appreciate that. We strive to make everything optional in BUG.
 
Cam, we need the help files updates so if you can finish your formating changes you made to the english help file, that would be awesome. What is the current state of the Italian and German files?

Oh, the formatting is ok for now, the advanced formatting changes are not planned for this release :)
About the update status of the help files, it's reported in the
Extra Stuff\Help File\Stuff to add to help files.txt
that I suggest to read to all the BUG Team members, so that the missing help pieces can be written as soon as possible. I'm very busy now with work, so I fear that the only thing that I can do is the last one ("modify the help option files to match the new option layout and added options")
 
@3): I've seen the problem when checking the new layout with the default font but I had no good idea for a new design that would solve it. Maybe you got one. :D

What about the following?

Spoiler :
NewScoreboardLayout.jpg
 
So to get as many users testing for us as we can, I set up a daily build of the SVN and puts it on the webpage. Go here. This won't replace our normal releases, but it will make it alot easier for users not to have to deal with SVN. http://civ4bug.sourceforge.net/BUGModSVN.html
 
I like it with a few changes:

Top:

The 3 checkboxes under Icons: are additional columns, so seems strange to give them their own label Icons simply because they are icon columns. Perhaps put them above Score Delta. I can modify BugOptionsTab to allow you to indent Include Current Turn with a small space.

Bottom:

Move Left-Align Name and Research Icons to left column (Column Order: looks like a label for the things below it), move Column Order and its textbox to second column (no third column), and put default spacing below it.
 
I like it with a few changes:

Top:
The 3 checkboxes under Icons: are additional columns, so seems strange to give them their own label Icons simply because they are icon columns.

I didn't change it, it's already like this now :)
Anyway, I agree with you

Perhaps put them above Score Delta.
I can modify BugOptionsTab to allow you to indent Include Current Turn with a small space.

Good

Bottom:
Move Left-Align Name and Research Icons to left column (Column Order: looks like a label for the things below it), move Column Order and its textbox to second column (no third column), and put default spacing below it.

What about this second version?
(I'd like to leave to the column order text box as much space as possible, with the numbers fr spacing and spaces for increasing reading, a lot of characters are needed)

Spoiler :
NewScoreboardLayout2.jpg
 
Just wanted to remind everyone that we're aiming for a release date of October 12th, 2008. That means a new feature code freeze starting this weekend. It will be Sunday morning at 3am Pacific Time. That's Saturday Night.;) All commits will be bug fixes so we need as much testing next week as we can get. That means no coding, but some playing only.:p

That's nice to know. :D
Cam, we need the help files updates so if you can finish your formating changes you made to the english help file, that would be awesome. What is the current state of the Italian and German files?

I applied all the changes that where comitted up until now. I also wrote readmes for TechWindow and Dresden's Info Screen (see here: click) but only for the German help file. I guess, I could do it for the English help file as well if nobody else does it.

Not my code, but I already looked there and can tell you that it's using the Leader name that you enter when you start a new game or set in Your Details in the main (ESC) menu. This is what I meant when I said that it would be the same for every player in an SG.

[...]

Oh, Ok. I have no experience with SG games. :dunno:

I like it with a few changes:

Top:

The 3 checkboxes under Icons: are additional columns, so seems strange to give them their own label Icons simply because they are icon columns. Perhaps put them above Score Delta. I can modify BugOptionsTab to allow you to indent Include Current Turn with a small space.

[...]

I added the Icons label because I omitted the "... Icon" in the German translation of the options and because the space between the score delta and the icons cried for a label. :D

[...]

What about this second version?
(I'd like to leave to the column order text box as much space as possible, with the numbers fr spacing and spaces for increasing reading, a lot of characters are needed)

Spoiler :
NewScoreboardLayout2.jpg

Looks very good. :goodjob:
 
If you wish and have time, feel free to implement it (or something similar), I fear that I can't for this release (almost no available time at all).
If not, I'll do it for next release.

Sure, no problem. :D Here it comes:



But I guess, there will be problems with the default font. I'll test it later.
 
Noticed the following during diplomacy/autolog testing:
Code:
def StartLogger(vsFileName):

	if (AutologOpt.isUseDefaultFileName()
		[COLOR="Green"]or AutologOpt.isSilent()[/COLOR]
		or not vsFileName):
		ePlayer = gc.getGame().getActivePlayer()
		szfileName = gc.getPlayer(ePlayer).getName()
	else:
		szfileName = vsFileName
Anyone know why the silent/auto-logging option resets the filename?
 
Anyone know why the silent/auto-logging option resets the filename?

I saw that earlier today as well. It looks like the change from Silent to Autostart wasn't fully spread everywhere. I think the name should only be changed when Use Default Filename is set. Otherwise, leave it as what they put in.

Also, it shouldn't change the filename setting when overriding it. It should only set an internal filename that it uses for the current log file.
 
Anyone know why the silent/auto-logging option resets the filename?
I think that is a hang over from earlier. The non-silent mode asked for a file name with a dialog box. The silent mod doesn't show the dialog box so the filename parameter was blank - hence it had to go with the default one.

BTW: the main reason I put in the silent mode (and called it silent) was because I wanted to run the logger with zero information coming back to the screen ... nothing ... nada ... didn't want a screenshot giving away that I was running the logger in the background. It use to be that I could turn off some BUG items and no-one could tell that I was running BUG. Cannot do that now as I cannot fully turn off PLE.
 
Are you saying then that you'd like to re-add the Silent option? I think it should 100% be separate from Autostart as they have entirely different meanings.

I'll look into being able to completely disable PLE except for the hover info pane replacement (tried and failed to do this).
 
Are you saying then that you'd like to re-add the Silent option? I think it should 100% be separate from Autostart as they have entirely different meanings.
no - just giving some background
I'll look into being able to completely disable PLE except for the hover info pane replacement (tried and failed to do this).
Does that include the look of the unit icons / heal indicator / movement bar / etc?
 
Back
Top Bottom