Jump to content

dgl

Member
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Like
    dgl got a reaction from CSSFerret in [41.61] MP Client NullPointerException: Cannot invoke "zombie.audio.BaseSoundEmitter.stopSound(long)" because "this.emitter" is null at IsoStove.doSound line:263   
    I fixed this by decompiling IsoStove class and fixing the call sites. I think the root cause is when stove gets moved away from other players when they are offline. The symptom is player disconnect happening consistently after 2 minutes since they join the server.
     
    I recompiled the class and distributed it to players which fixed the issue. I can attach recompiled class too but it might be violating the forum rules
     
    184c184 < if (this.soundInstance != -1L) { --- > if (this.soundInstance != -1L && this.emitter != null) { 196c196,198 < this.emitter.stopSound(this.soundInstance); --- > if (this.emitter != null) { > this.emitter.stopSound(this.soundInstance); > } 206c208 < if (this.soundInstance != -1L) { --- > if (this.soundInstance != -1L && this.emitter != null) { 214c216,218 < this.emitter.stopSound(this.soundInstance); --- > if (this.emitter != null) { > this.emitter.stopSound(this.soundInstance); > }  
×
×
  • Create New...