rejetto forum

Update check and ISO date

MarkV · 12 · 3387

0 Members and 1 Guest are viewing this topic.

Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
Quote from: HFS log
2006-12-06 19:31:13 Server start
06.12.2006 19:32:31 Check update: no new version

Update check doesn't use ISO date!


MarkV
http://worldipv6launch.org - The world is different now.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
hmm, i tested it and wasn't able to reproduce the bug. can you?

Code: [Select]
2006-12-08 5.44.11 Check update: new version found

in the INI, you can remove last-update-check to reset the timer.


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
Quote
from maverick's HFS log:
2006-12-08 2:53:15 AM Server start
2006-12-08 2:53:40 AM Check update: no new version

I tested it here too.  I can't reproduce either.  Working as it should.
maverick


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
Quote from: HFS log
2006-12-11 00:55:12 Server start
2006-12-11 00:56:19 Check update: no new version

Problem resolved itself. My hfs.ini was still from build #061 and not updated. Re-saved settings and now works fine.

Though I may add...

The update check should occour daily, right? I never save my settings automatically, neither at shutdown nor timed. Thus the Last_update_check value never gets updated, either.

You could write that value to an extra update.ini file immediately after update check, regardless of the 'Save settings' chosen or not. Or you could always write this value to the registry.

Topic can be closed as original problem has been resolved, cheers!

MarkV
http://worldipv6launch.org - The world is different now.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
ok, i found a solution.

upon checking for updates, HFS saves a temp file (in the temp system folder) for remembering the time.
when options are saved, this value is included in the options, so the temp file is deleted.
if options are not saved, the file remains, and is "loaded" next time HFS starts.

"uninstall" and "clear options", both delete this temp file.

this method is included since build #068.
this build is released as unstable at www.rejetto.com/temp/hfs068.exe
should be declared stable after 5 days.
trying this new way after recent complaints.
« Last Edit: December 13, 2006, 04:52:42 AM by rejetto »


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
OK, I'm unlocking this topic again. :)

Quote from: rejetto
...HFS saves a temp file (in the temp system folder)...

Do you mean the folder defined by 'TEMP'? That would make no sense since I clean this folder regularly. Couldn't this file be in HFS program directory?

MarkV
http://worldipv6launch.org - The world is different now.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
hmm, i could save in the same folder of HFS, and if it is not writable, save in the TEMP folder.
how this?


Offline ledufe

  • Tireless poster
  • ****
    • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
i agree, as the hfs use some default ports, it could use some default folders, it is a good idea rejetto...
<<LeDuFe>>


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
hmm, i could save in the same folder of HFS, and if it is not writable, save in the TEMP folder.
how this?

Perfect.  ;D


MarkV
http://worldipv6launch.org - The world is different now.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i'm working on another fix
will publish a build soon