diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-20 02:09:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-20 02:24:18 +0300 |
commit | e684e16dab043508af421ccef4d3932568d811ae (patch) | |
tree | 8ae689293e7cbbaabbdad464ffba10e6678af4df | |
parent | ef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7 (diff) | |
download | plugin-e684e16dab043508af421ccef4d3932568d811ae.tar.gz plugin-e684e16dab043508af421ccef4d3932568d811ae.tar.bz2 plugin-e684e16dab043508af421ccef4d3932568d811ae.tar.xz plugin-e684e16dab043508af421ccef4d3932568d811ae.zip |
Remove blocking and sending old packets for spawn, move, idle.
-rw-r--r-- | src/emap/clif.c | 15 | ||||
-rw-r--r-- | src/emap/send.c | 4 |
2 files changed, 2 insertions, 17 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c index 4f8ac36..e6b6f17 100644 --- a/src/emap/clif.c +++ b/src/emap/clif.c @@ -487,15 +487,6 @@ bool eclif_send_pre(const void **bufPtr, if (*len >= 2) { const int packet = RBUFW (buf, 0); - if (packet == 0x915 || - packet == 0x90f || - packet == 0x914 || - packet == 0x2e1) - { - // not sending old packet to new clients - hookStop(); - return true; - } if (packet == 0x9cb) { struct map_session_data *sd = BL_CAST(BL_PC, bl); @@ -537,11 +528,7 @@ int eclif_send_actual_pre(int *fd, const int packet = RBUFW (buf, 0); if (packet == 0x1d7 || packet == 0x84b || - packet == 0x2dd || - packet == 0x915 || - packet == 0x90f || - packet == 0x914 || - packet == 0x2e1) + packet == 0x2dd) { // not sending old packets to new clients // probably useless diff --git a/src/emap/send.c b/src/emap/send.c index 35a9477..7aceb20 100644 --- a/src/emap/send.c +++ b/src/emap/send.c @@ -370,13 +370,11 @@ void send_changelook2(struct map_session_data* sd, struct block_list *bl, int id unsigned char buf[32]; int i; - WBUFW(buf, 0) = 0x1d7; + WBUFW(buf, 0) = 0xb17; WBUFL(buf, 2) = id; WBUFB(buf, 6) = type; WBUFW(buf, 7) = val; WBUFW(buf, 9) = val2; - clif->send(buf, 11, bl, target); - WBUFW(buf, 0) = 0xb17; if (data && sd) { //ShowWarning("equip: for type %d\n", type); |