Jump to content

Search the Community

Showing results for tags 'sounds'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 12 results

  1. squashy

    Sounds list!

    Hey just wondering if anyone has a list of sounds and the ids? the one i'm currently using off of run-server isn't useful the sounds are all messed up, i'd really appreciate it if you could help me out :)
  2. So i've been using Alhassa (rs2hd) for the longest time now and just noticed that with a lot of the animations, a weird sound is played that does not match the nature of the animation at all. Does anyone know what might be causing this? My guess is it's in the cache because the cache seems to have some other problems as well but please let me know if you have any idea.
  3. Where are the ingame audio sounds located? For example in the code I use: new Music(76, X, Y, X, Y), // Harmony 76 being the track id of harmony and that works fine but where is the music actually located? I wanted to add all the classic ones into the game. Thnx
  4. Biaxident

    Game Sounds

    How do I enable them? I have all the files but sounds don't seem to work in game. Am I missing something? Thanks! For Reference: [SPOILER=SoundPlayer.java][CODE] import java.io.InputStream; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; import javax.sound.sampled.DataLine; import javax.sound.sampled.FloatControl; public class SoundPlayer implements Runnable { private AudioInputStream stream; private DataLine.Info info; private Clip sound; private InputStream soundStream; private Thread player; private int delay; private int soundLevel; public static int volume; /** * Initializes the sound player. * @param stream * @param level * @param delay */ public SoundPlayer(InputStream stream, int level, int delay) { if (level == 0 || volume == 4 || level - volume <= 0) { return; } this.soundStream = stream; this.soundLevel = level; this.delay = delay; player = new Thread(this); player.start(); } /** * Plays the sound. */ @Override public void run() { try { stream = AudioSystem.getAudioInputStream(soundStream); info = new DataLine.Info(Clip.class, stream.getFormat()); sound = (Clip) AudioSystem.getLine(info); sound.open(stream); FloatControl volume = (FloatControl) sound.getControl(FloatControl.Type.MASTER_GAIN); volume.setValue(getDecibels(soundLevel - getVolume())); if (delay > 0) { Thread.sleep(delay); } sound.start(); while (sound.isActive()) { Thread.sleep(250); } Thread.sleep(10000); sound.close(); stream.close(); player.interrupt(); } catch (Exception e) { player.interrupt(); e.printStackTrace(); } } /** * Sets the client's volume level. * @param level */ public static void setVolume(int level) { volume = level; } /** * Returns the client's volume level. */ public static int getVolume() { return volume; } /** * Returns the decibels for a given volume level. * @param level * @return */ public float getDecibels(int level) { switch (level) { case 1: return (float) -80.0; case 2: return (float) -70.0; case 3: return (float) -60.0; case 4: return (float) -50.0; case 5: return (float) -40.0; case 6: return (float) -30.0; case 7: return (float) -20.0; case 8: return (float) -10.0; case 9: return (float) -0.0; case 10: return (float) 6.0; default: return (float) 0.0; } } }[/CODE] [/SPOILER] [spoiler=Sound.java][CODE]package com.allantois.game.players.content.music; import com.allantois.game.npcs.NPCDefinitions; import com.allantois.game.players.Player; import com.allantois.handlers.ItemHandler; import com.allantois.util.Misc; public class Sound { public static final int WHIP = 1081; public static final int LEVELUP = 67; public static final int DUELWON = 77; public static final int DUELLOST = 76; public static final int FOODEAT = 317; public static final int DROPITEM = 376; public static final int COOKITEM = 357; public static final int SHOOT_ARROW = 370; public static final int TELEPORT = 202; public static final int BONE_BURY = 380; public static final int DRINK_POTION = 334; public static final int BANK_PIN_BUTTON_ENTER = 1258, BANK_PIN_SUCCES = 1257, BANK_PIN_FAIL = 1252; public static int getNpcAttackSounds(int NPCID) { String npc = GetNpcName(NPCID).toLowerCase(); if (npc.contains("bat")) { return 1; } if (npc.contains("cow")) { return 4; } if (npc.contains("imp")) { return 11; } if (npc.contains("rat")) { return 17; } if (npc.contains("duck")) { return 26; } if (npc.contains("wolf") || npc.contains("bear")) { return 28; } if (npc.contains("dragon")) { return 47; } if (npc.contains("ghost")) { return 57; } if (npc.contains("goblin")) { return 88; } if (npc.contains("skeleton") || npc.contains("demon") || npc.contains("ogre") || npc.contains("giant") || npc.contains("tz-") || npc.contains("jad")) { return 48; } if (npc.contains("zombie")) { return 1155; } if (npc.contains("man") || npc.contains("woman") || npc.contains("monk")) { return 417; } return Misc.random(6) > 3 ? 398 : 394; } public static int getNpcBlockSound(int NPCID) { String npc = GetNpcName(NPCID).toLowerCase(); if (npc.contains("bat")) { return 7; } if (npc.contains("cow")) { return 5; } if (npc.contains("imp")) { return 11; } if (npc.contains("rat")) { return 16; } if (npc.contains("duck")) { return 24; } if (npc.contains("wolf") || npc.contains("bear")) { return 34; } if (npc.contains("dragon")) { return 45; } if (npc.contains("ghost")) { return 53; } if (npc.contains("goblin")) { return 87; } if (npc.contains("skeleton") || npc.contains("demon") || npc.contains("ogre") || npc.contains("giant") || npc.contains("tz-") || npc.contains("jad")) { return 1154; } if (npc.contains("zombie")) { return 1151; } if (npc.contains("man") && !npc.contains("woman")) { return 816; } if (npc.contains("monk")) { return 816; } if (!npc.contains("man") && npc.contains("woman")) { return 818; } return 791; } public static int getNpcDeathSounds(int NPCID) { String npc = GetNpcName(NPCID).toLowerCase(); if (npc.contains("bat")) { return 7; } if (npc.contains("cow")) { return 3; } if (npc.contains("imp")) { return 9; } if (npc.contains("rat")) { return 15; } if (npc.contains("duck")) { return 25; } if (npc.contains("wolf") || npc.contains("bear")) { return 35; } if (npc.contains("dragon")) { return 44; } if (npc.contains("ghost")) { return 60; } if (npc.contains("goblin")) { return 125; } if (npc.contains("skeleton") || npc.contains("demon") || npc.contains("ogre") || npc.contains("giant") || npc.contains("tz-") || npc.contains("jad")) { return 70; } if (npc.contains("zombie")) { return 1140; } return 70; } public static String GetNpcName(int npcId) { return NPCDefinitions.getNpcListName(npcId); } public static String getItemName(int ItemID) { return ItemHandler.getItemList(ItemID).itemName; } public static int getPlayerBlockSounds(Player c) { int blockSound = 511; if (c.playerEquipment[Player.playerChest] == 2499 || c.playerEquipment[Player.playerChest] == 2501 || c.playerEquipment[Player.playerChest] == 2503 || c.playerEquipment[Player.playerChest] == 4746 || c.playerEquipment[Player.playerChest] == 4757 || c.playerEquipment[Player.playerChest] == 10330) {//Dragonhide sound blockSound = 24; } else if (c.playerEquipment[Player.playerChest] == 10551 ||//Torso c.playerEquipment[Player.playerChest] == 10438) {//3rd age blockSound = 32;//Weird sound } else if (c.playerEquipment[Player.playerChest] == 10338 ||//3rd age c.playerEquipment[Player.playerChest] == 7399 ||//Enchanted c.playerEquipment[Player.playerChest] == 6107 ||//Ghostly c.playerEquipment[Player.playerChest] == 4091 ||//Mystic c.playerEquipment[Player.playerChest] == 4101 ||//Mystic c.playerEquipment[Player.playerChest] == 4111 ||//Mystic c.playerEquipment[Player.playerChest] == 1035 ||//Zamorak c.playerEquipment[Player.playerChest] == 12971) {//Combat blockSound = 14;//Robe sound } else if (c.playerEquipment[Player.playerShield] == 4224) {//Crystal Shield blockSound = 30;//Crystal sound } else if (c.playerEquipment[Player.playerChest] == 1101 ||//Chains c.playerEquipment[Player.playerChest] == 1103|| c.playerEquipment[Player.playerChest] == 1105|| c.playerEquipment[Player.playerChest] == 1107|| c.playerEquipment[Player.playerChest] == 1109|| c.playerEquipment[Player.playerChest] == 1111|| c.playerEquipment[Player.playerChest] == 1113|| c.playerEquipment[Player.playerChest] == 1115|| //Plates c.playerEquipment[Player.playerChest] == 1117|| c.playerEquipment[Player.playerChest] == 1119|| c.playerEquipment[Player.playerChest] == 1121|| c.playerEquipment[Player.playerChest] == 1123|| c.playerEquipment[Player.playerChest] == 1125|| c.playerEquipment[Player.playerChest] == 1127|| c.playerEquipment[Player.playerChest] == 4720|| //Barrows armour c.playerEquipment[Player.playerChest] == 4728|| c.playerEquipment[Player.playerChest] == 4749|| c.playerEquipment[Player.playerChest] == 4712|| c.playerEquipment[Player.playerChest] == 11720||//Godwars armour c.playerEquipment[Player.playerChest] == 11724|| c.playerEquipment[Player.playerChest] == 3140||//Dragon c.playerEquipment[Player.playerChest] == 2615||//Fancy c.playerEquipment[Player.playerChest] == 2653|| c.playerEquipment[Player.playerChest] == 2661|| c.playerEquipment[Player.playerChest] == 2669|| c.playerEquipment[Player.playerChest] == 2623|| c.playerEquipment[Player.playerChest] == 3841|| c.playerEquipment[Player.playerChest] == 1127) {//Metal armour sound blockSound = 15; } else { blockSound = 511; } return blockSound; } public static int GetWeaponSound(Player c) { String wep = getItemName(c.playerEquipment[Player.playerWeapon]).toLowerCase(); if (c.playerEquipment[Player.playerWeapon] == 4718) {//Dharok's Greataxe return 1320; } if (c.playerEquipment[Player.playerWeapon] == 4734) {//Karil's Crossbow return 1081; } if (c.playerEquipment[Player.playerWeapon] == 4747) {//Torag's Hammers return 1330; } if (c.playerEquipment[Player.playerWeapon] == 4710) {//Ahrim's Staff return 2555; } if (c.playerEquipment[Player.playerWeapon] == 4755) {//Verac's Flail return 1323; } if (c.playerEquipment[Player.playerWeapon] == 4726) {//Guthan's Warspear return 2562; } if (c.playerEquipment[Player.playerWeapon] == 772 || c.playerEquipment[Player.playerWeapon] == 1379 || c.playerEquipment[Player.playerWeapon] == 1381 || c.playerEquipment[Player.playerWeapon] == 1383 || c.playerEquipment[Player.playerWeapon] == 1385 || c.playerEquipment[Player.playerWeapon] == 1387 || c.playerEquipment[Player.playerWeapon] == 1389 || c.playerEquipment[Player.playerWeapon] == 1391 || c.playerEquipment[Player.playerWeapon] == 1393 || c.playerEquipment[Player.playerWeapon] == 1395 || c.playerEquipment[Player.playerWeapon] == 1397 || c.playerEquipment[Player.playerWeapon] == 1399 || c.playerEquipment[Player.playerWeapon] == 1401 || c.playerEquipment[Player.playerWeapon] == 1403 || c.playerEquipment[Player.playerWeapon] == 1405 || c.playerEquipment[Player.playerWeapon] == 1407 || c.playerEquipment[Player.playerWeapon] == 1409 || c.playerEquipment[Player.playerWeapon] == 9100) { //Staff wack return 394; } if (c.playerEquipment[Player.playerWeapon] == 839 || c.playerEquipment[Player.playerWeapon] == 841 || c.playerEquipment[Player.playerWeapon] == 843 || c.playerEquipment[Player.playerWeapon] == 845 || c.playerEquipment[Player.playerWeapon] == 847 || c.playerEquipment[Player.playerWeapon] == 849 || c.playerEquipment[Player.playerWeapon] == 851 || c.playerEquipment[Player.playerWeapon] == 853 || c.playerEquipment[Player.playerWeapon] == 855 || c.playerEquipment[Player.playerWeapon] == 857 || c.playerEquipment[Player.playerWeapon] == 859 || c.playerEquipment[Player.playerWeapon] == 861 || c.playerEquipment[Player.playerWeapon] == 4734 || c.playerEquipment[Player.playerWeapon] == 2023 //RuneC'Bow || c.playerEquipment[Player.playerWeapon] == 4212 || c.playerEquipment[Player.playerWeapon] == 4214 || c.playerEquipment[Player.playerWeapon] == 4934 || c.playerEquipment[Player.playerWeapon] == 9104 || c.playerEquipment[Player.playerWeapon] == 9107) { //Bows/Crossbows return 370; } if (c.playerEquipment[Player.playerWeapon] == 1363 || c.playerEquipment[Player.playerWeapon] == 1365 || c.playerEquipment[Player.playerWeapon] == 1367 || c.playerEquipment[Player.playerWeapon] == 1369 || c.playerEquipment[Player.playerWeapon] == 1371 || c.playerEquipment[Player.playerWeapon] == 1373 || c.playerEquipment[Player.playerWeapon] == 1375 || c.playerEquipment[Player.playerWeapon] == 1377 || c.playerEquipment[Player.playerWeapon] == 1349 || c.playerEquipment[Player.playerWeapon] == 1351 || c.playerEquipment[Player.playerWeapon] == 1353 || c.playerEquipment[Player.playerWeapon] == 1355 || c.playerEquipment[Player.playerWeapon] == 1357 || c.playerEquipment[Player.playerWeapon] == 1359 || c.playerEquipment[Player.playerWeapon] == 1361 || c.playerEquipment[Player.playerWeapon] == 9109) { //BattleAxes/Axes return 399; } if (c.playerEquipment[Player.playerWeapon] == 4718 || c.playerEquipment[Player.playerWeapon] == 7808) { //Dharok GreatAxe return 400; } if (c.playerEquipment[Player.playerWeapon] == 6609 || c.playerEquipment[Player.playerWeapon] == 1307 || c.playerEquipment[Player.playerWeapon] == 1309 || c.playerEquipment[Player.playerWeapon] == 1311 || c.playerEquipment[Player.playerWeapon] == 1313 || c.playerEquipment[Player.playerWeapon] == 1315 || c.playerEquipment[Player.playerWeapon] == 1317 || c.playerEquipment[Player.playerWeapon] == 1319) { //2h return 425; } if (c.playerEquipment[Player.playerWeapon] == 1321 || c.playerEquipment[Player.playerWeapon] == 1323 || c.playerEquipment[Player.playerWeapon] == 1325 || c.playerEquipment[Player.playerWeapon] == 1327 || c.playerEquipment[Player.playerWeapon] == 1329 || c.playerEquipment[Player.playerWeapon] == 1331 || c.playerEquipment[Player.playerWeapon] == 1333 || c.playerEquipment[Player.playerWeapon] == 4587) { //Scimitars return 396; } if (wep.contains("halberd")) { return 420; } if (wep.contains("long")) { return 396; } if (wep.contains("knife")) { return 368; } if (wep.contains("javelin")) { return 364; } if (c.playerEquipment[Player.playerWeapon] == 9110) { return 401; } if (c.playerEquipment[Player.playerWeapon] == 4755) { return 1059; } if (c.playerEquipment[Player.playerWeapon] == 4153) { return 1079; } if (c.playerEquipment[Player.playerWeapon] == 9103) { return 385; } if (c.playerEquipment[Player.playerWeapon] == -1) { // fists return 417; } if (c.playerEquipment[Player.playerWeapon] == 2745 || c.playerEquipment[Player.playerWeapon] == 2746 || c.playerEquipment[Player.playerWeapon] == 2747 || c.playerEquipment[Player.playerWeapon] == 2748) { // Godswords return 390; } if (c.playerEquipment[Player.playerWeapon] == 4151) { return 1080; } else { return 398; //Daggers(this is enything that isn't added) } } public static int specialSounds(int id) { if (id == 4151) //whip { return 1081; } if (id == 5698) //dds { return 793; } if (id == 1434)//Mace { return 387; } if (id == 3204) //halberd { return 420; } if (id == 4153) //gmaul { return 1082; } if (id == 7158) //d2h { return 426; } if (id == 4587) //dscim { return 1305; } if (id == 1215) //Dragon dag { return 793; } if (id == 1305) //D Long { return 390; } if (id == 861) //MSB { return 386; } if (id == 11235) //DBow { return 386; } if (id == 6739) //D Axe { } if (id == 1377) //DBAxe { return 389; } return -1; } public static int getCastSound(int spell) { switch (spell) { case 12861: return 1113; case 12871: return 1111; case 12445: return 1185; case 1592: case 1572: return 1012; case 1582: case 1153: case 1157: case 1161: return 1010; //air case 1183: return 1034; case 1172: return 1034; case 1160: return 1034; case 1152: return 1031; //water case 1185: return 1028; case 1175: return 1026; case 1163: return 1024; case 1154: return 1023; //fire case 1189: return 1014; case 1181: return 1020; case 1169: return 1017; case 1158: return 1015; //earth case 1188: return 1009; case 1177: return 1007; case 1166: return 1003; case 1156: return 1002; case 12891: case 12881: return 1110; } return -1; } public static int getSpellSound(int spell) { switch (spell) { case 12901: case 12911: case 12919: case 12929: return 1124; case 12987: return 1121; case 12999: return 1122; case 13011: case 13023: return 1123; case 12861: return 1112; case 12871: return 1110; case 12445: return 1183; case 1592: case 1572: return 1013; case 1582: case 1153: case 1157: case 1161: return 1011; //air case 1183: return 1033; case 1172: return 1033; case 1160: return 1033; case 1152: return 1032; //water case 1185: return 1029; case 1175: return 1027; case 1163: return 1025; case 1154: return 1022; //fire case 1189: return 1021; case 1181: return 1019; case 1169: return 1018; case 1158: return 1016; //earth case 1188: return 1008; case 1177: return 1006; case 1166: return 1005; case 1156: return 1004; case 12881: return 1125; case 12891: return 1126; } return -1; } } [/CODE][/spoiler] Client.java (Couldn't fit it into one paste) First part: [url]http://pastebin.com/ATbcnw5S[/url] Second part: [url]http://pastebin.com/dF5dZwhU[/url]
  5. hey i am working on a delta server and i want the npc's to do the sounds like attack block and die can someone help me add them?
  6. Hello i am currently starting a remake with a friend and one thing that we are missing is music for the login screen and ingame music, if anybody is a really good client developer and can assist us with this problem for a set price $20-25 that would be great Not most PI 317's have a built in music system so if somebody can add that , that would be great. Please list down your offers, and i should consider them.
  7. BZB

    This sounds gay

    OK i was listening to Eminem and he made a diss song to Ja Rule and i never herd of Ja rule before so i looked him up and it said this on his Wikipedia The two rappers waged a war of words for years after DMX accused Ja Rule of copying his hardcore style on records.[45] DMX admitted that he initially wanted to end with his rap rival when he was released from jail in 2005 before making peace: "Gotti came to me in jail and said I want to make peace with you and him", said DMX, "[B][COLOR="#FF0000"][SIZE=4]I was like, 'Alright Gotti, let's do it. But I need five minutes in a room with your man. I got to put my hands on him.'"[/SIZE][/COLOR][/B][45]
  8. Whenever i use the command to send sounds it works but not using this code [CODE]case 8863: Sounds.playSound(npc.getLocation(), 1, 100); break;[/CODE] The case is for the npc 8863
  9. [video=youtube;QodrSfsboFk]http://www.youtube.com/watch?v=QodrSfsboFk[/video]
  10. Hi, I need help with adding fighting sounds to my rsps. I know it must be somewhere in npchandler to add the frame but I don't know where. Any help?
  11. [COLOR="#0000FF"][SIZE=5][COLOR="#00FF00"]Hey, I need help with a few things:[/COLOR][/SIZE][/COLOR] [COLOR="#FF0000"]1. How can I make it so when I teleport to a certain place it plays a song [COLOR="#00FF00"]2. How can I make fighting sounds for when I attack something[/COLOR] 3. How can I make sounds for when someone dies [/COLOR] :cool:
  12. Hey I want to make it so when someone attacks it makes a sound effect. How would I do this?
×