• HyperFilter | DoS Protection | DDoS Protection | DoS Mitigation | DDoS Mitigation | AntiDoS | AntiDDoS | Proxy Shielding

V2 Npc Effect

adams922

Kayıtlı Üye
Katılım
5 Şubat 2013
Mesajlar
448
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
 
Geri
Üst