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:
Replace code with:
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;
}
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
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ıyorben bunu quest ile çözmeyi planlamıştım, daha sonra source dan çözdüm. burada paylaşılması iyi olmuş gerekli birşeydi
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![]()
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.
açıklaması var orda en kötü kod bloğuna bakmaya zahmet edebilirsin iyi forumlar.ch->RemoveGoodAffect();
Aradaki fark.
zihinselden bece geçince hava kılıcının deaktif olmasınımı sağlıyor anlamadım :dHi, 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:
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->SetSkillGroup((BYTE) rint(lua_tonumber(L, 1))); } return 0; }
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; }
aynen o işe yarıyorSistemi Amacı: Hava Kılıcı Varken Zihinsel Oldugunda Havayı Yok Etmeye Yarıyo Heralde
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 0
- Görüntüleme
- 312
- Cevaplar
- 2
- Görüntüleme
- 348
- Cevaplar
- 3
- Görüntüleme
- 648
- Cevaplar
- 4
- Görüntüleme
- 444
- Cevaplar
- 8
- Görüntüleme
- 2K

