Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ A problem with remort and color support.
|
A problem with remort and color support.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| EmperorForce
(2 posts) Bio
|
| Date
| Thu 25 May 2006 03:41 AM (UTC) |
| Message
| Hello all, I'm new here and to coding. I've had exposure to C programming and MUDs through a friend a while back and decided to give it a try. I'm trying to run the current version of SmaugFUSS and so far I've had success, but now I've run into a really wierd problem.
I installed the remort snippet correctly and it compiled beautifully, no errors or warnings, but there's a problem. When somebody is remorting and they have any kind of color support, all the colored text except for flags such as (IMMORTAL) and thier prompt, goes black. It stays that way until they remort again, then everything comes back. I'm not really sure what the problem is, I've tried using gdb and nothing comes up. I've tried looking at things, and nothing seems to stand out as wrong. Just wondering if anybody has any idea of what's going on or if anybody has run into this problem before.
Thanks. | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #1 on Thu 25 May 2006 04:03 AM (UTC) |
| Message
| Sounds like their theme or all colors are being set to black? What exactly does remort change in the pfile? Try typing:
color _reset_ |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| EmperorForce
(2 posts) Bio
|
| Date
| Reply #2 on Thu 25 May 2006 04:23 AM (UTC) |
| Message
| Hey! Awesome man, that fixed it. Just need to add it to the help file I suppose, until I get clever enough to make it do it on it's own.
Thanks man! | | Top |
|
| Posted by
| David Haley
USA (3,881 posts) Bio
|
| Date
| Reply #3 on Thu 25 May 2006 05:00 AM (UTC) |
| Message
| You could always add in something like:
do_color( CharacterThatJustRemorted, "_reset_" );
You'd put that right after the remorting code, and that would automatically run the color reset command. You might have to change do_color to whatever the code's function for "color" is. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #4 on Thu 25 May 2006 05:40 AM (UTC) |
| Message
| | Make sure you do fix the problem though, as of people don't want their custom colors reset when they remort. ;) |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,860 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top