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
➜ inquiries!
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Akula
(24 posts) Bio
|
Date
| Mon 11 Feb 2002 12:32 AM (UTC) |
Message
| I think there's a bug - if you are in the same room as someone you can fire a weapon at them even though its a safe room.
Is nowander flag freakin not responsive? I put it on and the mob continues to wander about freely.
Anyway in the world to put color in 'motd'? It isnt a helpfile rather a seperate file in system.
Dunno what I screwed up but now after it says Last Connected at: blah blah blah when logging on it says 'Press Enter...' and waits for you to press enter - only if you are a creator or newplayer.
Then it goes through imotd and nmotd without pausing to give you a chance to read it like it should.
??
Akula
| Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #1 on Mon 11 Feb 2002 01:25 AM (UTC) |
Message
|
Quote:
Anyway in the world to put color in 'motd'? It isnt a helpfile rather a seperate file in system.
You would need to recompile. In comm.c there are the lines (around line 2296) ...
{
char motdbuf[MAX_STRING_LENGTH];
sprintf( motdbuf, "\n\rWelcome to %s...\n\r", sysdata.mud_name);
write_to_buffer( d, motdbuf, 0 );
}
I would try changing that from "write_to_buffer( d, motdbuf, 0 );" to "send_to_char_color (motdbuf, ch);" - however I haven't tested doing that. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Akula
(24 posts) Bio
|
Date
| Reply #2 on Tue 12 Feb 2002 01:51 AM (UTC) |
Message
| Well unfortunately the code for midtitle.asc and mudtitle.ansi doesn't work with ansi tokens as everything else does cuz its different filetypes.
Anyway, the problem with the Press enter... thing, I found out the 'last logged in:' is in save.c
Well, my problem isnt in either one since i put the default comm.c and save.c in and the same error occured.
Any idea which file is causing this havoc?
Akula
| Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #3 on Tue 12 Feb 2002 06:23 AM (UTC) |
Message
| It is hard to speculate, once you have made your own changes, however it sounds like you have somehow changed the connect state, which is checked in nanny function.
This is "d->connected" which tells the server what to do with that particular player. |
- 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.
13,910 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top