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, 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.
 Entire forum ➜ Dawn of Time ➜ Administration ➜ do_who question

do_who question

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


Posted by Yungen2003   USA  (34 posts)  Bio
Date Sat 11 Nov 2006 02:04 AM (UTC)
Message
im trying to configure a new who

i noticed this codebase uses define and i dont like that any suggestions? it uses ascii artwork in the who

I belive a man should be judged by the quality of his work not the quality of his piss
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Sat 11 Nov 2006 02:14 AM (UTC)
Message
What do you mean by "uses define"?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Yungen2003   USA  (34 posts)  Bio
Date Reply #2 on Sat 11 Nov 2006 03:25 AM (UTC)

Amended on Tue 14 Nov 2006 07:43 PM (UTC) by Nick Gammon

Message

(@)              ___....___                    ___....___              (@)
|\'_       __.-''          ''-.___      ___.-''          ''-.__       _'/|
|   '''''''                       ''''''                       '''''''   |
|                                   .                                    |
|                                .   )   .                               |
|                          .    (   ((    )    .                         |
|            ..    ..     . )   )\  ) \  /(   (   .   ..    ..           |
|           (  )  (  )   ( (().(())(( ))(()).()) (   (  )  (  )          |
|             ())(().))()).((.(Chrono\|/CIDE).)).(()((.())(()            |
|           @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@          |
|                             "Whodesc."                                 |
|                                                                        |
|                 ---=+====<+> Immortal <+>====+=---                     |
|  LEvel = Class = Clan = IMMTITLE   = Alazair Title                     |
|                                                                        |
|                  ---=+====<+> Mortal <+>====+=---                      |
|  Status= Class = Clan = Name  Title                                    |
|                                                                        |
(                ___....___                    ___....___                )
 \._       __.-''          ''-.___      ___.-''          ''-.__       _./ 





it uses define for mortal and immortal and pkillport

#define WHOHEADER_MORTALS "`=\x81-========= `=\x96MORTALS `=\x81=========-`x\r\n"
#define WHOHEADER_IMMORTALS "`=\x82-======== `=\x83IMMORTALS `=\x82========-`x\r\n"
#define WHOHEADER_PKILL_PORT "`r-`R=`r=`R=`r=`R=`r=`R=`r=`R=`r=`R=`r= `R P K I L L P O R T `r=`R=`r=`R=`r=`R=`r=`R=`r=`R=`r-`x\r\n"

I belive a man should be judged by the quality of his work not the quality of his piss
Top

Posted by Yungen2003   USA  (34 posts)  Bio
Date Reply #3 on Sat 11 Nov 2006 03:26 AM (UTC)
Message
well...it didnt show exactly right but think basic 2.4 rom

I belive a man should be judged by the quality of his work not the quality of his piss
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #4 on Sat 11 Nov 2006 05:14 AM (UTC)
Message
What about the define is it that bothers you?

(To fix the text display, edit your post and use the [code] tags.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Yungen2003   USA  (34 posts)  Bio
Date Reply #5 on Mon 13 Nov 2006 07:37 AM (UTC)
Message
well.....

what dont like about the define it it makes it hard to do a ascii style who....or atleast i cant do it to my knowledge

I belive a man should be judged by the quality of his work not the quality of his piss
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #6 on Mon 13 Nov 2006 07:49 AM (UTC)
Message
I'm really not sure I understand your problem. Why can't you just put whatever text into the #define that you want to display? You can put ASCII colors too as is evidenced by the `r,`R escape codes in one of the lines you pasted.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.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.


20,607 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.