Skip to content

Commit

Permalink
WEBCORD
Browse files Browse the repository at this point in the history
  • Loading branch information
Aspw-w committed Sep 8, 2023
1 parent 0a7facd commit b2a41c1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
18 changes: 9 additions & 9 deletions NightX.iws
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
</component>
<component name="ChangeListManager">
<list default="true" id="af093b99-5942-419c-869b-8b2d7cb4dd2a" name="変更" comment="">
<change beforePath="$PROJECT_DIR$/NightX.ipr" beforeDir="false" afterPath="$PROJECT_DIR$/NightX.ipr" afterDir="false" />
<change beforePath="$PROJECT_DIR$/NightX.iws" beforeDir="false" afterPath="$PROJECT_DIR$/NightX.iws" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/net/aspw/client/features/api/PacketManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/net/aspw/client/features/api/PacketManager.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/net/aspw/client/features/module/impl/other/ClientSpoof.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/net/aspw/client/features/module/impl/other/ClientSpoof.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/net/aspw/client/features/api/DiscordRPC.kt" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/net/aspw/client/features/api/DiscordRPC.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/net/aspw/client/features/module/impl/exploit/PacketPosTracker.kt" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/net/aspw/client/features/module/impl/exploit/PacketPosTracker.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/net/aspw/client/util/network/CheckConnection.kt" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/net/aspw/client/util/network/CheckConnection.kt" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
Expand Down Expand Up @@ -156,7 +156,7 @@
<option name="MAIN_CLASS_NAME" value="GradleStart" />
<option name="VM_PARAMETERS" value="-Dfml.coreMods.load=net.aspw.client.injection.forge.TransformerLoader -Ddev-mode" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../NightX-master\run" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../NightX-Client\run" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
Expand Down Expand Up @@ -231,7 +231,7 @@
<option name="MAIN_CLASS_NAME" value="GradleStart" />
<option name="VM_PARAMETERS" value="-Dfml.coreMods.load=net.aspw.client.injection.forge.TransformerLoader -Ddev-mode" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../NightX-Client\run" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../NightX-master\run" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
Expand Down Expand Up @@ -318,7 +318,7 @@
<option name="MAIN_CLASS_NAME" value="GradleStartServer" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../NightX-master\run" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../NightX-Client\run" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
Expand All @@ -333,7 +333,7 @@
<option name="MAIN_CLASS_NAME" value="GradleStartServer" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../NightX-master\run" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../NightX-Client\run" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
Expand Down Expand Up @@ -408,7 +408,7 @@
<option name="MAIN_CLASS_NAME" value="GradleStartServer" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../NightX-Client\run" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../NightX-master\run" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
Expand All @@ -423,7 +423,7 @@
<option name="MAIN_CLASS_NAME" value="GradleStartServer" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../NightX-Client\run" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../NightX-master\run" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/aspw/client/features/api/DiscordRPC.kt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class DiscordRPC : MinecraftInstance() {
}

private fun loadConfiguration() {
appID = 1130780572604702821L
appID = CheckConnection.discordApp.toLong()
assets["logo"] = "logo"
assets["mahiro"] = "mahiro"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ class PacketPosTracker : Module() {
private val hurtTimeWithPing = BoolValue("CalculateHurtTimeWithPing", true)
private val minAttackReleaseRange = FloatValue("MinAttackReleaseRange", 3.2F, 2f, 6f)

private val onlyKillAura = BoolValue("OnlyKillAura", true)
private val onlyPlayer = BoolValue("OnlyPlayer", true)
private val onlyKillAura = BoolValue("Only-KillAura", false)
private val onlyPlayer = BoolValue("Only-Player", true)
private val resetOnVelocity = BoolValue("ResetOnVelocity", true)
private val resetOnLagging = BoolValue("ResetOnLagging", true)
private val rangeCheckMode = ListValue("RangeCheckMode", arrayOf("DirectDistance", "RayCast"), "DirectDistance")
private val rangeCheckMode = ListValue("RangeCheck", arrayOf("DirectDistance", "RayCast"), "DirectDistance")

private val espMode = ListValue(
"ESPMode",
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/net/aspw/client/util/network/CheckConnection.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ object CheckConnection {
var canConnect = false
var announcement = ""
var discord = ""
var discordApp = ""
var apiKey = ""
var appClientID = ""
var appClientSecret = ""
Expand Down Expand Up @@ -112,15 +113,16 @@ object CheckConnection {
response.close()
httpClient.close()
val details = content.split("///")
discord = details[5]
discord = details[6]
discordApp = details[5]
appClientSecret = details[4]
appClientID = details[3]
apiKey = details[2]
if (details[1] == Client.CLIENT_VERSION)
isLatest = true
if (details[0] == "True")
isAvailable = true
val slashLog = details[6].split("---")
val slashLog = details[7].split("---")
changeLog1 = slashLog[0]
changeLog2 = slashLog[1]
changeLog3 = slashLog[2]
Expand Down

0 comments on commit b2a41c1

Please sign in to comment.