[Help] Speedbuff WSG menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    Power of Illuminati's Avatar Contributor
    Reputation
    179
    Join Date
    May 2008
    Posts
    1,410
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] Speedbuff WSG

    On our server we are experiencing problems with the speedbuff in WSG. I'm not sure if other servers got this problem too. I just checked the latest ArcEmu rev on their code, and I found this part, that looked... very odd.

    Code:
        int32 buffslot = -1;
        switch(id)
        {
        case 3686:      // Speed
            buffslot = 0;
            break;
        case 3687:      // Speed (Horde)
            buffslot = 1;
            break;
        case 3706:      // Restoration
            buffslot = 2;
            break;
        case 3708:      // Restoration (Horde)
            buffslot = 3;
            break;
        case 3707:      // Berserking
            buffslot = 4;
            break;
        case 3709:      // Berserking (Horde)
            buffslot = 5;
            break;
        }
    
        if(buffslot > 0)
        {
            if(m_buffs[buffslot] != 0 && m_buffs[buffslot]->IsInWorld())
            {
                /* apply the buff */
                SpellEntry * sp = dbcSpell.LookupEntry(m_buffs[buffslot]->GetInfo()->sound3);
                Spell * s = SpellPool.PooledNew();
                s->Init(plr, sp, true, 0);
                SpellCastTargets targets(plr->GetGUID());
                s->prepare(&targets);
    
                /* despawn the gameobject (not delete!) */
                m_buffs[buffslot]->Despawn(BUFF_RESPAWN_TIME);
            }
            return;
        }
    What I belive is the odd part, is that it gives the buffslot value 0, therefor it wont load and cast the spell on the player. But the question is, what should I change this too? As it seems to have a connection to the DBC files.

    Now when I'm thinking, could it work to edit it too

    Code:
    if(buffslot >= 0)
    All answers are welcome, and Spidey is more then welcome here

    [Help] Speedbuff WSG
  2. #2
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Changing
    if(buffslot > 0)
    to >= is supposed to fix it

  3. #3
    Power of Illuminati's Avatar Contributor
    Reputation
    179
    Join Date
    May 2008
    Posts
    1,410
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, what I thinked of and will try it out soon.

Similar Threads

  1. [Help] WSG and AB.
    By alj03 in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 10-04-2008, 06:49 PM
  2. [HELP] How Do i get to WSG With noggit?
    By DeeplySorry1 in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 09-05-2008, 03:00 PM
  3. [Help] Fix For WSG?
    By Stabatha in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 04-21-2008, 01:44 PM
  4. Wsg exploid ally base, help please?
    By Hounro in forum World of Warcraft General
    Replies: 2
    Last Post: 03-30-2007, 11:06 AM
  5. WSG Exploit? Fixed or already posted? Help me out on this one.
    By Yano in forum World of Warcraft Exploits
    Replies: 8
    Last Post: 11-28-2006, 08:00 PM
All times are GMT -5. The time now is 02:04 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