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: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 369 |
Nodes: | 16 (2 / 14) |
Uptime: | 88:26:05 |
Calls: | 7,896 |
Calls today: | 2 |
Files: | 12,968 |
Messages: | 5,792,268 |