From 6e5c624af7ec88f9ae883fba152ee88016c57d02 Mon Sep 17 00:00:00 2001 From: kopamed Date: Sat, 11 Jun 2022 20:16:49 +0200 Subject: [PATCH] Optimise duelstats --- build/libs/[1.8.9] BetterKeystrokes V-1.2.jar | Bin 2911887 -> 2911991 bytes .../module/modules/minigames/DuelsStats.java | 24 +++++++++--------- src/main/resources/assets/keystrokes/version | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/build/libs/[1.8.9] BetterKeystrokes V-1.2.jar b/build/libs/[1.8.9] BetterKeystrokes V-1.2.jar index 6aeef48c922458b6644b68081827c05526991d28..f9e602aa95ed57e09ef6dfe571fce4b520784d05 100644 GIT binary patch delta 15810 zcmZvi2{={V*TB2yW*#pxkD2c|WXhaSWFAT>Lx@b7nkTx=1BoKLq-dZtm{J-L6$(X@ zw?a~BAW11D>Rb1oL%09)^*lS)Z>_!eI(t}q?Q^7cmePiyY%ZteiLx&F2_*VFx%!87 zS7WV_+~vucv`pG8VYQImv$JSZoEC0%wmpznyP)#$RcGGtxBD(mD)sXpZVPnHJ%0Jp z#;=iX*AJXUFZ z3$x$G|2Az`XZQ>gDWQTlpQQ&L4!_^JgU4{*T`%+QzPVlV{a=U2@2*&;Gi9CU+JJ5I zUN*nVaVfGNI=7;7f9Mx~{X^FBT9M{edGo)YboP`_3Qx4X74}e0M3OMq^ABui`B|B` zNt!=)N%;MNN1%`H7;tNqU18NR{skF44--sFKYp8irQPjy)FFpYrvBjpdFMX}^*yi& z(z&*4ceSbdvv^*!4-fJl#-5A%Yj7+S^LVb-47&SHpM9&)IdZFc1Nnc!!)byx4iuCLr4VCY)a zKUt9Jw-Q^e@%sCo1Iy+*CO3OrGCSCtc;Wc$1OD^1w=77jyK$(&#n<@h0U4p>Wzumn znf}M#UkZ4zXM^1{Cj-H(eYlfdML^F^G1o=|9+9o?(?i#r(+>z$TrcH!4NNdNooA%| z_Bm@^fQnaH^umIDkFS;};vHvdZyHI}PP_7XZ_L?{=_`}-CF6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O)|c`g+G{SVB!8XPU84G5yBH56Jj@k1SB8WQt@&H0rltlurCF~f4yH>mlpg}kuv`xJo85eraBev?Fie;d1VrFl zIOkZj2_|DpQuvl6d}iX{b0q#IL*edV*qIX)NkIeog+To#C@%!&=)Ee*RM75e@JWZ` z=NSrq@6;)r9tsJR2hSeTW}X&&8|T>Qgn>8&%p(N8SvRZ46X)J)|A#c z99B-IJt@F?i6BH!ML1-5-(+%V0eltWM6i#52)|H&IGh=KB4DPn949;jFmIO$K_uH1 z*QI=lS3qMly#7_8hhFeAIcI&5k6%n}5$azFFSVsBq2f4>poMOdLMulI!dxOq3;3BJ z5+0BrB5?BePYsm50{$~9&d(Rq#o!_8gjAylR|dR^q99mG6k!4%Ejj=0h$8Iaw~Lr4 z7>&`DxN7z~Tr7JhE+lIEpN|_g6Be>)Ya}is?dHfch5VT^8B4}yV+<~vNF1d9190vW AK>z>% diff --git a/src/main/java/keystrokesmod/client/module/modules/minigames/DuelsStats.java b/src/main/java/keystrokesmod/client/module/modules/minigames/DuelsStats.java index 14642e8c..b8cb5767 100644 --- a/src/main/java/keystrokesmod/client/module/modules/minigames/DuelsStats.java +++ b/src/main/java/keystrokesmod/client/module/modules/minigames/DuelsStats.java @@ -8,11 +8,9 @@ import keystrokesmod.client.module.setting.impl.TickSetting; import keystrokesmod.client.utils.Utils; import keystrokesmod.client.utils.profile.PlayerProfile; +import keystrokesmod.client.utils.profile.UUID; import net.minecraft.client.Minecraft; import net.minecraft.scoreboard.ScorePlayerTeam; -import net.minecraftforge.client.event.ClientChatReceivedEvent; -import net.minecraftforge.event.entity.EntityJoinWorldEvent; -import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; @@ -59,10 +57,11 @@ public void update() { if (!queue.contains(playerName) && team.getColorPrefix().equals("§7§k") && !playerName.equalsIgnoreCase(Minecraft.getMinecraft().thePlayer.getDisplayNameString())) { this.queue.add(playerName); Raven.getExecutor().execute(() -> { - if(isValidPlayer(playerName)){ + String id = getPlayerUUID(playerName); + if(!id.isEmpty()){ if(sendIgnOnJoin.isToggled()) Utils.Player.sendMessageToSelf("&eOpponent found: " + "&3" + playerName); - getAndDisplayStatsForPlayer(playerName); + getAndDisplayStatsForPlayer(id, playerName); } }); @@ -71,20 +70,20 @@ public void update() { } } - private void getAndDisplayStatsForPlayer(String playerName) { + private void getAndDisplayStatsForPlayer(String uuid, String playerName) { if (Utils.URLS.hypixelApiKey.isEmpty()) { Utils.Player.sendMessageToSelf("&cAPI Key is empty!"); } else { Utils.Profiles.DuelsStatsMode dm = (Utils.Profiles.DuelsStatsMode) selectedGameMode.getMode(); Raven.getExecutor().execute(() -> { - PlayerProfile playerProfile = new PlayerProfile(playerName, (Utils.Profiles.DuelsStatsMode) selectedGameMode.getMode()); + PlayerProfile playerProfile = new PlayerProfile(new UUID(uuid), (Utils.Profiles.DuelsStatsMode) selectedGameMode.getMode()); playerProfile.populateStats(); if(!playerProfile.isPlayer)return; if (playerProfile.nicked) { - Utils.Player.sendMessageToSelf("&3" + playerProfile.uuid + " " + "&eis nicked!"); + Utils.Player.sendMessageToSelf("&3" + playerName + " " + "&eis nicked!"); return; } @@ -128,14 +127,15 @@ private boolean isDuel() { } } - private boolean isValidPlayer(String username) { - boolean isValidPlayer = false; + private String getPlayerUUID(String username) { + String playerUUID = ""; try (CloseableHttpClient client = HttpClients.createDefault()) { HttpGet request = new HttpGet(String.format("https://api.mojang.com/users/profiles/minecraft/%s", username)); try (InputStream is = client.execute(request).getEntity().getContent()) { JsonParser parser = new JsonParser(); JsonObject object = parser.parse(new InputStreamReader(is, StandardCharsets.UTF_8)).getAsJsonObject(); - isValidPlayer = object.has("name"); + playerUUID = object.get("id").getAsString(); + } catch (NullPointerException ex) { System.out.println("Null or invalid player provided by the server."); } @@ -143,6 +143,6 @@ private boolean isValidPlayer(String username) { ex.printStackTrace(); } - return isValidPlayer; + return playerUUID; } } diff --git a/src/main/resources/assets/keystrokes/version b/src/main/resources/assets/keystrokes/version index 654a860d..73a942b1 100644 --- a/src/main/resources/assets/keystrokes/version +++ b/src/main/resources/assets/keystrokes/version @@ -1 +1 @@ -1-0-25 \ No newline at end of file +1-0-26 \ No newline at end of file