somehow it supposed to check for the input, not when patcher get the default keys, so just do this below
Patches/PacketEncryptionKeys.qs | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/Patches/PacketEncryptionKeys.qs b/Patches/PacketEncryptionKeys.qs
index ffd19c1..0d1d802 100644
--- a/Patches/PacketEncryptionKeys.qs
+++ b/Patches/PacketEncryptionKeys.qs
@@ -16,23 +16,6 @@ function PacketEncryptionKeys(varname, keyindex) {
return keyaddrs;//Error message
}
- //Duplicate Check
- switch(keyindex) {
- case 0:
- if (keyaddrs[2] == keyaddrs[0]) {
- return "First Packet Key is copy of Third for this date - change Third one instead";
- }
- if (keyaddrs[1] == keyaddrs[0]) {
- return "First Packet Key is copy of Second for this date - change Second one instead";
- }
- break;
- case 1:
- if (keyaddrs[2] == keyaddrs[1]) {
- return "Second Packet Key is copy of Third for this date - change Third one instead";
- }
- break;
- }
-
var curValue = convertToBE(exe.fetchHex(keyaddrs[keyindex], 4));
exe.getUserInput(varname, XTYPE_HEXSTRING, 'Hex input', 'Enter the new key', curValue);
exe.replace(keyaddrs[keyindex], varname, PTYPE_STRING);