Register forum user name Search FAQ

Gammon Forum

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 ➜ Colors - Turning black?

Colors - Turning black?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Samryn   United Kingdom  (60 posts)  Bio
Date Fri 26 Aug 2005 12:34 PM (UTC)
Message
I've looked and looked for an answer to this problem but cant find an answer.

I was adding a appearance code which will allow players to have eye color, hair color, hair style, hair length etc... And once i finished inputting it all and ran it, it worked ok... well how i wanted it to run for testing.

But then i began to find problems with color... but i've not touch any of the color code whiles making the appearance code, so just for checking purposes i commented all the appearance code i just inputed and yet nothing has changed.

The problem is dark colors like Dark Green and Dark Red, ever other color seems to work fine. Im using SmaugFUSS so it has AFKmuds color code in, and if the player types [COLOR _RESET_] the colors go back, and everything is back to normal.

If any one has any idea why this may be happening, i'll be muchly greatful for a reply. Thanks.

Samryn Medri
Top

Posted by Samryn   United Kingdom  (60 posts)  Bio
Date Reply #1 on Fri 26 Aug 2005 01:41 PM (UTC)
Message
doesn't matter fixed it now... somehow, im not sure how, lol. but completely fixed ::shrug::

Samryn Medri
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #2 on Fri 26 Aug 2005 07:51 PM (UTC)
Message
We had encountered this same problem (or one very similiar to it) in smaugfuss as well, we did a lot of testing and finally realized that the default color array was incomplete, there were two lines missing. After I added in some 'defaults' for that array (in color.c) everything's been fine since. *shrug*

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
Top

Posted by Samryn   United Kingdom  (60 posts)  Bio
Date Reply #3 on Sat 27 Aug 2005 01:40 PM (UTC)
Message
::nods::

I just kept playing around with the colors coding, i dont know which bit fixed it but hey, aslong as its working thats all that matters i guess.

Samryn Medri
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,672 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.