mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-14 23:15:08 -06:00
Client sound fix (dropping still has sound issues)
Cache now includes all music + sfx + sound (taken from revision 550) Drop item handler - removed useless send audio
This commit is contained in:
parent
8b1bcd3a4c
commit
b6495f8d33
58 changed files with 855 additions and 847 deletions
|
|
@ -91,19 +91,19 @@ final class TextureOperation37 extends TextureOperation {
|
|||
Class3_Sub15.activeConnection = new Connection((Socket)Class3_Sub9.aClass64_2318.anObject974, Class38.gameSignlink);
|
||||
Class3_Sub9.aClass64_2318 = null;
|
||||
Class3_Sub15.activeConnection.sendBytes(TextureOperation12.outgoingBuffer.buffer, TextureOperation12.outgoingBuffer.index);
|
||||
if(WorldListEntry.aClass155_2627 != null) {
|
||||
WorldListEntry.aClass155_2627.method2159(63);
|
||||
if(WorldListEntry.aAudioChannel_2627 != null) {
|
||||
WorldListEntry.aAudioChannel_2627.method2159();
|
||||
}
|
||||
if(null != Class3_Sub21.aClass155_2491) {
|
||||
Class3_Sub21.aClass155_2491.method2159(66);
|
||||
if(null != Class3_Sub21.aAudioChannel_2491) {
|
||||
Class3_Sub21.aAudioChannel_2491.method2159();
|
||||
}
|
||||
response = Class3_Sub15.activeConnection.readByte();
|
||||
System.out.println("Response = " + response);
|
||||
if(WorldListEntry.aClass155_2627 != null) {
|
||||
WorldListEntry.aClass155_2627.method2159(64);
|
||||
if(WorldListEntry.aAudioChannel_2627 != null) {
|
||||
WorldListEntry.aAudioChannel_2627.method2159();
|
||||
}
|
||||
if(Class3_Sub21.aClass155_2491 != null) {
|
||||
Class3_Sub21.aClass155_2491.method2159(111);
|
||||
if(Class3_Sub21.aAudioChannel_2491 != null) {
|
||||
Class3_Sub21.aAudioChannel_2491.method2159();
|
||||
}
|
||||
if(response != 21) {
|
||||
Unsorted.anInt1711 = response;
|
||||
|
|
@ -279,7 +279,7 @@ final class TextureOperation37 extends TextureOperation {
|
|||
if(NPC.npcs[var6] == null && (var13.aByte1267 & 1) > 0 && Class140_Sub3.anInt2745 == var8 && var11 >= 0 && 104 > var13.size + var11 && var12 >= 0 && 104 > var12 - -var13.size) {
|
||||
NPC.npcs[var6] = new NPC();
|
||||
NPC npc = NPC.npcs[var6];
|
||||
Class15.localNPCIndexes[Class163.localNPCCount++] = var6;
|
||||
AudioThread.localNPCIndexes[Class163.localNPCCount++] = var6;
|
||||
npc.anInt2838 = Class44.anInt719;
|
||||
npc.setDefinitions(var13);
|
||||
npc.setSize(npc.definition.size, 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue