Ok so I'm messing around with the packet to see if I can get it to work but there's not a whole lot of documentation on this.
Ive used grahams Palette class to store the regions that i can loop through later but I'm unsure as to how to actually use it.
To my understanding, setTile gets a region from the specified PaletteTile and dumps it into the index of the loop.
e.g if I used lumbridge as my region to dump and I used setTile(7, 7, 0, Lummy) this would set the middle region in relation to the player as lummy.
If this is correct, do I use region coords within PaletteTile, e.g setTile(7, 7, 0, new PaletteTile(400, 400, 0))
or a coordinate from the region, e.g e.g setTile(7, 7, 0, new PaletteTile(3333, 3333, 0))
And if I have to specify a tile coord within the region, does it have to be the first tile within the region or can the offset be any as long as its within the region.
Right now I've tried both methods, the client receives the data but nothing seems to happen visually. I cant tell if its me using the packet wrong or if its something to do with my client sided region copy method.
Thanks.