Completly Removing ansi Title screen

Posted by Nexela on Mon 07 Jul 2003 07:19 PM — 4 posts, 16,952 views.

USA #0
I am using Smaug 1.4 and I want to completly remove the Ansi/rip/ title screen or have it skip it completely

I just want it to start with the login screen and then after login goto the MOTD/IMOTD instead of stopping at the Title screen.

USA #1
You would need to remove that connection state from the nanny process for your mud. Might also include some other incidental code to prevent odd crashes as well since youve tinkered with nanny.
USA #2
As much as I have tried I can't figure it out and still have it work I am still pretty much learning to code. so while I can fix somethings others slip right past me.
USA #3
I believe this is the culprit code:
(note: there may be slight differences between this and the stock SMAUG 1.4 code. This is from a heavily modified 1.0 code base.)


    /*
     * Send the greeting.
     */
    if (curr_greeting->text[0] == '.')
        write_to_descriptor(desc, curr_greeting->text + 1, 0);
    else
        write_to_descriptor(desc, curr_greeting->text, 0);
    
    curr_greeting = curr_greeting->next;


Look for that in the new_descriptor function. That's the one responsible for accepting new sockets off of the listening port.

All you'd have to do, I think, is remove those lines of code and most importantly not call write_to_descriptor.