• MPL/MPY to interact with bbslist

    From ryan@21:1/168 to All on Sat Mar 7 01:14:05 2020
    Hey guys,

    I'd like to write a more interactive BBSList mod. But I would also like to leverage the existing BBSList data that I already have. Is there
    documentation anywhere that would point me at how to mess around in the existing BBSList data? I'd like to be able to read and write to it.

    Thanks!

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From xqtr@21:1/111 to ryan on Sat Mar 7 10:12:58 2020
    I'd like to write a more interactive BBSList mod. But I would also like
    to leverage the existing BBSList data that I already have. Is there documentation anywhere that would point me at how to mess around in the existing BBSList data? I'd like to be able to read and write to it.


    gryphon has made a very good bbs list mod, you should give it a look.

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A45 2020/02/18 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From ryan@21:1/168 to xqtr on Sat Mar 7 02:37:52 2020
    gryphon has made a very good bbs list mod, you should give it a look.

    Yeah, I actually was messing around with it, but I have something specific in mind for what I want to do.

    I actually think just reading all the bbslist data into an array and then creating dynamic litebars and stuff out of it gets me most of the way there.
    I just need to learn how to access the bbslist data.

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From g00r00@21:1/108 to ryan on Sat Mar 7 18:02:04 2020
    gryphon has made a very good bbs list mod, you should give it a look.

    Yeah, I actually was messing around with it, but I have something
    specific in mind for what I want to do.

    I actually think just reading all the bbslist data into an array and then creating dynamic litebars and stuff out of it gets me most of the way there. I just need to learn how to access the bbslist data.

    To be honesst I was planning to just rip out the BBS list system someday and probably rewrite it using MPL. I think I would have a while back if it
    weren't for Gryphon doing a big mod based on it.

    I am open to suggestions though but that BBS list stuff is from like 1995
    when I barely knew what I was doing. The record format is in records.112
    that ships with Mystic.

    --- Mystic BBS v1.12 A46 2020/03/05 (Windows/64)
    * Origin: Sector 7 (21:1/108)
  • From roovis@21:4/165 to g00r00 on Sat Mar 7 08:03:49 2020
    To be honesst I was planning to just rip out the BBS list system someday and probably rewrite it using MPL.

    Auto-Message and Bulletins are MPL, now BBS List? Are you planning on
    just making several of the general functions as MPLs? (One-Liners, and a complete New User app come to mind)

    -roovis

    --- Mystic BBS v1.12 A46 2020/03/01 (Linux/64)
    * Origin: w0pr.win (21:4/165)
  • From Netsurge@21:4/154 to ryan on Sat Mar 7 09:20:44 2020

    I actually think just reading all the bbslist data into an array and then creating dynamic litebars and stuff out of it gets me most of the way there. I just need to learn how to access the bbslist data.

    The records.112 file in the docs folder breaks down the structure of how
    Mystic stores info for the bbslist:

    BBSListRec = Record
    cType : Byte;
    Phone : String[15];
    Telnet : String[40];
    BBSName : String[30];
    Location : String[25];
    SysopName : String[30];
    BaudRate : String[6];
    Software : String[10];
    Deleted : Boolean;
    AddedBy : String[30];
    Verified : LongInt;
    Res : Array[1..6] of Byte;
    End;

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://scinet-ftn.org

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (21:4/154)
  • From xqtr@21:1/111 to ryan on Sat Mar 7 16:40:33 2020
    I actually think just reading all the bbslist data into an array and then creating dynamic litebars and stuff out of it gets me most of the way

    Reading and storing a lot of data in memory, with MPL is not easy. MPL has a memory restriction on data/array usage. To be more "free" with that, you
    should use MPY/Python.

    there. I just need to learn how to access the bbslist data.

    The default bbslist script has function to access that data... the same for Gryphons script. You don't have to "re-invent the wheel" ;)

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A45 2020/02/18 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From ryan@21:1/168 to g00r00 on Sat Mar 7 13:36:20 2020
    To be honesst I was planning to just rip out the BBS list system someday and probably rewrite it using MPL. I think I would have a while back if it weren't for Gryphon doing a big mod based on it.

    Yeah, I used Gryphon's mod but the layout wasn't my favorite. That said, I
    can probably just rejigger the mod to do what I want (I guess lol).

    I am open to suggestions though but that BBS list stuff is from like 1995 when I barely knew what I was doing. The record format is in records.112 that ships with Mystic.

    It's one of those things that doesn't appear to be super broken or anything, and feels like it does what it's supposed to, no?

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From ryan@21:1/168 to Netsurge on Sat Mar 7 13:37:15 2020
    The records.112 file in the docs folder breaks down the structure of how Mystic stores info for the bbslist:

    Sweet. Thanks for the pointer here.

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From ryan@21:1/168 to xqtr on Sat Mar 7 13:39:19 2020
    The default bbslist script has function to access that data... the same for Gryphons script. You don't have to "re-invent the wheel" ;)

    Fair point! Yeah. Maybe just modifying Gryphon's script to do what I want is the easiest solution. Thanks.

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From g00r00@21:1/108 to roovis on Sun Mar 8 07:43:13 2020
    Auto-Message and Bulletins are MPL, now BBS List? Are you planning on
    just making several of the general functions as MPLs? (One-Liners, and a complete New User app come to mind)

    Oneliners would be another consideration, yes.

    The new user application can already be replaced entirely by MPL but I would never remove it for an MPL-only solution.

    --- Mystic BBS v1.12 A46 2020/03/07 (Windows/64)
    * Origin: Sector 7 (21:1/108)
  • From g00r00@21:1/108 to ryan on Sun Mar 8 07:53:58 2020
    It's one of those things that doesn't appear to be super broken or anything, and feels like it does what it's supposed to, no?

    At a minimum it should have a field to flag it for SSH/RLOGIN ports I think

    --- Mystic BBS v1.12 A46 2020/03/07 (Windows/64)
    * Origin: Sector 7 (21:1/108)