1. bbs.setprompt(417, "This is the prompt"). This corrupts the memory
and shows a bunch of garbage to the screen, probably a memory pointer dump.
g00r00,
Thank you I will test this. Did you recompile Python before using Mystic Python or are you using the Python that comes "out of the box" with your Linux distribution?
Also which Linux OS are you using?
g00r00, yes 100% from scratch compiled for Mystic. No other problems with Python.
Ubuntu 18.04 LTS x64 server (headless). If you desire, I can send you the
Ubuntu 18.04 LTS x64 server (headless). If you desire, I can send you the script (it's tiny) I'm using. The desire is to make a custom prompt for new users vs how I have the same prompt laid out for my regular board.
I've changed my mind after not being able to reproduce the issue (unless
I create a circulate script execution in which case that will crash the BBS).
Can you paste your exact script and tell me how/where you are calling it?
I've changed my mind after not being able to reproduce the issue (unless
I create a circulate script execution in which case that will crash the BBS).
Sure.
A. Create a menu:
Action 1: GY set_prompt
Action 2: -P testpassword
In MPY set_prompt script:
[snip]
import mystic_bbs as bbs
bbs.setprompt(417, "Invalid Password g00r00")
Okay, I tested this on Windows without issues, but it does seem to act
up in Linux/64 for whatever reason. I will research more, thank you
Okay, I tested this on Windows without issues, but it does seem to ac up in Linux/64 for whatever reason. I will research more, thank you
thank goodness! I was really starting to think I was crazy.
I just uploaded the first A45 prealphas where this should be fixed!
I just uploaded the first A45 prealphas where this should be fixed!
I just uploaded the first A45 prealphas where this should be fixed!
What was it? A size mismatch on the memory block for the string?
I just uploaded the first A45 prealphas where this should be fixed!
g00r00,
Can confirm A45 fixes the setprompt bug on Linux 64 bit. Thanks!!!
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 97 |
Nodes: | 16 (1 / 15) |
Uptime: | 01:22:08 |
Calls: | 4,614 |
Calls today: | 8 |
Files: | 8,491 |
Messages: | 349,809 |
Posted today: | 4 |