It doesn't have to be Loader, you can put your constants in any class. You're right, there is more changes to make in the client for it to work, but you have everything you need to implement the first part with the socket. The 2nd part you need to change, is some random class/int that is defined somewhere in your client:
Code:
// modified version
static void method6208(String string, String string_2_, int i) {
try {
Class360.anInt3868 = Loader.LOBBY_ENABLED ? -1058684408 : 471358088;
Class360.aClass25_3905 = Loader.LOBBY_ENABLED ? client.aClass25_8693 : client.aClass25_8711;
Class460.method5981(false, false, string, string_2_, -1L);
} catch (RuntimeException runtimeexception) {
throw Class346.method4175(runtimeexception, new StringBuilder()
.append("um.z(").append(')').toString());
}
}
//what it probably looks like right now
static void method6208(String string, String string_2_, int i) {
try {
Class360.anInt3868 = 471358088;
Class360.aClass25_3905 = client.aClass25_8711;
Class460.method5981(false, false, string, string_2_, -1L);
} catch (RuntimeException runtimeexception) {
throw Class346.method4175(runtimeexception, new StringBuilder()
.append("um.z(").append(')').toString());
}
}
Once you found this part, you can try looking for references to whatever "client.aClass25_8711" is in your client, and you should find the other class/obs. int pretty easily.