[C++] Icons for item_blend with real-time

Totalitatea subiectelor care nu respectă regulamentul vor fi stocate aici.
Avatar utilizator
VegaS
Membru Club

Membru Club
Mesaje: 233
Membru din: 30 Oct 2015, 17:31
Aprecieri: 68  
Mulţumiri: 298  
 Contact:
Medalii

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
Avatar utilizator
Seby.2
Nivel 2

Nivel 2
Mesaje: 155
Membru din: 06 Feb 2014, 22:01
Server: MMO-Elyse2
Regat: Jinno
Aprecieri: 4  
Mulţumiri: 6  
Medalii

E o problemă cu partea de client joc , încearcă să faci un pastbin.
Avatar utilizator
VegaS
Membru Club

Membru Club
Mesaje: 233
Membru din: 30 Oct 2015, 17:31
Aprecieri: 68  
Mulţumiri: 298  
 Contact:
Medalii

Imagine #Bug fixed

When you die you lose all sites that belong affect potion icons.
[File: src/Server/game/src/char_affect.cpp]
//1.) Search:

Cod: Selectaţi tot

    if (IsPC())
    {
        SendAffectRemovePacket(GetDesc(), GetPlayerID(), pkAff->dwType, pkAff->bApplyOn);
    }
//2.) Add this before:

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      
Avatar utilizator
Fistic
Nou Venit

Nou Venit
Mesaje: 22
Membru din: 16 Iun 2016, 14:36
Aprecieri: 0
Mulţumiri: 1  
Medalii

VegaS™ scrie:
Imagine #Bug fixed

When you die you lose all sites that belong affect potion icons.
[File: src/Server/game/src/char_affect.cpp]
//1.) Search:

Cod: Selectaţi tot

    if (IsPC())
    {
        SendAffectRemovePacket(GetDesc(), GetPlayerID(), pkAff->dwType, pkAff->bApplyOn);
    } 
//2.) Add this before:

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.
Avatar utilizator
PandiCore
Nivel 1

Nivel 1
Mesaje: 79
Membru din: 26 Mai 2015, 08:41
Aprecieri: 297  
Mulţumiri: 1  
Medalii

Frumos , folositor dar nu dispare cand mori , vreo solutie? Imagine Dupa ce am bagat fix . Imagine
Ultima oară modificat 08 Aug 2016, 19:36 de către PandiCore, modificat 1 dată în total.
Avatar utilizator
ZeNu-Thor2
Nivel 3

Nivel 3
Mesaje: 324
Membru din: 06 Iun 2016, 00:29
Server: Thor2.Global
Aprecieri: 39  
Mulţumiri: 95  
 Contact:
Medalii

PandiCore scrie:Frumos , folositor dar nu dispare cand mori , vreo solutie?(Am bagat si "bug fix") Imagine

păi nu trebuie , dacă nu băgai fix-ul = era mai ceva ca elodia.
Afișează semnătura
Avatar utilizator
BRTSERGIU2
Utilizator interzis !

Utilizator interzis !
Mesaje: 600
Membru din: 25 Aug 2014, 21:28
Server: Metin2Ro
Regat: Chunjo
Aprecieri: 28  
Mulţumiri: 77  
Medalii

VegaS™ scrie:
Imagine #Bug fixed

When you die you lose all sites that belong affect potion icons.
[File: src/Server/game/src/char_affect.cpp]
//1.) Search:

Cod: Selectaţi tot

    if (IsPC())
    {
        SendAffectRemovePacket(GetDesc(), GetPlayerID(), pkAff->dwType, pkAff->bApplyOn);
    } 
//2.) Add this before:

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       
Trebuie neaparat ,,activata'' roua gen daca eu am quest de la biolog care iti da ,,roua permanenta'' nu o sa apara,nu ?
Avatar utilizator
ZeNu-Thor2
Nivel 3

Nivel 3
Mesaje: 324
Membru din: 06 Iun 2016, 00:29
Server: Thor2.Global
Aprecieri: 39  
Mulţumiri: 95  
 Contact:
Medalii

BRTSERGIU scrie:
VegaS™ scrie:
Imagine #Bug fixed

When you die you lose all sites that belong affect potion icons.
[File: src/Server/game/src/char_affect.cpp]
//1.) Search:

Cod: Selectaţi tot

    if (IsPC())
    {
        SendAffectRemovePacket(GetDesc(), GetPlayerID(), pkAff->dwType, pkAff->bApplyOn);
    }
//2.) Add this before:

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        
Trebuie neaparat ,,activata'' roua gen daca eu am quest de la biolog care iti da ,,roua permanenta'' nu o sa apara,nu ?

Nu o să apară.
Afișează semnătura
Avatar utilizator
L.a.D l Catalin
Nivel 6

Nivel 6
Mesaje: 1078
Membru din: 15 Sep 2014, 18:27
Server: Freakz Metin2
Regat: Jinno
Aprecieri: 15  
Mulţumiri: 132  
 Contact:
Medalii

Thanks VegaS. Merge perfect.
Felicitari pentru ceea ce faci si succes in continuare.

[ Postat de pe Android ] Imagine
[center]VAND CONT STEAM 112 GAMES[/center]
Afișează semnătura
Avatar utilizator
Iηfιηιт²⁴ᵏ
Utilizator interzis !

Utilizator interzis !
Mesaje: 1008
Membru din: 19 Dec 2013, 09:40
Server: Metin2 s-a dus pe pl
Regat: Jinno
Aprecieri: 40  
Mulţumiri: 11  
 Contact:
Medalii

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?
Afișează semnătura
Închis

Înapoi la “Arhivă”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 60 vizitatori