Jump to content
  • 0
Sign in to follow this  
leojwinter

Function Key Changing

Question

I'm using Hyperion and I'm having a hard time re-routing the F-keys + finding the correct client class file the changes need to be made in.

The only search for keyevent/keylistener are these two classes:

[code]
/* Class80 - Decompiled by JODE
* Visit http://jode.sourceforge.net/
*/
import java.awt.event.KeyEvent;

public class Class80
{
public static RSString aClass16_1501
= Class37_Sub2.crateRSString((byte) 121, "blinken1:");
public static int anInt1502;
public static int[] anIntArray1503 = new int[2000];
public static long[] aLongArray1504 = new long[100];
public static long aLong1505;
public static int anInt1506;
public static Class15 aClass15_1507;
public static Signlink aClass51_1508;

public static void method1299(int i, long l) {
try {
anInt1502++;
if (l != 0L) {
if (RSInterface.anInt340 >= 100)
Class37_Sub4_Sub7_Sub1_Sub1.method505((Class37_Sub9_Sub8
.aClass16_3045),
0,
Class24.aClass16_596,
(byte) 87);
else {
RSString rSString
= Class37_Sub4_Sub13.method708(37, l).method164(70);
for (int i_0_ = i;
(RSInterface.anInt340 ^ 0xffffffff) < (i_0_ ^ 0xffffffff);
i_0_++) {
if ((aLongArray1504[i_0_] ^ 0xffffffffffffffffL)
== (l ^ 0xffffffffffffffffL)) {
Class37_Sub4_Sub7_Sub1_Sub1.method505
(Class37_Sub9_Sub8.aClass16_3045, 0,
(Class37_Sub9_Sub27.method881
(-7,
new RSString[] { rSString,
Class38.aClass16_846 })),
(byte) 71);
return;
}
}
for (int i_1_ = 0;
(i_1_ ^ 0xffffffff) > (Class9.anInt173 ^ 0xffffffff);
i_1_++) {
if ((l ^ 0xffffffffffffffffL)
== (Class71.aLongArray1360[i_1_]
^ 0xffffffffffffffffL)) {
Class37_Sub4_Sub7_Sub1_Sub1.method505
(Class37_Sub9_Sub8.aClass16_3045, 0,
(Class37_Sub9_Sub27.method881
(i ^ ~0x69,
(new RSString[]
{ Class37_Sub9_Sub31.aClass16_3491,
rSString, Class60.aClass16_1145 }))),
(byte) 100);
return;
}
}
if (rSString.equalsRSString(-94,
(Class37_Sub23
.aClass37_Sub4_Sub7_Sub1_Sub2_2234
.aClass16_3993)))
Class37_Sub4_Sub7_Sub1_Sub1.method505
(Class37_Sub9_Sub8.aClass16_3045, 0,
Class37_Sub23.aClass16_2239, (byte) 71);
else {
Class10.anInt195++;
aLongArray1504[RSInterface.anInt340] = l;
RSInterface.aClass16Array332[RSInterface.anInt340++]
= (Class37_Sub4_Sub13.method708
(Class37_Sub4_Sub7_Sub1_Sub1.method502(i, 37),
l));
Class37_Sub9_Sub32.anInt3509 = Class83.anInt1515;
Class42.aClass37_Sub11_Sub1_936.method989(-1494101117,
152);
Class42.aClass37_Sub11_Sub1_936.method949(l,
(byte) -103);
}
}
}
} catch (RuntimeException runtimeexception) {
throw Class37_Sub4_Sub7_Sub3.method516(runtimeexception,
("ug.A(" + i + ',' + l
+ ')'));
}
}

public static int method1300(KeyEvent keyevent, int i) {
anInt1506++;
if (i != -15009)
return -71;
int i_2_ = keyevent.getKeyChar();
if ((i_2_ ^ 0xffffffff) == -8365)
return 128;
if ((i_2_ ^ 0xffffffff) >= -1 || (i_2_ ^ 0xffffffff) <= -257)
i_2_ = -1;
return i_2_;
}

public static void method1301(int i) {
if (i >= 32) {
aClass51_1508 = null;
aLongArray1504 = null;
aClass16_1501 = null;
aClass15_1507 = null;
anIntArray1503 = null;
}
}
}

[/code]

[code]
/* Class21 - Decompiled by JODE
* Visit http://jode.sourceforge.net/
*/
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;

