inquiries!

Posted by Akula on Mon 11 Feb 2002 12:32 AM — 4 posts, 17,794 views.

#0
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
Australia Forum Administrator #1

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.
#2
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
Australia Forum Administrator #3
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.