Bug: Time Stamp in agsedit.log (FIXED)

Started by Gilbert, Wed 11/01/2006 07:29:01

Previous topic - Next topic

Gilbert

Whenever there're some notices or warnings in the editor they'll be recorded in agsedit.log, with time stamps. Just noticed that there seems to be a minor bug in the recorded date.

For example, today I checked out some game source (not mine) which required the agi graphics plugin but I forgot to put it into the AGS folder, so a warning was generated, telling me I didn't have the DLL in the correct place. Later I opened agsedit.log out of boredom and found the following line:

11/00/06 15:19 WARNING      The plugin 'ags_agi.dll' was not found, and this game relies on it. You can continue, but any plugin-specific settings will be lost if you save the game.

So the month was reported as 00th?2? I bet it's possibly a millenium bug (like the one in V2.62 engine which returned wrong year) that somehow the 100+th year gave a carry over to the month, OR, there's some glitch that the reported month is always one lower than the correct one (so it starts from 0).

Pumaman

#1
Heh well spotted, it's indexed from 0 rather than 1 ... I can't believe I never spotted this before. I guess you just normally focus on the time and don't really concentrate on the date ;)

I'll fix it.

Edit by strazer:

AGS v2.72 Beta 1:
* Fixed agsedit.log timestamp having the wrong month.

SMF spam blocked by CleanTalk