SHARE
TWEET

Untitled

a guest Jan 17th, 2012 126 Never
  1. int NPC_SendCreateMe(DWORD pPlayer, BYTE bType, const char* sFormat, int nID, WORD wIndex, BYTE bShape, int nX, int nY, int nZ, WORD wDirection, __int64 iGState, DWORD nFlagItem)
  2. {
  3.         return Server::CPlayer::Write(pPlayer,bType,sFormat,nID,wIndex,bShape,nX,nY,nZ,wDirection,iGState,nFlagItem);
  4. }
  5.  
  6. int NPC_SendCreate(DWORD pNPC, BYTE bType, const char* sFormat, int nID, WORD wIndex, BYTE bShape, int nX, int nY, int nZ, WORD wDirection, __int64 iGState, DWORD nFlagItem)
  7. {
  8.         return Server::CChar::WriteInSight(pPlayer,bType,sFormat,nID,wIndex,bShape,nX,nY,nZ,wDirection,iGState,nFlagItem);
  9. }
  10.  
  11. //CNPC::SendCreate
  12. Memory->Hook(IMemory::_I_CALL, 0x00449211, NPC_SendCreateMe);
  13. //CNPCSiegeGunStone::SendCreate
  14. Memory->Hook(IMemory::_I_CALL, 0x0044AD19, NPC_SendCreateMe);  
  15.  
  16. //CNPC::Show
  17. Memory->Hook(IMemory::_I_CALL, 0x0044957A, NPC_SendCreate);    
  18. //CNPC::Show
  19. Memory->Hook(IMemory::_I_CALL, 0x0044AC56, NPC_SendCreate);
RAW Paste Data
Top