I am writing a game in MPL and want to have a loop to run several procedures while the player is not entering a key command. I thought the KeyPressed function would be great for this.
It looks like once a key is entered KeyPressed returns true and the program exits the loop, this is good, but how do you reset KeyPressed to false?
It doesn't make sense that you can only check the status of KeyPressed once, there must be a way to reset it to false. KeyPressed := false does not work.
If Keypressed is true, in order to reset it, you have to read a key from the buffer. Once it's read from the buffer, Keypressed is reset to
false.
It looks like once a key is entered KeyPressed returns true and the program exits the loop, this is good, but how do you reset KeyPressed to false?
It doesn't make sense that you can only check the status of KeyPressed once, there must be a way to reset it to false. KeyPressed := false does not work.
Its true if there is a key waiting, false if not. Its not something
you'd ever need to reset its more of a "current state" variable.
Thanks g00r00 but this is more of what I am trying to do. The first time
I call the procedure it works, but the second time I call it, it does
not work.
Have you tried testing it from a telnet connection or on any other OS?
It seems to me like there is possibly an input bug within localmode on Windows only. Actual connected users should work fine and so should
other platforms.
You are right, it works fine when I telnet. I should have tried that before contacting you. Goes to show you, a bug can show up in the strangest ways.
It may take a little longer than it has been for me to get the next pre-alpha build out because I am doing some data file changes and things like that.
i noticed the records for 1.12 have not changed but what data files did A27/A38 change since last?
I am also leaning very much towards adding in the Mystic 2 theme system
in as well, which means that themes.dat would go away entirely and the directory structure would change slightly. This may not be A39 though because its a huge change.
I really want to remove the "message base path" from each message area as well, but some people seem to be OCD and like to move their data files
all over the place for their message bases --- so I've been undecided on this.
I really want to remove the "message base path" from each message
area as well, but some people seem to be OCD and like to move
their data files all over the place for their message bases ---
so I've been undecided on this.
The trick is in allowing people to store their data files on
drives/dirs they want. Often this is to assist them in backing up
stuff or just allocating storage resource (I'll run the BBS on C but
store my data on D). So when it comes to messages / files I can see
why people may want to have this control.
i noticed the records for 1.12 have not changed but what data files d A27/A38 change since last?A38 changed the scan records for each message and file base. (.scn)
A39 will change a lot of records. So far I have made changes to users.dat, mbases.dat, and fbases.dat. DOS date format has been
converted to Unix or Julian day in many places. servers.dat will likely change. You'll no longer be able to access user passwords in any form,
I am also leaning very much towards adding in the Mystic 2 theme system
in as well, which means that themes.dat would go away entirely and the directory structure would change slightly. This may not be A39 though
I think this is a direction you have wanted to go for some time and suggest you follow your gut and do it for Mystic 1
The trick is in allowing people to store their data files on drives/dirs they want. Often this is to assist them in backing up stuff or just allocating storage resource (I'll run the BBS on C but store my data on D). So when it comes to messages / files I can see why people may want
to have this control.
I wouldn't have a problem with all the message areas being located in a single message base path. But it would good if the base path could be specified.
I think this is a direction you have wanted to go for some time and suggest you follow your gut and do it for Mystic 1
I just might. :) There are several pros to doing it...
It'll also allow new themes to be created more easily, and for people to easily just "drop" a theme folder under \mystic\themes\ and it will show up in their BBS instantly without any configuration...
This will promote people creating and sharing themes, and I would
probably do a handful of themes just to mimic some of the more historically popular BBSes like WildCat, Searchlight, Remote Access, Renegade, etc.
The same could work for themes that are used for other languages, too. Want to add a Spanish theme? Download it and drop the "spanish" folder into \mystic\themes and thats all you have to do.
You would still define the base message base path in System
Configuration, but the change would be that all of the JAM bases would
be in the same directory. It would no longer be configurable per-message-base.
I think the push-back I was getting is that people wanted to have certain message base data files in different directories. Like to split them up by network, although I don't know why that really matters.
users.dat, mbases.dat, and fbases.dat. DOS date format has been converted to Unix or Julian day in many places. servers.dat will lik
since there are no more dos versions and 32b and 64b system are more efficient that way?
On 01/05/18, Avon said the following...do a
I think this is a direction you have wanted to go for some time and suggest you follow your gut and do it for Mystic 1
I just might. :) There are several pros to doing it...
There are lots of times when I don't add something someone requests into Mystic
specifically because I would have to add or change prompts. Some people seem >to struggle with keeping those prompts updated. This new system only requires >them to be updated if a prompt they've personally customized changes... which >means they should have an idea where the prompt is and how to do it because >they've already done it once.
People who use the default prompt wouldn't have to do anything to upgrade, as >opposed to add new prompts or replacing existing prompts in the .txt files as >it works now.
It'll also allow new themes to be created more easily, and for people to >easily just "drop" a theme folder under \mystic\themes\ and it will show up >in their BBS instantly without any configuration...
This will promote people creating and sharing themes, and I would probably
handful of themes just to mimic some of the more historically popular BBSes >like WildCat, Searchlight, Remote Access, Renegade, etc.
The same could work for themes that are used for other languages, too. Want to
add a Spanish theme? Download it and drop the "spanish" folder into >\mystic\themes and thats all you have to do.
The trick is in allowing people to store their data files on drives/dirs they want. Often this is to assist them in backing up stuff or just allocating storage resource (I'll run the BBS on C but store my data on D). So when it comes to messages / files I can see why people may want
to have this control.
You would still define the base message base path in System Configuration, but >the change would be that all of the JAM bases would be in the same directory. >It would no longer be configurable per-message-base.
I think the push-back I was getting is that people wanted to have certain >message base data files in different directories. Like to split them up by >network, although I don't know why that really matters.
--- Mystic BBS v1.12 A39 2018/01/04 (Windows/32)
* Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
I wouldn't have a problem with all the message areas being located in a single message base path. But it would good if the base path could be specified.
Yep that is how it would work. If I remove it from message bases and add the >updated theme system for Mystic 2, then we'll be able to simply copy Mystic to >different directories and not have to reconfigure anything except file base >paths. (Or copy it from Windows to Linux to OSX without reconfiguring anything)
--- Mystic BBS v1.12 A39 2018/01/04 (Windows/32)
* Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
I understand the reasoning about file paths. I'm going to put my 2 cents in:
I enjoy putting all my other nets in different directories and am a little >anal about where things go, this makes me feel I have a hand on my system.
I have no care in the world to move my system to another OS, and if I did, I >understand that those file areas paths will change.
I think worrying about OS transfer is the least of your worries, g00r00 but >I'm not trying to tell you how to develop. Out of all
Of us, how many people move back and forth between Linux windows and pi? If >in Mystic we can just reinstalll, drop data files and change paths. Or
Just areafix the messages and move
Files and mass upload with text dir.
I personally like being able to dictate where I store things. Things gives me >control of my board. I hope you don't go take away my control to make a >mystic just do it all. It might be fine, but I like to create my own data >directories.
I think it comes down to : who do you want to cater Mystic to? Experienced >bbs users or newbies? And I understand there might be things I'm not aware >of. I like the way it is.
On 17:16 04/01 , g00r00 wrote:
I wouldn't have a problem with all the message areas being located in a >> JS> single message base path. But it would good if the base path could be
specified.
Yep that is how it would work. If I remove it from message bases and add the >>updated theme system for Mystic 2, then we'll be able to simply copy Mystic to
different directories and not have to reconfigure anything except file base >>paths. (Or copy it from Windows to Linux to OSX without reconfiguring >anything)
--- Mystic BBS v1.12 A39 2018/01/04 (Windows/32)
* Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
--
yrNews Usenet Reader for iOS
http://appstore.com/yrNewsUsenetReader
--- Mystic BBS/NNTP v1.12 A38 2018/01/01 (Linux/64)
* Origin: -=The ByteXchange BBS : bbs.thebytexchange.com=- (21:1/107)
I wouldn't have a problem with all the message areas being located in a single message base path. But it would good if the base path could be specified.
Yep that is how it would work. If I remove it from message bases and add the >updated theme system for Mystic 2, then we'll be able to simply copy Mystic to >different directories and not have to reconfigure anything except file base >paths. (Or copy it from Windows to Linux to OSX without reconfiguring anything)
--- Mystic BBS v1.12 A39 2018/01/04 (Windows/32)
* Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
My question is why in the world would I be copying an active mystic base all >around a file system or multiple systems and oses without changing the paths >myself?
This sounds like you catering to folks who play with mystic vs serious users >who run Mystic for hub/live/production reasons. I've had a mystic bbs up for >many years - up 24/7 and enjoy the control.
How often is this even an issue?? Makes no sense to me.
On 17:16 04/01 , g00r00 wrote:
I wouldn't have a problem with all the message areas being located in a >> JS> single message base path. But it would good if the base path could be
specified.
Yep that is how it would work. If I remove it from message bases and add the >>updated theme system for Mystic 2, then we'll be able to simply copy Mystic to
different directories and not have to reconfigure anything except file base >>paths. (Or copy it from Windows to Linux to OSX without reconfiguring >anything)
--- Mystic BBS v1.12 A39 2018/01/04 (Windows/32)
* Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
--
yrNews Usenet Reader for iOS
http://appstore.com/yrNewsUsenetReader
--- Mystic BBS/NNTP v1.12 A38 2018/01/01 (Linux/64)
* Origin: -=The ByteXchange BBS : bbs.thebytexchange.com=- (21:1/107)
A39 will change a lot of records. So far I have made changes to users.dat, mbases.dat, and fbases.dat. DOS date format has been
converted to Unix or Julian day in many places. servers.dat will likely change. You'll no longer be able to access user passwords in any form, neither via data file or even view it as a SysOp. It will all be in the whatsnew for A39.
It may take a little longer than it has been for me to get the next pre-alpha build out because I am doing some data file changes and things like that.
I think that's great. I'd love to customize my bbs to look more like an older bbs with mystic under the hood.
I enjoy putting all my other nets in different directories and am a
little anal about where things go, this makes me feel I have a hand on
my system.
I think worrying about OS transfer is the least of your worries, g00r00 but I'm not trying to tell you how to develop. Out of all
Of us, how many people move back and forth between Linux windows and pi? If in Mystic we can just reinstalll, drop data files and change paths. Or
I personally like being able to dictate where I store things. Things
gives me control of my board. I hope you don't go take away my control
to make a mystic just do it all. It might be fine, but I like to create
my own data directories.
I think it comes down to : who do you want to cater Mystic to?
Experienced bbs users or newbies? And I understand there might be things I'm not aware of. I like the way it is.
I enjoy putting all my other nets in different directories and am a little anal about where things go, this makes me feel I have a hand o my system.
Okay, let me pick your brain: Do you not feel the need to have file base data in their own directories per file base like you do message bases?
If it is a concern why have you not pushed to have each file base
datafile configurable to its own directory?
On a side note, I want to add a configurable directory for file base instead of lumping it into \data so you would gain some too. :) The proposed default:
\mystic\data\ < General data files
\mystic\data\mbase < JAM message base files
\mystic\data\fbase < filearea databases
In Mystic 2 there is also a single "work" directory and the node temp directories, semaphores, etc, all fall under it. Overall the structure
is very very clean:
\mystic\work\1\
\mystic\work\semaphore\
The thing about Passwords is understandable and a good choice... but why change records like users.dat, fbases.dat and mbases.dat or the DOS time format? I am sure you have your reasons, but from my point of view is a lot of work to correct "crashed" MPL scripts, which with the new records will not function and even crash, while executing them.
I remember when i first installed Mystic that, even i found a lot of scripts from others, they didn't work at all, because in the newer versions, changes have been made, to functions or other stuff and those
I think, the same thing is going to happen again and even more changes to Themes, Prompts, MPL etc. will make Mystic "a lot of waisted time" thing, specially for those who got into the trouble to make many customizations to their systems. Maybe, this kind of "big stuff alterations" should be done or left for ver. 2? and keep 1.1x clean and simple as it is? Or
keep 1.1x as it is a increase its stability and stuff and throw all the
etc. II enjoy putting all my other nets in different directories and am a little anal about where things go, this makes me feel I have a hand on
my system.
Okay, let me pick your brain: Do you not feel the need to have file base data >in their own directories per file base like you do message bases? If it is a >concern why have you not pushed to have each file base datafile configurable to
its own directory?
On a side note, I want to add a configurable directory for file base instead of
lumping it into \data so you would gain some too. :) The proposed default:
\mystic\data\ < General data files
\mystic\data\mbase < JAM message base files
\mystic\data\fbase < filearea databases
There are other changes from Mystic2 that I would like to put into Mystic1 >someday too:
All of the files you are allowed to edit (blacklists, default new user >messages, etc) would all be moved to a control directory: \mystic\control\. >This is so that everything you might edit is separated from the data files that
you should NEVER touch.
In Mystic 2 there is also a single "work" directory and the node temp >directories, semaphores, etc, all fall under it. Overall the structure is very
very clean:
\mystic\work\1\
\mystic\work\semaphore\
When you do a directory of Mystic 2 you see a super clean directory
and file structure that I would love to see in Mystic 1:
mystic.exe
mystic.ini
\data
\themes
\control
\work
\logs
I know that is a lot of information, but ultimately, that is where I would >like to see things go.
I think worrying about OS transfer is the least of your worries, g00r00 but I'm not trying to tell you how to develop. Out of all
Of us, how many people move back and forth between Linux windows and pi? If in Mystic we can just reinstalll, drop data files and change paths. Or
I think its a lot more people than you expect. It was literally the first >question I had to put into the FAQ on the Wiki because it was the number one >asked question asked at the time.
I think the reason it was asked so much is because the ability to rent server >space or to spend $35 on a Pi to run a BBS was a newer concept, and lots of >people were experimenting with moving to one of those solutions over using >their Desktop computers.
It isn't just about moving between OSes but also renaming directories. If you >want to move your BBS from c:\mystic to c:\mybbs or c:\Users\home then you have
to reconfigure every single path, theme, message base, file base, etc.
I personally like being able to dictate where I store things. Things gives me control of my board. I hope you don't go take away my control
to make a mystic just do it all. It might be fine, but I like to create my own data directories.
Well you don't really lose the ability to dictate where to store things, you >lose the ability to define *per message base* where that particular message >base data file is stored. Keep in mind that this is for data files that you >should never see or touch...
I think it comes down to : who do you want to cater Mystic to? Experienced bbs users or newbies? And I understand there might be things I'm not aware of. I like the way it is.
I would disagree that this is catering to newbies or power users. Power users >are exactly who will be moving their BBS around, experimenting with Mystic on >new OSes, etc. Newbies will do it less often, but will have a much easier path
when they do. It benefits everyone from the newbie, to the power user, to the >developers who need to test their mods on different platforms and move around >often.
I would say that probably most BBS softwares don't allow you to define this >per-message-base like Mystic does. Synchronet doesn't. WWIV doesn't. Wildcat >doesn't. Renegade doesn't. VABBS doesn't. BBBS doesn't. PCBoard doesn't,
don't think I ever saw anyone complaining that they can't do it.
Anyway I'll probably leave it alone for now because I have bigger fish to fry, >but thanks for giving me your feedback. I do take everything into >consideration! :)
--- Mystic BBS v1.12 A39 2018/01/05 (Windows/32)
* Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
On 01/05/18, g00r00 said the following...hand o
I enjoy putting all my other nets in different directories and am a little anal about where things go, this makes me feel I have a
my system.
Okay, let me pick your brain: Do you not feel the need to have file base data in their own directories per file base like you do message bases? If it is a concern why have you not pushed to have each file base datafile configurable to its own directory?
On a side note, I want to add a configurable directory for file base instead of lumping it into \data so you would gain some too. :) The proposed default:
\mystic\data\ < General data files
\mystic\data\mbase < JAM message base files
\mystic\data\fbase < filearea databases
Been hopeful for this for those of us with mass amounts of either really this >will help us de-clutter the data folder a little more. I made a new folder >/mystic/data/lang which is where my current languages are held for example.
In Mystic 2 there is also a single "work" directory and the node temp directories, semaphores, etc, all fall under it. Overall the structure is very very clean:
\mystic\work\1\
\mystic\work\semaphore\
I actually changed the name and location of these to /mystic/data/sema. :)
I would like to be able to customize these even if there is a set field in >the future so the structure I did setup is not unused or gets placed >differently then how I am used to having it.
Cheers!
Pequito
--- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
* Origin: Twinkle BBS # (21:1/126)
\mystic\data\ < General data files
\mystic\data\mbase < JAM message base files
\mystic\data\fbase < filearea databases
I enjoy putting all my other nets in different directories and am a little anal about where things go, this makes me feel I have a hand on my system.
I think worrying about OS transfer is the least of your worries, g00r but I'm not trying to tell you how to develop. Out of all
Of us, how many people move back and forth between Linux windows and If in Mystic we can just reinstalll, drop data files and change paths
I think its a lot more people than you expect. It was literally the
first question I had to put into the FAQ on the Wiki because it was the number one asked question asked at the time.
You're suggesting that I no longer develop Mystic BBS features and
instead you think I should consider developing two BBS packages now instead of one.
Yep that is how it would work. If I remove it from message bases and
add the updated theme system for Mystic 2, then we'll be able to
simply copy Mystic to different directories and not have to
reconfigure anything except file base paths. (Or copy it from Windows
to Linux to OSX without reconfiguring anything)
On a side note, I want to add a configurable directory for file base
instead of lumping it into \data so you would gain some too. :) The proposed default:
\mystic\data\ < General data files
\mystic\data\mbase < JAM message base files
\mystic\data\fbase < filearea databases
All of the files you are allowed to edit (blacklists, default new user messages, etc) would all be moved to a control directory: \mystic\control\. This is so that everything you might edit is
separated from the data files that you should NEVER touch.
In Mystic 2 there is also a single "work" directory and the node temp directories, semaphores, etc, all fall under it. Overall the
structure is very very clean:
\mystic\work\1\
\mystic\work\semaphore\
mystic.exe
mystic.ini
\data
\themes
\control
\work
\logs
I think the reason it was asked so much is because the ability to rent server space or to spend $35 on a Pi to run a BBS was a newer concept,
and lots of people were experimenting with moving to one of those solutions over using their Desktop computers.
It isn't just about moving between OSes but also renaming directories.
If you want to move your BBS from c:\mystic to c:\mybbs or
c:\Users\home then you have to reconfigure every single path, theme, message base, file base, etc.
I would disagree that this is catering to newbies or power users.
Power users are exactly who will be moving their BBS around,
experimenting with Mystic on new OSes, etc. Newbies will do it less often, but will have a much easier path when they do. It benefits everyone from the newbie, to the power user, to the developers who
need to test their mods on different platforms and move around often.
Anyway I'll probably leave it alone for now because I have bigger fish
to fry, but thanks for giving me your feedback. I do take everything
into consideration! :)
The main thing I like having a fine-grained directory structure for is
the files in the file areas themselves, since the organization makes it
I am getting the feeling, that somehow i insult you or/and your work on Mystic. That was not my intention. So, sorry for that. I am just
Been there and done that several times. Where possible I like to write bash scripts to change/move files and paths whenever possible. That is
why recently inquired about some changes to the Mystic install process.
That is why recently inquired about some changes to the
Mystic install process.
Rest assured I do hear you and I am planning to do something from the command line that will do a copy-over using the installation program. Something like:
./install replace /mystic/
But once that is done I want to keep moving closer and closer to fully automated upgrades. I have a hit list in mind to do that eventually
but there are certain things I really need to change first.
./install replace /mystic/
That would be way cool. I realize that this situation seemed more important during the rather frequent updates that we were having for a time. But I still think it is a usefull ability of the install program.
One of the EXTREMELY annoying things is that Windows seems to do
something with install.exe that is preventing command line options
from being passed to it.
This is the reason you don't have this feature right now.
I have it working in Linux, so maybe I'll just include it in A39
anyway even though Windows users will likely not be able to use it.
Hello g00r00!
One of the EXTREMELY annoying things is that Windows seems to do something with install.exe that is preventing command line options
from being passed to it.
Having used both for some time I can say that there are things that I like >and things that are annoying about both. Annoying things aside I prefer >Linux.
This is the reason you don't have this feature right now.
I understand the idea of keeping a level playing field.
I have it working in Linux, so maybe I'll just include it in A39
anyway even though Windows users will likely not be able to use it.
I would then reluctantly use it. :-)
Jeff
--- GoldED+/LNX 1.1.5-b20170303 / Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
* Origin: The Ouijaboard II - Anoka, MN (21:1/128)
g00r00 wrote to Jeff Smith <=-
Been there and done that several times. Where possible I like to write bash scripts to change/move files and paths whenever possible. That is
why recently inquired about some changes to the Mystic install process.
Yep, sorry I know I haven't given you a good response yet and I know you've mentioned it a few times...
Rest assured I do hear you and I am planning to do something from the command line that will do a copy-over using the installation program. Something like:
./install replace /mystic/
I think the push-back I was getting is that people wanted to have certain message base data files in different directories. Like to split them up by network, although I don't know why that really matters.
I think the push-back I was getting is that people wanted to have cer message base data files in different directories. Like to split them by network, although I don't know why that really matters.
There is also the issue of disk format. There are limits to the number of files in one directory. This was worse in the past, but fat32 is still
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 163:49:04 |
Calls: | 2,076 |
Calls today: | 2 |
Files: | 11,137 |
Messages: | 947,148 |