Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void update() {
- int line = 28554;
- for (String string : strings) {
- Client.sendString(string, line);
- line += 5;
- }
- Client.sendString(HITSPLAT + "", 28555);
- Client.sendString(CONTEXT_MENU + "", 28560);
- Client.sendString(prefix(HP_BAR), 28565);
- Client.sendString(prefix(DAMAGE_MULTIPLIER), 28570);
- Client.sendString(prefix(STATUS_ORB), 28575);
- Client.sendString(prefix(WIDGET), 28580);
- Client.sendString(prefix(ENTITY_FEED), 28585);
- Client.sendString(prefix(ATTACK_PRIORITY), 28590);
- Client.sendString(prefix(MINIMAP_RANK), 28595);
- Client.sendString(prefix(MOVING_TEXTURE), 28600);
- Client.sendString(prefix(ROOF), 28605);
- // Client.sendString(prefix(MOVING_TEXTURE), 28620);
- // Client.sendString("@gre@" + getMenu(Configuration.menuData), 28575);
- // Client.sendString(prefix(Configuration.menuHovers), 28600);
- // Client.sendString(prefix(Configuration.enableTimeStamps), 28625);
- // Client.sendString(prefix(Configuration.lowMemory), 28630);
- // Client.sendString(prefix(Configuration.enableMinimapRights), 28635);
- // Client.sendString("", 28640);
- }
- public static boolean click(Client client, int button) {
- System.out.println("[SETTINGS] " + button);
- switch (button) {
- /* Transparent Side Panel */
- case 28216:
- if (Client.frameMode == Client.ScreenMode.FIXED) {
- client.pushMessage("You can't do this while in fixed mode!", 0, "");
- } else {
- Client.transparentTabArea = !Client.transparentTabArea;
- }
- break;
- /* Transparent Chatbox */
- case 28219:
- if (Client.frameMode == Client.ScreenMode.FIXED) {
- client.pushMessage("You can't do this while in fixed mode!", 0, "");
- } else {
- Client.changeChatArea = !Client.changeChatArea;
- }
- break;
- /* Side-stones Arrangement */
- case 28222:
- if (Client.frameMode == Client.ScreenMode.FIXED) {
- client.pushMessage("You can't do this while in fixed mode!", 0, "");
- } else {
- Client.changeTabArea = !Client.changeTabArea;
- }
- break;
- case 28507:
- defaultValues();
- update();
- break;
- case 28551:
- int option = HITSPLAT;
- if (option == 0)
- option = 1;
- else if (option == 1)
- option = 2;
- else if (option == 2)
- option = 0;
- HITSPLAT = option;
- update();
- return true;
- case 28556:
- option = CONTEXT_MENU;
- if (option == 0)
- option = 1;
- else if (option == 1)
- option = 2;
- else if (option == 2)
- option = 0;
- CONTEXT_MENU = option;
- update();
- return true;
- case 28561:
- HP_BAR = !HP_BAR;
- update();
- return true;
- case 28566:
- DAMAGE_MULTIPLIER = !DAMAGE_MULTIPLIER;
- update();
- return true;
- case 28571:
- STATUS_ORB = !STATUS_ORB;
- update();
- return true;
- case 28576:
- WIDGET = !WIDGET;
- update();
- return true;
- case 28581:
- ENTITY_FEED = !ENTITY_FEED;
- update();
- return true;
- case 28586:
- ATTACK_PRIORITY = !ATTACK_PRIORITY;
- update();
- return true;
- case 28591:
- MINIMAP_RANK = !MINIMAP_RANK;
- update();
- return true;
- case 28596:
- MOVING_TEXTURE = !MOVING_TEXTURE;
- update();
- return true;
- case 28601:
- ROOF = !ROOF;
- update();
- return true;
- case 28606:
- update();
- return true;
- case 28611:
- return true;
- case 28616:
- return true;
- case 28621:
- return true;
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement