src/map/clif.c | 17 +----------------
src/map/pc.c | 2 --
2 files changed, 1 insertion(+), 18 deletions(-)
diff --git a/src/map/clif.c b/src/map/clif.c
index a037d3436..8bc5a24f8 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -959,10 +959,6 @@ static void clif_get_weapon_view(struct map_session_data *sd, int *rhand, int *l
nullpo_retv(sd);
nullpo_retv(rhand);
nullpo_retv(lhand);
- if(sd->sc.option&OPTION_COSTUME) {
- *rhand = *lhand = 0;
- return;
- }
#if PACKETVER < 4
*rhand = sd->status.look.weapon;
@@ -3638,9 +3634,6 @@ static void clif_changelook(struct block_list *bl, int type, int val)
if (val == INVISIBLE_CLASS) /* nothing to change look */
return;
- if (sd->sc.option & OPTION_COSTUME)
- vd->weapon = vd->shield = 0;
-
if (!vd->cloth_color)
break;
@@ -3760,6 +3753,7 @@ static void clif_changetraplook(struct block_list *bl, int val)
/// 01d7 <id>.L <type>.B <value>.L (ZC_SPRITE_CHANGE2)
static void clif_sendlook(struct block_list *bl, int id, int type, int val, int val2, enum send_target target)
{
+ ShowDebug( "type: %d val: %d\n", type, val );
struct PACKET_ZC_SPRITE_CHANGE p;
p.packetType = sendLookType;
p.AID = id;
@@ -11061,9 +11055,6 @@ static void clif_parse_ActionRequest_sub(struct map_session_data *sd, int action
if( pc_cant_act(sd) || pc_issit(sd) || sd->sc.option&OPTION_HIDE )
return;
- if( sd->sc.option&OPTION_COSTUME )
- return;
-
if (!battle_config.sdelay_attack_enable && pc->checkskill(sd, SA_FREECAST) <= 0 && (skill->get_inf2(sd->ud.skill_id) & (INF2_FREE_CAST_REDUCED | INF2_FREE_CAST_NORMAL)) == 0) {
if (DIFF_TICK(tick, sd->ud.canact_tick) < 0) {
clif->skill_fail(sd, 1, USESKILL_FAIL_SKILLINTERVAL, 0, 0);
@@ -12199,9 +12190,6 @@ static void clif_useSkillToIdReal(int fd, struct map_session_data *sd, int skill
}
}
- if (sd->sc.option & OPTION_COSTUME)
- return;
-
if (sd->sc.data[SC_BASILICA] && (skill_id != HP_BASILICA || sd->sc.data[SC_BASILICA]->val4 != sd->bl.id))
return; // On basilica only caster can use Basilica again to stop it.
@@ -12327,9 +12315,6 @@ static void clif_parse_UseSkillToPosSub(int fd, struct map_session_data *sd, uin
}
}
- if( sd->sc.option&OPTION_COSTUME )
- return;
-
if( sd->sc.data[SC_BASILICA] && (skill_id != HP_BASILICA || sd->sc.data[SC_BASILICA]->val4 != sd->bl.id) )
return; // On basilica only caster can use Basilica again to stop it.
diff --git a/src/map/pc.c b/src/map/pc.c
index ea18715bb..3285e58cd 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2066,8 +2066,6 @@ static int pc_disguise(struct map_session_data *sd, int class)
// We need to update the client so it knows that a costume is being used
if( sd->sc.option&OPTION_COSTUME ) {
clif->changelook(&sd->bl, LOOK_BASE, sd->vd.class);
- clif->changelook(&sd->bl,LOOK_WEAPON,0);
- clif->changelook(&sd->bl,LOOK_SHIELD,0);
clif->changelook(&sd->bl,LOOK_CLOTHES_COLOR,sd->vd.cloth_color);
}
there is a reason why we disable this server-side,
because I remember long time ago, during eathena times, having wedding sprite or xmas sprite can crash the client
just tested again today, although it doesn't crash my 20180621 client,
but it doesn't seems like can update the weapon/shield sprite properly
not really sure its server or client side restriction though,
I couldn't find any thing seems to block it from server side, since ShowDebug() shows the value properly ...
cash mount sprite problem,
yup, I can't move this topic into graphic support, because you asking multiple questions in 1 topic
download act editor and fix it yourself