at client.dropitem(client.java:9392)
client.parseincomingpackets(client.java:16220)
Post the line
|
java.lang.arrayindexoutofboundsexception: 699
at client.dropitem(client.java:9392)
at client.parseincomingpackets(client.java:16220)
at client.packetprocess(client.java:17701)
at playerhandler.process(playerhandler.java:268)
at process.run(process.java:23)
at java.lang.thread.run(thread.java:619)
help me please this block players from logg in and it says error connection to server.
and this is another erro java.lang.nullpointerexeption
at client.run(client.java:18175
at java.lang.thread.run(thread.java:619)
at client.dropitem(client.java:9392)
client.parseincomingpackets(client.java:16220)
Post the line
// two methods that are only used for login procedure
private void directFlushOutStream() throws java.io.IOException {
out.write(outStream.buffer, 0, outStream.currentOffset);
outStream.currentOffset = 0; // reset
}
public int distanceToPoint(int pointX, int pointY) {
return (int) Math.sqrt(Math.pow(absX - pointX, 2)
+ Math.pow(absY - pointY, 2));
}
public void dropItem(int droppedItem, int slot) {
// misc.printlnTag("droppeditem ["+playerItems[slot]+"] which is
// ["+(droppedItem+1)+"]");
boolean a = true;
arrayindexoutofboundsexception: 699
means whatever is in that method and has an interger meaning int i = 600; ect.
if you exceed over 600 it'll give you an error
check the method to see if anything is over 699 or if anything is 699
then change it to the max interger
like if int i = 600;
but i was doing clipped(i = 1 < 600)
i = 699
then i would get that error and i would have to make it
clipped(i = 1<600
i = 600
get it?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |