This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Unixtime problem with bseen1.4.2.tcl

Old posts that have not been replied to for several years.
Locked
B
Bro

Post by Bro »

Hiya,

I downed the bseen and installed it and got it working and all.. Only problem is that the times are totally phucked up. Like when someone has left the chnl 10 minutes ago the bot says he left something like 50 seconds ago and so on... I'm thinking that maybe my puter gives out the unixtime in wrong format. Any ideas how to fix this? I'm running an eggdrop1.6.4 on Linux RedHat 6.2.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This is due to a bug that existed up until version 1.6.4 of eggdrop.

1.6.5+ are fixed.

You can however use place these 3 lines at the bottom of your config file, to help fix it.

Code: Select all

proc unixtime {} {
  return [clock seconds]
}
and rehash the bot.

You will notice that the times are still wrong at first, but this will slowly fix itself, as the seen database updates itself.
B
Bro

Post by Bro »

Hey thanks a lot for the quick answer, it worked. =)
Locked