mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 08:50:52 +01:00
Update shockwave version
This commit is contained in:
parent
3a10d6d185
commit
a63a0679b4
@ -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();
|
||||
|
||||
|
@ -117,7 +117,9 @@ public class PacketInfoManager {
|
||||
} else if (clientType == HClient.FLASH || clientType == HClient.NITRO || clientType == HClient.SHOCKWAVE) {
|
||||
try {
|
||||
List<RemotePacketInfoProvider> providers = new ArrayList<>();
|
||||
if (clientType != HClient.SHOCKWAVE) {
|
||||
providers.add(new HarblePacketInfoProvider(hotelversion));
|
||||
}
|
||||
providers.add(new SulekPacketInfoProvider(clientType, hotelversion));
|
||||
|
||||
Semaphore blockUntilComplete = new Semaphore(providers.size());
|
||||
|
Loading…
Reference in New Issue
Block a user