public static void updateMeters() {
        for (IMeter meter : currentMeters) {
            if (meter.tooltip == null)
                continue;
            String meter_info = ((String) meter.tooltip).replaceAll(
                    "[^\\d/%]+", "");
            if (meter.name.contains("nrj")) {
                playerStamina = Integer.parseInt(meter_info.replace("%", ""));
                continue;
            }
            if (meter.name.contains("hp")) {
                String[] hpbuf = meter_info.split("/");
                playerSHP = Integer.parseInt(hpbuf[0]);
                playerHHP = Integer.parseInt(hpbuf[1]);
                playerMHP = Integer.parseInt(hpbuf[2]);
                continue;
            }
            if (meter.name.contains("hngr")) {
                String[] buf = meter_info.split("%");
                playerHungry = Integer.parseInt(buf[1]);
                continue;
            }
            if (meter.name.contains("happy")) {
                String[] buf = meter_info.split("%");
                if (buf.length > 1) {
                    playerHappy = Integer.parseInt(buf[0]);
                    playerTowards = Integer.parseInt(buf[1]);
                } else {
                    playerHappy = 0;
                    playerTowards = Integer.parseInt(buf[0]);
                }
                continue;
            }
            if (meter.name.contains("auth")) {
                String[] buf = meter_info.split("/");
                playerVillageAuthCurrent = Integer.parseInt(buf[0]);
                playerVillageAuthMax = Integer.parseInt(buf[1]);
                continue;
            }
        }
    }