Results 1 to 3 of 3

Thread: Messageshell.cpp Question

  1. #1
    Administrator
    Join Date
    Sep 2005
    Posts
    354

    Messageshell.cpp Question

    One new thing I've noticed is that the messageshell is reporting all spells as taking zero seconds to cast. I've looked at the spells_us.txt and cast time does not seem to have shifted so I am little curious why showeq is no longer showing cast time in the terminal window. Here's the snipped from messageshell.cpp that reports cast time:

    Code:
        spellName = spell_name(bcast->spellId);
      
      tempStr.sprintf( "%s%s' - Casting time is %g Second%s", 
               tempStr.ascii(),
               (const char*)spellName, casttime,
               casttime == 1 ? "" : "s");
    
      m_messages->addMessage(MT_Spell, tempStr);
    Anyone able to figure out what is askew? It's not vital to fix but its been on my radar since the patch and I cannot figure it out.

    I wonder if it has something to do with cast time modifiers having changed. My look was only at cast time when unmodified. How does Showeq know that while it normally takes 12 seconds to cast a spell that it really only takes 6 seconds due to modifiers I get from armour I am wearing?

  2. #2
    Developer
    Join Date
    Jul 2004
    Posts
    920

    Re: Messageshell.cpp Question

    I have no idea, but I'd look at the spell cast struct. Maybe the server tells the client how long the spell takes.

  3. #3
    Registered User
    Join Date
    Aug 2012
    Posts
    1

    Re: Messageshell.cpp Question

    I am also in a fix for it,I am unable to synchronize spell tracker.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On