diff --git a/scripts/commands/holoemote.py b/scripts/commands/holoemote.py index 6b0554f0..e4266155 100644 --- a/scripts/commands/holoemote.py +++ b/scripts/commands/holoemote.py @@ -36,7 +36,7 @@ def run(core, actor, target, commandString): return effectObj = 'clienteffect/holoemote_' + commandString + '.cef' - actor.playEffectObject(effectObj, 'head') + actor.playEffectObject(effectObj, 'Head') player.setHoloEmoteUses(player.getHoloEmoteUses() - 1) # TODO: Cooldowns for the holo-emote's return diff --git a/src/protocol/swg/PlayClientEffectObjectMessage.java b/src/protocol/swg/PlayClientEffectObjectMessage.java index 498b8ddd..29d6aecb 100644 --- a/src/protocol/swg/PlayClientEffectObjectMessage.java +++ b/src/protocol/swg/PlayClientEffectObjectMessage.java @@ -36,7 +36,6 @@ public class PlayClientEffectObjectMessage extends SWGMessage { this.effectFile = effectFile; this.objectId = objectId; this.commandString = commandString; - } @Override @@ -47,8 +46,10 @@ public class PlayClientEffectObjectMessage extends SWGMessage { result.putShort((short) 5); result.putInt(0x8855434A); result.put(getAsciiString(effectFile)); - result.put(getAsciiString(commandString)); + result.putShort((short) 0); result.putLong(objectId); + result.put(getAsciiString(commandString)); + return result.flip(); }