Haste Probelms.. menu

Shout-Out

User Tag List

Results 1 to 1 of 1
  1. #1
    Found's Avatar Banned
    Reputation
    239
    Join Date
    Mar 2009
    Posts
    642
    Thanks G/R
    1/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Haste Probelms..

    I don't often post for help here, but I've lost all my hope and for what is probably a seriously easy fix, and I have nowhere else to turn, so I choose the best minds I can think of.

    Here's the situation.. I am working on a server where I need a haste cap of
    1577 where then, and only then is your attack speed 0.00/0.00. I've been through the player.cpp many, many times and I am currently working with these values:

    Code:
    SetBaseAttackTime(MELEE,                     (uint32)((float) speed / (m_attack_speed[ MOD_MELEE ] * (0.00f + CalcRating(PLAYER_RATING_MODIFIER_MELEE_HASTE) / 38.61f))));
    
    
        weap = GetItemInterface()->GetInventoryItem(EQUIPMENT_SLOT_OFFHAND);
        if(weap != NULL && weap->GetProto()->Class == ITEM_CLASS_WEAPON)
        {
            speed = weap->GetProto()->Delay;
            SetBaseAttackTime(OFFHAND,
                              (uint32)((float) speed / (m_attack_speed[ MOD_MELEE ] * (0.00f + CalcRating(PLAYER_RATING_MODIFIER_MELEE_HASTE) / 38.61f))));
        }
    
    
        weap = GetItemInterface()->GetInventoryItem(EQUIPMENT_SLOT_RANGED);
        if(weap != NULL)
        {
            speed = weap->GetProto()->Delay;
            SetBaseAttackTime(RANGED,
                              (uint32)((float) speed / (m_attack_speed[ MOD_RANGED ] * (0.00f + CalcRating(PLAYER_RATING_MODIFIER_RANGED_HASTE) / 38.61f))));
        }
    }
    -- and --


    Code:
    // Spell haste rating    float haste = 0.00f + CalcRating(PLAYER_RATING_MODIFIER_SPELL_HASTE) / 38.61f;
            if(haste != SpellHasteRatingBonus)
            {
                    float value = GetCastSpeedMod() * SpellHasteRatingBonus / haste; // remove previous mod and apply current
    
    
                    SetCastSpeedMod(value);
                    SpellHasteRatingBonus = haste;  // keep value for next run
            }

    If someone could point me in the right direction for this, I would be incredibly happy, and of course the rep will always be given for any assistance. It's beginning to bother me that I cannot figure this out, after I've looked for what feels like forever. Thank you in advance.

    Haste Probelms..

Similar Threads

  1. How to fix your mailbox probelm!!!
    By DarkSoulja FM in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 03-02-2008, 01:48 AM
  2. [Help] A few probelms with my server
    By frostyblade in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 12-29-2007, 04:22 PM
  3. Get 150 Haste rating at LVL 1 - .39 Atk spd, 29 DPS - HORDE ONLY
    By Styro in forum World of Warcraft Guides
    Replies: 10
    Last Post: 12-19-2007, 10:40 PM
  4. crit/hit/haste work backwords
    By Zend in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 10-15-2007, 02:17 PM
  5. i have 2 probelms part 2
    By snowtree in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 09-23-2007, 07:12 PM
All times are GMT -5. The time now is 12:07 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search