[C++] Icons for item_blend with real-time
- Pentru acest mesaj, VegaS a primit 9 (de) mulţumiri
- ZeNu-Thor2 • andreidey • FRANCIS • Kr1G3R • PandiCore • L.a.D l Catalin • Iηfιηιт²⁴ᵏ • F. Gabriel • Strepsx
#Bug fixedWhen you die you lose all sites that belong affect potion icons.
//1.) Search:
Cod: Selectaţi tot
if (IsPC())
{
SendAffectRemovePacket(GetDesc(), GetPlayerID(), pkAff->dwType, pkAff->bApplyOn);
}Cod: Selectaţi tot
#ifdef ENABLE_NEW_AFFECT_POTION
int pkAff_blend[] = {AFFECT_POTION_1, AFFECT_POTION_2, AFFECT_POTION_3,
AFFECT_POTION_4, AFFECT_POTION_5, AFFECT_POTION_6};
if ((pkAff->dwType == pkAff_blend[0]) || (pkAff->dwType == pkAff_blend[1]) ||
(pkAff->dwType == pkAff_blend[2]) || (pkAff->dwType == pkAff_blend[3]) ||
(pkAff->dwType == pkAff_blend[4]) || (pkAff->dwType == pkAff_blend[5]))
{
++it;
continue;
}
#endif Uita-te din nou pe cod ca nu este bun.VegaS™ scrie:[File: src/Server/game/src/char_affect.cpp]#Bug fixed
When you die you lose all sites that belong affect potion icons.
//1.) Search://2.) Add this before:Cod: Selectaţi tot
if (IsPC()) { SendAffectRemovePacket(GetDesc(), GetPlayerID(), pkAff->dwType, pkAff->bApplyOn); }Cod: Selectaţi tot
#ifdef ENABLE_NEW_AFFECT_POTION int pkAff_blend[] = {AFFECT_POTION_1, AFFECT_POTION_2, AFFECT_POTION_3, AFFECT_POTION_4, AFFECT_POTION_5, AFFECT_POTION_6}; if ((pkAff->dwType == pkAff_blend[0]) || (pkAff->dwType == pkAff_blend[1]) || (pkAff->dwType == pkAff_blend[2]) || (pkAff->dwType == pkAff_blend[3]) || (pkAff->dwType == pkAff_blend[4]) || (pkAff->dwType == pkAff_blend[5])) { ++it; continue; } #endif
PandiCore scrie:Frumos , folositor dar nu dispare cand mori , vreo solutie?(Am bagat si "bug fix")
păi nu trebuie , dacă nu băgai fix-ul = era mai ceva ca elodia.
Trebuie neaparat ,,activata'' roua gen daca eu am quest de la biolog care iti da ,,roua permanenta'' nu o sa apara,nu ?VegaS™ scrie:[File: src/Server/game/src/char_affect.cpp]#Bug fixed
When you die you lose all sites that belong affect potion icons.
//1.) Search://2.) Add this before:Cod: Selectaţi tot
if (IsPC()) { SendAffectRemovePacket(GetDesc(), GetPlayerID(), pkAff->dwType, pkAff->bApplyOn); }Cod: Selectaţi tot
#ifdef ENABLE_NEW_AFFECT_POTION int pkAff_blend[] = {AFFECT_POTION_1, AFFECT_POTION_2, AFFECT_POTION_3, AFFECT_POTION_4, AFFECT_POTION_5, AFFECT_POTION_6}; if ((pkAff->dwType == pkAff_blend[0]) || (pkAff->dwType == pkAff_blend[1]) || (pkAff->dwType == pkAff_blend[2]) || (pkAff->dwType == pkAff_blend[3]) || (pkAff->dwType == pkAff_blend[4]) || (pkAff->dwType == pkAff_blend[5])) { ++it; continue; } #endif
BRTSERGIU scrie:Trebuie neaparat ,,activata'' roua gen daca eu am quest de la biolog care iti da ,,roua permanenta'' nu o sa apara,nu ?VegaS™ scrie:[File: src/Server/game/src/char_affect.cpp]#Bug fixed
When you die you lose all sites that belong affect potion icons.
//1.) Search://2.) Add this before:Cod: Selectaţi tot
if (IsPC()) { SendAffectRemovePacket(GetDesc(), GetPlayerID(), pkAff->dwType, pkAff->bApplyOn); }Cod: Selectaţi tot
#ifdef ENABLE_NEW_AFFECT_POTION int pkAff_blend[] = {AFFECT_POTION_1, AFFECT_POTION_2, AFFECT_POTION_3, AFFECT_POTION_4, AFFECT_POTION_5, AFFECT_POTION_6}; if ((pkAff->dwType == pkAff_blend[0]) || (pkAff->dwType == pkAff_blend[1]) || (pkAff->dwType == pkAff_blend[2]) || (pkAff->dwType == pkAff_blend[3]) || (pkAff->dwType == pkAff_blend[4]) || (pkAff->dwType == pkAff_blend[5])) { ++it; continue; } #endif
Nu o să apară.
Thanks VegaS. Merge perfect.
Felicitari pentru ceea ce faci si succes in continuare.
[ Postat de pe Android ]
Felicitari pentru ceea ce faci si succes in continuare.
[ Postat de pe Android ]

Eu am o problema,cand dau pe cea rosie se activeaza cea portocalie si cand dau pe cea portocalie se activeaza cea galbena si tot asa pana la cea alba care nu mai apare niciun icon la ea ca apare de la cea albastra.
Stie cineva de unde e?
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 60 vizitatori




Dupa ce am bagat fix .



