PDA

View Full Version : Normal emotes, Yes, No etc



Shawes
June 22nd, 2010, 01:11
How do i fix the normal emotes? They are wierd atm. Not as they should be.
How do i change the ids of emotes? Or anyone can send me thier working 317 delta emotes?


case 162:
// think emote
c.setAnimation(0x359);
break;

case 164:
// bow emote
c.setAnimation(0x35A);
break;

case 165:
// angry emote
c.setAnimation(0x35B);
break;

case 161:
// cry emote
c.setAnimation(0x35C);
break;

case 170:
// laugh emote
c.setAnimation(0x35D);
break;

case 171:
// cheer emote
c.setAnimation(0x35E);
break;

case 163:
// wave emote
c.setAnimation(0x35F);
break;

case 167:
// beckon emote
c.setAnimation(0x360);
break;

case 172:
// clap emote
c.setAnimation(0x361);
break;

case 166:
// dance emote
c.setAnimation(866);
break;

case 52050:
// panic emote
c.setAnimation(0x839);
break;

case 52051:
// jig emote
c.setAnimation(0x83A);
break;

case 52052:
// spin emote;
c.setAnimation(0x83B);
break;

case 52053:
// headbang emote
c.setAnimation(0x83C);
break;

case 52054:
// joy jump emote
c.setAnimation(0x83D);
break;

case 52055:
// rasp' berry emote
c.setAnimation(0x83E);
break;

case 52056:
// yawn emote
c.setAnimation(0x83F);
break;

case 52057:
// salute emote
c.setAnimation(0x840);
break;

case 52058:
// shrug emote
c.setAnimation(0x841);
break;

case 43092:
// blow kiss emote
c.setAnimation(0x558);
break;

case 2155:
// glass box emote
c.setAnimation(0x46B);
break;

case 25103:
// climb rope emote
c.setAnimation(0x46A);
break;

case 25106:
// lean emote
c.setAnimation(0x469);
break;

case 2154:
// glass wall emote
c.setAnimation(0x468);
break;

case 52071:
// goblin bow emote
c.setAnimation(0x84F);
break;

case 52072:
// goblin dance emote
c.setAnimation(0x850);
break;
case 72032:
// zombie walk emote
c.setAnimation(3544);
break;
case 72033:
// zombie walk emote
c.setAnimation(3543);

Canownueasy`
June 22nd, 2010, 01:13
package com.z474.model.players.content;

import com.z474.model.players.Player;

/**
* Uses an enum to handle emote buttons
* @author Harry Andreas
* @author Canownueasy <tgpn1996@hotmail.com>
*/

public enum Emotes {

/*
* Holds the data of Emotes
* EMOTE, BUTTON
*/
YES(855, 2),
NO(856, 3),
THINK(857, 6),
BOW(858, 4),
ANGRY(859, 5),
CRY(860, 18),
LAUGH(861, 11),
CHEER(862, 9),
WAVE(863, 7),
BECKON(864, 10),
CLAP(865, 22),
DANCE(866, 14),
PANIC(2105, 20),
JIG(2106, 15),
SPIN(2107, 16),
HEADBANG(2108, 17),
JOYJUMP(2109, 12),
RASPBERRY(2110, 21),
YAWN(2111, 13),
SALUTE(2112, 23),
SHRUG(2113, 8),
BLOWKISS(1368, 19),
GLASSWALL(1127, 29),
LEAN(1129, 28),
CLIMBROPE(1130, 27),
GLASSBOX(1131, 26),
GOBLINBOW(2127, 24),
GOBLINSALUTE(2128, 25),
SLAPHEAD(4275, 30),
STOMP(1745, 31),
FLAP(4280, 32),
IDEA(4275, 33),
ZOMBIEWALK(3544, 34),
ZOMBIEDANCE(3543, 35),
ZOMBIEHAND(7272, 36),
SCARED(2836, 37),
RABITHOP(6111, 38);

/*
* Set for every Emote Listed above
*/
public int emote, button;

/*
* Contructor for the Enum
*/
Emotes(final int emote, final int button){
this.emote = emote;
this.button = button;
}

/*
* Players the emote from the button specified
*/
public static void playEmote(Player p, int buttonId) {
if(p == null || p.isDead) {
return;
}
for (Emotes emote : Emotes.values()) {
if(emote.button == buttonId) {
p.requestAnim(emote.emote, 0);
switch(emote.emote) {
case 1368:
p.requestGFX(574, 0);
break;
case 7272:
p.requestGFX(1244, 0);
break;
}
return; //not sure if we should return here but oh well
}
}
}


}

Shawes
June 22nd, 2010, 01:15
Those ids are not working for me, it might be my source? But how do i edit ids of emotes?

Canownueasy`
June 22nd, 2010, 01:20
They are the real IDs...

And by a cache editor.