Register forum user name Search FAQ

Gammon Forum

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 ➜ Completly Removing ansi Title screen

Completly Removing ansi Title screen

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


Posted by Nexela   USA  (14 posts)  Bio
Date Mon 07 Jul 2003 07:19 PM (UTC)
Message
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.


wait! wait! I didnt want to format!
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #1 on Mon 07 Jul 2003 10:50 PM (UTC)
Message
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.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Nexela   USA  (14 posts)  Bio
Date Reply #2 on Tue 08 Jul 2003 02:26 AM (UTC)
Message
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.

wait! wait! I didnt want to format!
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Tue 08 Jul 2003 05:12 AM (UTC)

Amended on Tue 08 Jul 2003 05:15 AM (UTC) by David Haley

Message
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.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
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.


16,144 views.

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

Go to topic:           Search the forum


[Go to top] top

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