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

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

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

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: inquiries!
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Tue 12 Feb 2002 06:23 AM (UTC)  quote  ]
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

Posted by Akula   (24 posts)  [Biography] bio
Date Tue 12 Feb 2002 01:51 AM (UTC)  quote  ]
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  (18,770 posts)  [Biography] bio   Forum Administrator
Date Mon 11 Feb 2002 01:25 AM (UTC)  quote  ]
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 Mon 11 Feb 2002 12:32 AM (UTC)  quote  ]
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

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.


2,108 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

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

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]