i get this exception when i login to a server:
The system cannot find the path specified.
Data.dat in Directory: ./data/Interfaces; Does not exist!
Please make sure this file exists or the client will not load,
the correct Interfaces!
Exception in thread "Thread-6" java.lang.ArrayIndexOutOfBoundsException: 353
at TextDrawingArea.method390(TextDrawingArea.java:197 )
at client.drawTooltip(client.java:9202)
at client.draw3dScreen(client.java:8599)
at client.method146(client.java:11616)
at client.drawGameScreen(client.java:7888)
at client.processDrawing(client.java:8528)
at RSApplet.run(RSApplet.java:108)
at client.run(client.java:4539)
at java.lang.Thread.run(Unknown Source)
and also i'm trying to make the description get read by this:
Code:
int list2 = stream1.readUnsignedByte();
anIntArray94 = new int[list2];
for(int j = 0; j < list2; j++){
anIntArray94[j]=stream1.readUnsignedWord();
byte[] getAByte = stream1.readString().getBytes();
description = getAByte;
client.LEM(anIntArray94[j]);
}
and yes i am using swats clients code but refactored.