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
➜ Question regarding prompt and others
Question regarding prompt and others
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Josh
(1 post) Bio
|
Date
| Fri 14 Dec 2001 07:46 PM (UTC) |
Message
| First I am wondering if anyone knows where to find a smaug codebase with Overland already installed? Or if someone with Overland installed could send me their act_info.c file? I know im missing something simple when it comes to fixing the arguments to calls like obj_to_room and move_char, i just need to see some examples and I know I could get it.
Next, I've been searching high and low for a way to change how often the prompt is displayed. I'm looking for code, or a way to have the prompt only displayed when theres a tic or change in the prompt? This reduces spam and its a nifty little feature i've only seen on a few circlemuds. If anyone could point me in the right direction I would greatly appreciate it!
Thanks in advance
josh | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sun 16 Dec 2001 09:53 PM (UTC) |
Message
| The prompt is displayed in comm.c in the display_prompt function, called from flush_buffer. You could remove the reference there, and add it into the tick routine, or wherever you like. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
9,986 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top