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
➜ ROM
➜ Running the server
➜ 'look' char title
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Arturo
(7 posts) Bio
|
Date
| Wed 29 Sep 2004 11:55 AM (UTC) |
Message
| my troubles today are in char's and 'look'ing.
its displayes the title's of the char.
I simple want to cut out the title, so it only shows:
Arturo is here.
not
Arturo with Title is here.
But i cant for the life of me find where it makes the char list to show the looking char. | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #1 on Thu 30 Sep 2004 04:03 PM (UTC) |
Message
| Not sure about ROM, but look in do_look, and the functions it calls. Then find a line like "%s %s", ch->name, ch->title. Remove a %s, and ch->title |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Arturo
(7 posts) Bio
|
Date
| Reply #2 on Fri 01 Oct 2004 05:15 AM (UTC) |
Message
| Finally found it.
And it not in do_look.
Do_look calls another function called....
show_char_to_char_0
And i was having trouble finding it, but finally did. And simply //'d the offending line:
strcat( buf, victim->pcdata->title );
Kinda curious, what base you running with? | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #3 on Fri 01 Oct 2004 04:28 PM (UTC) |
Message
| SmaugFUSS. Yeah, ROM isn't to different from Smaug, it also has show_char_to_char. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Arturo
(7 posts) Bio
|
Date
| Reply #4 on Mon 04 Oct 2004 07:44 AM (UTC) |
Message
| Ha, evil thing. By just //'ing it. It killed the rest of the string when sitting or something. So I replaced the ch->pcdata->title, with a good old "{x"
(long live color codes aye?)
| 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,588 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top