From 5ab0422564a2f80fe4527adefb8708d8d2acca4b Mon Sep 17 00:00:00 2001 From: Open Toontown Date: Sun, 10 Nov 2019 21:03:43 -0500 Subject: [PATCH] distributed: it is not broken anymore --- otp/distributed/OTPClientRepository.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/otp/distributed/OTPClientRepository.py b/otp/distributed/OTPClientRepository.py index f265176..cc21d13 100644 --- a/otp/distributed/OTPClientRepository.py +++ b/otp/distributed/OTPClientRepository.py @@ -2026,6 +2026,10 @@ class OTPClientRepository(ClientRepositoryBase): # the current index of DatagramIterator di: di2 = DatagramIterator(di.getDatagram(), di.getCurrentIndex()) + # Get the context. This is never actually used, + # however none of this will work unless we get it. + ctx = di2.getUint32() + # Now, get the handle: handle = di2.getUint16() @@ -2237,6 +2241,7 @@ class OTPClientRepository(ClientRepositoryBase): break else: + self.notify.warning('Received generate from %d for %d:%d, which is not a part of any existing interests!' % (doId, parentId, zoneId)) interest = None if not interest or not interest.events: