Update shockwave version

This commit is contained in:
UnfamiliarLegacy 2024-07-06 01:31:25 +02:00
parent 3a10d6d185
commit a63a0679b4
2 changed files with 5 additions and 3 deletions

View File

@ -96,9 +96,9 @@ public class ShockwaveProxy implements ProxyProvider, ConnectionInterceptorCallb
final Rc4Obtainer rc4Obtainer = new Rc4Obtainer(hConnection);
rc4Obtainer.setFlashPacketHandlers(outgoingHandler, incomingHandler);
// TODO: Non hardcoded version "24". Not exactly sure yet how to deal with this for now.
// TODO: Non hardcoded version "25". Not exactly sure yet how to deal with this for now.
// Lets revisit when origins is more mature.
proxy.verifyProxy(incomingHandler, outgoingHandler, "24", "SHOCKWAVE");
proxy.verifyProxy(incomingHandler, outgoingHandler, "25", "SHOCKWAVE");
hProxySetter.setProxy(proxy);
onConnect();

View File

@ -117,7 +117,9 @@ public class PacketInfoManager {
} else if (clientType == HClient.FLASH || clientType == HClient.NITRO || clientType == HClient.SHOCKWAVE) {
try {
List<RemotePacketInfoProvider> providers = new ArrayList<>();
providers.add(new HarblePacketInfoProvider(hotelversion));
if (clientType != HClient.SHOCKWAVE) {
providers.add(new HarblePacketInfoProvider(hotelversion));
}
providers.add(new SulekPacketInfoProvider(clientType, hotelversion));
Semaphore blockUntilComplete = new Semaphore(providers.size());