Getting a lot errors fixed some of them by renaming stuff and i cant find a way to fix all of them.
Code:
if (command[0].equalsIgnoreCase("mapfiles")) {
int regionId = player.getRegionId();
int regionX = (regionId >> 8) * 64;
int regionY = (regionId & 0xff) * 64;
int mapArchiveId = Cache.STORE.getIndexes()[5].getArchiveId("m" + ((regionX >> 3) / 8) + "_" + ((regionY >> 3) / 8));
int landscapeArchiveId = Cache.STORE.getIndexes()[5].getArchiveId("l" + ((regionX >> 3) / 8) + "_" + ((regionY >> 3) / 8));
System.out.println("RegionId: "+command[1]);
System.out.println("landArchive: "+landscapeArchiveId);
System.out.println("mapArchive: "+mapArchiveId);
return false;
}