EskiKnightOnline.net | v.1098 MYKO | 400.000 TL Ödül Havuzu | Official : 14 Haziran 2024 - 22:00 !
Cuceko
Cuceko
Cuceko

V2 Npc Effect

  •         

            

            

            

            

  • HyperFilter | DoS Protection | DDoS Protection | DoS Mitigation | DDoS Mitigation | AntiDoS | AntiDDoS | Proxy Shielding
A Çevrimdışı

adams922

Kayıtlı Üye
5 Şubat 2013
448
0
16
32
Find: (Gameserver/npc.cpp)



void CNpc::GetNpcInfo(Packet & pkt)

{

pkt << GetProtoID()

<< uint8(isMonster() ? 1 : 2) // Monster = 1, NPC = 2 (need to use a better flag)

<< m_sPid

<< GetType()

<< m_iSellingGroup

<< m_sSize

<< m_iWeapon_1 << m_iWeapon_2

// Monsters require 0 regardless, otherwise they'll act as NPCs.

<< uint8(isMonster() ? 0 : GetNation())

<< GetLevel()

<< GetSPosX() << GetSPosZ() << GetSPosY()

<< uint32(isGateOpen())

<< m_byObjectType

<< uint16(0) << uint16(0) // unknown

<< int16(m_byDirection);



Replace:



void CNpc::GetNpcInfo(Packet & pkt)

{

pkt << GetProtoID()

<< uint16(isMonster() ? 1 : 2) // Monster = 1, NPC = 2 (need to use a better flag)

<< m_sPid

<< GetType()

<< m_iSellingGroup

<< m_sSize

<< m_iWeapon_1 << m_iWeapon_2

// Monsters require 0 regardless, otherwise they'll act as NPCs.

<< uint32(isMonster() ? 0 : GetNation())

<< GetLevel()

<< GetSPosX() << GetSPosZ() << GetSPosY()

<< uint32(isGateOpen())

<< m_byObjectType

<< uint16(0) << uint16(0) // unknown

<< int16(m_byDirection);





Picture:



5400682761_www.kepfeltoltes.hu_.jpg






10856406_383988275110742_1804883812_o_www.kepfeltoltes.hu_.jpg




10856411_383988268444076_1915921228_o_www.kepfeltoltes.hu_.jpg




10860256_383988255110744_169266871_o_www.kepfeltoltes.hu_.jpg




10876619_383988248444078_2085512297_o_www.kepfeltoltes.hu_.jpg




10878735_383988271777409_478015019_o_www.kepfeltoltes.hu_.jpg






10878746_383988258444077_1884057618_o_www.kepfeltoltes.hu_.jpg




10878771_383988251777411_58365932_o_www.kepfeltoltes.hu_.jpg
 
A Çevrimdışı

aydela

Kayıtlı Üye
10 Ağustos 2012
520
0
16
56
Cevap: V2 Npc Effect



Bide NPC ve MOB'larıda görsek tam süper olucak