public class Class21 implements KeyListener, FocusListener
{
public static int anInt558 = -1;
public static RSString aClass16_559
= Class37_Sub2.crateRSString((byte) 110,
"Zu viele Verbindungen von Ihrer Adresse)3");
public static RSString aClass16_560;
public static RSString aClass16_561
= Class37_Sub2.crateRSString((byte) 111, "Fps:");
public static int anInt562;
public static int anInt563;
public static int anInt564;
public static int anInt565;
public static int anInt566;
public static int anInt567;
public static Class32 aClass32_568;

public synchronized void keyPressed(KeyEvent keyevent) {
if (Class37_Sub9_Sub13.aClass21_3126 != null) {
Class37_Sub13.anInt2120 = 0;
int i = keyevent.getKeyCode();
if (i < 0
|| (i ^ 0xffffffff) <= (Class37_Sub5.anIntArray1879.length
^ 0xffffffff))
i = -1;
else {
i = Class37_Sub5.anIntArray1879[i];
if ((i & 0x80) != 0)
i = -1;
}
if ((Class13.anInt230 ^ 0xffffffff) <= -1 && i >= 0) {
Class37_Sub9_Sub19.anIntArray3271[Class13.anInt230] = i;
Class13.anInt230 = 0x7f & 1 + Class13.anInt230;
if ((Class37_Sub9_Sub26.anInt3390 ^ 0xffffffff)
== (Class13.anInt230 ^ 0xffffffff))
Class13.anInt230 = -1;
}
if (i >= 0) {
int i_0_ = Class37_Sub9_Sub16.anInt3208 + 1 & 0x7f;
if ((Class37_Sub9_Sub21.anInt3314 ^ 0xffffffff)
!= (i_0_ ^ 0xffffffff)) {
Class86.anIntArray1577[Class37_Sub9_Sub16.anInt3208] = i;
Class37_Sub9_Sub31.anIntArray3485[(Class37_Sub9_Sub16
.anInt3208)]
= -1;
Class37_Sub9_Sub16.anInt3208 = i_0_;
}
}
int i_1_ = keyevent.getModifiers();
if ((0xa & i_1_ ^ 0xffffffff) != -1 || (i ^ 0xffffffff) == -86
|| i == 10)
keyevent.consume();
}
anInt567++;
}

public static void method228(int i) {
aClass16_561 = null;
aClass32_568 = null;
aClass16_560 = null;
if (i != 0)
aClass16_561 = null;
aClass16_559 = null;
}

public synchronized void focusLost(FocusEvent focusevent) {
anInt565++;
if (Class37_Sub9_Sub13.aClass21_3126 != null)
Class13.anInt230 = -1;
}

public synchronized void keyReleased(KeyEvent keyevent) {
if (Class37_Sub9_Sub13.aClass21_3126 != null) {
Class37_Sub13.anInt2120 = 0;
int i = keyevent.getKeyCode();
if (i >= 0 && Class37_Sub5.anIntArray1879.length > i)
i = ~0x80 & Class37_Sub5.anIntArray1879[i];
else
i = -1;
if (Class13.anInt230 >= 0 && (i ^ 0xffffffff) <= -1) {
Class37_Sub9_Sub19.anIntArray3271[Class13.anInt230]
= i ^ 0xffffffff;
Class13.anInt230 = 1 + Class13.anInt230 & 0x7f;
if ((Class13.anInt230 ^ 0xffffffff)
== (Class37_Sub9_Sub26.anInt3390 ^ 0xffffffff))
Class13.anInt230 = -1;
}
}
anInt566++;
keyevent.consume();
}

public void keyTyped(KeyEvent keyevent) {
anInt564++;
if (Class37_Sub9_Sub13.aClass21_3126 != null) {
int i = Class80.method1300(keyevent, -15009);
if (i >= 0) {
int i_2_ = 0x7f & Class37_Sub9_Sub16.anInt3208 - -1;
if (i_2_ != Class37_Sub9_Sub21.anInt3314) {
Class86.anIntArray1577[Class37_Sub9_Sub16.anInt3208] = -1;
Class37_Sub9_Sub31.anIntArray3485[(Class37_Sub9_Sub16
.anInt3208)]
= i;
Class37_Sub9_Sub16.anInt3208 = i_2_;
}
}
}
keyevent.consume();
}

public void focusGained(FocusEvent focusevent) {
anInt563++;
}

static {
aClass16_560
= (Class37_Sub2.crateRSString
((byte) 113, " steht bereits auf Ihrer Ignorieren)2Liste(Q"));
}
}

[/code]

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
^ Bump still looking for a possible solution.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×