Guest User

Untitled

a guest
Jul 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. writeShort(SPAWN_MONSTER);
  2. writeInt(mob->getId());
  3. write(1); // 1 = Control normal, 5 = Control none
  4. writeInt(mob->getMobId());
  5. // monster status
  6. writeBytes("00000000000000000000000000000000000000000000000000C0070000000000880000000000000000FC030000000000000000FC030000000000000000FC030000000000000000FC0300000000");
  7. //
  8. writeShort(mob->getPos_x());
  9. writeShort(mob->getPos_y());
  10. write(mob->getStance());
  11. writeShort(0); // FH
  12. writeShort(mob->getFoothold()); // Origin FH
  13. write(spawnType); // -3 summon by mob -2 = new spawn; -1 = old mob
  14. if (from != 0) {
  15. writeInt(from);
  16. }
  17. write(0xFF); // carnival team
  18. writeLongLong(0);
  19. write(0xFF);
Add Comment
Please, Sign In to add comment