Bug Reporting

Code:
if (theKey == int(InputTypes.KB_E)
and self.eventMgr.bAlt
and BugAutolog.isEnabled()
and BugAutolog.isLoggingOn()):
   self.eventMgr.beginEvent(CvUtil.EventCustomLogEntry)
   return 1

Logging has to be enabled and turned on. It is automatically turned on if you have silent enabled, if not, you have to start it with Alt-L. that said, I bet I broke it when I put in the 'isLoggingOn' stuff - although, I do have some recollection of testing it.

Alt-M = reMinders.
 
strange... alt + L brought it up, even though I had it enabled by default. Maybe it stored when we had the logger problems, and I was turning it on and off to test it? Why do we need to do alt + L after it's turned on and then off? Shouldn't clicking on the check box ensure that it's 100% enabled?
 
strange... alt + L brought it up, even though I had it enabled by default. Maybe it stored when we had the logger problems, and I was turning it on and off to test it? Why do we need to do alt + L after it's turned on and then off? Shouldn't clicking on the check box ensure that it's 100% enabled?
Enabling logging doesn't start logging unless you have silent enabled. If you don't have silent enabled, then you have to start it manually.

Copy of post from earlier ...
History: The original logger didn't have the 'silent' option. When you started or loaded a game, a dialog popped up while the game was loading asking you to put in a file name. If you were too slow - it didn't log. For this reason, I put in the Alt-L command that popped up the said dialog box. However, I started to play some games and forgot to start the logger. :mad: Thus I put in the silent option (auto start the logger with a pre-defined name). And also introduced the convoluted way of not logging (uncheck enable AND silent).

Revision 607 of BUG
(just updated) now has an internal 'isLoggingOn' flag which says is logging is on or not. Here are your options:

You start a game / load a game with logging ENABLED checked ...

  • silent is checked - logger auto starts and logs events
  • silent is not checked - nothing happens, you have to manually start the game with Alt-L ... after Alt-L (and ok), logging starts
  • If you uncheck ENABLED while playing a game, all logging stops
  • if you re-ENABLE logging while playing the same game, I think logging starts

You start a game / load a game with logging ENABLED not checked ...

  • silent is checked - nothing happens
  • silent is not checked - nothing happens
  • you press Alt-L - nothing happens
  • ditto Alt-B and Alt-E
  • If you open the BUG option screen and put a check in ENABLED - NOTHING HAPPENS. The game does not start logging, even if you have 'silent' checked. You have to Alt-L to start the logger (if silent is checked, it looks like nothing happens but it does start logging - confirm with Alt-E)
 
Is it possible to make reminders SHIFT-ALT+R, or CTRL-SHIFT+R ?

Sure, this is actually quite easy in Civ. :) I don't know if those are used by other actions, though. Anyone else know for sure?
 
No they're not. I suggested this when we were first putting things together, but someone said we should keep it the same so people who used Ruff's wouldn't be confused. If we do this, we should probably keep Alt + M as well.
 
If we do this, we should probably keep Alt + M as well.

That's the plan. Pick one and I'll add it. I'm used to Alt-M, so you better believe it'll stay in there. :)
 
My vote is the same combo as the option screen.
 
damn it. The full PLE I just put in makes it so the Options Screen won't come up at all.
You are putting in the full version of PLE - very best of luck. I never want to see that code again :D :run:
 
Spoiler :
Code:
  File "CvEventInterface", line 30, in onEvent

  File "CvCustomEventManager", line 126, in handleEvent

  File "CvCustomEventManager", line 150, in _handleConsumableEvent

  File "MoreCiv4lerts", line 118, in onKbdEvent

  File "MoreCiv4lerts", line 330, in CheckForAlerts

NameError: global name 'buildPlayerString' is not defined
ERR: Python function onEvent failed, module CvEventInterface

Here's the error log I got. I can't access the options screen, nor enter the Reminders tab. I CAN do Events though.
 
Fixed. I was missing a "self." in front of 3 calls to a new function. I don't know if this fixes the options screen not opening, but it will clear up that error log you're seeing.
 
Fixed. I was missing a "self." in front of 3 calls to a new function. I don't know if this fixes the options screen not opening, but it will clear up that error log you're seeing.

Yes, it works :)
A strange thing is that it only was broken with old save files.
I'll close the bug report I had just done. :)
 
I'm getting an error in the BUG checkout / update ...

Error: In directory 'C:\Documents and Settings\timpratt\My Documents\My Games\The BUG Mod\CustomAssets\Python\BUG\Tabs'
Error: Can't copy 'C:\Documents and Settings\timpratt\My Documents\My Games\The BUG Mod\CustomAssets\Python\BUG\Tabs\.svn\tmp\text-base\BugPlotListOptionsTab.py.svn-base' to 'C:\Documents and Settings\timpratt\My Documents\My Games\The BUG
Error: Mod\CustomAssets\Python\BUG\Tabs\.svn\tmp\BugPlotListOptionsTab.py.tmp.tmp': No error
 
Please try again. Alerum and I changed a filename by case only, and I think that borked it. So I renamed it completely. If you still cannot update, I'll file a ticket with SF.net to have them remove the file from the server. Unfortunately, they don't give us access to the SVN servers like they do with CVS.
 
works now. @730. It was 600 about 30 mins ago (well, it felt like 30 mins)
 
Please try again. Alerum and I changed a filename by case only, and I think that borked it. So I renamed it completely.

The change of a filename by case only can only be done with repo-browser, I did it several times and it works perfectly.

You can also use repo-browser to delete files from server, but I'm not sure if this works in the case of these errors.
 
Back
Top Bottom