R 1
Roksam
mavzermete 1
mavzermete
noisiv 1
noisiv
Manwe Work 1
Manwe Work
-Blaster- 2
-Blaster-
Hikaye Ekle

Change Skill Group - Visual Bug Fix

  • Konuyu başlatan Konuyu başlatan Fire.
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 24
  • Görüntüleme Görüntüleme 4K
Hi, i think that a lot of people know this bug because it afflict a lot of revision.
If you are a Body Warrior and you do a skill like Aura of the sword and we try to change our skill group in Mental, we can see that we have got Mental skill group and the Aura of the sword active too.

How fix this?
Open questlua_pc.cpp and search:
Kod:
    int pc_set_skillgroup(lua_State* L)
    {
        if (!lua_isnumber(L, 1))
            sys_err("QUEST wrong skillgroup number");
        else
        {
            CQuestManager & q = CQuestManager::Instance();
            LPCHARACTER ch = q.GetCurrentCharacterPtr();

            ch->SetSkillGroup((BYTE) rint(lua_tonumber(L, 1)));
        }
        return 0;
    }
Replace code with:
Kod:
    int pc_set_skillgroup(lua_State* L)
    {
        if (!lua_isnumber(L, 1))
            sys_err("QUEST wrong skillgroup number");
        else
        {
            CQuestManager & q = CQuestManager::Instance();
            LPCHARACTER ch = q.GetCurrentCharacterPtr();
            ch->RemoveGoodAffect();
            ch->SetSkillGroup((BYTE) rint(lua_tonumber(L, 1)));
        }
        return 0;
    }
 

En Çok Reaksiyon Alan Mesajlar

ben bunu quest ile çözmeyi planlamıştım, daha sonra source dan çözdüm. burada paylaşılması iyi olmuş gerekli birşeydi :D

ayrıca konuda ki gibi uygularsanız hatalı olur removeaffect diyor bütün etkileri siliyor mor pot, yeşil pot falan ne kadar etki varsa skill sıfırlanınca gider dikkat :D
bende o yüzden yeni blok yapıp attımda bazıları arasındaki farkı anlıyamıyor bazıları malum forumdan alıntı sanıyor :D
this fix is incorrect because removegoodaffect = skills good affect and mov speed, attack speed etc. removing.

Search in char_affect.cpp:

void CHARACTER::RemoveGoodAffect()

add after this:

Öğeyi görmek için üye olmalısınız.

Search in char.h:

void RemoveGoodAffect();

add after:

void RemoveGoodAffectForSetSkill();

search in questlua_pc.cpp:

Öğeyi görmek için üye olmalısınız.

replace with:

Öğeyi görmek için üye olmalısınız.
Hi, i think that a lot of people know this bug because it afflict a lot of revision.
If you are a Body Warrior and you do a skill like Aura of the sword and we try to change our skill group in Mental, we can see that we have got Mental skill group and the Aura of the sword active too.

How fix this?
Open questlua_pc.cpp and search:
Kod:
    int pc_set_skillgroup(lua_State* L)
    {
        if (!lua_isnumber(L, 1))
            sys_err("QUEST wrong skillgroup number");
        else
        {
            CQuestManager & q = CQuestManager::Instance();
            LPCHARACTER ch = q.GetCurrentCharacterPtr();

            ch->SetSkillGroup((BYTE) rint(lua_tonumber(L, 1)));
        }
        return 0;
    }
Replace code with:
Kod:
    int pc_set_skillgroup(lua_State* L)
    {
        if (!lua_isnumber(L, 1))
            sys_err("QUEST wrong skillgroup number");
        else
        {
            CQuestManager & q = CQuestManager::Instance();
            LPCHARACTER ch = q.GetCurrentCharacterPtr();
            ch->RemoveGoodAffect();
            ch->SetSkillGroup((BYTE) rint(lua_tonumber(L, 1)));
        }
        return 0;
    }
zihinselden bece geçince hava kılıcının deaktif olmasınımı sağlıyor anlamadım :d
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst