[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  inquiries!

inquiries!

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


Posted by Akula   (24 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] 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
[Go to top] top

Posted by Akula   (24 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] 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
[Go to top] 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.


12,291 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]