Tomm0017 / rsmod

New repository: https://github.com/rsmod/rsmod
https://github.com/rsmod/rsmod
Apache License 2.0
125 stars 101 forks source link

Client force-logout on chat message #61

Closed ZenJakey closed 5 years ago

ZenJakey commented 5 years ago

Expected Behavior

When a player sends a chat message, the message goes to the people in the general area.

Actual Behavior

When a player with privilege id 0 sends a chat message their client, as well as ones in the area, will crash. My only guess is the icon id for the privilege being -1 in game.yml

Steps to Reproduce the Problem

  1. Log into an account with privilege 0
  2. Send a chat message
  3. Observe the crash.

Error in client is as follows: Error: class242:278 client:1420 client:2913 client:2523 class52:381 class52:613 Thread:844 | java.lang.NullPointerException | 79,60,67,778,3084,3499,-110,-64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,