• last read pointers

    From vorlon@21:1/195.1 to apam on Sat Dec 1 13:24:25 2018
    Hi Apam,

    I've got a posable issue/bug with Magicka. Due to limited resources on
    this machine, I have the following in the magimail.prefs file:

    AREA "FSX_MAG" 21:1/195.1 JAM "/home/MagickaBBS/msgs/fsx_mag"
    EXPORT %21:1/195.0
    GROUP F
    KEEPDAYS 30
    KEEPNUM 200

    I then run a event, that does:
    magimaint maint pack

    To trim down the messages in eacg area. This works fine and does remove
    old messages. But the issue is that Magicka then wont list the area's
    with new messages or ones addressd to me on login.

    I can go to each area and do a read new, and it will display new messages
    for me to read.

    Is this a bug or the way I'm reducing the number of messages in each
    area? Otherwise it takes some time to do area changes etc...




    \/orlon



    --- MagickaBBS v0.12alpha (Linux/m68k)
    * Origin: Vorlon Empire: <Sector 550> (21:1/195.1)
  • From apam@21:1/125 to vorlon on Sat Dec 1 12:42:15 2018
    Is this a bug or the way I'm reducing the number of messages in each
    area? Otherwise it takes some time to do area changes etc...

    Sounds like a bug I'll have a look at it soon.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From apam@21:1/125 to vorlon on Sat Dec 1 13:24:42 2018
    To trim down the messages in eacg area. This works fine and does
    remove old messages. But the issue is that Magicka then wont list the area's with new messages or ones addressd to me on login.

    I've pushed a fix now for listing areas with new messages, I'm not sure
    what's going on with the personal messages though.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From vorlon@21:1/195.1 to apam on Sat Dec 1 16:36:02 2018
    Hello Andrew,

    remove old messages. But the issue is that Magicka then wont list the area's with new messages or ones addressd to me on login.

    I've pushed a fix now for listing areas with new messages, I'm not sure what's going on with the personal messages though.

    Just for referance this is what I have in the email section of the login stanza:

    -- Check email
    local email = bbs_get_emailcount();
    if (email > 0) then
    bbs_write_string(string.format("\r\n\r\nYou have %d emails in
    your inbox\r\n", email));
    else
    bbs_write_string("\r\n\r\nYou have no email\r\n");
    end

    bbs_mail_scan();
    bbs_personal_mail_scan();
    -- Done!






    \/orlon



    --- MagickaBBS v0.12alpha (Linux/m68k)
    * Origin: Vorlon Empire: <Sector 550> (21:1/195.1)
  • From apam@21:1/125 to vorlon on Sat Dec 1 15:45:32 2018
    Just for referance this is what I have in the email section of the
    login stanza:

    -- Check email
    local email = bbs_get_emailcount();
    if (email > 0) then
    bbs_write_string(string.format("\r\n\r\nYou have %d emails in
    your inbox\r\n", email));
    else
    bbs_write_string("\r\n\r\nYou have no email\r\n"); end

    bbs_mail_scan();
    bbs_personal_mail_scan();
    -- Done!

    That looks right, did the fix help with the bbs_mail_scan part or is it
    still broken?

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From vorlon@21:1/195.1 to apam on Sun Dec 2 15:56:01 2018
    Hi apam,

    That looks right, did the fix help with the bbs_mail_scan part or is it still broken?

    Yes, the last two logins to the system have shown me that there is new
    mail, and it's now listing the number of new mails to me.

    Thanks,



    \/orlon



    --- MagickaBBS v0.12alpha (Linux/m68k)
    * Origin: Vorlon Empire: <Sector 550> (21:1/195.1)
  • From apam@21:1/125 to vorlon on Sun Dec 2 15:05:22 2018
    Hi apam,

    That looks right, did the fix help with the bbs_mail_scan part or still broken?

    Yes, the last two logins to the system have shown me that there is
    new mail, and it's now listing the number of new mails to me.

    Oh good. Glad it's working :)

    Thanks

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)