This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 17th, 2012  |  syntax: LOL Code  |  size: 0.91 KB  |  views: 112  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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);
clone this paste RAW Paste Data