Wanted feature: Save userdata on regular basis

Releases and bugs in here...
BSOD2600
Forum Moderator
Posts: 503
Joined: 2003-01-27 23:47
Location: USA

Wanted feature: Save userdata on regular basis

Post by BSOD2600 » 2003-07-13 21:24

I think it would be a good idea to include an option, if enabled, to save the hub user data (+refresh) every several hours in case something happens to the sever (like the damn POS keeps BSOD'ing).

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 14:32

Post by Sedulus » 2003-07-13 22:25

http://wza.digitalbrains.com/DC/dchpp/C ... 41.tar.bz2

I was lazy and didn't implement some kind of timer thread..
..it simply checks every "mainchat" if 30 minutes have passed, and then it performs a save (does not reload motd, like +refresh also does)
but if you mess with settings in mainchat (instead of through PM's), this shouldn't be a problem

please comment if I need to change that
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 14:32

Post by Sedulus » 2003-07-13 22:31

(ow.. untested ;) )
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

BSOD2600
Forum Moderator
Posts: 503
Joined: 2003-01-27 23:47
Location: USA

Post by BSOD2600 » 2003-07-14 00:29

Wow, that was a fast reply/fill! It appears to work just fine...

Who is online

Users browsing this forum: Google [Bot] and 0 guests