Hey guys, having trouble fixing the bank insert option. I'm using Humid's 667 source.
When switching to insert mode, the bank still just swaps. It may be that my config ID is wrong here, but I got the feeling that it was the byte argument. I explain below:

This is the code for switching to insert mode (Bank.java):
Code:
	public void switchInsertItems() {
		insertItems = !insertItems;
		player.getPackets().sendConfig(305, insertItems ? 1 : 0);
	}
That second argument in sendConfig() is an int argument and is evaluated like so:

Code:
	public void sendConfig(int id, int value) {
		if (value < Byte.MIN_VALUE || value > Byte.MAX_VALUE)
			sendConfig2(id, value);
		else
			sendConfig1(id, value); // FOR INSERT, SENDCONFIG1 ALWAYS GETS SENT BECAUSE value IS ALWAYS EITHER 0 OR 1
	}
So here, since the "value" argument is always 0 or 1 and the Byte type has a range of -128 to 127, "sendConfig1()" will always be called and sendConfig2 never will be. I've tried changing the 0 and the 1 from switchInsertItems() so that they would trigger sendConfig2() but it doesn't do anything.

Any help is appreciated!