• MPL docs?

    From PSI-JACK@46:1/142 to ALL on Thu Jan 31 19:20:17 2019
    Is there any? Besides the MPS files that are provided by Mystic BBS itself,
    and some modders out there that have made stuff, I don't see any kind of docs on MPL making it less useful

    [Psi-Jack -//- Decker's Heaven]

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Decker's Heaven * deckersheaven.com (46:1/142)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From G00R00@46:1/127 to PSI-JACK on Thu Jan 31 19:20:17 2019
    Is there any? Besides the MPS files that are provided by Mystic BBS itself, and some modders out there that have made stuff, I don't see any kind of docs on MPL making it less useful

    In the older MPL 1.x there is a MPL.doc and I think some have updated it.

    The recently lost Wiki had some MPL documentation I was working on, but we
    lost that information sadly.

    We just really need to get a good Wiki going...

    There are lots of source codes to look at and a few MPL "gurus" here myself
    and Gryphon are both good resources if you have something you want to see if you can do... feel free to ask away and I can try to help time permitting.

    --- Mystic BBS v1.10 A52 (Windows)
    * Origin: Sector 7 [Mystic BBS WHQ] (46:1/127)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From GRYPHON@46:1/116 to G00R00 on Thu Jan 31 19:20:17 2019
    On 08/31/14, g00r00 said the following...

    Is there any? Besides the MPS files that are provided by Mystic BBS itself, and some modders out there that have made stuff, I don't see kind of docs on MPL making it less useful

    In the older MPL 1.x there is a MPL.doc and I think some have updated it.

    The recently lost Wiki had some MPL documentation I was working on, but
    we lost that information sadly.

    We just really need to get a good Wiki going...

    There are lots of source codes to look at and a few MPL "gurus" here myself and Gryphon are both good resources if you have something you
    want to see if you can do... feel free to ask away and I can try to help time permitting.

    --- Mystic BBS v1.10 A52 (Windows)
    * Origin: Sector 7 [Mystic BBS WHQ] (46:1/127)

    I actually have a modified mpl.doc that is viewable on Cyberia. Just go to
    the Textfiles>>Mystic section.

    "No matter where you go, there you are!" - B. Bonzai

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From PSI-JACK@46:1/142 to G00R00 on Thu Jan 31 19:20:17 2019
    On 08/31/14, g00r00 said the following...
    In the older MPL 1.x there is a MPL.doc and I think some have updated it.

    The recently lost Wiki had some MPL documentation I was working on, but
    we lost that information sadly.

    We just really need to get a good Wiki going...

    There are lots of source codes to look at and a few MPL "gurus" here myself and Gryphon are both good resources if you have something you
    want to see if you can do... feel free to ask away and I can try to help time permitting.

    Well, one thing I'd like to do to start simple is an MPL that allows directly posting to a Netmail message base, which /should/ always be base 1, and then return the user's active message base backt o what they had before the
    netmail, since currently you can't actually send netmail without activating that message base exclusively.

    Something like that so simple.

    I'm also looking to do a slightly improved bulletin system with folder
    support. I believe gryphon made something like that already, but it's not without issues, and constantly repeats text on the screen, possible Mystic bug or mpl issues themselves. Most likely the latter. But if the bulletni text doesn't at least fill up a page worth, it repeats down.

    I also want the bulletin board system to support folders, show what's new and unread, keeping track, so people can, at a glance, see new BRE, SRE, FE, etc scores without going into the game (like, someone may be currently in it, etc).

    [Psi-Jack -//- Decker's Heaven]

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Decker's Heaven * deckersheaven.com (46:1/142)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From PSI-JACK@46:1/142 to GRYPHON on Thu Jan 31 19:20:17 2019
    On 08/31/14, Gryphon said the following...

    I actually have a modified mpl.doc that is viewable on Cyberia. Just go to the Textfiles>>Mystic section.

    Cool... But, can't download it? :)

    [Psi-Jack -//- Decker's Heaven]

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Decker's Heaven * deckersheaven.com (46:1/142)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From PSI-JACK@46:1/142 to GRYPHON on Thu Jan 31 19:20:17 2019
    support. I believe gryphon made something like that already, but it's not without issues, and constantly repeats text on the screen, possible
    Mystic bug or mpl issues themselves. Most likely the latter. But if the bulletni text doesn't at least fill up a page worth, it repeats down.


    Ahh, I found out two things that are wrong, BTW..

    G-Files repeats the last line endlessly IF that line ends without a newline under it. Very easy to do in Linux in fact.

    Difference from the EOF being here: _

    And here:
    _

    The latter one works, while the first one repeats that line over and over and over again..

    Second problem is the textview.ans isn't supplied with it, so the default is just... A scrollbar.. That's it.

    Seems like everything about it otherwise is nice, except for the lack of new tracking. Though, I haven't yet tested it for multi-node, based on what I see in the MPS itself I'm curious about that, in terms of the temp files I see things like this:

    If FileExist(CfgTempPath+'textview.dat') Then
    ...

    And wonder where CfgTempPath is, is it the node temp dir? If so, then it
    should be fine and isolated nicely.

    [Psi-Jack -//- Decker's Heaven]

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Decker's Heaven * deckersheaven.com (46:1/142)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From G00R00@46:1/127 to PSI-JACK on Thu Jan 31 19:20:17 2019
    Well, one thing I'd like to do to start simple is an MPL that allows directly posting to a Netmail message base, which /should/ always be
    base 1, and then return the user's active message base backt o what they had before the netmail, since currently you can't actually send netmail without activating that message base exclusively.

    This can absolutely be done with MPL. I am not certain but I think Gryphon does something like this, and the script I posted yesterday to display a file whenever someone changes a base shows how it could be done.

    The idea is to (if I am not mistaken):

    1. Note the current base.
    2. Switch to the Netmail base
    3. Post to the netmail base
    4. Switch back to the original base.

    Using what I just posted as a guide, something like:

    Uses
    User,
    MBase;

    Const
    NetMailBaseNumber = '12'; // Note this is NOT an msg index

    Begin
    GetThisUser;

    OriginalBase := UserMBase;

    MenuCmd ('MA', NetMailBaseNumber);
    MenuCmd ('MP', 'whatever options');
    MenuCmd ('MA', OriginalBase);
    End;

    Note that "netmail base /should/ always be number 1" is wrong. Mystic
    netmail base is not local e-mail. You choose to create a netmail base for all networks or one for each, so that you can manage access accordingly.

    I know you've suggested Mystic should work like Synchronet, and while I personally prefer that it does too, voting back in the day determined that people wanted it separated...

    With the idea of reading and posting Netmail from a news client, I also would one again want to move it back but its a big code change right now that would break what everyone is already doing. The Netmail base number(s) are
    whatever you've created.

    --- Mystic BBS v1.10 A52 (Windows)
    * Origin: Sector 7 [Mystic BBS WHQ] (46:1/127)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From GRYPHON@46:1/116 to PSI-JACK on Thu Jan 31 19:20:17 2019
    On 09/01/14, Psi-Jack said the following...

    On 08/31/14, g00r00 said the following...
    In the older MPL 1.x there is a MPL.doc and I think some have updated

    The recently lost Wiki had some MPL documentation I was working on, b we lost that information sadly.

    We just really need to get a good Wiki going...

    There are lots of source codes to look at and a few MPL "gurus" here myself and Gryphon are both good resources if you have something you want to see if you can do... feel free to ask away and I can try to h time permitting.

    Well, one thing I'd like to do to start simple is an MPL that allows directly posting to a Netmail message base, which /should/ always be
    base 1, and then return the user's active message base backt o what they had before the netmail, since currently you can't actually send netmail without activating that message base exclusively.

    Something like that so simple.

    I'm also looking to do a slightly improved bulletin system with folder support. I believe gryphon made something like that already, but it's not without issues, and constantly repeats text on the screen, possible
    Mystic bug or mpl issues themselves. Most likely the latter. But if the bulletni text doesn't at least fill up a page worth, it repeats down.

    I think that is a bug. It doesn't clear the list of entries when you page down, and the list ends before it hits the bottom of the screen.


    I also want the bulletin board system to support folders, show what's
    new and unread, keeping track, so people can, at a glance, see new BRE, SRE, FE, etc scores without going into the game (like, someone may be currently in it, etc).

    Well, gfiles does do exactly that. I have several examples of subdirectories in on my Textfiles area and my Daily News area. Create subdirectory in your base gfiles directory. Then hit 'A' to add the new subdirectory to the
    entries list, and the directory should show up on the list. Use 'M' to move the entry to your desired position. Use 'U' to update the text of the entry.

    "No matter where you go, there you are!" - B. Bonzai

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From GRYPHON@46:1/116 to PSI-JACK on Thu Jan 31 19:20:17 2019
    On 09/01/14, Psi-Jack said the following...

    On 08/31/14, Gryphon said the following...

    I actually have a modified mpl.doc that is viewable on Cyberia. Just to the Textfiles>>Mystic section.

    Cool... But, can't download it? :)

    I think that might be an undocument option. I'll have to check.

    Nope, It's not there. It will be available in the update.

    "No matter where you go, there you are!" - B. Bonzai

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From PSI-JACK@46:1/142 to G00R00 on Thu Jan 31 19:20:17 2019
    On 09/01/14, g00r00 said the following...

    1. Note the current base.
    2. Switch to the Netmail base
    3. Post to the netmail base
    4. Switch back to the original base.


    Yes! I actally got it, hacked up from your original post resulting in the following which allows posting and reading.

    If you see any issues, let me know.

    // Send/Read Netmail and return to previous message base.

    Uses
    User,
    MBase;

    Var
    OriginalBase : Integer

    Const
    NetMailBaseNumber = '1';

    Begin
    If ParamCount < 1 Then Begin
    WriteLn ('|CRERROR (NETMAIL.MPS): Invalid command line|DE');
    Halt;
    End;

    GetThisUser;

    OriginalBase := UserMBase;

    MenuCmd('MA', NetMailBaseNumber);
    If ParamCount >= 1 Then Begin
    If Upper(ParamStr(1)) = 'POST' Then
    MenuCmd('MP', '');
    Else
    If Upper(ParamStr(1)) = 'READ' Then
    MenuCmd('MR', 'Y');
    End;
    MenuCmd('MA', Int2Str(OriginalBase));
    End;

    Took me a login to Cyberia to find the Int2Str because before I'd have a type mismatch issue, but after I got that figured out, and looked through how the basics are done within bulletin.mps, and your original example on netmail, I was able to construct this with pretty good ease.

    Very similar to Pascal. Which is kinda cool. :)

    [Psi-Jack -//- Decker's Heaven]

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Decker's Heaven * deckersheaven.com (46:1/142)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From GRYPHON@46:1/116 to PSI-JACK on Thu Jan 31 19:20:17 2019
    On 09/01/14, Psi-Jack said the following...

    support. I believe gryphon made something like that already, but it's without issues, and constantly repeats text on the screen, possible Mystic bug or mpl issues themselves. Most likely the latter. But if t bulletni text doesn't at least fill up a page worth, it repeats down.


    Ahh, I found out two things that are wrong, BTW..

    G-Files repeats the last line endlessly IF that line ends without a newline under it. Very easy to do in Linux in fact.

    Difference from the EOF being here: _

    And here:
    _

    The latter one works, while the first one repeats that line over and
    over and over again..

    Second problem is the textview.ans isn't supplied with it, so the
    default is just... A scrollbar.. That's it.

    Seems like everything about it otherwise is nice, except for the lack of new tracking. Though, I haven't yet tested it for multi-node, based on what I see in the MPS itself I'm curious about that, in terms of the
    temp files I see things like this:

    If FileExist(CfgTempPath+'textview.dat') Then
    ...

    That is actually for the optional textview app. It is not required for the gfiles app, since Mystic has pretty darned good text viewer function already. gfiles will use the optional textview.mpx program if it exists in the scripts directory. If it doesn't find it, it will use the default mystic textviewr. I wrote that app before Mystic had the internal text viewer. But.. to answer your question, the CfgTempPath+'textview.dat' is a temp file that gets created in the nodes' temp directory. It is a binary file copy of the textfile being viewed.

    And wonder where CfgTempPath is, is it the node temp dir? If so, then it should be fine and isolated nicely.

    um, yes. CfgTempPath defaults to the temp dir for that users' node. The
    value of it changes depending on what node the user is on.

    "No matter where you go, there you are!" - B. Bonzai

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From PSI-JACK@46:1/142 to GRYPHON on Thu Jan 31 19:20:17 2019
    On 09/01/14, Gryphon said the following...

    I actually have a modified mpl.doc that is viewable on Cyberia. to the Textfiles>>Mystic section.

    Cool... But, can't download it? :)

    I think that might be an undocument option. I'll have to check.

    Nope, It's not there. It will be available in the update.

    Cool. Much appreciated! I'm definitely looking at your G-Files as an option
    for bulletins, because it supports folders which is really handy. The only thing I think is lacking is a what's-new indicator.. Yes, I know it has an age view of it, but that's not quite the same thing.

    The way that the bulletin.mps works is by comparing the UserLastOn with the date/time of the file to show bulletins that are new within that time period, at the least.. I'd like to go a little further, honestly, and have each user their own index file to track what they've read, when they read it, so no matter when they login, how many times they login, they can always see the bulletins they have yet to read (and possibly should), like BBS rules, policies, as well as things like door game scores.

    [Psi-Jack -//- Decker's Heaven]

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Decker's Heaven * deckersheaven.com (46:1/142)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From PSI-JACK@46:1/142 to GRYPHON on Thu Jan 31 19:20:17 2019
    On 09/01/14, Gryphon said the following...

    Second problem is the textview.ans isn't supplied with it, so the default is just... A scrollbar.. That's it.

    That is actually for the optional textview app. It is not required for the gfiles app, since Mystic has pretty darned good text viewer function already. gfiles will use the optional textview.mpx program if it exists
    in the scripts directory. If it doesn't find it, it will use the
    default mystic textviewr. I wrote that app before Mystic had the
    internal text viewer. But.. to answer your question, the CfgTempPath+'textview.dat' is a temp file that gets created in the
    nodes' temp directory. It is a binary file copy of the textfile being viewed.

    Hmmm, when I delete textview.mpx, it completely fails to work at all,
    actually. Makes me wonder if I have an old version, or not, but according to
    my file bases, it's the exact same version as-is on your BBS, so.. I
    dunno.. It is definitely using the textview.mpx as mandatory though.
    It was even in the docs to move textview.mps to the script dir, and compile
    it, and could be used optionally by itself.

    [Psi-Jack -//- Decker's Heaven]

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Decker's Heaven * deckersheaven.com (46:1/142)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From GRYPHON@46:1/116 to PSI-JACK on Thu Jan 31 19:20:17 2019
    On 09/01/14, Psi-Jack said the following...

    On 09/01/14, Gryphon said the following...

    I actually have a modified mpl.doc that is viewable on Cybe to the Textfiles>>Mystic section.

    Cool... But, can't download it? :)

    I think that might be an undocument option. I'll have to check.

    Nope, It's not there. It will be available in the update.

    Cool. Much appreciated! I'm definitely looking at your G-Files as an option for bulletins, because it supports folders which is really handy. The only thing I think is lacking is a what's-new indicator.. Yes, I
    know it has an age view of it, but that's not quite the same thing.

    The way that the bulletin.mps works is by comparing the UserLastOn with the date/time of the file to show bulletins that are new within that
    time period, at the least.. I'd like to go a little further, honestly,
    and have each user their own index file to track what they've read, when they read it, so no matter when they login, how many times they login, they can always see the bulletins they have yet to read (and possibly should), like BBS rules, policies, as well as things like door game scores.

    It's possible to add that as an option to gfiles. Basicall, it will fill a variable to see if the text file is newer than the user's last visit. Something like a little check mark can be used in the gfhi/gflo ansi files to signify that the file is new to that user.

    Beyond that, I don't think I would want to take the app in to a direction
    where it needs to keep track of which files the user has read.

    "No matter where you go, there you are!" - B. Bonzai

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)
  • From GRYPHON@46:1/116 to PSI-JACK on Thu Jan 31 19:20:17 2019
    On 09/01/14, Psi-Jack said the following...

    On 09/01/14, Gryphon said the following...

    Second problem is the textview.ans isn't supplied with it, so th default is just... A scrollbar.. That's it.

    That is actually for the optional textview app. It is not required f the gfiles app, since Mystic has pretty darned good text viewer funct already. gfiles will use the optional textview.mpx program if it exis in the scripts directory. If it doesn't find it, it will use the default mystic textviewr. I wrote that app before Mystic had the internal text viewer. But.. to answer your question, the CfgTempPath+'textview.dat' is a temp file that gets created in the nodes' temp directory. It is a binary file copy of the textfile being viewed.

    Hmmm, when I delete textview.mpx, it completely fails to work at all, actually. Makes me wonder if I have an old version, or not, but
    according to my file bases, it's the exact same version as-is on your
    BBS, so.. I dunno.. It is definitely using the textview.mpx as mandatory though. It was even in the docs to move textview.mps to the script dir, and compile it, and could be used optionally by itself.

    When you say "fails to work at all", do you mean the gfiles app doesn't work, or the gfiles app doesn't display a file?

    Basically, if the textview.mpx file is not in the scripts dir, then it calls the built-in ansiviewer functioin, which is menu command 'GV'. But it also uses the default ansiviewer.ans and ansihelp.ans. If you don't have those files in your text dir, then it won't display the text files.

    "No matter where you go, there you are!" - B. Bonzai

    --- Mystic BBS v1.10 A51 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
    ■ Synchronet ■ thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)