theixle / Aardwolf-Tintin-Stable

(Archived) Base Tintin++ / Wintin++ settings for the Aardwolf mud. Features comparable to the Aardwolf Mushclient package.
8 stars 4 forks source link

Initial GMCP load requires manual action #1

Open DeveloperMeier opened 10 years ago

DeveloperMeier commented 10 years ago

I've always noticed it, but been too lazy to fix it. When you initally load up your configs, the user has to quaff a potion, heal somehow, or trigger a GMCP char resend (protocol gmcp sendchar) again to get their inital status bars to show up/not read zero.

Potential fix being that we trigger on reconnect/login to actually initialize the status bar

theixle commented 10 years ago

I fixed it in my personal settings and never migrated it over to the public ones. I currently have two actions because it has always been a pain trying to match multiple strings. Makes for redundant code and extra changes so maybe throwing it in a function or alias would be better .It goes something like this:

#ACTION {^############# Reconnecting to Game #############$}
{
        #delay 2
        {
            slist spellup;
            spup resume;
            #NOP bug: For some reason have to do this twice?;
            slist spellup;
        };
        protocol gmcp sendchar;
        #NOP Put the Tintin map in the right room;
        #send {look}
}

#ACTION {^Welcome to Aardwolf. May your adventures be mystical, challenging and rewarding.}
{
        #delay 2
        {
            slist spellup;
            spup resume;
            #NOP bug: For some reason have to do this twice?;
            slist spellup;
        };
        protocol gmcp sendchar;
        #NOP Put the Tintin map in the right room;
        #send {look}
}