View Full Version : [317] Adding skillcape emotes for Delta ! <ServerSided> [317] C&P
Xdragon
June 20th, 2010, 14:19
Server based : Delta
its not hard to do it. Its easy lol u need only to C&P
I did not make this
First open client.java and search for :
public class client extends Player implements Runnable {
Add this under it :
public void capeEmote() {
if (playerEquipment[playerCape]==4319) { //attack
stillgfx(630, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4959);
}
if (playerEquipment[playerCape]==4359) { //strength
stillgfx(615, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4981);
}
if (playerEquipment[playerCape]==4329) { //defence
stillgfx(621, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
setAnimation(4961);
}
if (playerEquipment[playerCape]==4317) { //agility
stillgfx(625, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4977);
}
if (playerEquipment[playerCape]==4351) { //range
stillgfx(617, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4973);
}
if (playerEquipment[playerCape]==4347) { //prayer
stillgfx(606, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4979);
}
if (playerEquipment[playerCape]==4353) { //woodcutting
stillgfx(613, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4957);
}
if (playerEquipment[playerCape]==4343) { //magic
stillgfx(629, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4939);
}
if (playerEquipment[playerCape]==4325) { //cooking
stillgfx(618, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4955);
}
if (playerEquipment[playerCape]==4355) { //slayer
stillgfx(624, absY, absX);
startAnimation(4967);
plrText = "";
plrTextUpdateRequired = true;
}
if (playerEquipment[playerCape]==4337) { //fletching
stillgfx(619, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4937);
}
if (playerEquipment[playerCape]==4345) { //mining
stillgfx(610, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4941);
}
if (playerEquipment[playerCape]==2740) { //QuestCape
stillgfx(608, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
}
if (playerEquipment[playerCape]==4335) { //fishing
stillgfx(616, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4951);
}
if (playerEquipment[playerCape]==4331) { //farming
stillgfx(622, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4963);
}
if (playerEquipment[playerCape]==4333) { //rc
stillgfx(607, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4947);
}
if (playerEquipment[playerCape]==4327) { //crafting
stillgfx(620, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4949);
}
if (playerEquipment[playerCape]==4357) { //smithing
stillgfx(609, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4943);
}
if (playerEquipment[playerCape]==4361) { //thieving
stillgfx(623, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4965);
}
if (playerEquipment[playerCape]==4341) { //hp
stillgfx(628, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4971);
}
if (playerEquipment[playerCape]==4339) { //herblore
stillgfx(626, absY, absX);
plrText = "";
plrTextUpdateRequired = true;
startAnimation(4969);
}
}
Now to go your commands and add this to your commands :
if (command.startsWith("skillcape")) {
capeEmote();
}
Save & Compile it should work now tell me if i forgot something
Rep only if u want it. I did not make this (Forgot who did) i did only this here bc runelocus was crashed.
Have Fun!
XxBryantD
June 20th, 2010, 16:13
lol would rep but there is no rep
Xdragon
June 20th, 2010, 16:14
Damn No rep !
Shawes
June 21st, 2010, 00:44
Works good with out errors, thought the emotes is not skillcape emotes. Prayer cape just shows me a dragon butt and woodcutting is some water wave.
Fenway`
June 21st, 2010, 01:00
i dont like that u need to use a command to do the emote, why not just add the skillcape emote button or replace it with another button
Xdragon
June 21st, 2010, 13:37
I tryd to But it didnt work for me so i just did a command
lost valentino
June 25th, 2010, 17:26
mines is much better, btw i the old code is shitty i use now array's
Malik
June 26th, 2010, 03:22
I wouldn't recommend this really if you wanna make a good server, but if its just temporary, its nice to have, But getting the real emotes are alot better ;)
Anyway nice tutorial, its so simple,making it very convenient...I tried it took me like 2 minutes.
Fenway`
June 26th, 2010, 03:40
I tryd to But it didnt work for me so i just did a command
so just replace the zombie walk emote or something.....
mines is much better, btw i the old code is shitty i use now array's
what?
I wouldn't recommend this really if you wanna make a good server, but if its just temporary, its nice to have, But getting the real emotes are alot better ;)
Anyway nice tutorial, its so simple,making it very convenient...I tried it took me like 2 minutes.
tutorialscape is not the way to go
@xdragon
you do not put the void under public class client.... {, its called "conventions"
Malik
June 26th, 2010, 03:45
tutorialscape is not the way to go
Not like I kept this in my server lol, I barely copy other people's work tbh.
jerome
June 27th, 2010, 01:27
be a little smart about your codes be no one would like to use commands try this
in clickingmost class aka .java add replace this
case 43093:
if (c.playerEquipment[c.playerCape] == 2695 || c.playerEquipment[c.playerCape] == 4321) { //fm
c.setAnimation(4975);
c.lowGFX(615, 0);
} else if (c.playerEquipment[c.playerCape] == 2728 || c.playerEquipment[c.playerCape] == 4335) { //fish
c.setAnimation(4951);
c.lowGFX(616, 0);
} else if (c.playerEquipment[c.playerCape] == 2686 || c.playerEquipment[c.playerCape] == 4351) { //range
c.setAnimation(4973);
c.lowGFX(617, 0);
} else if (c.playerEquipment[c.playerCape] == 2731 || c.playerEquipment[c.playerCape] == 4325) { //cook
c.setAnimation(4955);
c.lowGFX(618, 0);
} else if (c.playerEquipment[c.playerCape] == 2716 || c.playerEquipment[c.playerCape] == 4337) { //fletch
c.setAnimation(4937);
c.lowGFX(619, 0);
} else if (c.playerEquipment[c.playerCape] == 2713 || c.playerEquipment[c.playerCape] == 4327) { //CRAFt
c.setAnimation(4949);
c.lowGFX(620, 0);
} else if (c.playerEquipment[c.playerCape] == 2683 || c.playerEquipment[c.playerCape] == 4329) { //def
c.setAnimation(4961);
c.lowGFX(621, 0);
} else if (c.playerEquipment[c.playerCape] == 2737 || c.playerEquipment[c.playerCape] == 4331) { //farm
c.setAnimation(4963);
c.lowGFX(622, 0);
} else if (c.playerEquipment[c.playerCape] == 2710 || c.playerEquipment[c.playerCape] == 4361) { //theif
c.setAnimation(4965);
c.lowGFX(623, 0);
} else if (c.playerEquipment[c.playerCape] == 2719 || c.playerEquipment[c.playerCape] == 4355) { //slay
c.setAnimation(4967);
c.lowGFX(624, 0);
} else if (c.playerEquipment[c.playerCape] == 2704 || c.playerEquipment[c.playerCape] == 4317) { //agil
c.setAnimation(4977);
c.lowGFX(625, 0);
} else if (c.playerEquipment[c.playerCape] == 2707 || c.playerEquipment[c.playerCape] == 4339) { //herb
c.setAnimation(4969);
c.lowGFX(626, 0);
} else if (c.playerEquipment[c.playerCape] == 9783 || c.playerEquipment[c.playerCape] == 9784) { //hunt
c.setAnimation(4937);
c.lowGFX(627, 0);
} else if (c.playerEquipment[c.playerCape] == 2742 || c.playerEquipment[c.playerCape] == 2743) { //con
c.setAnimation(4953);
c.lowGFX(605, 0);
} else if (c.playerEquipment[c.playerCape] == 2689 || c.playerEquipment[c.playerCape] == 4347) { //pray
c.setAnimation(4979);
c.lowGFX(606, 0);
} else if (c.playerEquipment[c.playerCape] == 2698 || c.playerEquipment[c.playerCape] == 4333) { //rc
c.setAnimation(4947);
c.lowGFX(607, 0);
} else if (c.playerEquipment[c.playerCape] == 9795 || c.playerEquipment[c.playerCape] == 9796) { //quest
c.setAnimation(4943);
c.lowGFX(608, 0);
} else if (c.playerEquipment[c.playerCape] == 2725 || c.playerEquipment[c.playerCape] == 4357) { //smith
c.setAnimation(4943);
c.lowGFX(609, 0);
} else if (c.playerEquipment[c.playerCape] == 2722 || c.playerEquipment[c.playerCape] == 4345) { //mine
c.setAnimation(4941);
c.lowGFX(610, 0);
} else if (c.playerEquipment[c.playerCape] == 4319 || c.playerEquipment[c.playerCape] == 2677) { //att
c.setAnimation(4959);
c.lowGFX(611, 0);
} else if (c.playerEquipment[c.playerCape] == 2734 || c.playerEquipment[c.playerCape] == 4353) { //wc
c.setAnimation(4957);
c.lowGFX(613, 0);
} else if (c.playerEquipment[c.playerCape] == 2680 || c.playerEquipment[c.playerCape] == 4359) { //str
c.setAnimation(4981);
c.lowGFX(614, 0);
} else if (c.playerEquipment[c.playerCape] == 9813) {
c.setAnimation(4945);
c.lowGFX(816, 0);
} else if (c.playerEquipment[c.playerCape] == 2692 || c.playerEquipment[c.playerCape] == 4343) {
c.setAnimation(4939);
c.lowGFX(599, 0);
} else {
c.sM("You need a skillcape to perform this emote.");
}
break;
Robin On Fire
June 27th, 2010, 23:55
is commands a different file . or the commands section in the CLient.java?
DutchVengz__
July 19th, 2010, 15:44
mines is much better, btw i the old code is shitty i use now array's
Don't say yours is better, it isn't, it took me a hour or something, just to get all the requirements.. did ur tut, no errors but you have WRONG gfx + NO emote..
DutchVengz__
July 19th, 2010, 15:45
be a little smart about your codes be no one would like to use commands try this
in clickingmost class aka .java add replace this
case 43093:
if (c.playerEquipment[c.playerCape] == 2695 || c.playerEquipment[c.playerCape] == 4321) { //fm
c.setAnimation(4975);
c.lowGFX(615, 0);
} else if (c.playerEquipment[c.playerCape] == 2728 || c.playerEquipment[c.playerCape] == 4335) { //fish
c.setAnimation(4951);
c.lowGFX(616, 0);
} else if (c.playerEquipment[c.playerCape] == 2686 || c.playerEquipment[c.playerCape] == 4351) { //range
c.setAnimation(4973);
c.lowGFX(617, 0);
} else if (c.playerEquipment[c.playerCape] == 2731 || c.playerEquipment[c.playerCape] == 4325) { //cook
c.setAnimation(4955);
c.lowGFX(618, 0);
} else if (c.playerEquipment[c.playerCape] == 2716 || c.playerEquipment[c.playerCape] == 4337) { //fletch
c.setAnimation(4937);
c.lowGFX(619, 0);
} else if (c.playerEquipment[c.playerCape] == 2713 || c.playerEquipment[c.playerCape] == 4327) { //CRAFt
c.setAnimation(4949);
c.lowGFX(620, 0);
} else if (c.playerEquipment[c.playerCape] == 2683 || c.playerEquipment[c.playerCape] == 4329) { //def
c.setAnimation(4961);
c.lowGFX(621, 0);
} else if (c.playerEquipment[c.playerCape] == 2737 || c.playerEquipment[c.playerCape] == 4331) { //farm
c.setAnimation(4963);
c.lowGFX(622, 0);
} else if (c.playerEquipment[c.playerCape] == 2710 || c.playerEquipment[c.playerCape] == 4361) { //theif
c.setAnimation(4965);
c.lowGFX(623, 0);
} else if (c.playerEquipment[c.playerCape] == 2719 || c.playerEquipment[c.playerCape] == 4355) { //slay
c.setAnimation(4967);
c.lowGFX(624, 0);
} else if (c.playerEquipment[c.playerCape] == 2704 || c.playerEquipment[c.playerCape] == 4317) { //agil
c.setAnimation(4977);
c.lowGFX(625, 0);
} else if (c.playerEquipment[c.playerCape] == 2707 || c.playerEquipment[c.playerCape] == 4339) { //herb
c.setAnimation(4969);
c.lowGFX(626, 0);
} else if (c.playerEquipment[c.playerCape] == 9783 || c.playerEquipment[c.playerCape] == 9784) { //hunt
c.setAnimation(4937);
c.lowGFX(627, 0);
} else if (c.playerEquipment[c.playerCape] == 2742 || c.playerEquipment[c.playerCape] == 2743) { //con
c.setAnimation(4953);
c.lowGFX(605, 0);
} else if (c.playerEquipment[c.playerCape] == 2689 || c.playerEquipment[c.playerCape] == 4347) { //pray
c.setAnimation(4979);
c.lowGFX(606, 0);
} else if (c.playerEquipment[c.playerCape] == 2698 || c.playerEquipment[c.playerCape] == 4333) { //rc
c.setAnimation(4947);
c.lowGFX(607, 0);
} else if (c.playerEquipment[c.playerCape] == 9795 || c.playerEquipment[c.playerCape] == 9796) { //quest
c.setAnimation(4943);
c.lowGFX(608, 0);
} else if (c.playerEquipment[c.playerCape] == 2725 || c.playerEquipment[c.playerCape] == 4357) { //smith
c.setAnimation(4943);
c.lowGFX(609, 0);
} else if (c.playerEquipment[c.playerCape] == 2722 || c.playerEquipment[c.playerCape] == 4345) { //mine
c.setAnimation(4941);
c.lowGFX(610, 0);
} else if (c.playerEquipment[c.playerCape] == 4319 || c.playerEquipment[c.playerCape] == 2677) { //att
c.setAnimation(4959);
c.lowGFX(611, 0);
} else if (c.playerEquipment[c.playerCape] == 2734 || c.playerEquipment[c.playerCape] == 4353) { //wc
c.setAnimation(4957);
c.lowGFX(613, 0);
} else if (c.playerEquipment[c.playerCape] == 2680 || c.playerEquipment[c.playerCape] == 4359) { //str
c.setAnimation(4981);
c.lowGFX(614, 0);
} else if (c.playerEquipment[c.playerCape] == 9813) {
c.setAnimation(4945);
c.lowGFX(816, 0);
} else if (c.playerEquipment[c.playerCape] == 2692 || c.playerEquipment[c.playerCape] == 4343) {
c.setAnimation(4939);
c.lowGFX(599, 0);
} else {
c.sM("You need a skillcape to perform this emote.");
}
break;
What button is it?
jerome
July 19th, 2010, 22:43
What button is it?
43093
Ninga Nun
July 20th, 2010, 16:33
Yes ;);)
Pyro Sauce
August 23rd, 2010, 03:54
43093
lol and what button is that? I don't have every button committed to memory
nmanpure
August 24th, 2010, 03:39
Lol just replace 168 case and click the yes emote button its more user freindly
Most emotes crash me - removed -_-
xx rofl xx
October 3rd, 2010, 03:32
Wouldnt something like this work aswell so that you can just click on the skillcape emote button not do a command? (clicking.java)
case 74077:
c.capeEmote();
c.sM("You do your skillcape emote.");
break;
cloudyscape
October 3rd, 2010, 06:34
did not work for me...
Hit My Head
October 26th, 2010, 21:11
got one with PI to ?
kaos
November 1st, 2010, 10:33
Dosent work for me no errors just emote dosent work.
janie177
March 8th, 2011, 23:52
lol when i type ::skillcape I automatically logout xD
wayo0o
March 15th, 2011, 14:17
dont work for me just kicks me out of server if i use it
r_u_n
March 22nd, 2011, 09:31
it just got me a 100 errors and the emotes didn't work :/
specced v2
April 8th, 2011, 05:36
thanks great tut but the emotes dont do mutch....soz like the cooking one just spawns a pot for 2second and then it dissapears :( allwell anyway do u think u could help me with my delta 317?? just a bit off help? ty
cheesecake
April 9th, 2011, 14:47
thanks great tut but the emotes dont do mutch....soz like the cooking one just spawns a pot for 2second and then it dissapears :( allwell anyway do u think u could help me with my delta 317?? just a bit off help? ty
I think you have to do SWAT's emote system , you say you don't see the good emote and not so much so yeah , you probably don't got it in your client
iijustinii
April 9th, 2011, 18:54
Nicezz!
iijustinii
April 9th, 2011, 21:26
Good jobbb
king rauddys
April 22nd, 2012, 17:41
Sorry but this is shit, next time: give us anim download link + right code. ty.
Cart
April 22nd, 2012, 17:49
Sorry but this is shit, next time: give us anim download link + right code. ty.
June 20th, 2010, 09:19
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.