@@ -71,7 +71,7 @@ public class SelectorConfig<T extends MMOClient>
public int getWriteBufferSize()
{
- return READ_BUFFER_SIZE;
+ return WRITE_BUFFER_SIZE;
}
public int getHelperBufferSize()
@@ -798,7 +798,7 @@ public class SelectorThread<T extends MMOClient> extends Thread
boolean ret = client.decrypt(buf, dataSize);
- buf.position(pos);
+ //buf.position(pos); //can be annoying for some decrypt impl decrypt should place the pos at the right place itself
//System.out.println("pCP -> BUF: POS: "+buf.position()+" - LIMIT: "+buf.limit()+" == Packet: SIZE: "+dataSize);