Giter Site home page Giter Site logo

florian-sander / gseen.mod Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 7.0 48 KB

gseen.mod is an eggdrop module for providing information when users were last seen on a channel.

Home Page: http://www.kreativrauschen.com/gseen.mod/

Tcl 1.87% C 97.17% Makefile 0.96%

gseen.mod's People

Contributors

florian-sander avatar harekiet avatar michaelortmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gseen.mod's Issues

Eggdrop 1.8.0

When loading the eggdrop, 1.8:
Can't load modules gseen: This module requires eggdrop1.4.0 or later

1.8 is later then 1.4...but wont load the module

Include a warning about the DEBUG_MEM ifdef

gseen does a relatively large amount of memory allocations per seen-file entry. Eggdrop 1.8, being a development version, is by default compiled with memory debugging enabled which means there's an additional table to track n_malloc calls which is only 25000 entries short. To work around this, you have to compile eggdrop with the --disable-debug-mem configure flag, otherwise you get a "MEMORY TABLE FULL" error/crash which I assume most users can't debug themselves. Please work around this by including a warning in the documentation.

I want to load Gseen&Stats in my Eggdrop1.8 I am getting error

[06:06:43] Tcl error in file 'eggdrop.conf':
[06:06:43] invalid command name "loadseenslang"
while executing
"loadseenslang "en" "English" language/gseen.en.lang"
(file "scripts/gseen.conf" line 16)
invoked from within
"source scripts/gseen.conf"
(file "eggdrop.conf" line 209)
[06:06:43] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

make gseen to count time by system date/time, not bot's start time.

Hello everyone!
I am user of gseen.mod for years, and I want to ask you to make small change into current version of it:
By default gseen.mod is counting 00:00 from bot's start, and then save-seens variable counts from this time, i.e., makes saves every restart in different minutes.
Please make the module use system timer, and count "zero time" as always *:00 minutes, so if I set save-seen 15 - saves will be done in 00, 15, 30, 45 minutes by system time, not chaotic as for now.

Florian, an author of gseen, is pointed me to where I should take a look at (Thanks Florian!):
"The relevant code is in gseen.c, function gseen_minutely()."
Thanks in advance!
-Viktor

Why This Error ?

Can't load modules gseen: /home/Statistics/eggdrop/modules/gseen.so: wrong ELF class: ELFCLASS32

Issue Installing Gseen&Stats.

I Even copy all modules and correctly installing from my eggdrop where Gseen and Stats working at my new Eggdrop But again

Can't load modules gseen: /home/Statistics/eggdrop/modules/gseen.so: wrong ELF class: ELFCLASS32
Can't load modules stats: /home/Statistics/eggdrop/modules/stats.so: wrong ELF class: ELFCLASS32

I am running eggdrop Ver 1.8 not 1.6

!seen <nick> it reply twice

if you use !seen nick it reply twice

!seen player36
09:49:57 PM kcaBmask, player36 ([email protected]) was last seen parting #test 19 seconds ago (02.12. 13:49), after spending 2 minutes there.
09:49:59 PM kcaBmask, player36 ([email protected]) was last seen parting #test 19 seconds ago (02.12. 13:49), after spending 2 minutes there.

but if you use wild card the output is ok

kcaBmask, I found one match to your query: player36. player36 ([email protected]) was last seen parting #test 19 minutes ago (02.12. 13:49), after spending 2 minutes there.

running Eggdrop 1.8.4 using gseen mod 1.1.2

Problem Installing Gseen.

[04:54:50] Tcl error in file 'eggdrop.conf':
[04:54:50] invalid command name "loadseenslang"
while executing
"loadseenslang "en" "English" language/gseen.en.lang"
(file "gseen.conf" line 16)
invoked from within
"source gseen.conf"
(file "eggdrop.conf" line 213)
[04:54:50] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

I just Install Fresh Eggdrop 1.8.3

"year" in seen date

Hello Author!
As IRC old timer I want to ask you to make small fix in gseen module:
We all know the format for user info is - what your readme shows up: <|Argo|> G`Quann, fabian (~[email protected]) was last seen quitting from #eggdev 1 week 4 days 9 hours 40 minutes 56 seconds ago (20.02. 01:39) stating ".....zzzzZZZzzZZZzZZZZZZZZZZzzz..".
-- but as you see in date string we DO NOT see the year, only day.month and time.

Can you, please, update gseen module to show year variable in these "ago" strings, please?
Thank you in advance !

"loadseenslang" Error

I have put Language files in Language folder still getting error why???

[11:53:49] Can't load modules gseen: /home/Statistics/eggdrop/modules/gseen.so: wrong ELF class: ELFCLASS32
[11:53:49] Tcl error in file 'eggdrop.conf':
[11:53:49] invalid command name "loadseenslang"
while executing
"loadseenslang "en" "English" language/gseen.en.lang"
(file "gseen.conf" line 16)
invoked from within
"source gseen.conf"
(file "eggdrop.conf" line 215)

two useful features to implement

Hello dear author!
I am long time user of your GREAT GSEEN module and I want to ask you - when you'll have a time / have a will to do so - to make small changes in code:

  1. To place time format variables in the gseen.conf file, so users like me would not need to modify slang_gseen_commands.c file and its strings like - "strftime(t, 19, "%d.%m.%Y %H:%M", localtime(&tt));" - as you see I've added "%Y" there.
  2. I have met at least one time a remote host hdd crash where my bot was running - so gseen.dat file was heavyly corrupted... imagine that file contained seen data from 99/00 years... I've lost many useful data strings in gseen.dat and that was a pityful to know...
    I want to ask you to improve backup engine thus give users ability to define how many backups should be done per day, and give ability to users to define time format for those backup files, modifying "gseenfile" file variable OR setting new one - for example "gseen.dat.2023.05.25-09.07.20" - ".%Y.%m.%d-%H.%M.%S"

Thanks in advance !!!
-t

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.